ldm add-domain domain1
ldm add-vcpu 8 domain1
ldm add-mem 4g domain1
[t5120:/]ldm ls-services
VCC
NAME LDOM PORT-RANGE
primary-vcc0 primary 5000-5100
VSW
NAME LDOM MAC NET-DEV ID DEVICE LINKPROP DEFAULT-VLAN-ID PVID VID MTU MODE INTER-VNET-LINK
primary-vsw1 primary 00:14:4f:f9:de:6f e1000g2 0 switch@0 1 1 1500 on
primary-vsw2 primary 00:14:4f:f9:35:33 e1000g3 1 switch@1 1 1 1500 on
VDS
NAME LDOM VOLUME OPTIONS MPGROUP DEVICE
primary-vds1 primary vol1 /dev/dsk/c1t2d0s2
ldm add-vnet vnet0 primary-vsw1 domain1
ldm add-vdisk vdisk0 vol1@primary-vds1 domain1
ldm bind domain1
ldm start domain1
telnet localhost 5000
[t5120:/]ldm list-bindings domain1
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
domain1 active -t---- 5000 8 4G 12% 1m
UUID
6198ad69-4133-43bf-8d1d-f7d42091b9d3
MAC
00:14:4f:f9:93:81
HOSTID
0x84f99381
CONTROL
failure-policy=ignore
extended-mapin-space=on
cpu-arch=native
rc-add-policy=
shutdown-group=15
DEPENDENCY
master=
CORE
CID CPUSET
1 (8, 9, 10, 11, 12, 13, 14, 15)
VCPU
VID PID CID UTIL STRAND
0 8 1 100% 100%
1 9 1 0.0% 100%
2 10 1 0.0% 100%
3 11 1 0.0% 100%
4 12 1 0.0% 100%
5 13 1 0.0% 100%
6 14 1 0.0% 100%
7 15 1 0.0% 100%
MEMORY
RA PA SIZE
0xc000000 0x20c000000 4G
CONSTRAINT
threading=max-throughput
VARIABLES
pm_boot_policy=disabled=1;ttfc=0;ttmr=0;
NETWORK
NAME SERVICE ID DEVICE MAC MODE PVID VID MTU LINKPROP
vnet0 primary-vsw1@primary 0 network@0 00:14:4f:f8:36:5b 1 1500
PEER MAC MODE PVID VID MTU LINKPROP
primary-vsw1@primary 00:14:4f:f9:de:6f 1 1500
DISK
NAME VOLUME TOUT ID DEVICE SERVER MPGROUP
vdisk0 vol1@primary-vds1 0 disk@0 primary
VCONS
NAME SERVICE PORT LOGGING
domain1 primary-vcc0@primary 5000 on
** 요약 **
ldm add-domain domain1
ldm add-vcpu 8 domain1
ldm add-mem 4g domain1
ldm add-vnet vnet0 primary-vsw1 domain1
ldm add-vdisk vdisk0 vol1@primary-vds1 domain1
ldm bind domain1
ldm start domain1
'Work > Solaris' 카테고리의 다른 글
ldom guest domain rename (0) | 2015.02.04 |
---|---|
ldom 관련 명령어들 3 ( iso 파일 추가 ) (0) | 2015.02.03 |
ldom 관련 명령어들 1 ( vcc,vsw,vds 삭제 추가 ) (0) | 2015.01.26 |
ldom 설치, 삭제 (0) | 2015.01.26 |
solaris 자동완성 (0) | 2015.01.13 |