===ldom primary
ldm set-mau 0 primary
ldm set-vcpu 16 primary
ldm set-memory 8G primary
ldm add-vds primary-vds0 primary
ldm add-vds primary-vds1 primary
ldm add-vds primary-vds2 primary
ldm add-vdsdev /dev/dsk/c2t39B9BC6591370B57d0s2 vol1@primary-vds0 ; db
ldm add-vdsdev /dev/dsk/c1t3AE4A86A42C2175Cd0s2 vol2@primary-vds0; was
ldm add-vdsdev /dev/dsk/c2t333B78B9DAB565ABd0s2 vol1@primary-vds0
ldm add-vdsdev /dev/dsk/c1t3D07E9B16CE1D6A3d0s2 vol2@primary-vds0
ldm add-vdsdev /dev/dsk/c15t600601606E402600203BD4997BE4E311d0s2 vol1@primary-vds1
ldm add-vdsdev /dev/dsk/c15t600601606E402600213BD4997BE4E311d0s2 vol2@primary-vds1
ldm add-vdsdev /dev/dsk/c15t600601606E402600223BD4997BE4E311d0s2 vol3@primary-vds1
ldm add-vdsdev /dev/dsk/c15t600601606E402600233BD4997BE4E311d0s2 vol4@primary-vds1
ldm add-vdsdev /dev/dsk/c15t600601606E402600243BD4997BE4E311d0s2 vol5@primary-vds1
ldm add-vdiskserverdevice options=ro /OVM/sol-10-u11-ga-sparc-dvd.iso sol10u11@primary-vds0
ldm add-vswitch net-dev=igb0 primary-vsw0 primary
ldm add-vswitch net-dev=igb1 primary-vsw1 primary
ldm add-vswitch net-dev=igb2 primary-vsw2 primary
ldm add-vswitch net-dev=igb3 primary-vsw3 primary
ldm add-vswitch net-dev=igb4 primary-vsw4 primary
ldm add-vswitch net-dev=igb5 primary-vsw5 primary
ldm add-vswitch net-dev=igb6 primary-vsw6 primary
ldm add-vswitch net-dev=igb7 primary-vsw7 primary
ldm add-vconscon port-range=5000-5100 primary-vcc0 primary
ldm add-config mg-default
====ldom db1 guest
ldm add-domain img-db1
ldm set-mau 0 img-db1
ldm add-vcpu 32 img-db1
ldm add-mem 32g img-db1
ldm add-vnet vnet0 primary-vsw0 img-db1
ldm add-vnet vnet1 primary-vsw1 img-db1
ldm add-vnet vnet2 primary-vsw5 img-db1
ldm add-vdisk vdisk0 vol1@primary-vds0 img-db1
ldm add-vdisk vdisk1 vol1@primary-vds1 img-db1
ldm add-vdisk vdisk2 vol2@primary-vds1 img-db1
ldm add-vdisk vdisk3 vol3@primary-vds1 img-db1
ldm add-vdisk vdisk4 vol4@primary-vds1 img-db1
ldm add-vdisk vdisk5 vol5@primary-vds1 img-db1
ldm add-vdisk sol10u11 sol10u11@primary-vds0 img-db1
ldm set-vcons port=5000 img-db1
ldm set-variable auto-boot\?=false img-db1
ldm set-variable boot-device=vdisk0 img-db1
ldm add-domain img-db2
ldm set-mau 0 img-db2
ldm add-vcpu 32 img-db2
ldm add-mem 32g img-db2
ldm add-vnet vnet0 primary-vsw0 img-db2
ldm add-vnet vnet1 primary-vsw1 img-db2
ldm add-vnet vnet2 primary-vsw5 img-db2
ldm add-vdisk vdisk0 vol1@primary-vds0 img-db2
ldm add-vdisk vdisk1 vol1@primary-vds1 img-db2
ldm add-vdisk vdisk2 vol2@primary-vds1 img-db2
ldm add-vdisk vdisk3 vol3@primary-vds1 img-db2
ldm add-vdisk vdisk4 vol4@primary-vds1 img-db2
ldm add-vdisk vdisk5 vol5@primary-vds1 img-db2
ldm add-vdisk sol10u11 sol10u11@primary-vds0 img-db2
ldm set-vcons port=5000 img-db2
ldm set-variable auto-boot\?=false img-db2
ldm set-variable boot-device=vdisk0 img-db2
====ldom WAS guest
ldm add-domain img-was1
ldm set-mau 0 img-was1
ldm add-vcpu 32 img-was1
ldm add-mem 32g img-was1
ldm add-vnet vnet0 primary-vsw4 img-was1
ldm add-vnet vnet1 primary-vsw2 img-was1
ldm add-vnet vnet2 primary-vsw6 img-was1
ldm add-vdisk vdisk0 vol2@primary-vds0 img-was1
ldm add-vdisk sol10u11 sol10u11@primary-vds0 img-was1
ldm set-vcons port=5001 img-was1
ldm set-variable auto-boot\?=false img-was1
ldm set-variable boot-device=vdisk0 img-was1
ldm add-domain img-was2
ldm set-mau 0 img-was2
ldm add-vcpu 32 img-was2
ldm add-mem 32g img-was2
ldm add-vnet vnet0 primary-vsw4 img-was2
ldm add-vnet vnet1 primary-vsw2 img-was2
ldm add-vnet vnet2 primary-vsw6 img-was2
ldm add-vdisk vdisk0 vol2@primary-vds0 img-was2
ldm add-vdisk sol10u11 sol10u11@primary-vds0 img-was2
ldm set-vcons port=5001 img-was2
ldm set-variable auto-boot\?=false img-was2
ldm set-variable boot-device=vdisk0 img-was2
'Work > Solaris' 카테고리의 다른 글
SUNWexplo 사용하기 (0) | 2014.06.24 |
---|---|
Ldom 구동상태에서 Primary 재부팅시 (0) | 2014.05.29 |
Solaris10 IP 설정하기 (0) | 2013.12.29 |
Solaris10 네트워크 장치 확인 (0) | 2013.12.29 |
Solaris10 swap 추가 하기 (0) | 2013.12.29 |