转载

oracle 12c R1 对存放在asm磁盘中的password 进行移动

  在oracle 12c R1版本中,密码文件放到asm磁盘组中,那密码文件在asm磁盘组中如何进行移动,
  比如放到另外一个磁盘组中

下面就是密码文件迁移方法 PWMOVE:

$$ ASM password file move (PWMOVE)::-----------
========================================

You can move ASM password file online in a running cluster in asmcmd using pwmove command.

Initially, the ASM password file was placed on a CRS diskgroup

$ crsctl stat res ora.asm -p|grep PWFILE
PWFILE=+CRS/asm/password/orapwasm

And cluster is up and running .

[oracle@ariidc1 archive]$crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online

Move the ASM password file online using ASMCMD

$ asmcmd
ASMCMD> pwmove --asm +CRS/asm/password/orapwasm +data/orapwasm
moving +CRS/asm/password/orapwasm -> +data/orapwasm
ASMCMD> exit

Validated Cluster is up and running

[oracle@ariidc1 archive]$ crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online

Validated new location of ASM password file.

[oracle@ariidc1 archive]$ crsctl stat res ora.asm -p|grep PWFILE
PWFILE=+data/orapwasm


正文到此结束
Loading...