Information Technology Reference
In-Depth Information
device, and a virtual boot disk and DVD image for installing Oracle Solaris. This
replaces one of the application server environments, and provides ample CPU and
memory headroom. It has a virtual boot volume with a ZFS back-end, a physical
disk for data, and a virtual DVD image for OS installation. Cryptographic ac-
celerators are assigned to the domain to provide hardware-accelerated encryp-
tion. Other domains are defined in similar fashion on the two servers, albeit with
variations in their names and the assignment of virtual disks, RAM, and CPUs.
Installation of Oracle Solaris in each domain proceeds as described in Chapter 3.
Alternatively, the initial domain could have been cloned to create each of the ad-
ditional domains.
# zfs create rpool/ldoms
# zfs set mountpoint=/ldoms rpool/ldoms
# zfs set compression=on rpool/ldoms
# zfs create rpool/ldoms/ldom1
# mkfile -n 20g /ldoms/ldom1/disk0.img
# ldm add-domain ldom1
# ldm set-vcpu 16 ldom1
# ldm set-mau 2 ldom1
# ldm set-mem 8gb ldom1
# ldm add-vnet vnet1 primary-vsw0 ldom1
# ldm add-vdsdev /ldoms/ldom1/disk0.img vol10@primary-vds0
# ldm add-vdisk vdisk10 vol10@primary-vds0 ldom1
# ldm add-vdsdev /dev/dsk/c1t48d0s2 c1t48d0@primary-vds0
# ldm add-vdisk vdisk11 c1t48d0@primary-vds0
# ldm add-vdsdev /DVD/solarisdvd.iso s10iso@primary-vds0
# ldm add-vdisk vdisk_iso s10iso@primary-vds0 ldom1
8.2.4 Testing
After defining each domain and installing Solaris, applications can be installed
and tested, just as if they were on individual servers.
8.2.5 Summary
This example shows how 16 prior-generation SPARC servers can be consolidated
onto 2 current chip multithreading servers using Logical Domains, thereby achiev-
ing a substantial reduction in power consumption and rack space.
 
 
 
Search WWH ::




Custom Search