Wednesday, September 2, 2009

Solaris LDOM Configuration

ldm add-vds primary-vds0 primary
ldm add-vcc port-range=5000-5100 primary-vcc0 primary
ldm add-vsw net-dev=e1000g0 primary-vsw0 primary
ldm add-vsw mac-addr=2:04:4f:fb:9f:0d net-dev=e1000g0 primary-vsw0 primary
ldm list-services primary
ldm set-mau 1 primary
ldm set-vcpu 5 primary
ldm set-memory 5G primary
ldm add-config initial
ldm list-config
shutdown -y -g0 i6
ldm add-domain guest1
ldm add-vcpu 1 guest1
ldm add-memory 1G guest1
ldm add-vnet vnet1 primary-vsw0 guest1
mount
mount /dev/dsk/c0t1d0s5 /mnt

ldm add-vdsdev /dev/dsk/c0t1d0s5 vol1@primary-vds0
ldm add-vdisk vdisk1 vol1@primary-vds0 guest1
ldm set-var auto-boot\?=true guest1
ldm bind-domain guest1
ldm list-domain guest1
ldm start-domain guest1
ldm stop guest1
ldm unbind guest1
ldm mount
mount -a
mount
cd /ariel/

ldm add-vdsdev /ariel/os/sol-nv-b111-sparc-dvd.iso iso_vol@primary-vds0
ldm add-vdisk vdvd iso_vol@primary-vds0 guest1
ldm list-bindings

No comments:

Post a Comment