sexta-feira, 7 de fevereiro de 2014

renamedg - 11.2.0.4

Alterando o nome do DiskGroup DATA para DG01:

/u01/app/11.2.0.4/grid/bin/renamedg phase=both dgname=DATA newdgname=DG01 verbose=true 

Caso ocorra o erro KFNDG-00407, deve-se adicionar o parâmetro asm_diskstring.

Se o DiskGroup estiver montado, irá ocorrer o erro KFNDG-00405.

Caso o DiskGroup seja o principal, é necessário parar o HAS:

 /u01/app/11.2.0.4/grid/bin/crsctl stop has

[oracle@kilamba ~]$ /u01/app/11.2.0.4/grid/bin/renamedg phase=both dgname=DATA newdgname=DG01 verbose=true asm_diskstring='/dev/oracleasm/disks/*'
NOTE: No asm libraries found in the system

Parsing parameters..

Parameters in effect:

         Old DG name       : DATA
         New DG name          : DG01
         Phases               :
                 Phase 1
                 Phase 2
         Discovery str        : /dev/oracleasm/disks/*
         Clean              : TRUE
         Raw only           : TRUE
renamedg operation: phase=both dgname=DATA newdgname=DG01 verbose=true asm_diskstring=/dev/oracleasm/disks/*
Executing phase 1
Discovering the group
Performing discovery with string:/dev/oracleasm/disks/*
Identified disk UFS:/dev/oracleasm/disks/DISK01 with disk number:0 and timestamp (32999664 545457152)
Checking for hearbeat...
Re-discovering the group
Performing discovery with string:/dev/oracleasm/disks/*
Identified disk UFS:/dev/oracleasm/disks/DISK01 with disk number:0 and timestamp (32999664 545457152)
Checking if the diskgroup is mounted or used by CSS
Checking disk number:0
Generating configuration file..
Completed phase 1
Executing phase 2
Looking for /dev/oracleasm/disks/DISK01
Modifying the header
Completed phase 2
Terminating kgfd context 0x7f542abab0a0

[root@kilamba ~]# /u01/app/11.2.0.4/grid/bin/crsctl start has




0 comentários: