Adding resources to a service group

This topic describes how to use the Application Configuration Wizard to add resources to a service group.

To add resources to a service group

  1. Start the Application Configuration Wizard.

    or

    Click Start > All Programs > Symantec > Veritas Cluster Server > Solutions Configuration Center to start the Solutions Configuration Center (SCC). In the SCC, click the Solutions tab, expand High Availability Configuration Wizards, and click the Launch button for the Application Configuration Wizard.

    On Windows 2012 operating systems, use the Apps menu.

  2. Review the information on the Welcome panel and click Next.
  3. On the Wizard Options panel, click Create service group and click Next.
  4. On the Service Group Configuration panel, specify the following service group details and then click Next:

    Service Group Name

    Type a name for the service group.

    Available Cluster Systems

    Select the systems on which to configure the service group and click the right arrow to move the systems to the service group's system list.

    To remove a system from the service group's system list, click the system in the Systems in Priority Order box and click the left arrow.

    To change a system's priority in the service group's system list, click the system from the Systems in Priority Order and click the up and down arrows.

    System priority defines the order in which service groups are failed over to systems. The system at the top of the list has the highest priority while the system at the bottom of the list has the lowest priority.

    Include selected systems in the service group's AutoStartList attribute

    To enable the service group to automatically come online on one of the systems, select this checkbox.

  5. The Application Options dialog box provides you the option to specify the type of application to be configured.

    The following options are available:

    Generic Service

    Configures a service using the Generic Service agent. The agent brings services online, takes them offline, and monitors their status.

    Process

    Configures a process using the Process agent. The agent brings processes online, takes them offline, and monitors their status.

    Service Monitor

    Configures a service using the ServiceMonitor agent. The agent monitors a service or starts a user-defined script and interprets the exit code of the script.

    See Adding resources to a service group.

Configuring a GenericService resource

This topic descibes how to use the Application Configuration Wizard to configure a GenericService resource.

To configure a GenericService resource

  1. In the Application Options panel, click Create, select GenericService from the corresponding drop-down list, and click Next.
  2. On the Generic Service Options panel, specify the details of the service that you wish to configure and then click Next.

    Specify the service for which you wish to configure a GenericService resource and then specify the following attributes:

    • Click the ... (ellipsis button) adjacent to the Service Name text box.

    • In the Services dialog box, select a service and click OK. The selected service appears in the Service Name text box.

    • In the Start Parameters text box, provide the start parameters for the service, if any.

    • In the Delay After Online text box, specify the number of seconds the agent waits after the service is brought online before starting the monitor function.

    • In the Delay After Offline text box, specify the number of seconds the agent waits after the service is taken offline before starting the monitor function.

  3. On the User Details panel, specify the details of the user in whose context the service will run and then click Next.

    Do the following:

    • To configure a service to run in the context of a local system account, click Local System account.

    • To configure a service to run in the context of another user account, click This Account and then specify the Domain Name, User Name, and Password in the respective fields.

  4. On the Shared Storage Option panel, under Available Shared Drives box, select the check box adjacent to the shared drive and then click Next.

    This is the shared storage that is required by the GenericService resource. The shared storage that you select will be in addition to the mount where the service binaries exist.

  5. In the Application Resource Summary panel, review the summary of the GenericService resource. Click Back to make changes. Otherwise, click Next.
  6. In the Application Options dialog box, select one of the following options:

    If you do not wish to add any more resources, proceed to configuring the service group.

Configuring processes

This topic describes how to use the Application Configuration Wizard to configure processes.

