Hello petrben and all,
After following some guidance and advice provided via this thread, I could
finally make it work. Yee-ha!
This is the summary on what I did:
1. Created another guest, whoes configurations and structures are as same as
the original one.
For example, my accidentally deleted Domain is called "Sola10u6_01", and I
created another one "Sola10u6_02" with very much similar options as mentioned
below.
hits...@cubeville02:~$ pfexec mkdir /pool01/xVM/Sola10u6_02/
hits...@cubeville02:~$ pfexec virt-install -n Solaris10u6_02 --hvm
--vcpus=1 -r 2048 --os-type=solaris --os-variant=solaris10 --vnc -f
/pool01/xVM/Sola10u6_02/Solaris10u6_02.img -s 15 -c
/pool01/myfs/iso/sol-10-u6-ga1-x86-dvd.iso
2. Dumped the newly created guest by using virsh dumpxml command
hits...@cubeville02:~# virsh dumpxml Solaris10u6_02 > Solaris10u6_01.xml
3. Open the dumped xml file and modified to fit the original guest's
configuration
In my case, I changed these four parts.
name, uuid, mac address attribute, source file attribute
BTW, to generate a new UUID, I used this site.
UUID (GUID) Generator on the WEB
http://www.famkruithof.net/uuid/uuidgen
4.Recreated the original domain using "virsh created" command with the modified
xml file
hits...@cubeville02:~# virsh create Solaris10u6_01.xml
Then the original guest started automatically. Great!!
Thank you so much guys, you all saved my day. I love Sun xVM more than ever!
Robinky
--
This message posted from opensolaris.org
_______________________________________________
xen-discuss mailing list
[email protected]