Information Technology Reference
In-Depth Information
Separate disks were used for the domained environments, with file system-based
disk images for the OS virtual disks, and physical disk back-ends for application
data. This scheme provided flexibility for managing the OS environments while
providing optimal performance for application data.
8.2.2 Configuring Logical Domains
In this example, the Logical Domains software is installed as described in Chapter
3, with the exception that the control domain is given additional CPU and RAM
capacity. Note that eight CPU threads are used to allocate an entire CPU core to
the control domain.
# ldm add-vdiskserver primary-vds0 primary
# ldm add-vconscon port-range=5000-5100 primary-vcc0 primary
# ldm add-vswitch net-dev=e1000g0 primary-vsw0 primary
# ldm set-mau 1 primary
# ldm set-vcpu 8 primary
# ldm set-memory 6g primary
# ldm add-config initial
# shutdown -y -g0 -i6
8.2.3 Creating Domains
Once Logical Domains has been installed on each new system, each individual
domain can be installed, one for each original physical server. Physical servers
providing application redundancy in the original configuration are mapped to
domains in different T5240s in the new configuration so as to retain the original
environment's “no single point of failure” availability. The process of installing
each domain follows the same pattern as described in Chapter 3, with the differ-
ences reflecting the need to accommodate the specific resource requirements.
In this example, for simplicity, we do fresh installs of Solaris 10 in each domain
using the current Solaris 10 update level. Alternatively, the ldmp2v tool illus-
trated in Chapter 3 could have been used to replicate the existing systems. This is
an implementation choice: One can view the move to new hardware as an oppor-
tunity to do fresh system installs, or one can replicate the existing systems with
as little change as possible. Both alternatives are available with Logical Domains.
In the following example, a ZFS data set is created for storing virtual disks, and
a domain is defined with 16 virtual CPUs, 8 GB of RAM, a single virtual network
 
 
 
Search WWH ::




Custom Search