Oracle blogs
https://www.luxoug.org/configuring-tde-on-a-pdb-with-plug-and-unplug-option/
https://ittutorial.org/oracle-tutorial-oracle-database-tutorials-for-beginners-junior-oracle-dba/
http://blog.umairmansoob.com/tag/patching-exadata-machine/
http://blog.umairmansoob.com/shutting-down-exadata-storage-cell-for-maintenance/
http://blog.umairmansoob.com/migrating-database-from-aix-to-exadata-using-data-pump/
http://blog.umairmansoob.com/clone-oracle-database-home-on-exadata-machine/
http://blog.umairmansoob.com/deconfigure-reconfigure-exadata-node-from-crs/
http://blog.umairmansoob.com/how-to-clear-exadata-storage-alerts/
http://blog.umairmansoob.com/drop-cell-disks-before-converting-to-1-8th-rack/
https://emilianofusaglia.net/2020/02/16/bulk-exadata-patching/
Read the following MOS notes carefully.
- Exadata Database Machine and Exadata Storage Server Supported Versions (Doc ID 888828.1)
- Exadata 18.1.12.0.0 release and patch (29194095) (Doc ID 2492012.1)
- Oracle Exadata Database Machine exachk or HealthCheck (Doc ID 1070954.1)dbnodeupdate.sh and dbserver.patch.zip: Updating Exadata Database Server Software using the DBNodeUpdate Utility and patchmgr (Doc ID 1553103.1)
- Download latest Exachk utility from the MOS note. As of writing the latest Exachk verion available is “12.2.0.1.4_20171212”
SET
LONG 20000
SET
LONGCHUNKSIZE 20000
SET
PAGESIZE 0
SET
LINESIZE 1000
SET
FEEDBACK
OFF
SET
VERIFY
OFF
SET
TRIMSPOOL
ON
BEGIN
DBMS_METADATA.set_transform_param (DBMS_METADATA.session_transform,
'SQLTERMINATOR'
,
true
);
DBMS_METADATA.set_transform_param (DBMS_METADATA.session_transform,
'PRETTY'
,
true
);
END
;
/
--extract tablespaces. Replace TBS1, TBS2
SELECT
DBMS_METADATA.get_ddl (
'TABLESPACE'
, tablespace_name)
FROM
dba_tablespaces
WHERE
upper
(tablespace_name)
in
(
'TBS1'
,
'TBS2'
)
--role DDL
--extract roles. Replace ROLE1, ROLE2
select
dbms_metadata.get_ddl(
'ROLE'
, role)
AS
ddl
from
dba_roles
where
upper
(role)
in
(
'ROLE1'
,
'ROLE2'
)
--role grants
select
'grant '
|| granted_role ||
' to '
|| GRANTEE ||
';'
from
dba_role_privs
where
grantee
in
(
'ROLE1'
,
'ROLE2'
);
order
by
granted_role;
--system grants to roles
select
' grant '
|| privilege ||
' to '
|| grantee ||
';'
as
system_grants
from
dba_sys_privs
where
grantee
in
(
'ROLE1'
,
'ROLE2'
);
--extract profile DDL
select
dbms_metadata.get_ddl(
'PROFILE'
, profile)
as
profile_ddl
from
(
select
distinct
profile
from
dba_profiles)
where
upper
(profile)
in
(
'DEFAULT'
);
--extract public synonyms
select
'create or replace public synonym '
|| SYNONYM_NAME ||
' for '
|| table_owner ||
'.'
|| table_name ||
' ;'
from
dba_synonyms
where
owner=
'PUBLIC'
and
table_owner
in
(
'USER1'
,
'USER2'
)
order
by
table_owner, synonym_name;
--extract db links through expdp; parameter file
expdp_public_db_links.par
DIRECTORY=UPG_DIR
REUSE_DUMPFILES=YES
DUMPFILE=expdp_public_db_links.dmp
LOGFILE=expdp_public_db_links.log
SCHEMAS=
PUBLIC
INCLUDE=DB_LINK
Really good post, thanks for sharing..
ReplyDeleteOracle Training Online