Veritas™Resiliency Platform 2.2 Solutions for Virtual Business Services

Last Published:
Product(s): Resiliency Platform & CloudMobility (2.2)
  1. Overview of Resiliency Platform
    1.  
      About Veritas Resiliency Platform
    2.  
      About Resiliency Platform features and components
    3.  
      About permissions for operations in the console
  2. Using Resiliency Platform for disaster recovery
    1.  
      About disaster recovery using Resiliency Platform
    2.  
      Understanding the role of resiliency groups in disaster recovery operations
  3. About virtual business services
    1. About virtual business services
      1.  
        Understanding virtual business service tiers
    2.  
      Creating a virtual business service
    3.  
      Starting and stopping a virtual business service
    4.  
      Displaying virtual business service details
    5.  
      Editing a virtual business service
    6.  
      Deleting a virtual business service
    7.  
      Performing rehearsal on a virtual business service
    8.  
      Performing cleanup rehearsal on a virtual business service
    9.  
      Migrating a virtual business service
    10.  
      Taking over a virtual business service
    11.  
      Performing resync for a virtual business service
    12.  
      Performing restore for a virtual business service
  4. Monitoring risks
    1.  
      About risk insight
    2.  
      Displaying risk information
    3.  
      Predefined risks in Resiliency Platform
    4.  
      Viewing the current risk report
    5.  
      Viewing the historical risk report
  5. Managing activities and resiliency plans
    1. Managing activities
      1.  
        Viewing activities
      2.  
        Aborting a running activity
    2. Managing resiliency plans
      1.  
        About resiliency plans
      2. Creating a new resiliency plan template
        1. About manual task
          1.  
            Using manual tasks in resiliency plans
        2. About custom script
          1.  
            Using custom scripts in resiliency plans
      3.  
        Editing a resiliency plan template
      4.  
        Deleting a resiliency plan template
      5.  
        Viewing a resiliency plan template
      6.  
        Creating a new resiliency plan
      7.  
        Editing a resiliency plan
      8.  
        Deleting a resiliency plan
      9.  
        Executing a resiliency plan
      10.  
        Viewing a resiliency plan
      11.  
        Creating a schedule for a resiliency plan
      12.  
        Editing a schedule for a resiliency plan
      13.  
        Deleting a schedule for a resiliency plan
      14.  
        Viewing a schedule for a resiliency plan
  6. Managing evacuation plans
    1.  
      About evacuation plan
    2.  
      Generating an evacuation plan
    3.  
      Regenerating an evacuation plan
    4.  
      Performing evacuation
    5.  
      Performing rehearse evacuation
    6.  
      Performing cleanup evacuation rehearsal
  7. Appendix A. Troubleshooting
    1.  
      Viewing events and logs in the console
  8.  
    Glossary

About custom script

Using the Resiliency Platform console, you can add a custom script execution task in the resiliency plan. You can use the custom script execution task to perform customized operations before executing the next step of the resiliency plan such as repurposing capacity on the recovery site, orchestrate network changes, or any kind of post-processing.

Custom Script execution requires Resiliency Platform deployed on the Resiliency Manager, Infrastructure Management Server (IMS) and the hosts executing custom scripts. In addition, if you are using Resiliency Platform with Veritas InfoScale, the Veritas Resiliency Platform Enablement add-on has to be manually installed on applicable hosts.

The custom script can be in any format that can be directly executed on a shell on the target host. For the Linux hosts, it may be an executable or a script that specifies the interpreter on the hashbang line, such as a shell or a Perl script. For Windows hosts, it may be an executable or a script with known extension such as a bat file or an EXE. The Script is executed as root user on a UNIX host or as Local System on a Windows host. You may use sudo or RunAs commands to execute some other scripts from these custom scripts.

Before you can execute the script as part of the resiliency plan, you need to manually copy the script to the VRTSsfmh InstallDir/vrp/scripts directory on the host.

Where, VRTSsfmh InstallDir is /opt/VRTSsfmh on the Unix/Linux hosts and SystemDrive/Program Files/VERITAS/VRTSsfmh on the Windows hosts. Copying the script to these specific folders enforces the security policy for running a custom script since these folders can be accessed only by a root user or a Local System.

Exit code from script execution determines the success or failure of the task in the resiliency plan workflow. An exit code of zero means the script execution was successful while a non-zero exit code means the script execution failed. If you select the option to ignore the exit code, the script task is always marked as successful after completion of the script. You can select this option, if your script does not return any exit code. You can view the output of the script in activity details for the resiliency plan in Resiliency Platform console.

If you uninstall the host package from the host where you have copied your custom script, the custom script is removed from the host as part of the uninstallation process.