Thursday, August 25, 2016

How to Restore a Voting Disk 11gR2

RESTORE VOTE DISK


root@hrdevdb2 /oracrs/app/11.2.0.3/grid/bin =>crsctl query css votedisk

Start CRS in exclusive mode
./crsctl start crs -excl

Query for voting disk
./crsctl query css votedisk

If you did not store voting disks in Oracle ASM, then run the following command using the File Universal Identifier (FUID) obtained in the previous step:
$ crsctl delete css votedisk FUID
./crsctl delete css votedisk a4a849393fb14f4fbf92cbef0d2d215a
./crsctl delete css votedisk a8906deabdd3ff29ff0df2f382271ce0

Add a voting disk, as follows:
./crsctl add css votedisk /appvotingocrtie/vote/hhcvote1
./crsctl add css votedisk /apptmpctrltrcenv/vote/hhcvote2
./crsctl query css votedisk

root@hrdevdb2 /oracrs/app/11.2.0.3/grid/network/admin =>/oracrs/app/11.2.0.3/grid/bin/crsctl query css votedisk
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   70165ff16d50df98ff135ecded8bd82e (/appvotingocr/vote/hhcvote0) []
 2. ONLINE   69e63cb962f84f1cbf3055292d79fe86 (/appvotingocrtie/vote/hhcvote1) []
 3. ONLINE   8a844b35ed364f85bfb3ee3ab8262215 (/apptmpctrltrcenv/vote/hhcvote2) []

root@eldevdb2 /apptmpctrltrcenv/vote =>/oracrs/app/11.2.0.3/grid/bin/crsctl query css votedisk
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   70165ff16d50df98ff135ecded8bd82e (/appvotingocr/vote/hhcvote0) []
 2. ONLINE   69e63cb962f84f1cbf3055292d79fe86 (/appvotingocrtie/vote/hhcvote1) []
 3. ONLINE   8a844b35ed364f85bfb3ee3ab8262215 (/apptmpctrltrcenv/vote/hhcvote2) []
Located 3 voting disk(s).




No comments:

Post a Comment