HAZONESETUP(1M)

NAME

hazonesetup - configure VCS service group to include Zone resource

SYNOPSIS

hazonesetup [-t] -g sg_name -r res_names -z zone_names [-u user_names] -p passwords [-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. Ensure that you configure an IP address for the local zone and verify that the hostname of the global zone is resolvable from the local zone.

For a single zone resource, the command sets the zone_names value that you specify as the value of the Name key of the service group’s ContainerInfo attribute.

For multiple zone resources, the command sets the zone_names parameter to the Name key value of the resource’s ResContainerInfo attribute.

For non-secure clusters, the command creates a VCS user with name user_names, if specified, otherwise the command uses the default name z_res_names_hostname with password specified in the passwords parameter.

For secure clusters, the command creates an AT private domain "vcs_lzs" and adds VCS user with name user_names, if specified, otherwise the command uses the name z_res_names_clustername with password specified in the passwords 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 a failover service group (which is default) to manage zones in VCS.

The command returns 1 when it encounters an error and returns 0 when it is successful.

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_names
  Create a zone resource with name res_names in the VCS configuration. If res_names 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. Resource names must be specified as a comma-separated (,) list.
-z zone_names
  Name of the zone that you want VCS to manage. Zone names must be specified as a comma-separated (,) list.
-u user_names
  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. User names must be specified as a comma-separated (,) list.
-p passwords
  Password for the VCS user user_names, used for password-less communication between the local zone and the global zone. Passwords must be specified as a comma-separated (,) list.
-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_names. 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) 2014 Symantec.

All rights reserved.


VCS 6.2 HAZONESETUP(1M)