HA Clusters Quick Links

Download
Download the latest Open High Availability Cluster source
Participate
Join the OpenSolaris HA Clusters discussions
Contribute
 Contribute to Open High Availability Cluster

Translation for this page
EnglishDeutschEspañolFrançais??????PortugueseP??????????????

How to Install a Single-Node Cluster

NOTE: Do not use these procedures with the Open HA Cluster 2009.06 release. Instead, follow procedures in the Open HA Cluster Installation Guide to configure a two-node cluster. The Open HA Cluster 2009.06 release does not support single-node clusters.
Information posted here about Solaris Cluster Express will be retained for an undetermined period.

Watch the movie Solaris Cluster Express Installation on a Single Node that shows you how to install Sun's Solaris High Availability (HA) Cluster software on a single node!

This procedure is a simplified set of instructions to create a cluster on a single machine, for use in developing and testing an Open HA Cluster agent. Additional information is available in the Sun™ Cluster 3.2 documentation set at http://docs.sun.com/app/docs/prod/sun.cluster32.

To create your single-node cluster, follow these procedures:

  1. Preinstallation Tasks
  2. How to Install Solaris Express Software
  3. How to Install Solaris Cluster Express Software
  4. How to Establish the Cluster

Preinstallation Tasks

Before you start to install the software, ensure the following requirements:

  • Your hardware is listed in the Hardware Compatibility List at http://www.sun.com/bigadmin/hcl/data/sx/.
  • You have chosen the public network IP addresses that you intend to use. You need one IP address for the cluster node and one for each data service that you configure.
  • The Solaris Express Community Edition Build 101a and Solaris Cluster Express software are accessible for installation. Make the software available in one of the following ways:
    • Download the software to an installation server or to a boot server.
    • Burn the downloaded software onto a DVD.

 The software and installation instructions are available from the following web sites:

back to top

How to Install Solaris Express Software

 This procedure installs Solaris Express Community Edition Build 101a software.


Note - If your system is already installed with Solaris Express Community Edition Build 101a, the partitioning scheme must meet Solaris Cluster Express requirements for cluster configuration to succeed.

  • If the necessary partitions and allocations already exist, in particular the /globaldevices partition, you do not need to perform this procedure. Proceed to How to Install Solaris Cluster Express Software.
  • If the necessary partitions and allocations do not already exist, either repartition the system disk or reinstall Solaris Express Community Edition Build 101a software by performing the steps in this procedure.

  1. Follow the instructions at the Solaris Express Community Edition download site http://opensolaris.org/os/downloads to install the OS on your system.
    Observe these additional instructions during the installation.
    1. Make the following installation choices.|=Prompt|=Value
Solaris Software GroupEntire Plus OEM Support
PartitionsManual formatting
Root password(Specify the root password to use)
Automatic rebootNo
    1. Set the following partition sizes and file system names, if not already set.|=Slice|=Size|=File System Name
0Half of remaining free space/
12 GbytesSwap
4512 Mbytes/globaldevices
5Half of remaining free space(Unused, available for Live Upgrade alternate boot environment)
732 Mbytes(Optional) For volume manager use
    1. After installation is complete and the system has rebooted, log in as superuser.
    2. Restore external access to remote procedure call (RPC) communication and optionally to the Sun Java™ Web Console.
      During Solaris Express installation, a restricted network profile is used that restricts external access for certain network services, including the following which affect cluster functionality:
      11* The RPC communication service, which is required for cluster communication
      11* The Sun Java Web Console service, which is required to use the Cluster Manager GUI
      1. Use the following commands to restore external access to RPC communication.
# **svccfg**
svc:> **select network/rpc/bind**
svc:/network/rpc/bind> **setprop config/local_only=false**
svc:/network/rpc/bind> **quit**
# **svcadm refresh network/rpc/bind:default**
# **svcprop network/rpc/bind:default | grep local_only**

The output of the last command should show that the local_only property is now set to false.

      1. (Optional) Use the following commands to restore external access to the Sun Java Web Console.
# **svccfg**
svc:> **select system/webconsole**
svc:/system/webconsole> **setprop options/tcp_listen=true**
svc:/system/webconsole> **quit**
# **/usr/sbin/smcwebserver restart**
# **netstat -a | grep 6789**

The output of the last command should return an entry for 6789, which is the port number used to connect to the Sun Java Web Console.

    1. Set values for the umask and the PATH in your user initialization file.
      1. Open your user initialization file for editing.
        This file is usually the .cshrc or .profile file in your home directory.
      2. Ensure that the PATH variable includes the following paths:/usr/bin
        /usr/cluster/bin
        /usr/sbin
        /usr/ccs/bin
      3. Verify that the umask is set to 22.
umask 022

This entry sets the default permissions for newly created files.

      1. Save and exit your user initialization file.
    1. Update the /etc/inet/hosts file with the public host name and logical addresses for the cluster.
      Supply a public network IP address for each agent that you intend to configure.
127.0.0.1         localhost
//###.###.##.#//      //nodename//  loghost
//###.###.##.#//      //agentname//

back to top

How to Install Solaris Cluster Express Software This procedure installs software packages for the Solaris Cluster Express framework.

    1. On the system you are installing, go to the Solaris_sparc or Solaris_x86 directory of the downloaded Solaris Cluster Express software.
    2. Start the installer program.
# **./installer**
    1. Follow the onscreen instructions to install the Solaris Cluster Express framework packages.
      Supply the following information when prompted.
Screen NameInstructions
Software License AgreementAccept the license agreement.
Language SupportChoose any languages that you want to install in addition to English.
Installation TypeAnswer no when asked if you want to install the full set of Java ES software.
Component SelectionChoose Sun Cluster. Confirm your selection when prompted.
Shared Component Upgrades RequiredAccept upgrade of the list of shared components.
Configuration TypeChoose Configure Later.
back to top

How to Establish the Cluster

    1. Start the interactive scinstall utility.
# **/usr/cluster/bin/scinstall**

The scinstall Main Menu is displayed.

    1. Type the number for Create a New Cluster or New Cluster Node and press Return.
      The New Cluster and Cluster Node Menu is displayed.
    2. Type the number for Create a New Cluster and press Return.
      The Typical or Custom Mode menu is displayed.
    3. Type the number for Typical and press Return.
    4. Follow the menu prompts to supply the following information.|=Component|=Description|=Answer
Cluster NameWhat is the name of the cluster that you want to establish?clustername
Cluster NodesList the names of the other nodes.Press Control-d to specify that there are no other nodes in the cluster.
CheckDo you want to interrupt installation for sccheck errors?No
The cluster is established when the node has successfully booted into the cluster. Solaris Cluster Express installation output is logged in a /var/cluster/logs/install/scinstall.log.N file.
    1. Verify that the cluster is established.
# **cluster status**
=== Cluster Nodes ===
~--- Node Status ~---
Node Name                                       Status
~---------                                       ~------
//nodename//                                        Online
last modified by admin on 2009/10/26 12:08
Collectives
Project


© Sun Microsystems Inc. 2009
XWiki Enterprise 1.8.2.19075 - Documentation
Terms Of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines | Site map | Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.