Professional Documents
Culture Documents
LDOM
Guest domain is a top level virtual machine which we can create using the control
domain. Guest domain will not perform any administrative operation on ldom but runs
its own operating system on it.Once you have completed the Oracle VM for SPARC
tutorial 1 ,then you can start following this article.We will see how we can create a new
guest domain and allocate the resources to it.
CORE
ID %FREE CPUSET
0 0 (0, 1, 2, 3, 4, 5, 6, 7)
VCPU
PID %FREE PM
0 0 no
1 0 no
2 0 no
3 0 no
4 0 no
5 0 no
6 0 no
7 0 no
8 100 --- -------------->Free CPU's cores starts here.
9 100 ---
10 100 ---
11 100 ---
12 100 ---
13 100 ---
14 100 ---
15 100 ---
16 100 ---
17 100 ---
18 100 ---
19 100 ---
20 100 ---
21 100 ---
22 100 ---
23 100 ---
24 100 ---
25 100 ---
26 100 ---
27 100 ---
28 100 ---
29 100 ---
30 100 ---
31 100 ---
64 100 ---
65 100 ---
66 100 ---
67 100 ---
68 100 ---
69 100 ---
70 100 ---
71 100 ---
72 100 ---
73 100 ---
74 100 ---
75 100 ---
76 100 ---
77 100 ---
78 100 ---
79 100 ---
80 100 ---
81 100 ---
82 100 ---
83 100 ---
84 100 ---
85 100 ---
86 100 ---
87 100 ---
88 100 ---
89 100 ---
90 100 ---
91 100 ---
92 100 ---
93 100 ---
94 100 ---
MAU
ID CPUSET BOUND
0 (0, 1, 2, 3, 4, 5, 6, 7) primary
MEMORY
PA SIZE BOUND
0x700000000 4G primary
IO
PD-bash#
#
3.Create a new Guest domain using the below command.
PD-bash#
PD-bash#
PD-bash#
6.Create a new virtual NIC on top the virtual switch and assigned to ua1. List the logical
domain bindings to verify the configuration.
UUID
1e8baa72-a123-6184-f724-feebad1585eb
CONTROL
failure-policy=ignore
DEPENDENCY
master=
NETWORK
PD-bash#
7.Now its time to add the new disks to logical domain ua1 . Here I am using
/dev/dsk/c4t0456RTE000005400002d0s2 LUN for ua1 domain .
VCC
VSW
VDS
PD-bash#
9.Now bind the virtual disk to logical domain ua1 which you have created in step 8 .
UUID
1e8baa72-a123-6184-f724-feebad1585eb
CONTROL
failure-policy=ignore
DEPENDENCY
master=
NETWORK
DISK
vdisk0 vol0@primary-vds0 0
PD-bash#
10.The same way you can map the ISO image file to guest domain using the below set
of commands.
iso0@primary-vds0
UUID
1e8baa72-a123-6184-f724-feebad1585eb
CONTROL
failure-policy=ignore
DEPENDENCY
master=
NETWORK
DISK
vdisk0 vol0@primary-vds0 0
iso0 iso0@primary-vds0 1
PD-bash#
PD-bash#
PD-bash#
12.Set the auto-boot is false to logical domain ua1 for Operating system installation.
PD-bash#
14. Take the console of the logical domain ua1 .It uses the console port 5000 (see
step:13)
ok boot iso0
Trying 1192.168.2.11...
Connected to 192.168.2.11.
{0} ok
15. List the devices to boot.
{0} ok devalias
iso0 /virtual-devices@100/channel-devices@200/disk@1
vdisk0 /virtual-devices@100/channel-devices@200/disk@0
vnet0 /virtual-devices@100/channel-devices@200/network@0
net /virtual-devices@100/channel-devices@200/network@0
disk /virtual-devices@100/channel-devices@200/disk@0
virtual-console /virtual-devices/console@1
name aliases
{0} ok
Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
Configuring devices.
You have successfully created the guest domain and assigned the resources to it. You
have also mapped the virtual disks to the virtualdisk server and mapped to the guest
domain or logical domain. In the end of the article ,we have see how to access the
console of the guest domains and mapped the ISO file for OS installation.
Hope this article is informative to you .Please share it in social networks. Thank you for
visiting UnixArena.