Sun Logo




Netra™ High Availability Suite 3.0 1/08 Foundation Services Cluster Administration Guide

819-5235-13


Contents

Tables

Preface

Using Cluster Administration Tools and Configuration Files

Using the Tools

Using Netra HA Suite Tools for Cluster Administration

Using Solaris Tools for Cluster Administration

Using Linux Tools for Cluster Administration

Using the Foundation Services Configuration Files in the Cluster Environment

Using Solaris Configuration Files in the Cluster Environment

Using Linux Configuration Files in the Cluster Environment

Accessing and Maintaining Log Files

Accessing System Log Files

procedure iconsmall spaceTo Redirect Netra HA Suite Messages to a File on the Master Node

procedure iconsmall spaceTo Define loghost in /etc/hosts

Maintaining System Log Files

procedure iconsmall spaceTo Redirect System Log Messages to a Nonpeer Node

procedure iconsmall spaceTo Remove Links to Crashed Daemons

Logging NFS Operations

procedure iconsmall spaceTo Log NFS Operations

Determining Cluster Validity

Defining Minimum Criteria for a Cluster Running Highly Available Services

Verifying Services on Peer Nodes

procedure iconsmall spaceTo Verify That the Cluster Has a Master Node and a Vice-Master Node

procedure iconsmall spaceTo Verify That an nhcmmd Daemon Is Running on Each Peer Node

procedure iconsmall spaceTo Verify That the Cluster Has a Redundant Ethernet Network

procedure iconsmall spaceTo Verify That the Master Node and Vice-Master Node Are Synchronized

procedure iconsmall spaceTo Verify That the Reliable Boot Service Is Running

Verifying That a Cluster Is Configured Correctly

procedure iconsmall spaceTo Verify That a Cluster Is Configured Correctly

Reacting to a Failover

procedure iconsmall spaceTo React to a Failover

Examining the Cluster Networking Configuration

Using Tools to Examine the Cluster Network

Verifying the Network Configuration

procedure iconsmall spaceTo Verify the Network Interfaces of a Node

Creating a Network Topology Map

Mapping the Network Configuration of a Peer Node

procedure iconsmall spaceTo Identify the Name of a Node

procedure iconsmall spaceTo Identify the Host Name of the Network Interfaces of a Node

procedure iconsmall spaceTo Obtain Configuration Information About the Network Interfaces of a Node

Mapping the External Network Configuration of a Node

procedure iconsmall spaceTo Examine Interfaces Configured for External Communication

Mapping the Floating Address Triplet of the Master Node

procedure iconsmall spaceTo Map the Floating Address Triplet of the Master Node

Mapping the Floating External Address of the Master Node

procedure iconsmall spaceTo Map the Floating External Address of the Master Node

Examining the Network Configuration Files

Examining the Routes on a Node

procedure iconsmall spaceTo Examine the Routing Table for a Node

Output of the netstat r Command

Debugging Diskless Nodes With the snoop or tcpdump Tools

procedure iconsmall spaceTo Examine a Diskless Node From the Master Node

Using and Managing System Files

Using Data Caches in Shared File Systems

procedure iconsmall spaceTo Enable or Disable Data and Attribute Caching on Solaris

procedure iconsmall spaceTo Enable or Disable Data and Attribute Caching on Linux

Changing the Location of the Scoreboard Bitmap

Storing Bitmap Scorecards on Disk or in Memory

procedure iconsmall spaceTo Change the Location of the Scoreboard Bitmap

Managing Differences Between Files That Are Not Shared

procedure iconsmall spaceTo Manage Differences Between Files That Are Not Shared

Using the Naming Services

Starting and Stopping Services, Nodes, and Clusters

Stopping and Restarting the Foundation Services

procedure iconsmall spaceTo Start a Node Without the Foundation Services

procedure iconsmall spaceTo Stop and Restart the Foundation Services Without Stopping the Solaris OS

procedure iconsmall spaceTo Stop and Restart the Foundation Services Without Stopping Linux

procedure iconsmall spaceTo Restart the Foundation Services

Stopping and Restarting Daemon Monitoring

procedure iconsmall spaceTo Stop Daemon Monitoring

procedure iconsmall spaceTo Restart Daemon Monitoring

Shutting Down and Restarting a Node

General Rules for Shutting Down a Node

procedure iconsmall spaceTo Perform a Clean Reboot of a Solaris OS Node

procedure iconsmall spaceTo Perform a Clean Reboot of a Linux Node

procedure iconsmall spaceTo Perform a Clean Power off of a Solaris Node

procedure iconsmall spaceTo Perform a Clean Power off of a Linux Node

procedure iconsmall spaceTo Perform a Clean Halt of a Solaris Node

procedure iconsmall spaceTo Perform a Clean Halt of a Linux Node

procedure iconsmall spaceTo Abruptly Reboot a Solaris Node

procedure iconsmall spaceTo Abruptly Reboot a Linux Node

procedure iconsmall spaceTo Abruptly Power Off a Solaris Node

procedure iconsmall spaceTo Abruptly Power Off a Linux Node

procedure iconsmall spaceTo Abruptly Halt a Solaris Node

procedure iconsmall spaceTo Abruptly Halt a Linux Node

Shutting Down a Node

