Wednesday 15 February 2017

LDOM migration on sparc T- series servers

Prechecks:-
1)cross verify both physical boxes have enough resources to migrate one to anoter
2)make vds device serivces availbe on both nodes.(storeage will be visible to both nodes)
3)it is always better similar configurations on both boxes. i.e colone to one another
4)always go for navtive multipathing to avoid unexpected problems.



1)To know the list of ldoms

#ldm list
NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  NORM  UPTIME
primary          active     -n-cv-  UART    8     16G      6.1%  6.1%  89d 21h 50m
secondary        active     -n--v-  5000    8     16G       15%   15%  89d 21h 50m
testdomain       active     -n----  5003    64    128G     1.6%  1.6%  82d 21h 23m


2)To Migrate domain form source server to destination.

#ldm migrate -n  testdomain   targetserver
Target Password:


3)To know the status
#ldm list testdomain
NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  NORM  UPTIME
testdomain         bound      -----t  5003    64    128G


#date
Saturday, February  4, 2017 01:08:34 AM EST

#ldm list -o status testdomain
NAME
testdomain

STATUS
    OPERATION   PROGRESS        SOURCE
    migration    7%             targetcontroldomain

#ldm list -o status testdomain
NAME
testdomain

STATUS
    OPERATION   PROGRESS        SOURCE
    migration    99%             targetcontroldomain


#ldm list -o status testdomain
NAME
testdomain