HOW TO TEST LDOM RECOVERY FROM ONE T5 SERVER TO ANOTHER SERVER (T5)


Generate a PANIC with halt command or power off the server that is the recommendation because we will need recover the LDOM in the other  T5 Server server.


#halt -d
#init 5  and go to OK prompt to power off or do init 0

Restore the XML from the location where you store it and apply it in the T5-X that is OK

#ldm add-domain -i underdome.xml

Bound the domain

#ldm bind-domain underdome
#ldm ls

start domain (power on the domain)

root@t5 # ldm start-domain underdome

LDom underdome started

If the server is with the flag autoboot in false the server will power on and it will be going to OK prompt, if the flag is in true it will boot the server in multiuser mode, if the server does not have any error.

Connect to Console, if you do not know what is the console do the following command

 #ldm ls-bindings underdome

 And do Telnet to localhost and the port listed in the configuration

#telnet 0 5000

ok> boot

Verify the zpools

 #zpool import

 Force them if you need do it, however you will need be sure that is not used by another host

#zpool import -f oracle-pool

After you finish the test, you will need to power on the new server, but before you will need to stop the ldom in order to remove that configuration to enable the Live Migration fixture again


#ldm stop-domain underdome

#ldm unbind-domain underdome

#ldm rm-domain underdome


Power ON the T5 in OFF state and with that you will have again the Live Migration Fixture


Comments