Previous  |  Next  >  
Product: Cluster Server Guides   
Manual: Cluster Server 4.1 User's Guide   

Linking Service Groups (Online/Offline Dependencies)

You can link service groups from the command line or from the Java and Web consoles. This section describes the hagrp -link command.

Note that a configuration may require that a certain service group be running before another service group can be brought online. For example, a group containing resources of a database service must be running before the database application is brought online.

To link service groups:


# hagrp -link parent_group child_group gd_category
gd_location gd_type

The variable parent_group is the name of a service group.

The variable child_group is the name of a service group.

The variable gd_category is the category of group dependency (online/offline).

The variable gd_location is the boundary of parent_group-child_group link (local/global/remote).

The optional variable gd_type is the type of group dependency (soft/firm/hard).


Note   Note    While configuring group dependencies, if dependency type (soft/firm/hard) is omitted, the group dependency defaults to firm.

Configuring Service Group Dependencies

To configure a service group dependency, place the requires clause in the service group declaration within the VCS configuration file, before the resource dependency specifications, and after the resource declarations. For example:

  • To configure groupx and groupy as an online local firm dependency:

  •  group groupx (...group definition...)...resource declarations...
     requires group groupy online local firm...resource dependencies...
  • To configure groupx and groupy as an online global soft dependency:

  •  group groupx (...group definition...)...resource declarations...
     requires group groupy online global soft...resource dependencies...

 ^ Return to Top Previous  |  Next  >  
Product: Cluster Server Guides  
Manual: Cluster Server 4.1 User's Guide  
VERITAS Software Corporation
www.veritas.com