Installing and Configuring Sun Cluster HA for LDoms Guest Domain
This chapter explains how to install and configure Sun Cluster HA for LDoms Guest Domain.
This chapter contains the following sections.
- Installing and Configuring Sun Cluster HA for LDoms Guest Domain
- Sun Cluster HA for LDoms Guest Domain Overview
- Planning the Sun Cluster HA for LDoms Guest Domain Installation and Configuration
- Installing and Configuring LDoms Guest Domain
- Verifying the Installation and Configuration of LDoms Guest Domain
- Installing the Sun Cluster HA for LDoms Packages
- Registering and Configuring Sun Cluster HA for LDoms Guest Domain
- Understanding the Sun Cluster HA for LDoms Guest Domain Fault Monitor
- Debug Sun Cluster HA for LDoms Guest Domain
Installing and Configuring Sun Cluster HA for LDoms Guest Domain
Tabl 1 lists the tasks for installing and configuring Sun Cluster HA for LDoms Guest Domain. Perform these tasks in the order that they are listed.
Task Map: Installing and Configuring Sun Cluster HA for LDoms Guest Domain
| Task | For Instructions, Go To |
|---|---|
| 1. Plan the installation. | [Sun Cluster HA for LDoms Guest Domain Overview] Planning the Sun Cluster HA for LDoms Guest Domain Installation and Configuration |
| 2. Install and configure LDoms Guest domain. | How to Install and Configure LDoms Guest Domain |
| 3. Install Sun Cluster HA for LDoms Packages. | Installing the Sun Cluster HA for LDoms Guest Domain Packages |
| 4. Register and Configure Sun Cluster HA for LDoms Guest Domain. | How to Register and Configure Sun Cluster HA for LDoms Guest Domain as a Failover Service |
| 5. Verify Sun Cluster HA for LDoms Guest Domain Installation and Configuration. | How to Verify the Sun Cluster HA for LDoms Guest Domain Installation and Configuration |
| 6. Understand Sun Cluster HA for LDoms Guest Domain fault monitor. | [Understanding the Sun Cluster HA for LDoms Guest Domain Fault Monitor] |
| 7. Debug Sun Cluster HA for LDoms Guest Domain. | Debug Sun Cluster HA for LDoms Guest Domain |
Sun Cluster HA for LDoms Guest Domain Overview
Logical Domains (LDoms) provides the ability to split a single physical system into multiple, independent virtual systems. This is archived by an additional software application in the firmware layer, interposed between the operating system and the hardware platform called as the hypervisor. It abstracts the hardware and can expose or hide various resources, allowing for the creation of resource partitions that can operate as discrete systems, complete with virtual CPU, memory and I/O devices.
The Sun Cluster HA for LDoms Guest Domain data service provides a mechanism for orderly startup and shutdown, fault monitoring and automatic failover of the LDoms Guest domain service. The following LDoms components are protected by the Sun Cluster HA for LDoms Guest Domain data service.
Protection of Components
| Component | Protected by |
|---|---|
| LDoms Guest Domain | Sun Cluster HA for LDoms Guest Domain |
Planning the Sun Cluster HA for LDoms Guest Domain Installation and Configuration
This section contains the information you need to plan your Sun Cluster HA for LDoms Guest Domain installation and configuration.
Configuration Restrictions
This section provides a list of software and hardware configuration restrictions that apply to Sun Cluster HA for LDoms Guest Domain only.
For restrictions that apply to all data services, see the Sun Cluster Release Notes.
| Caution Your data service configuration might not be supported if you do not observe these restrictions. |
Restriction for the Sun Cluster HA for LDoms Guest Domain Data Service Configuration
The Sun Cluster for LDoms Guest Domain can be configured only as a failover data service and not as a scalable data service.
Restrictions for the Location of LDom Guest Domain Virtual disks
The LDoms Guest Domain disk image file should be placed only in the Global file system. The file is exported as a raw disk by the virtual disk server and can be used as an installation disk by the Solaris OS installer on the guest domain.
The following example shows LDoms Guest Domains installed onto a Global File System with two Guest domain instances (ldg0 and ldg1).
# ls -l /global/ldoms/disks/{}
total 26926720
-rw------T 1 root root 8589934592 Aug 23 03:31 ldg0.vdisk
-rw------T 1 root root 8589934592 Aug 21 02:43 ldg1.vdisk
| Caution In the above example the virtual disk for the LDoms Guest Domain instance ldg0 is /global/ldoms/disks/ldg0.vdisk, whereas the virtaul disk for the LDoms Guest Domain instance ldg1 is /global/ldoms/disks/ldg1.vdisk. |
Restrictions for the LDoms software Configurations
None.
Configuration Requirements
The requirements in this section apply to Sun Cluster HA for LDoms Guest Domain only. You must meet these requirements before you proceed with your Sun Cluster HA for LDoms Guest Domain installation and configuration.
| Caution Your data service configuration might not be supported if you do not adhere to these requirements. |
Configure the LDoms Guest domain to reset for control domain failures
On each node that can master the LDoms Guest domain resource, run the following commands.
# ldm set-domain failure-policy=reset
# ldm list -o domain primary
NAME STATE FLAGS UTIL}}
primary active -n-cv- 0.6%}}
SOFTSTATE
Solaris running
HOSTID
0x84d4a2ce
CONTROL
failure-policy=reset
DEPENDENCY{*}
master=
{{#}
# *ldm set-domain master=primary ldg0
# *ldm list -o domain ldg0
NAME STATE FLAGS UTIL
ldg0 active n--- 0.1%
SOFTSTATE
Solaris running
HOSTID
0x84f8a040
CONTROL
failure-policy=ignore
DEPENDENCY
master=
VARIABLES
auto-boot?=false
auto-boot?true=
boot-device=vdisk1
keyboard-layout=US-English