Cluster Server 8.0.1 Configuration Guide for Custom Applications - Windows

Last Published:
Product(s): InfoScale & Storage Foundation (8.0.1)
Platform: Windows
  1. Introducing the Veritas High Availability solution for VMware
    1. How does the Veritas High Availability solution work
      1.  
        How the VMwareDisks agent communicates with the vCenter Server instead of the ESX/ESXi host
      2.  
        Typical VCS cluster configuration in a virtual environment
      3.  
        How does the Veritas High Availability solution integrate with vSphere Web Client
    2.  
      Supported VMware versions
    3.  
      Managing storage
  2. Configuring application monitoring using the Veritas High Availability solution
    1.  
      Deploying the Veritas High Availability solution for configuring application monitoring
    2. Notes and recommendations
      1. Assigning privileges for non-administrator ESX/ESXi user account
        1.  
          Creating a role
        2.  
          Integrating with Active Directory or local authentication
        3.  
          Creating a new user
        4.  
          Adding a user to the role
    3. Configuring application monitoring
      1.  
        Configuring the VCS cluster
      2.  
        Configuring the application
    4.  
      Modifying the ESXDetails attribute
  3. Administering application monitoring
    1.  
      About the various interfaces available for performing application monitoring tasks
    2. Administering application monitoring using the Veritas High Availability tab
      1. Understanding the Veritas High Availability tab work area
        1.  
          To view the status of configured applications
      2.  
        To configure or unconfigure application monitoring
      3.  
        To start or stop applications
      4.  
        To switch an application to another system
      5.  
        To add or remove a failover system
      6.  
        To suspend or resume application monitoring
      7.  
        To clear Fault state
      8.  
        To resolve a held-up operation
      9.  
        To determine application state
      10.  
        To remove all monitoring configurations
      11.  
        To remove VCS cluster configurations
    3.  
      Administering application monitoring settings
    4. Administering application availability using Veritas High Availability dashboard
      1. Understanding the dashboard work area
        1.  
          Aggregate status bar
        2.  
          ESX cluster/host table
        3.  
          Taskbar
        4.  
          Filters menu
        5.  
          Application table
      2.  
        Monitoring applications across a data center
      3.  
        Monitoring applications across an ESX cluster
      4.  
        Searching for application instances by using filters
      5.  
        Selecting multiple applications for batch operations
      6.  
        Starting an application using the dashboard
      7.  
        Stopping an application by using the dashboard
      8.  
        Entering an application into maintenance mode
      9.  
        Bringing an application out of maintenance mode
      10.  
        Switching an application
      11.  
        Resolving dashboard alerts
  4. Appendix A. Troubleshooting
    1. Troubleshooting application monitoring configuration issues
      1.  
        Veritas High Availability Configuration Wizard displays the "hadiscover is not recognized as an internal or external command" error
      2.  
        Running the 'hastop - all' command detaches virtual disks
      3.  
        Validation may fail when you add a failover system
      4.  
        Adding a failover system may fail if you configure a cluster with communication links over UDP
    2. Troubleshooting Veritas High Availability view issues
      1.  
        Veritas High Availability tab not visible from a cluster node
      2.  
        Veritas High Availability tab does not display the application monitoring status
      3.  
        Veritas High Availabilitytab may freeze due to special characters in application display name
      4.  
        Veritas High Availability view may fail to load or refresh
      5.  
        Operating system commands to unmount resource may fail

How the VMwareDisks agent communicates with the vCenter Server instead of the ESX/ESXi host

In addition to the ESX hosts the VMwareDisks agent can also communicate the disk deatch and attach operations with the vCenter Server to which the virtual machines belong.

In this scenario, in event of a failure, the VMwareDisks agent sends the disk detach and attach requests to the vCenter Server (instead of the ESX hosts). The vCenter Server then notifies the ESX host for these operations. Since the communication is directed through the vCenter Server, the agent successfully detaches and attaches the disks even if the ESX host and the virtual machines reside in a different network.

In a scenario where the host ESX/ESXi itself faults, the VMareDisks agent from the target virtual machine sends a request to the vCenter Server to detach the disks from the failed virtual machine. However, since the host ESX has faulted, the request to detach the disks fails. The VMwareDisks agent from the target virtual machine now sends the disk attach request. The vCenter Server then processes this request and disks are attached to the target virtual machine. The application availability is thus not affected.

See Modifying the ESXDetails attribute.

Limitation

The configuration of VMwareDisks agent to communicate with the vCenter Server has the following limitation:

If VMHA is not enabled and the host ESX faults, then even after the disks are attached to the target virtual machine they remain attached to the failed virtual machine. This issue occurs because the request to detach the disks fails since the host ESX itself has faulted. The agent then sends the disk attach request to the vCenter Server and attaches the disks to the target virtual machine.

Even though the application availability is not impacted, the subsequent power ON of the faulted virtual machine fails. This issue occurs because of the stale link between the virtual machine and the disks attached. Even though the disks are now attached to the target virtual machine the stale link with the failed virtual machine still exists.

Workaround

As a workaround, you must manually detach the disks from the failed virtual machine and then power ON the machine.

About the vCenter Server user account privileges

You must have the administrative privileges or must be a root user to communicate the disk detach and attach operations through the vCenter Server. If the vCenter Server user account fails to have the administrative privileges or is not a root user, then the disk detach and attach operation may fail, in event of a failure.

If you do not want to use the administrator user account or the root user, then you must create a role and add the following privileges to the created role:

  • "Low level file operations" on datastore

  • "Add existing disk" on virtual machine

  • "Change resource" on virtual machine

  • "Remove disk" on virtual machine

After you create a role and add the required privileges, you must add a local user to the created role. You can choose to add an existing user or create a new user.

Refer to the VMware product documentation for details on creating a role and adding a user to the created role.