procedure iconsmall spaceTo Shut Down the Master Node

procedure iconsmall spaceTo Shut Down the Vice-Master Node

procedure iconsmall spaceTo Shut Down a Diskless Node or Dataless Node

Restarting a Node

procedure iconsmall spaceTo Restart a Node

Shutting Down and Restarting a Cluster

procedure iconsmall spaceTo Shut Down a Cluster

procedure iconsmall spaceTo Restart a Cluster

Triggering a Switchover

procedure iconsmall spaceTo Trigger a Switchover With nhcmmstat

Recovering an IP-Replicated Cluster

procedure iconsmall spaceTo Recover a Solaris Cluster After Failure

procedure iconsmall spaceTo Recover a Linux Cluster After Failure

Patching Software on a Solaris Cluster

About Patching Software on a Solaris Cluster

Choosing a Procedure to Patch Software on a Cluster

Overwriting Modified Netra HA Suite Files

Patching a Nonshared Package on Both Master-Eligible Nodes

procedure iconsmall spaceTo Patch a Nonshared Package on Both Master-Eligible Nodes

Patching a Dataless Node

procedure iconsmall spaceTo Patch a Dataless Node

Patching a Diskless Node

Patching the /usr Directory for a Diskless Node

procedure iconsmall spaceTo Patch the /usr Directory for Diskless Nodes

Patching the root Directory for Diskless Nodes

procedure iconsmall spaceTo Patch the root File System for Diskless Nodes

Patching a Shared Package

procedure iconsmall spaceTo Patch a Shared Package on a Cluster

Patching Software on a Linux Cluster

About Patching Software on a Linux Cluster

procedure iconsmall spaceTo Patch a Package on Both Master-Eligible Nodes

procedure iconsmall spaceTo Patch a Dataless Node

Modifying and Adding Disk Partitions for Replicated Data on the Solaris OS

Using the format Utility to Display and Modify the Configuration of a Disk Partition on a Solaris Node

procedure iconsmall spaceTo Display the Configuration of a Disk Partition on a Solaris Node

procedure iconsmall spaceTo Change the Size of a Disk Partition on a Master-Eligible Node on the Solaris OS

Increasing the Size of a Replicated Data Partition on a Physical Disk on a Solaris Node

procedure iconsmall spaceTo Increase the Size of a Replicated Data Partition on a Physical Disk on a Solaris Node

Increasing the Size of a Replicated Data Partition on a Virtual Disk on a Solaris Node

procedure iconsmall spaceTo Increase the Size of a Replicated Data Partition on a Virtual Disk on a Solaris Node

Adding a Mirrored Data Partition to a Virtual Disk on a Solaris Node

procedure iconsmall spaceTo Add a Mirrored Data Partition to a Virtual Disk on a Solaris Node

Modifying and Adding Disk Partitions for Replicated Data on Linux

Using the parted Utility to Display and Modify the Configuration of a Disk Partition on a Linux Node

procedure iconsmall spaceTo Display the Configuration of a Disk Partition on a Linux Node

procedure iconsmall spaceTo Change the Size of a Disk Partition on a Master-Eligible Node on Linux

Increasing the Size of a Replicated Data Partition on a Physical Disk on a Linux Node

procedure iconsmall spaceTo Increase the Size of a Replicated Data Partition on a Physical Disk on a Linux Node

Increasing the Size of a Replicated Data Partition on a Virtual Disk on a Linux Node

procedure iconsmall spaceTo Increase the Size of a Replicated Data Partition on a Virtual Disk on a Linux Node

Adding a Mirrored Data Partition to a Virtual Disk on a Linux Node

procedure iconsmall spaceTo Add a Mirrored Data Partition to a Virtual Disk on a Linux Node

Adding a Node to a Cluster

Deciding How to Add a Node to a Cluster

Determining Whether a Cluster Has Predefined Nodes

procedure iconsmall spaceTo Determine Whether the Cluster Has Predefined Nodes

Replacing Hardware in a Cluster

Preparing to Replace Hardware in a Cluster

Replacing a CPU Board on a Node

procedure iconsmall spaceTo Replace a Board on a Node

Replacing a CPU Board on a Diskless Node

procedure iconsmall spaceTo Replace a Board on Diskless Nodes With the DHCP Client ID Boot Policy

procedure iconsmall spaceTo Replace a Diskless Node With the DHCP Static Boot Policy

Replacing Ethernet Cards on a Vice-Master or Dataless Node

procedure iconsmall spaceTo Replace Ethernet Cards on the Vice-Master Node or a Dataless Node

Replacing Ethernet Cards on a Diskless Node

procedure iconsmall spaceTo Replace Ethernet Cards on a Diskless Node With the DHCP Static Boot Policy

Replacing the Disk on the Vice-Master Node

procedure iconsmall spaceTo Replace the Disk on the Vice-Master Node Using IP Replication

procedure iconsmall spaceTo Replace the Disk on the Vice-Master Node Using Shared Disk

Replacing Disks on Both Master-Eligible Nodes Without Cluster Shutdown

procedure iconsmall spaceTo Replace Disks on Both Master-Eligible Nodes Using IP Replication Without Full Cluster Shutdown

Replacing a Dataless Node Disk

procedure iconsmall spaceTo Replace a Dataless Node Disk