The following virtual device services must be created to use the control domain as a service domain and to create virtual devices for other domains:
vcc – Virtual console concentrator service
vds – Virtual disk server
vsw – Virtual switch service
Before You Begin
If a network is not configured on your machine and a Network Information Services (NIS) client is running, the Logical Domains Manager will not start on your system. So, disable the NIS client on your non-networked machine:
# svcadm disable nis/client
Then, configure networking on the system:
For example, the following command would add a virtual console concentrator service (primary-vcc0) with a port range from 5000 to 5100 to the control domain (primary).
primary# ldm add-vcc port-range=5000-5100 primary-vcc0 primary
For example, the following command adds a virtual disk server (primary-vds0) to the control domain (primary).
primary# ldm add-vds primary-vds0 primary
Assign a GLDv3-compliant network adapter to the virtual switch if each logical domain must communicate outside the box through the virtual switch.
Add a virtual switch service (primary-vsw0) on a network device that you want to use for guest domain networking.
primary# ldm add-vsw net-dev=network-device vsw-service primary
For example, the following command adds a virtual switch service (primary-vsw0) on network device net0 to the control domain (primary):
primary# ldm add-vsw net-dev=net0 primary-vsw0 primary
You can use the ldm list-netdev -b command to determine the backend network devices that are available for the virtual switch. See Virtual Switch.
You can dynamically update the net-dev property value by using the ldm set-vsw command.
Your output should look similar to the following:
primary# ldm list-services primary VCC NAME LDOM PORT-RANGE primary-vcc0 primary 5000-5255 VSW NAME LDOM MACADDRESS NET-DEV DVID|PVID|VIDs ---- ---- ---------- ------- -------------- primary-vsw0 primary 00:14:4f:fb:87:30 net0 1|1|-- VDS NAME LDOM VOLUME OPTIONS MPGROUP DEVICE primary-vds0 primary test-mig /net/10.26.169.136/tmp/ Sol11.3/vdisk_s11sru3.img1