Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

DR documentation - how to recover OVM sparc with XML

Mike DicksonMay 25 2021

Each time I have to make any change to the OVM environment I backup with the following
 332 DATE=`date '+%Y%m%d%H%M'`
 333 ldm add-config $DATE
 334 sudo sh -c "ldm list -p | sed -ne 's/.*|name=\\([^|]*\\)|.*/\\1/p' | while read i; do ldm list-constraints -x \$i > /rpool/ldom-${DATE}-\$i.xml; done
This creates the xml file for the environment. My question is, using the xml file to restore the environment would I first need to have Oracle VM environment setup with the I/O domain in place? If so would I just install the OS (Solaris 11.3) then follow up by running the ldm commands to restore the xml file

ldm init-system [-frs] -i filename.xml
Comments
Post Details
Added on May 25 2021
0 comments
176 views