Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
1.  Introduction to Administering Sun Cluster Administration Tools command-line Interface  Previous   Contents   Next 
   
 

Table 1-1 lists other commands that you use to administer Sun Cluster. See the man pages for more detailed information.

Table 1-1 Sun Cluster Command-Line Interface Commands

Command

Description

ccp(1M)

Starts remote console access to the cluster.

if_mpadm(1M)

Use to switch IP addresses from one adapter to another in an IP Network Multipathing group.

sccheck(1M)

Checks and validates the Sun Cluster configuration to ensure the very basic configuration for a cluster to be functional.

scconf(1M)

Updates a Sun Cluster configuration. The -p option lists cluster configuration information.

scdidadm(1M)

Provides administrative access to the device ID configuration.

scgdevs(1M)

Runs the global device namespace administration script.

scinstall(1M)

Installs and configures Sun Cluster software. The command can be run interactively or non-interactively. The -p option displays release and package version information for the Sun Cluster software.

scrgadm(1M)

Manages the registration of resource types, the creation of resource groups, and the activation of resources within a resource group. The -p option displays information on installed resources, resource groups, and resource types.


Note - Resource type, resource group, and resource property names are case insensitive when executing scrgadm.


scsetup(1M)

Runs the interactive cluster configuration utility, which generates the scconf command and its various options.

scshutdown(1M)

Shuts down the entire cluster.

scstat(1M)

Provides a snapshot of the cluster status.

scswitch(1M)

Performs changes that affect node mastery and states for resource groups and disk device groups.

In addition, use commands to administer the volume manager portion of Sun Cluster. These commands depend on the specific volume manager used in your cluster, either Solstice DiskSuite™, VERITAS Volume Manager, or Solaris Volume Manager™.

Preparing to Administer the Cluster

This section describes what to do to prepare for administering your cluster.

Documenting a Sun Cluster Hardware Configuration

Document the hardware aspects that are unique to your site as your Sun Cluster configuration is scaled. Refer to your hardware documentation when you change or upgrade the cluster to save administration labor. Labeling cables and connections between the various cluster components can also make administration easier.

Reduce the time required by a third-party service provider when servicing your cluster by keeping records of your original cluster configuration, and subsequent changes.

Using an Administrative Console

You can use a dedicated SPARC workstation, known as the administrative console, to administer the active cluster. Typically, you install and run the Cluster Control Panel (CCP) and graphical user interface (GUI) tools on the administrative console. For more information on the CCP, see How to Log In to Sun Cluster Remotely. For instructions on installing the Sun Management Center and SunPlex Manager GUI tools, see the Sun Cluster 3.1 Software Installation Guide.

The administrative console is not a cluster node. The administrative console is used for remote access to the cluster nodes, either over the public network or through a network-based terminal concentrator.

If your cluster consists of a Sun Enterprise™ 10000 server, you must log in from the administrative console to the System Service Processor (SSP). Connect using the netcon(1M) command. The default method for netcon to connect with a Sun Enterprise 10000 domain is through the network interface. If the network is inaccessible, you can use netcon in "exclusive" mode by setting the -f option. You can also send ~* during a normal netcon session. Either of the previous solutions give you the option of toggling to the serial interface if the network becomes unreachable. Refer to netcon(1M) for more information.

Sun Cluster does not require a dedicated administrative console, but using a console provides these benefits:

  • Enables centralized cluster management by grouping console and management tools on the same machine

  • Provides potentially quicker problem resolution by Enterprise Services or your service provider

Backing Up the Cluster

Back up your cluster on a regular basis. Even though Sun Cluster provides an HA environment, with mirrored copies of data on the storage devices, Sun Cluster is not a replacement for regular backups. Sun Cluster can survive multiple failures, but does not protect against user or program error, or catastrophic failure. Therefore, you must have a backup procedure in place to protect against data loss.

The following information should be included as part of your backup.

  • All file system partitions

  • All database data if you are running DBMS data services

  • Disk partition information for all cluster disks

  • The md.tab file if you are using Solstice DiskSuite/Solaris Volume Manager as your volume manager

