Perform this procedure to use SunPlex Installer to configure Sun Cluster software and install patches on all nodes in the cluster in a single operation. In addition, you can use this procedure to install Solstice DiskSuite software and patches (Solaris 8) and to configure Solstice DiskSuite or Solaris Volume Manager mirrored disk sets.
Do not use this configuration method in the following circumstances:
To configure a single-node cluster. Instead, follow procedures in How to Configure Sun Cluster Software on All Nodes (scinstall).
To use a different private-network IP address or netmask than the defaults. SunPlex Installer automatically specifies the default private-network address (172.16.0.0) and netmask (255.255.0.0). Instead, follow procedures in How to Configure Sun Cluster Software on All Nodes (scinstall).
To configure tagged-VLAN capable adapters or SCI-PCI adapters for the cluster transport. Instead, follow procedures in How to Configure Sun Cluster Software on All Nodes (scinstall).
To add a new node to an existing cluster. Instead, follow procedures in How to Configure Sun Cluster Software on Additional Cluster Nodes (scinstall) or How to Install Solaris and Sun Cluster Software (JumpStart).
The installation process might take from 30 minutes to two or more hours. The actual length of time depends on the number of nodes that are in the cluster, your choice of data services to install, and the number of disks that are in your cluster configuration.
Perform the following tasks:
Ensure that the cluster configuration meets the requirements to use SunPlex Installer to install software. See Using SunPlex Installer to Configure Sun Cluster Software for installation requirements and restrictions.
Ensure that the Solaris OS is installed to support Sun Cluster software.
If Solaris software is already installed on the node, you must ensure that the Solaris installation meets the requirements for Sun Cluster software and any other software that you intend to install on the cluster. See How to Install Solaris Software for more information about installing Solaris software to meet Sun Cluster software requirements.
Ensure that Apache software packages and Apache software patches are installed on the node.
# pkginfo SUNWapchr SUNWapchu SUNWapchd |
If necessary, install any missing Apache software packages from the Solaris Software 2 of 2 CD-ROM.
Ensure that Sun Cluster software packages are installed on the node. See How to Install Sun Cluster Framework and Data-Service Software Packages (Java ES installer).
If you intend to use the root password to access SunPlex Installer or SunPlex Manager, ensure that the root password is the same on every node of the cluster. If necessary, also use the chkey command to update the RPC key pair. See the chkey(1) man page.
If you intend to install Sun Cluster HA for NFS or Sun Cluster HA for Apache, ensure that the cluster configuration meets all applicable requirements. See Using SunPlex Installer to Configure Sun Cluster Software.
Complete the following configuration planning worksheet. See Planning the Solaris OS and Planning the Sun Cluster Environment for planning guidelines. See the Sun Cluster Data Services Planning and Administration Guide for Solaris OS for data-service planning guidelines.
Prepare file-system paths to a CD-ROM image of each software product that you intend to install.
Follow these guidelines to prepare the file-system paths:
Provide each CD-ROM image in a location that is available to each node.
Ensure that the CD-ROM images are accessible to all nodes of the cluster from the same file-system path. These paths can be one or more of the following locations:
CD-ROM drives that are exported to the network from machines outside the cluster.
Exported file systems on machines outside the cluster.
CD-ROM images that are copied to local file systems on each node of the cluster. The local file system must use the same name on each node.
x86: Determine whether you are using the Netscape NavigatorTM browser or the Microsoft Internet Explorer browser on your administrative console.
x86: Ensure that the Java plug-in is installed and working on your administrative console.
Start the Netscape Navigator browser on the administrative console that you use to connect to the cluster.
From the Help menu, choose About Plug-ins.
Determine whether the Java plug-in is listed.
Download the latest Java plug-in from http://java.sun.com/products/plugin.
Install the plug-in on your administrative console.
Create a symbolic link to the plug-in.
% cd ~/.netscape/plugins/ % ln -s /usr/j2se/plugin/i386/ns4/javaplugin.so . |
Skip to Step 5.
x86: Ensure that Java 2 Platform, Standard Edition (J2SE) for Windows is installed and working on your administrative console.
On your Microsoft Windows desktop, click Start, point to Settings, and then select Control Panel.
The Control Panel window appears.
Determine whether the Java Plug-in is listed.
Download the latest version of J2SE for Windows from http://java.sun.com/j2se/downloads.html.
Install the J2SE for Windows software on your administrative console.
Restart the system on which your administrative console runs.
The J2SE for Windows control panel is activated.
If patches exist that are required to support Sun Cluster or Solstice DiskSuite software, determine how to install those patches.
To manually install patches, use the patchadd command to install all patches before you use SunPlex Installer.
To use SunPlex Installer to install patches, copy patches into a single directory.
Ensure that the patch directory meets the following requirements:
The patch directory resides on a file system that is available to each node.
Only one version of each patch is present in this patch directory. If the patch directory contains multiple versions of the same patch, SunPlex Installer cannot determine the correct patch dependency order.
The patches are uncompressed.
From the administrative console or any other machine outside the cluster, launch a browser.
Disable the browser's Web proxy.
SunPlex Installer installation functionality is incompatible with Web proxies.
Ensure that disk caching and memory caching is enabled.
The disk cache and memory cache size must be greater than 0.
From the browser, connect to port 3000 on a node of the cluster.
https://node:3000 |
The Sun Cluster Installation screen is displayed in the browser window.
If SunPlex Installer displays the data services installation screen instead of the Sun Cluster Installation screen, Sun Cluster framework software is already installed and configured on that node. Check that the name of the node in the URL is the correct name of the cluster node to install.
If the browser displays a New Site Certification window, follow the onscreen instructions to accept the certificate.
Log in as superuser.
In the Sun Cluster Installation screen, verify that the cluster meets the listed requirements for using SunPlex Installer.
If you meet all listed requirements, click Next to continue to the next screen.
Follow the menu prompts to supply your answers from the configuration planning worksheet.
Click Begin Installation to start the installation process.
Follow these guidelines to use SunPlex Installer:
Do not close the browser window or change the URL during the installation process.
If the browser displays a New Site Certification window, follow the onscreen instructions to accept the certificate.
If the browser prompts for login information, type the appropriate superuser ID and password for the node that you connect to.
SunPlex Installer installs and configures all cluster nodes and reboots the cluster. The cluster is established when all nodes have successfully booted into the cluster. Sun Cluster installation output is logged in a /var/cluster/logs/install/scinstall.log.N file.
During installation, the screen displays brief messages about the status of the cluster installation process. When installation and configuration is complete, the browser displays the cluster monitoring and administration GUI.
SunPlex Installer installation output is logged in the /var/cluster/spm/messages file. Sun Cluster installation output is logged in a /var/cluster/logs/install/scinstall.log. N file.
From one node, verify that all nodes have joined the cluster.
Run the scstat(1M) command to display a list of the cluster nodes. You do not need to be logged in as superuser to run this command.
% scstat -n |
Output resembles the following.
-- Cluster Nodes -- Node name Status --------- ------ Cluster node: phys-schost-1 Online Cluster node: phys-schost-2 Online |
Verify the quorum assignments and modify those assignments, if necessary.
For clusters with three or more nodes, the use of shared quorum devices is optional. SunPlex Installer might or might not have assigned quorum votes to any quorum devices, depending on whether appropriate shared disks were available. You can use SunPlex Manager to designate quorum devices and to reassign quorum votes in the cluster. See Chapter 5, Administering Quorum, in Sun Cluster System Administration Guide for Solaris OS for more information.
To re-enable the loopback file system (LOFS), delete the following entry from the /etc/system file on each node of the cluster.
exclude:lofs |
The re-enabling of LOFS becomes effective after the next system reboot.
You cannot have LOFS enabled if you use Sun Cluster HA for NFS on a highly available local file system and have automountd running. LOFS can cause switchover problems for Sun Cluster HA for NFS. If you enable LOFS and later choose to add Sun Cluster HA for NFS on a highly available local file system, you must do one of the following:
Restore the exclude:lofs entry to the /etc/system file on each node of the cluster and reboot each node. This change disables LOFS.
Disable the automountd daemon.
Exclude from the automounter map all files that are part of the highly available local file system that is exported by Sun Cluster HA for NFS. This choice enables you to keep both LOFS and the automountd daemon enabled.
See Types of File Systems in System Administration Guide, Volume 1 (Solaris 8) or The Loopback File System in System Administration Guide: Devices and File Systems (Solaris 9 or Solaris 10) for more information about loopback file systems.
If you intend to install data services, go to the appropriate procedure for the data service that you want to install and for your version of the Solaris OS:
Sun Cluster 2 of 2 CD-ROM (Sun Java System data services) |
Sun Cluster Agents CD (All other data services) |
|||
---|---|---|---|---|
Procedure |
Solaris 8 or 9 |
Solaris 10 |
Solaris 8 or 9 |
Solaris 10 |
How to Install Sun Cluster Framework and Data-Service Software Packages (Java ES installer) |
X | |||
X | ||||
X |
X |
|||
How to Install Data-Service Software Packages (Web Start installer) |
X |
Otherwise, go to How to Verify the Quorum Configuration and Installation Mode.
You cannot change the private-network address and netmask after scinstall processing has finished. If you need to use a different private-network address or netmask and the node is still in installation mode, follow the procedures in How to Uninstall Sun Cluster Software to Correct Installation Problems. Then repeat this procedure to reinstall and configure the node with the correct information.