We have asked to Storage Team Two Luns in order to install OS and Oracle, mapped on both T5
We performed a devfsadm or cfgadm -c configure cXX, and previously I copied the ISO into PATH /opt
LUNS presented to the T5 Servers
/dev/dsk/c0t60060480000290300399533030303233d0s2
/dev/dsk/c0t60060480000290300399533030303235d0s2
List the current configuration created (You can go to the post LOGICAL DOMAINS) in order to configure the Hypervisor for example networking
root@t5#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-vsw0 primary 00:14:4f:f8:b6:e4 aggr1 0 switch@0 1 1 1500 on
primary-vsw1 primary 00:14:4f:f9:b7:e8 aggr2 0 switch@1 1 1 1500 on
VDS
NAME LDOM VOLUME OPTIONS MPGROUP DEVICE
primary-vds0 primary
Add the LUN's to the Hypervisor Layer
root@t5# ldm add-vdsdev /dev/dsk/c0t60060480000290300399533030303233d0s2 vol0@primary-vds0
root@t5# ldm add-vdsdev /dev/dsk/c0t60060480000290300399533030303235d0s2 vol1@primary-vds0
We previously have been copied the Solaris ISO in the path /opt in order to add it to the congiguration
root@t5# ldm add-vdsdev /opt/sol-10-u11-ga-sparc-dvd.iso iso@primary-vds0
Now we have allocated on the control domain the disks and ISO in order to use them to install our Solaris 10 Server
root@t5# ldm list-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-vsw0 primary 00:14:4f:f8:b6:e4 aggr1 0 switch@0 1 1 1500 on
primary-vsw1 primary 00:14:4f:f9:b7:e8 aggr2 0 switch@1 1 1 1500 on
VDS
NAME LDOM VOLUME OPTIONS MPGROUP DEVICE
primary-vds0 primary
vol0 /dev/dsk/c0t60060480000290300399533030303233d0s2
vol1 /dev/dsk/c0t60060480000290300399533030303235d0s2
iso /var/tmp/sol-10-u11-ga-sparc-dvd.iso
After we have configured the disks and ISO we will proceed to create our LDOM or Guest Domain
Create LDOM "got"
root@t5# ldm add-domain got01
Assigning VCPU, Memory and Encryption
root@t5# ldm set-vcpu 8 got01
root@t5# ldm set-mau 1 got01
root@t5# ldm set-memory 8g got01
Now we can proceed to add the disks and ISO to Guest Domain "GOT01"
root@t5# ldm add-vdisk vol0 vol0@primary-vds0 got01
root@t5# ldm add-vdisk vol1 vol1@primary-vds0 got01
root@t5# ldm add-vdisk iso iso@primary-vds0 got01
Finally we must add the switch configuration
root@t5# ldm add-vnet vnet0 primary-vsw0 got01
Set the autoboot false and boot-device
root@t5# ldm set-variable auto-boot\\?=false got01
root@t5# ldm set-var boot-device=vdisk1 got01
Save the configuration
root@t5# ldm add-spconfig config-today
root@t5# ldm ls-spconfig
factory-default
config-today [current]
You can check the configuration for got01 executing the following command
root@t5#ldm list -o disk got01
root@t5#ldm list -o memory got01
root@t5#ldm list -o network got01
Bind and Start the Ldom and proceeding to install
root@t5#ldm bind-domain got01
root@t5#ldm list-domain got01
root@t5#ldm start-domain got01
root@t5#telnet localhost 5000
Connected to localhost.
Escape character is '^]'.
Connecting to console "got01" in group "got01" ....
Press ~? for control options ..
ok boot iso
Install the server with the OS that you need OVM, Solaris 10/11
Once the OS is installed on the LDOM, you can test the migration to the other T5 server
root@t5# ldm migrate-domain got01 <Other T5 IP Address>
Password: <root password>
We performed a devfsadm or cfgadm -c configure cXX, and previously I copied the ISO into PATH /opt
LUNS presented to the T5 Servers
/dev/dsk/c0t60060480000290300399533030303233d0s2
/dev/dsk/c0t60060480000290300399533030303235d0s2
List the current configuration created (You can go to the post LOGICAL DOMAINS) in order to configure the Hypervisor for example networking
root@t5#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-vsw0 primary 00:14:4f:f8:b6:e4 aggr1 0 switch@0 1 1 1500 on
primary-vsw1 primary 00:14:4f:f9:b7:e8 aggr2 0 switch@1 1 1 1500 on
VDS
NAME LDOM VOLUME OPTIONS MPGROUP DEVICE
primary-vds0 primary
Add the LUN's to the Hypervisor Layer
root@t5# ldm add-vdsdev /dev/dsk/c0t60060480000290300399533030303233d0s2 vol0@primary-vds0
root@t5# ldm add-vdsdev /dev/dsk/c0t60060480000290300399533030303235d0s2 vol1@primary-vds0
We previously have been copied the Solaris ISO in the path /opt in order to add it to the congiguration
root@t5# ldm add-vdsdev /opt/sol-10-u11-ga-sparc-dvd.iso iso@primary-vds0
Now we have allocated on the control domain the disks and ISO in order to use them to install our Solaris 10 Server
root@t5# ldm list-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-vsw0 primary 00:14:4f:f8:b6:e4 aggr1 0 switch@0 1 1 1500 on
primary-vsw1 primary 00:14:4f:f9:b7:e8 aggr2 0 switch@1 1 1 1500 on
VDS
NAME LDOM VOLUME OPTIONS MPGROUP DEVICE
primary-vds0 primary
vol0 /dev/dsk/c0t60060480000290300399533030303233d0s2
vol1 /dev/dsk/c0t60060480000290300399533030303235d0s2
iso /var/tmp/sol-10-u11-ga-sparc-dvd.iso
After we have configured the disks and ISO we will proceed to create our LDOM or Guest Domain
Create LDOM "got"
root@t5# ldm add-domain got01
Assigning VCPU, Memory and Encryption
root@t5# ldm set-vcpu 8 got01
root@t5# ldm set-mau 1 got01
root@t5# ldm set-memory 8g got01
Now we can proceed to add the disks and ISO to Guest Domain "GOT01"
root@t5# ldm add-vdisk vol0 vol0@primary-vds0 got01
root@t5# ldm add-vdisk vol1 vol1@primary-vds0 got01
root@t5# ldm add-vdisk iso iso@primary-vds0 got01
Finally we must add the switch configuration
root@t5# ldm add-vnet vnet0 primary-vsw0 got01
Set the autoboot false and boot-device
root@t5# ldm set-variable auto-boot\\?=false got01
root@t5# ldm set-var boot-device=vdisk1 got01
Save the configuration
root@t5# ldm add-spconfig config-today
root@t5# ldm ls-spconfig
factory-default
config-today [current]
You can check the configuration for got01 executing the following command
root@t5#ldm list -o disk got01
root@t5#ldm list -o memory got01
root@t5#ldm list -o network got01
Bind and Start the Ldom and proceeding to install
root@t5#ldm bind-domain got01
root@t5#ldm list-domain got01
root@t5#ldm start-domain got01
root@t5#telnet localhost 5000
Connected to localhost.
Escape character is '^]'.
Connecting to console "got01" in group "got01" ....
Press ~? for control options ..
ok boot iso
Install the server with the OS that you need OVM, Solaris 10/11
Once the OS is installed on the LDOM, you can test the migration to the other T5 server
root@t5# ldm migrate-domain got01 <Other T5 IP Address>
Password: <root password>
Comments