Beginning to Administer the Cluster

Table 1-2 provides a starting point for administering your cluster.

Table 1-2 Sun Cluster 3.1 Administration Tools

Task

Tool

Documentation

Log in to the Cluster Remotely

Use the ccp command to launch the Cluster Control Panel (CCP). Then select one of the following icons: cconsole(1M), crlogin(1M), or ctelnet(1M).

How to Log In to Sun Cluster Remotely

Configure the Cluster Interactively

Launch thescsetup(1M) utility.

How to Access the scsetup Utility

Display Sun Cluster Release Number and Version Information

Use the scinstall(1M) command with either the -p or -pv options.

How to Display Sun Cluster Release and Version Information

Display Installed Resources, Resource Groups, and Resource Types


Note - Resource type, resource group, and resource property names are case insensitive when executing scrgadm.


Use the scrgadm(1M) -p command.

How to Display Configured Resource Types, Resource Groups, and Resources

Monitor Cluster Components Graphically

Use SunPlex Manager or the Sun Cluster module for Sun Management Center.

SunPlex Manager or Sun Cluster module for Sun Management Center online help

Administer Some Cluster Components Graphically

Use SunPlex Manager or the Sun Cluster module for Sun Management Center.

SunPlex Manager or Sun Cluster module for Sun Management Center online help

Check the Status of Cluster Components

Use the scstat(1M) command.

How to Check the Status of Cluster Components

Check the Status of IP Network Multipathing Groups on the Public Network

Use thescstat(1M) command with the -i option.

How to Check the Status of the Public Network

View the Cluster Configuration

Use the scconf(1M) -p command.

How to View the Cluster Configuration

Check Global Mount Points

Use the sccheck(1M) command.

How to Validate a Basic Cluster Configuration

Look at Sun Cluster System Messages

Examine the/var/adm/messages file.

Solaris 9 System Administrator Collection"Viewing System Messages" in System Administration Guide: Advanced Administration

Monitor the Status of Solstice DiskSuite

Use the metastat commands.

Solstice DiskSuite/Solaris Volume Manager documentation

Monitor the Status of VERITAS Volume Manager if running Solaris 8

Use the vxstat or vxva commands.

VERITAS Volume Manager documentation

Monitor the Status of Solaris Volume Manager if running Solaris 9

Use the svmstatcommand

Solaris Volume Manager Administration Guide

ProcedureHow to Log In to Sun Cluster Remotely

The Cluster Control Panel (CCP) provides a launch pad for cconsole(1M), crlogin(1M), and ctelnet(1M) tools. All three tools start a multiple window connection to a set of specified nodes. The multiple-window connection consists of a host window for each of the specified nodes and a common window. Input to the common window is sent to each of the host windows, allowing you to run commands simultaneously on all nodes of the cluster. See the ccp(1M) and cconsole(1M) man pages for more information.

  1. Verify that the following prerequisites are met before starting the CCP.

    • Install the SUNWccon package on the administrative console.

    • Make sure the PATH variable on the administrative console includes the Sun Cluster tools directory, /opt/SUNWcluster/bin, and /usr/cluster/bin. You can specify an alternate location for the tools directory by setting the $CLUSTER_HOME environment variable.

    • Configure the clusters file, the serialports file, and the nsswitch.conf file if using a terminal concentrator. The files can be either /etc files or NIS/NIS+ databases. See clusters(4) and serialports(4) for more information.

  2. Determine if you have a Sun Enterprise 10000 server platform.

    • If yes, log into the System Service Processor (SSP) and connect by using the netcon command. After the connection is made, type Shift~@ to unlock the console and gain write access.

  3. Start the CCP launch pad.

    From the administrative console, type the following command.

    # ccp clustername

    The CCP launch pad is displayed.

  4. To start a remote session with the cluster, click either the cconsole, crlogin, or ctelnet icon in the CCP launch pad.

 
 
 
  Previous   Contents   Next