Professional Documents
Culture Documents
For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.
Access to Oracle Support
Oracle customers that have purchased support have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/pls/topic/lookup?
ctx=acc&id=info or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are hearing impaired.
Rfrence: E56924
Copyright 2008, 2015, Oracle et/ou ses affilis. Tous droits rservs.
Ce logiciel et la documentation qui laccompagne sont protgs par les lois sur la proprit intellectuelle. Ils sont concds sous licence et soumis des restrictions dutilisation et
de divulgation. Sauf stipulation expresse de votre contrat de licence ou de la loi, vous ne pouvez pas copier, reproduire, traduire, diffuser, modifier, breveter, transmettre, distribuer,
exposer, excuter, publier ou afficher le logiciel, mme partiellement, sous quelque forme et par quelque procd que ce soit. Par ailleurs, il est interdit de procder toute ingnierie
inverse du logiciel, de le dsassembler ou de le dcompiler, except des fins dinteroprabilit avec des logiciels tiers ou tel que prescrit par la loi.
Les informations fournies dans ce document sont susceptibles de modification sans pravis. Par ailleurs, Oracle Corporation ne garantit pas quelles soient exemptes derreurs et vous
invite, le cas chant, lui en faire part par crit.
Si ce logiciel, ou la documentation qui laccompagne, est concd sous licence au Gouvernement des Etats-Unis, ou toute entit qui dlivre la licence de ce logiciel ou lutilise pour
le compte du Gouvernement des Etats-Unis, la notice suivante sapplique:
U.S. GOVERNMENT END USERS. Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered
to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As
such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or
documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government.
Ce logiciel ou matriel a t dvelopp pour un usage gnral dans le cadre dapplications de gestion des informations. Ce logiciel ou matriel nest pas conu ni nest destin
tre utilis dans des applications risque, notamment dans des applications pouvant causer des dommages corporels. Si vous utilisez ce logiciel ou matriel dans le cadre d
applications dangereuses, il est de votre responsabilit de prendre toutes les mesures de secours, de sauvegarde, de redondance et autres mesures ncessaires son utilisation dans des
conditions optimales de scurit. Oracle Corporation et ses affilis dclinent toute responsabilit quant aux dommages causs par lutilisation de ce logiciel ou matriel pour ce type
dapplications.
Oracle et Java sont des marques dposes dOracle Corporation et/ou de ses affilis. Tout autre nom mentionn peut correspondre des marques appartenant dautres propritaires
quOracle.
Intel et Intel Xeon sont des marques ou des marques dposes dIntel Corporation. Toutes les marques SPARC sont utilises sous licence et sont des marques ou des marques
dposes de SPARC International, Inc. AMD, Opteron, le logo AMD et le logo AMD Opteron sont des marques ou des marques dposes dAdvanced Micro Devices. UNIX est une
marque dpose dThe Open Group.
Ce logiciel ou matriel et la documentation qui laccompagne peuvent fournir des informations ou des liens donnant accs des contenus, des produits et des services manant de
tiers. Oracle Corporation et ses affilis dclinent toute responsabilit ou garantie expresse quant aux contenus, produits ou services manant de tiers, sauf mention contraire stipule
dans un contrat entre vous et Oracle. En aucun cas, Oracle Corporation et ses affilis ne sauraient tre tenus pour responsables des pertes subies, des cots occasionns ou des
dommages causs par laccs des contenus, produits ou services tiers, ou leur utilisation, sauf mention contraire stipule dans un contrat entre vous et Oracle.
Accessibilit de la documentation
Pour plus dinformations sur lengagement dOracle pour laccessibilit la documentation, visitez le site Web Oracle Accessibility Program, ladresse http://www.oracle.com/
pls/topic/lookup?ctx=acc&id=docacc.
Accs au support lectronique
Les clients Oracle qui ont souscrit un contrat de support ont accs au support lectronique via My Oracle Support. Pour plus dinformations, visitez le site http://www.oracle.com/
pls/topic/lookup?ctx=acc&id=info ou le site http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs si vous tes malentendant.
Contents
Index..................................................................................................................25
5
6 Oracle Solaris Cluster Data Service for Oracle VM Server for SPARC Guide October 2015
Tables
TABLE 1-1 Tasks for Installing and Configuring HA for Oracle VM Server................ 12
7
8 Oracle Solaris Cluster Data Service for Oracle VM Server for SPARC Guide October 2015
Using This Documentation
Overview Introduces the Oracle Solaris Cluster HA for Oracle VM Server for SPARC
software.
Audience Experienced system administrators with extensive knowledge of Oracle
software and hardware.
Required knowledge Knowledge of the Oracle Solaris operating system, of Oracle
Solaris Cluster software, and expertise with the volume manager software that is used with
Oracle Solaris Cluster software.
Feedback
Provide feedback about this documentation at http://www.oracle.com/goto/docfeedback.
This chapter explains how to install and configure Oracle Solaris Cluster HA for Oracle VM
Server for SPARC (HA for Oracle VM Server) software and contains the following sections:
Note - You can also use the Oracle Solaris Cluster Manager browser interface to configure this
data service. In the Tasks panel of Oracle Solaris Cluster Manager, click Oracle VM Server
for SPARC to start the configuration wizard. For log-in instructions, see Chapter 13, Using
the Oracle Solaris Cluster Manager Browser Interface, in Oracle Solaris Cluster 4.3 System
Administration Guide .
This wizard requires that all cluster nodes have the same root password.
The following table summarizes the tasks for installing and configuring HA for Oracle VM
Server and provides cross-references to detailed instructions for performing these tasks.
Perform the tasks in the order that they are listed in the table.
TABLE 1-1 Tasks for Installing and Configuring HA for Oracle VM Server
Task Instructions
Plan the installation. Planning the HA for Oracle VM Server Installation and
Configuration on page 13
Install and configure the Oracle VM Server Installing and Configuring Oracle VM Server for
for SPARC software. SPARC on page 15
Install HA for Oracle VM Server packages. Installing the HA for Oracle VM Server Package on page 16
Register and configure HA for Oracle VM Registering and Configuring HA for Oracle VM
Server resources. Server on page 17
Verify the HA for Oracle VM Server Verifying the Installation and Configuration of Oracle VM Server
installation and configuration. for SPARC on page 20
Tune the HA for Oracle VM Server fault Tuning the HA for Oracle VM Server Fault
monitor. Monitor on page 21
Debug HA for Oracle VM Server. Debugging HA for Oracle VM Server on page 23
The Oracle Solaris Cluster HA for Oracle VM Server for SPARC (HA for Oracle VM Server)
data service 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 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.
You create the logical domain on any one of the nodes of the cluster. However the services
configuration must be identical on all the potential primary nodes. The domain configuration
is retrieved by the ldm list-constraints -x ldom command and stored in the CCR. This
globally accessible information is used by the HA for Oracle VM Server agent to create or
destroy the domain on the node where the resource group is brought online or offline.
HA for Oracle VM Server provides a mechanism for orderly startup and shutdown, fault
monitoring, and automatic failover of the Oracle VM Server for SPARC logical domain service.
The Oracle VM Server for SPARC component is protected by the HA for Oracle VM Server
data service.
Note the following points regarding support for the SR-IOV device in the HA for Oracle VM
Server data service:
An SR-IOV device is not supported for live migration of the HA for Oracle VM Server data
service. This restriction exists as of initial release of the Oracle Solaris Cluster 4.2 software.
Contact your Oracle support representative to learn whether support for the SR-IOV feature
becomes available.
12 Oracle Solaris Cluster Data Service for Oracle VM Server for SPARC Guide October 2015
Planning the HA for Oracle VM Server Installation and Configuration
An SR-IOV device is supported for normal migration of the HA for Oracle VM Server
data service. This support requires that the SR-IOV device path is identical on all potential
primaries of the data service's resource group.
This section contains the information you need to plan your HA for Oracle VM Server
installation and configuration.
Configuration Guidelines
Observe the following configuration guidelines that apply only to HA for Oracle VM Server.
For restrictions that apply to all data services, see the Oracle Solaris Cluster 4.3 Release Notes .
The failure policy settings on the primary domain determine the action to be taken on the
logical domain when there is a primary domain failures. When configured to failure-
policy=reset, the logical domain would panic when the primary domain fails. If the failure
policy is not set to reset on all the primary domains, the resource creation would fail. You
must set the master-slave domain dependency and auto-boot? variable to appropriate values.
Perform the following steps on the node where the ldg0 logical domain is created:
SOFTSTATE
Solaris running
HOSTID
0x84d4a2ce
CONTROL
failure-policy=reset
DEPENDENCY
master=
SOFTSTATE
Solaris running
HOSTID
0x84f8a040
CONTROL
failure-policy=reset
14 Oracle Solaris Cluster Data Service for Oracle VM Server for SPARC Guide October 2015
Installing and Configuring Oracle VM Server for SPARC
DEPENDENCY
master=primary
VARIABLES
auto-boot?=false
boot-device=vdisk1
keyboard-layout=US-English
This section contains the procedures you need to install and configure an Oracle VM Server for
SPARC logical domain.
2. Go to http://www.oracle.com/technetwork/server-storage/vm/downloads/index.html?
ssSourceSiteId=ocomen.
Follow instructions to download and install Oracle VM Server for SPARC software.
4. (If using a cluster file system or a highly available local file system) Create an
HAStoragePlus resource for the logical domain Virtual Disk Storage.
# clresource create -g LDom-failover-rg \
-t SUNW.HAStoragePlus \
-p FileSystemMountPoints=LDom-mount-points \
LDom-has-resource
5. Enable the failover resource group that now includes the logical domain disk
storage resources.
# clresourcegroup online -M -n current-node LDom-failover-rg
If you did not install the HA for Oracle VM Server package during your initial Oracle Solaris
Cluster installation, perform this procedure to install the package.
1. On the cluster node where you are installing the data service package, assume
the root role.
2. Ensure that the data service package is available from the configured publisher
and that the solaris and ha-cluster publishers are valid.
# pkg list -a ha-cluster/data-service/ha-ldom
# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F solaris-repository
ha-cluster origin online F ha-cluster-repository
For information about setting the solaris publisher, see Adding, Modifying, or Removing
Package Publishers in Adding and Updating Software in Oracle Solaris 11.3.
Tip - Use the -nv options whenever you install or update to see what changes will be made, such
as which versions of which packages will be installed or updated and whether a new BE will be
created.
16 Oracle Solaris Cluster Data Service for Oracle VM Server for SPARC Guide October 2015
Registering and Configuring HA for Oracle VM Server
If you do not get any error messages when you use the -nv options, run the command again
without the -n option to actually perform the installation or update. If you do get error
messages, run the command again with more -v options (for example, -nvv) or more of the
package FMRI pattern to get more information to help you diagnose and fix the problem. For
troubleshooting information, see Appendix A, Troubleshooting Package Installation and
Update, in Adding and Updating Software in Oracle Solaris 11.3.
If you did not install the HA for Oracle VM Server packages as part of your initial
Oracle Solaris Cluster installation, go to Installing the HA for Oracle VM Server
Package on page 16.
1. Assume the root role or a role that provides solaris.cluster.modify and solaris.
cluster.admin authorization on the node in the cluster that hosts the Oracle VM
Server for SPARC logical domain.
For the resource type version 6 or later, create a private string named
resourcegroup_resource_ldompasswd to store the target host password that is
required for guest domain migration.
Type the following command on any one node in the cluster:
where resourcegroup and resource are the resource group and resource name for the SUNW.
ldom resource that is created.
where /var/cluster/.ldg1_passwd is the password file for guest domain ldg1. password
is the target node root password used for live migration.
4. Create an Oracle VM Server for SPARC logical domain resource in the failover
resource group.
If you are not using live migration, set Migration_type=NORMAL during resource
creation and do not specify the Password_file property.
Note - The Password_file property is obsolete for resource type version 6 or later.
18 Oracle Solaris Cluster Data Service for Oracle VM Server for SPARC Guide October 2015
How to Configure HA for Oracle VM Server
a. Insert the word encrypted into the file you specify with the Password_file
extension property when creating the resource.
d. Repeat the preceding steps on all Oracle Solaris Cluster nodes that host the
logical domain service.
e. Create or update the resource and set the Password_file property to the path
provided in Step a.
Note - You can perform this step only when the resource is disabled.
# clresource status
# clresource enable logical-guest-domain-resource
2. Disable and remove the resource that is used by the HA for Oracle VM Server
data service.
# clresource disable resource
# clresource delete resource
20 Oracle Solaris Cluster Data Service for Oracle VM Server for SPARC Guide October 2015
Tuning the HA for Oracle VM Server Fault Monitor
4. Repeat the preceding steps until you have tested all the potential nodes on
which the logical domain can run.
This section describes the HA for Oracle VM Server fault monitor's probing algorithm or
functionality, and states the conditions, messages, and recovery actions associated with
unsuccessful probing.
Note - For any maintenance or modification activities on the domain, you must disable
monitoring, perform maintenance tasks, and then re-enable the resource monitor.
For conceptual information about fault monitors, see the Oracle Solaris Cluster 4.3 Concepts
Guide .
Resource Properties
The HA for Oracle VM Server logical domain fault monitor uses the resource properties
specified in the resource type SUNW.ldom. Refer to the SUNW.ldom(5) man page for a complete
list of resource properties used.
HA for Oracle VM Server is controlled by the extension properties that control the probing
frequency. The default values of these properties determine the preset behavior of the fault
monitor and are suitable for most Oracle Solaris Cluster installations. You can modify this
preset behavior by performing the following actions:
Setting the interval between fault monitor probes (Thorough_probe_interval)
Setting the timeout for fault monitor probes (Probe_timeout)
Setting the number of times the fault monitor attempts to restart the resource (Retry_count)
The HA for Oracle VM Server fault monitor checks the domain status within an infinite loop.
During each cycle, the fault monitor checks the domain state and reports either a failure or
success.
If the fault monitor is successful, it returns to its infinite loop and continues the next cycle of
probing and sleeping.
If the fault monitor reports a failure, a request is made to the cluster to restart the resource. If
the fault monitor reports another failure, another request is made to the cluster to restart the
resource. This behavior continues whenever the fault monitor reports a failure. If successive
restarts exceed the Retry_count within the Thorough_probe_interval, a request is made to fail
over the resource group onto a different node.
The probe checks the domain state every 60 seconds by using the ldm list-domain
command.
The ldm list-domain command produces a status line for the domain and is accurate at the
instant that the command executes.
The status modes that are considered to be normal operational modes are as follows: active,
suspending, resuming, suspended, and starting. Whenever the ldm command reports these
status modes, the probe considers that the domain is operating in an acceptable mode.
The status modes that are considered to be restartable modes are as follows: inactive
and stopping. These modes are not considered acceptable and if one of these modes is
encountered, the probe requests a restart of the resource.
The probe also requests a resource to restart if any unknown status modes are reported by
the ldm command.
If the logical domain configuration has changed, the probe updates this information to the
CCR in the next probe cycle. Alternatively, you can perform the following steps to update
the changed configuration to the CCR immediately:
# clresource set \
-p R_DESCRIPTION="Oracle Solaris Cluster HA for Oracle VM Server SPARC Guest
Domains - Modified" \
ldg1-rs
2. Verify whether the configuration change was successfully done.
From the node where the guest domain is online, type the following commands, where
ld1-rs is the logical domain resource name and ldg1 is the guest domain name:
22 Oracle Solaris Cluster Data Service for Oracle VM Server for SPARC Guide October 2015
Debugging HA for Oracle VM Server
The probe runs the user-supplied script or binary provided for plugin_probe. If this
process fails, then the probe will restart the logical domain resource. The exit status of the
plugin_probe command is used to determine the severity of the failure of the application.
This exit status, called the plugin_probe status, must be an integer between 0 (for success)
and 100 (for complete failure). The plugin_probe status can also be a special value of 201
which results in immediate failover of the application unless Failover_enabled is set to
FALSE.
If the logical domain resource is repeatedly restarted and subsequently exhausts the
Retry_count within the Retry_interval, then a failover is initiated for the resource group
onto another node if Failover_enabled is set to TRUE.
HA for Oracle VM Server has a extension property named Debug_level that enables you to
activate debugging for Oracle VM Server for SPARC logical domain resources.
For more information about the Debug_level extension property and permissible values, see the
SUNW.ldom(5) man page.
24 Oracle Solaris Cluster Data Service for Oracle VM Server for SPARC Guide October 2015
Index
C O
configuration restrictions,13 operations
configuring Oracle VM Server for SPARC probe,22
HA for Oracle VM Server Oracle Solaris Cluster Manager
using the Oracle Solaris Cluster Manager configuration wizard,11
wizard,11 Oracle Solaris Cluster software
publisher,16, 16
overview
HA for Oracle VM Server,12
D installation,11
debugging
HA for Oracle VM Server,23
P
package,16
F planning
functionality,21 HA for Oracle VM Server,13
probing algorithm,21
publisher
Oracle Solaris Cluster software,16, 16
H
HA for Oracle VM Server
debugging,23
installing,16 R
overview,12 registering and configuring,17
software package, installing,16 reset for control domain failures
configuration,14
resource properties,21
resources
I Oracle VM Server for SPARC application
installing debugging,23
HA for Oracle VM Server,16
Oracle VM Server for SPARC software,15
S
software installation
L Oracle VM Server for SPARC,15
live migration,13 software package,16
25
Index
T
tuning fault monitor,21
V
verifying
Oracle VM Server for SPARC configuration,20
W
warm migration,13, 18
wizard
Oracle Solaris Cluster Manager,11
26 Oracle Solaris Cluster Data Service for Oracle VM Server for SPARC Guide October 2015