To configure processes

  1. In the Application Options panel, click Create, select Process from the corresponding list, and click Next.
  2. On the Process Details panel, specify the details of the process that you wish to configure and then click Next.

    Specify the process details as follows:

    • In the Start Program text box, specify the complete path of the program that will start the process to be monitored by VCS. You can choose to either type the location of the program or browse for it using ... (ellipsis button).

    • In the Start Program Parameters text box, specify the parameters used by the Process agent start program.

    • In the Program Startup Directory text box, type the complete path of the Process agent program or browse for it by clicking ... (ellipsis button).

    • In the Stop Program text box, type the complete path of the program that will stop the process started by the Start Program or browse for it by clicking ... (ellipsis button).

    • In the Stop Program Parameters text box, specify the parameters used by the stop program.

    • In the Monitor Program text box, type the complete path of the program that monitors the Start Program or browse for it by clicking ... (ellipsis button).

      If you do not specify a value for this attribute, VCS monitors the Start Program. If the Start Program is a script to launch another program, you must specify a monitor program.

    • In the Monitor Program Parameters text box, specify the parameters used by the monitor program.

    • In the Clean Program text box, type the complete path of the Clean process or browse for it by clicking ... (ellipsis button).

      If no value is specified, the agent kills the process indicated by the Start Program.

    • In the Clean Program Parameters text box, specify the parameters used by the Clean program.

    • Check the Process interacts with the desktop check box if you want the process to interact with your Windows desktop. Setting this option enables user intervention for the process.

  3. On the User Details panel, specify information about the user in whose context the process will run and then click Next.

    Do the following:

    • To configure a service to run in the context of a local system account, click Local System account.

    • To configure a service to run in the context of another user account, click This Account and then specify the Domain Name, User Name, and Password in the respective fields.

    • Click Next.

  4. On the Shared Storage Option panel, under Available Shared Drives box, select the check box adjacent to the shared drive and then click Next.

    This is the shared storage required by the Process resource. The shared storage that you select will be in addition to the mount where the process binaries exist.

  5. In the Application Resource Summary panel, review the summary of the Process resource. Click Back to make changes. Otherwise, click Next.
  6. In the Application Options dialog box, select one of the following options:

    • To configure another Process resource, repeat step 1 through step 5.

    • To configure a GenericService resource:

    • To configure a ServiceMonitor resource:

    • To configure other resources, including Registry Replication and Network resources:

      If you do not want to add any more resources, proceed to configuring the service group.

Configuring a ServiceMonitor resource

This topic descibes how to use the Application Configuration Wizard to configure a ServiceMonitor resource.

To configure a ServiceMonitor resource

  1. In the Application Options panel, click Create, select ServiceMonitor from the corresponding drop-down list, and click Next.
  2. Specify the service to be monitored or a user-defined script to monitor a service.

    If you want VCS to monitor the service, do the following:

    • Select the Service option and click ... (ellipsis button) adjacent to the Service Name text box.

    • In the Service dialog box, select the service and click OK. The selected service name appears in the Service Name text box. Alternatively, you may also type the service name to be monitored.

    • Click Next.

    If you want a script to monitor the service, do the following:

    • Click ... (ellipsis button) and specify the complete path for the script.

    • Specify the parameters for the script.

    • Specify the time in seconds for the agent to receive a return value from the monitor script.

    • Click Next.

  3. On the User Details panel, specify the user information in whose context the service will be monitored.

    Do the following:

    • To configure a service to run in the context of a local system account, click Local System account.

    • To configure a service to run in the context of another user account, click This Account and then specify the Domain Name, User Name, and Password for the user account.

      If the service selected in step 2 is running in the context of a local system account, the This Account option is disabled. Similarly, if the service is running in the context of any other user account, the Local System account option is disabled.

    • Click Next.

      Service Monitor resource belongs to the category of persistence resources. Such resources do not depend on other VCS resources, including shared storage. Hence, the Shared Storage Option dialog box does not appear if you select the ServiceMonitor option.

  4. In the Application Resource Summary panel, review the summary of the ServiceMonitor resource. Click Back to make changes. Otherwise, click Next.
  5. In the Application Options dialog box, select one of the following options:

    • To configure another ServiceMonitor resource, repeat step 1 through step 4.

    • To configure a GenericService resource:

    • To configure a Process resource:

    • To configure other resources, including Registry Replication and Network resources:

      If you do not want to add any more resources, proceed to configuring the service group.

Configuring VCS components

Applications configured using GenericService or Process resources may require network components or registry replication resources. You can configure these VCS components only for service groups created using the wizard.

Note:

Configure these components only after configuring all application resources. The wizard creates a service group after these components are configured. To add more application resources, you must rerun the wizard in the Modify mode.

