PeterVG.nl

If at first you don't succeed, consider ginving up then call a coach

07-09-2010 17-04-2009 16-04-2009 ldom,logical domain,solaris,

Create a LDOM

Quick overview on how to create a LDOM.

1   Create LDOM instance

# ldm create-domain ldom1

2   Add resources to LDOM

2.1   Add CPU resource

# ldm add-vcpu 4 ldom1

2.2   Add Memory resource

# ldm add-memory 1G ldom1

2.3   Add Network resource

# ldm add-vnet vnet1 pvg-vsw0 ldom1

pvg-vsw0 is the virtual switch that will be used to connect LDOM1 to the network. This virtual switch is created in the primary domain.

2.4   Add Disk resource

# ldm add-vdisk vdisk1 vol1@pvg-vds0 ldom1

pvg-vds0 is the virtual disk server that is offered to the LDOM by the primary domain. The pvg-vds0 server is created in the primary domain.

2.5   Add console access

# ldm add-vconsole port=5100 service=pvg-vcc0 ldom2

3   Configure OBP parameters

# ldm set-variable auto-boot\?=false ldom1
# ldm set-variable boot-device=/virtual-devices@100/channel-devices@200/disk@0 ldom1

4   Bind ldom

# ldm bind ldom1

5   Start ldom

# ldm start-domain ldom1

6   Connect to ldom console

# telnet -e ! localhost 5000

7   Disclaimer

I'm in no way responsible for what you do. Not even when you do it after reading my documents.

:wq!