HAZONESETUP (1M)

NAME

hazonesetup - configure VCS service group to include Zone resource

SYNOPSIS

hazonesetup servicegroup_name zoneres_name zone_name password autostart systems

AVAILABILITY

VRTSvcs

DESCRIPTION

The hazonesetup script does the following:
o Creates a service group for servicegroup_name if not already present.
o Adds a resource zoneres_name of the type Zone to the service group.

If zoneres_name is already present but if the service group is different from servicegroup_name or if the Type is different from Zone, then the script exits.

o Sets the zone_name value that you specify as the value of the Name key of the service group’s ContainerInfo attribute.
o For non-secure clusters, creates a VCS user z_zoneres_name_system_name with password as the password.

For secure clusters, creates an AT private domain "vcs_lzs" and adds VCS user z_zoneres_name with a random password. If the Zone is running on the system, then the script creates the corresponding VxSS user for the secure cluster. The script logs in to the zone and runs halogin command after setting the VCS_HOST environment variable that points to the System from where the hazonesetup script is run.

The script creates this user with group administrative privileges for the servicegroup_name service group to enable inter-zone communication.

o Populates the AutoStartList attribute of the service group if you set autostart to 1. This enables the service group to come online on a system (defined as part of the systems parameter) when VCS is started. If you configured a parallel group, the group comes online on multiple systems. The hazonesetup command creates a failover group by default.

The value of autostart can be set to 0 or 1.

o Modifies the SystemList attribute to include the systems you specified.

The script returns -1 for incorrect usage of the command or if VCS is down. The script returns 0 otherwise.

SEE ALSO

hazoneverify(1M)

COPYRIGHTS

Copyright (c) 2009 Symantec.

All rights reserved.


VCS 5.1 HAZONESETUP (1M)