HAZONESETUP(1M)

NAME

hazonesetup - configure VCS service group to include Zone resource

SYNOPSIS

hazonesetup [-t] -g sg_name -r res_name -z zone_name [-u user_name] -p password [-a] [-l] -s systems

AVAILABILITY

VRTSvcs

DESCRIPTION

The hazonesetup command allows users to create service groups to manage the local zones in VCS. The command performs various checks before creating the service groups and the resources for a zone in VCS. The local zone should be in running state before you execute the hazonesetup command.

The command sets the zone_name value that you specify as the value of the Name key of the service group’s ContainerInfo attribute.

For non-secure clusters, the command creates a VCS user with name user_name, if specified, else uses the default name z_res_name_hostname with password specified in the password parameter.

For secure clusters, the command creates an AT private domain "vcs_lzs" and adds VCS user with name user_name, if specified, else uses the name z_res_name_clustername with password specified in the password parameter. The command also creates the corresponding VxSS user for the secure cluster.

The command logs in to the zone and runs the halogin command after setting the VCS_HOST environment variable that points to the system from where the hazonesetup script is run. The command creates the VCS user with group administrative privileges for the sg_name service group to enable inter-zone communication.

You can use the hazonesetup command to change the password (-t option) for an existing VCS user, which is used for password-less communication between the local-zone and the global zone.

The command can be used to create a parallel service group or failover service group (which is default) to manage zones in VCS.

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

OPTIONS

-t Update the password for the VCS user, created for password-less communication between the local zone and the global zone.
-g sg_name
  Create a zone service group with name sg_name in the VCS configuration, if not present.
-r res_name
  Create a zone resource with name res_name in the VCS configuration. If res_name is already present but if the service group is different from sg_name or if the Type is different from Zone, then the script exits.
-z zone_name
  Name of the zone that you want VCS to manage.
-u user_name
  The VCS user name that must be used for password-less communication between the local zone and the global zone. If no user name is specified, the default user name will be used.
-p password
  Password for the VCS user user_name, used for password-less communication between the local zone and the global zone.
-a Populate the value for the AutoStartList attribute of the service group, sg_name. This enables the service group to come online on a system (defined as part of the systems parameter) when VCS is started. If you have configured a parallel group, the group comes online on multiple systems.
-l Configure a parallel service group for the zone, zone_name. If -l is not specified, creates a failover service group by default.
-s systems
  Modify the SystemList attribute to include the systems you specified. System names must be specified as comma-separated (,) list.

SEE ALSO

hazoneverify(1M)

COPYRIGHTS

Copyright (c) 2013 Symantec.

All rights reserved.


VCS 6.1 HAZONESETUP(1M)