본문 바로가기

Work/Solaris

ldom guest domain rename

** ldm - guest domain rename **

ldm list
ldm stop guest-domain
ldm unbind guest-domain

 

ldm list-constraints -x guest-domain > /var/tmp/guest-domain.xml
cp -p /var/tmp/guest-domain.xml /var/tmp/new-domain.xml

 

vi /var/tmp/new-domain.xml
기존 guest-domain 이름 수정 -> new-domain 으로

 

ldm destroy guest-domain
ldm add-domain -i /var/tmp/new-domain.xml
ldm list

 

ldm bind new-domain
ldm start new-domain