Rename Asm DiskGroup Name On 12c

Rename asm diskgroup name on 12c.

Data and Reco asm disk group name switch operation steps are below.

Step1:Startup asm with created asm pfile.
startup pfile=$ORACLE_HOME/dbs/init+ASM.ora;
Step2:Dismount all disks.
alter diskgroup all dismount;
Step3:First operation , rename diskgroup name as metadata.
renamedg phase=one dgname=DATA newdgname=DATA1 asm_diskstring='/dev/oracleasm/disks/DATA_VOL01' config=/tmp/disk.conf verbose=true keep_voting_files=true
renamedg phase=two dgname=DATA newdgname=DATA1 config=/tmp/disk.conf verbose=true keep_voting_files=true
renamedg phase=one dgname=RECO newdgname=RECO1 asm_diskstring='/dev/oracleasm/disks/RECO_VOL01' config=/tmp/disk2.conf verbose=true keep_voting_files=true
renamedg phase=two dgname=RECO newdgname=RECO1 config=/tmp/disk2.conf verbose=true keep_voting_files=true
Step4:Move disks in diskgroup .
alter diskgroup DATA1 mount restricted;
alter diskgroup DATA1 rename disks all;
alter diskgroup RECO1 mount restricted;
alter diskgroup RECO1 rename disks all;
Step5:Dismount all disks.
alter diskgroup all dismount;
Step6:Second operation , rename diskgroup name as metadata.
renamedg phase=one dgname=DATA1 newdgname=RECO asm_diskstring='/dev/oracleasm/disks/DATA_VOL01' config=/tmp/disk3.conf verbose=true keep_voting_files=true
renamedg phase=two dgname=DATA1 newdgname=RECO config=/tmp/disk3.conf verbose=true keep_voting_files=true
renamedg phase=one dgname=RECO1 newdgname=DATA asm_diskstring='/dev/oracleasm/disks/RECO_VOL01' config=/tmp/disk4.conf verbose=true keep_voting_files=true
renamedg phase=two dgname=RECO1 newdgname=DATA config=/tmp/disk4.conf verbose=true keep_voting_files=true
Step7:Move disks in diskgroup .
alter diskgroup DATA mount restricted;
alter diskgroup DATA rename disks all;
alter diskgroup RECO mount restricted;
alter diskgroup RECO rename disks all;
Step8:You can read disk with kfed and kfod .
kfod asm_diskstring='/dev/oracleasm/disks/*' disks=all
kfed read /dev/oracleasm/disks/DATA_VOL01
kfed read /dev/oracleasm/disks/RECO_VOL01


About Fatih Gençali

- I have supported as Oracle and Nosql & Bigdata Dba for more than 9 years. - I worked in 24x7 production and test environment. - I have 12C OCP certificate. - I have europass diploma supplement. - Saving operations - I have supported for nosql databases (mongo,cassandra,couchbase) - I have supported for ambari&mapr hadoop distributions - I have couchbase certificate. - I have supported databases that are telecommunication , banking, insurance, financial, retail and manufacturing, marketing, e-invoicing . - Providing aligment between prod , prp , stb , dev - Providing management and performance tuning for app and database machines (linux) - Performance tuning and sql tuning - Consolidations, Migration (expdp,xtts,switchover vb...) , installation, patch , upgrade , dataguard , shell script writing , backup restore , exadata management , performans management , security management ,goldengate operations - Resolving performance and security problems for databases and linux machines - I managed oracle 10g/11g/12c databases (dev/test/prp/snap/prod/stby) on Linux/HP/AIX/Solaris O.S - Pl/sql operations , supported shell script, (for aligments and others) - Providing highly available it (software-hardware) systems, especially database systems. - Managing and monitoring availabilities and operations of all systems . - Goldengate operations (oracle to oracle , oracle to bigdata (hdfs , kafka)) - Exadata operations (cell management,upgrade,switchover) - My work processes is according to itil. - Preparing automation for everything to reduce human resource requirement and routine [email protected]çali-22131131/

Leave a Reply

Your email address will not be published. Required fields are marked *