+ All Categories
Home > Documents > Vcs35 Sol Les03

Vcs35 Sol Les03

Date post: 13-Nov-2015
Category:
Upload: gyan1
View: 221 times
Download: 0 times
Share this document with a friend
Description:
vcs
24
VERITAS Cluster Server 3.5 for Solaris Lesson 3 Managing Cluster Services
Transcript
  • VERITAS Cluster Server3.5 for SolarisLesson 3Managing Cluster Services

    VCS_3.5_Solaris_R3.5_20020915

    3-*

    Overview

    VCS_3.5_Solaris_R3.5_20020915

    3-*

    ObjectivesAfter completing this lesson, you will be able to:Describe the cluster configuration mechanismsStart the VCS engine on cluster systems.Stop the VCS engine.Modify the cluster configuration.Describe cluster transition states.

    VCS_3.5_Solaris_R3.5_20020915

    3-*

    Cluster Configuration

    VCS_3.5_Solaris_R3.5_20020915

    3-*

    Starting VCSmain.cfCluster ConfPrivate NetworkSystem2System3

    VCS_3.5_Solaris_R3.5_20020915

    3-*

    Starting VCS: Second Systemmain.cfhadhashadowPrivate NetworkhadhashadowSystem2System3Cluster ConfCluster Conf

    VCS_3.5_Solaris_R3.5_20020915

    3-*

    Starting VCS: Third Systemmain.cfhadhashadowhadhashadowmain.cfmain.cfhadhashadowSystem1System2System3Shared Cluster Configuration in MemoryPrivate Network

    VCS_3.5_Solaris_R3.5_20020915

    3-*

    Stopping VCS

    VCS_3.5_Solaris_R3.5_20020915

    3-*

    The hastop CommandThe hastop command stops the VCS engine.Syntax:hastop option [arg] [-option]Options:-local [-force | -evacuate]-sys sys_name [-force | -evacuate]-all [-force]Example:hastop -sys train4 -evacuate

    VCS_3.5_Solaris_R3.5_20020915

    3-*

    Displaying Cluster StatusThe hastatus Command Displays status of items in the cluster.Syntax:hastatus -option [arg] [-option arg]Options:-group service_group -sum[mary]Example:hastatus -group OracleSG

    VCS_3.5_Solaris_R3.5_20020915

    3-*

    Protecting the Cluster ConfigurationCluster configuration opened; .stale file createdResources added to cluster configuration in memory; main.cf out of sync with memory configurationChanges saved to disk; .stale removed

    haconf -makerwCluster Confhares add haconf dump -makeromain.cfmain.cf.stale

    VCS_3.5_Solaris_R3.5_20020915

    3-*

    Opening and Saving the Cluster ConfigurationThe haconf command opens, closes, and saves the cluster configuration.Syntax: haconf option [-option] Options:-makerwOpens configuration-dump Saves configuration-dump makero Saves and closes configurationExample: haconf -dump -makero

    VCS_3.5_Solaris_R3.5_20020915

    3-*

    Starting VCS with a Stale Configurationmain.cfhadhashadowPrivate NetworkhastarthadhashadowSystem2System3main.cf.stalemain.cf

    VCS_3.5_Solaris_R3.5_20020915

    3-*

    Forcing VCS to Start on the Local SystemSystem1main.cfPrivate Networkhastart -forcehadhashadowSystem2System3main.cf.staleCluster Confmain.cf

    VCS_3.5_Solaris_R3.5_20020915

    3-*

    Forcing a System to Start

    VCS_3.5_Solaris_R3.5_20020915

    3-*

    The hasys CommandAlters or queries state of hadSyntax:hasys option [arg]Options:-force system_name-list-display system_name-delete system_name-add system_nameExample: hasys -force train11

    VCS_3.5_Solaris_R3.5_20020915

    3-*

    Propagating a Specific ConfigurationStop VCS on all systems in the cluster and leave applications running:hastop -all forceStart VCS stale on all other systems:hastart staleThe -stale option causes these systems to wait until a running configuration is available from which they can build.Start VCS on the system with the main.cf that you are propagating:hastart

    VCS_3.5_Solaris_R3.5_20020915

    3-*

    Summary of Start OptionsThe hastart command starts the had and hashadow daemons.Syntax:hastart [-option]Options:-stale-forceExample:hastart -force

    VCS_3.5_Solaris_R3.5_20020915

    3-*

    Validating the Cluster ConfigurationThe hacf utility checks the syntax of the main.cf file.Syntax:hacf -verify config_directoryExample:hacf -verify /etc/VRTSvcs/conf/config

    VCS_3.5_Solaris_R3.5_20020915

    3-*

    Modifying Cluster AttributesThe haclus command is used to view and changecluster attributes.Syntax:haclus option [arg]Options:-display-help [-modify]-modify modify_options-value attribute-notesExample: haclus value ClusterLocation

    VCS_3.5_Solaris_R3.5_20020915

    3-*

    Startup States and Transitions

    VCS_3.5_Solaris_R3.5_20020915

    3-*

    Shutdown States and TransitionsRUNNINGLEAVINGEXITINGEXITEDEXITING_FORCIBLYFAULTEDhastophastop -forceResources offlined,agents stoppedUnexpected exit

    VCS_3.5_Solaris_R3.5_20020915

    3-*

    SummaryYou should now be able to:Describe the cluster configuration mechanisms.Start VCS.Stop VCS.Modify the cluster configuration.Explain the transition states of the cluster.

    VCS_3.5_Solaris_R3.5_20020915

    3-*

    Lab 3: Managing Cluster ServicesTo complete this lab exercise:Use commands to start and stop cluster services, as described in the detailed lab instructions.Observe the cluster status by running hastatus in a terminal window.


Recommended