To configure VCS components

  1. In the Application Options panel, click Configure Other Components.
  2. Select the VCS component to be configured for your applications.

    The available options are as follows:

    • Registry Replication Component: Select this option to configure registry replication for your application. To configure a Registry Replication resource, proceed to step 3.

    • Network Component: Select this option to configure network components for your application. If you wish to configure a virtual computer name, check Lanman component also. To configure a network resource, proceed to step 5.

    The wizard does not enable the Lanman Component check box unless the Network Component check box is checked.

  3. Specify the registry keys to be replicated.

    The RegistryReplication dialog box appears only if you chose to configure the Registry Replication Component in the Application Component dialog box.

    • Specify the directory on the shared disk in which the registry changes are logged.

    • Click Add.

    • In the Registry Keys dialog box, select the registry key to be replicated.

    • Click OK. The selected registry key is added to Registry KeyList box.

    • This is applicable in case of VCS for Windows only.

      Check the Configure NetApp SnapMirror Resource(s) check box if you want to set up a disaster recovery configuration. The SnapMirror resource is used to monitor replication between filers at the primary and the secondary site, in a disaster recovery configuration. Note that you must configure the SnapMirror resource only after you have configured the cluster at the secondary site.

    • Click Next.

    If you chose Network Component from the Application Component dialog box, proceed to the next step. Otherwise, proceed to step 6.

  4. This step is applicable in case of VCS for Windows only.

    On the Initiator Selection panel, select the initiator for the virtual disk from the list of available initiators displayed for each cluster node, and then click Next.

    If you are configuring multipath I/O (MPIO) over Fibre Channel (FC), you must select at least two FC initiators for each cluster node. Note that the node from which you run this wizard already has an initiator selected by default. This is the initiator that was specified when you connected the LUNs to this cluster node.

  5. The Virtual Computer Configuration dialog box appears only if you chose to configure the Network Component in the Application Component dialog box.

    Specify the network related information as follows:

    • Select IPv4 to configure an IPv4 address for the virtual server.

      • In the Virtual IP Address field, type a unique virtual IPv4 address for the virtual server.

      • In the Subnet Mask field, type the subnet to which the virtual IPv4 address belongs.

    • Select IPv6 to configure an IPv6 address for the virtual server. The IPv6 option is disabled if the network does not support IPv6.

      • Select the prefix from the drop-down list. The wizard uses the prefix and automatically generates an IPv6 address that is valid and unique on the network.

    • In the Virtual Server Name field, enter a unique virtual computer name by which the node will be visible to the other nodes.

      The virtual name must not exceed 15 characters. Note that the Virtual Computer Name text box is displayed only if you chose to configure the Lanman Component in Application Component dialog box.

    • For each system in the cluster, select the public network adapter name. To view the adapters associated with a system, click the Adapter Display Name field and click the arrow.

      Note that the wizard displays all TCP/IP enabled adapters on a system, including the private network adapters, if applicable. Ensure that you select the adapters assigned to the public network, not the private.

    • Click Advanced and then specify additional details for the Lanman resource as follows:

      • Check AD Update required to enable the Lanman resource to update the Active Directory with the virtual name.

        This sets the Lanman agent attributes ADUpdateRequired and ADCriticalForOnline to true.

      • In the Organizational Unit field, type the distinguished name of the Organizational Unit for the virtual server in the format CN=containername,DC=domainname,DC=com.

        To browse for an OU, click ... (ellipsis button) and search for the OU using the Windows Find Organization Units dialog box. By default, the Lanman resource adds the virtual server to the default container "Computers."

        The user account for VCS Helper service must have adequate privileges on the specified container to create and update computer accounts.

      • Click OK.

    • Click Next.

  6. In the Application Options dialog box, select one of the following options:

    • To configure additional VCS components, repeat step 1 through step 5.

    • To configure a GenericService resource:

    • To configure a Process resource:

    • To configure a Service Monitor resource:

    If you do not want to add any more resources, proceed to configuring the service group:

More Information

Configuring a GenericService resource

Configuring processes