Logical Domain Servers
Overview
Logical Domains (LDOM) provide virtual machines on SPARC platforms that have hypervisor support. A Logical Domain has its own operating system (guest OS) and identity within a single computer system. Depending on the system resources provided via the hypervisor, Logical Domains can appear to the user (or application) as a full physical machine. Crossbow provides the virtual network support for LDOMs. More information on LDOMs is located at the Logical Domains Community site.
LDOMs can be reserved under the Test Farm Virtual Machines interface. After making a reservation an email will be sent providing the login information.
LDOM Setup
$ zfs clone $poolpath/$source $poolpath/$userldom $ ldm add-domain $userldom $ ldm add-vcpu 1 $userldom $ ldm add-memory 1G $userldom $ ldm add-vnet vnet1 primary-vsw0 $userldom $ ldm add-vdsdev /dev/zvol/dsk/$poolpath/$userldom $userldom@primary-vds0 $ ldm add-vdisk vdisk1 $vol@primary-vds0 $userldom $ ldm set-var auto-boot\?=true $userldom $ ldm set-var boot-device=vdisk1 $userldom $ ldm bind-domain $userldom $ ldm start-domain $userldom Setup user account via ldom console Verify user ldom login works
LDOM Deletion
$ ldm stop $userldom $ ldm unbind $userldom $ ldm remove-vdsdev $userldom@primary-vds0 $ ldm destroy $userldom $ zfs destroy -r $poolpath/$userldom
on 2009/10/26 20:12