NOTE A rollback fails if you change the style of the mpio device name. The rollback to the source LUN is successful. However, the fsck and mount fails. In this scenario, manually mount the FS.
As the root user, on the primary VCS node, perform the following steps:
List the VCS Service Groups. Type the following command:
root:/# hastatus -sum
-- SYSTEM STATE
-- System State Frozen
A ledma054 RUNNING 0
A ledma056 RUNNING 0
-- GROUP STATE
-- Group System Probed AutoDisabled State
B ClusterService ledma054 Y N ONLINE
B ClusterService ledma056 Y N OFFLINE
B oracle_ctl_sg ledma054 Y N ONLINE
B oracle_ctl_sg ledma056 Y N OFFLINE
B oracle_sg ledma054 Y N ONLINE
B oracle_sg ledma056 Y N OFFLINE
B vxfen ledma054 Y N ONLINE
B vxfen ledma056 Y N ONLINE
To enable the VCS configuration as Read/Write, type the following command:
root:/# haconf -makerw
To freeze the VCS service groups by disabling On line/Off line, type the following command:
NOTE The following example is for a VCS and Oracle configuration.
root:/# hagrp -freeze <oracle_sg> -persistent
root:/# hagrp -freeze <oracle_ctl_sg> -persistent
To confirm the VCS status, type the following command:
root:/# hastatus -sum
-- SYSTEM STATE
-- System State Frozen
A ledma054 RUNNING 0
A ledma056 RUNNING 0
-- GROUP STATE
-- Group System Probed AutoDisabled State
B ClusterService ledma054 Y N ONLINE
B ClusterService ledma056 Y N OFFLINE
B oracle_ctl_sg ledma054 Y N ONLINE
B oracle_ctl_sg ledma056 Y N OFFLINE
B oracle_sg ledma054 Y N ONLINE
B oracle_sg ledma056 Y N OFFLINE
B vxfen ledma054 Y N ONLINE
B vxfen ledma056 Y N ONLINE
-- GROUPS FROZEN
-- Group
C oracle_ctl_sg
C oracle_sg
-- RESOURCES DISABLED
-- Group Type Resource
H oracle_ctl_sg DiskGroup oracle_ctl_dg_DG_res1
H oracle_ctl_sg Mount oracle_ctl_dg_MNT_res1
H oracle_ctl_sg Volume oracle_ctl_dg_VOL_res1
H oracle_sg DiskGroup oracle_dg_DG_res1
H oracle_sg Mount oracle_dg_MNT_res1
H oracle_sg Volume oracle_dg_VOL_res1
Make the VCS configuration as Read Only. Type the following command:
root:/# haconf -dump –makero:
As an Oracle user, on the primary VCS Node, perform the following steps:
On the Oracle database, run the
shutdown and
startup mount commands:
oracle:/# sqlplus / as sysdba
SQL > shutdown immediate
SQL > startup mount
SQL > exit
Perform the RMAN rollback and recovery.
As the root user, on the primary VCS node, perform the following steps:
To make the VCS configuration Read/Write, type the following command:
root:/# haconf –makerw
To unfreeze the service groups, and allow On line and or off Line, type the following command:
To confirm the VCS status, type the following command:
root:/# hastatus –sum
-- SYSTEM STATE
-- System State Frozen
A ledma054 RUNNING 0
A ledma056 RUNNING 0
-- GROUP STATE
-- Group System Probed AutoDisabled State
B ClusterService ledma054 Y N ONLINE
B ClusterService ledma056 Y N OFFLINE
B oracle_ctl_sg ledma054 Y N ONLINE
B oracle_ctl_sg ledma056 Y N OFFLINE
B oracle_sg ledma054 Y N ONLINE
B oracle_sg ledma056 Y N OFFLINE
B vxfen ledma054 Y N ONLINE
B vxfen ledma056 Y N ONLINE
NOTE The service groups will be faulted. But they will come back online in a short time.
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\