Moving ldoms
Has anyone had any experiences good or bad in moving ldoms:
1. From one ldom to another on same machine
2. From one ldom to another on different machine
3. From one ldom to a machine not runnning ldoms
4. From a machine not runnning ldoms to a machine running ldoms
[296 byte] By [
steve_g1a] at [2007-11-27 10:24:17]

# 1
Do you mean duplicating the configuration or moving the backing disk or disk image file ?
It works fine for me. Just make sure that the domain being moved (or copied) is stopped *and* unbound before you start.
If you are duplicating the configuration, make sure the vds and vsw services have the same names on the new machine.
# 2
Thank you for your response.
I mean actually moving the backing disk or disk image file.
To clarify moving forwards its easy to move from a non ldom environment to a T2000 ldom environment. But could we do the reverse and what complications could we hit? (regression plan)
On a seperate note if the hardware fails and we want to move an ldom to another T2000 what is involved in that process?
Sun document it can be done but has this worked in reality?
# 3
"On a separate note if the hardware fails and we want to move an LDom to another T2000 what is involved in that process? "
It's just a matter of moving the physical disk (or copying the disk image file) from one machine to another. Then do an "ldm add-vdsdev ..." for the disk on the new machine and add it to an LDom. The only thing I can think of to watch out for is to ensure that the disk is added in the the same order as on the old machine. (E.g. is it was the 1st disk added to an LDom on the old machine, it need to be added in the same position on the new machine - otherwise the /dev/dsk symbolic links would be incorrect and you'd get fsck warnings on boot)
"To clarify moving forwards its easy to move from a non ldom environment to a T2000 ldom environment. But could we do the reverse and what complications could we hit? (regression plan)"
I'm interpreting this as after creating a few LDoms, etc, you decide you'd like to go back to having a single domain on a machine using all the resources.
This can be done by booting into the "factory-default" configuration - this can be specified by using the LDoms Manager to remove all the configurations except for the "factory-default" or at the ALOM prompt using the bootmode command and powercycling the machine.
SC> bootmode config="factory-default"