refresh physical disk from shanpshots

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

refresh physical disk from shanpshots

Roshan
OS OEL 8
Hello Erman,

we need to refresh our target database which is on RAC 2 nodes. The ASM, datafiles and archive logs are on physical disks.

How can we refresh the disks using snapshots from source DR? The issue is the ASM disks on target contain ASM data.

snapshot_refresh.jpg

Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: refresh physical disk from shanpshots

ErmanArslansOracleBlog
Administrator
What kind of snapshot are you talking about? Storage snapshot? If you are talking about storage snapshots; just put your source/primary db into backup mode, take the storage snapshot, end the backup mode on source/primary db, transfer that snapshot to your DR storage, create a lun from that snapshot, stop the DG replication and shutdown your DR db, map the luns to your DR Db node, do the related OS stuff (make OS remove the old ones and see the new luns), open your DR DB and make the replication/DG setup to continue from where it left of..
Reply | Threaded
Open this post in threaded view
|

Re: refresh physical disk from shanpshots

Roshan
yes, it is storage snapshot (Huawei). Thanks for the update. Will try this.
Reply | Threaded
Open this post in threaded view
|

Re: refresh physical disk from shanpshots

ErmanArslansOracleBlog
Administrator
Good.
Reply | Threaded
Open this post in threaded view
|

Re: refresh physical disk from shanpshots

Roshan
Hi,

the target environment is a 2 node RAC cluster. Suppose the disks present on target are a,b and c. We need to remove the 3 disks (a,b and c) and take a snapshot (disks f,g,h) from source DR database (primary replicat which is single instance).

The problem is if we attach the snapshot to target cluster, the cluster becomes unstable.

Kindly advise how to fix this.

cluster.7z

alert.log
crsctl_843265.trc


Thanks.

Reply | Threaded
Open this post in threaded view
|

Re: refresh physical disk from shanpshots

Roshan
crsd is not running

[grid@orax8t24ppd01 bin]$ ./crsctl stat res -t -init
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.asm
      1        ONLINE  OFFLINE                               STABLE
ora.cluster_interconnect.haip
      1        ONLINE  OFFLINE                               STABLE
ora.crf
      1        ONLINE  ONLINE       host STABLE
ora.crsd
      1        ONLINE  OFFLINE                               STABLE
ora.cssd
      1        ONLINE  OFFLINE                               STABLE
ora.cssdmonitor
      1        ONLINE  ONLINE       host STABLE
ora.ctssd
      1        ONLINE  OFFLINE                               STABLE
ora.diskmon
      1        OFFLINE OFFLINE                               STABLE
ora.drivers.acfs
      1        ONLINE  ONLINE       host STABLE
ora.evmd
      1        ONLINE  INTERMEDIATE host STABLE
ora.gipcd
      1        ONLINE  ONLINE       host STABLE
ora.gpnpd
      1        ONLINE  ONLINE       host STABLE
ora.mdnsd
      1        ONLINE  ONLINE       host STABLE
ora.storage
      1        ONLINE  OFFLINE                               STABLE
---------------------------------------------------------------------


crsd log:
OCRASM:3488640768: proprasmo: kgfoCheckMount returned [7]
2023-04-28 03:39:29.626 :  OCRASM:3488640768: proprasmo: The ASM instance is down
2023-04-28 03:39:29.681 :  OCRRAW:3488640768: proprioo: Failed to open [+OCR/...-cluster/OCRFILE/registry.255.1106935529]