Run Arcserve Continuous Availability PowerShell

After the installation of Windows PowerShell and Arcserve Continuous Availability snap-ins, you can run Arcserve Continuous Availability PowerShell from two places:

Important! When running some commands in PowerShell, a system error occurs if you set different passwords on the Master, Replica and Control Service hosts and some operations may fail to run or complete. Use the same administrator password on all hosts to avoid this issue.

To run Arcserve Continuous Availability PowerShell from Arcserve Continuous Availability PowerShell shortcut:

  1. Open Arcserve Continuous Availability PowerShell by selecting Start, Programs,arcserve RHA, PowerShell.
  2. Once you open Arcserve Continuous Availability PowerShell, the following window is displayed, listing all Arcserve Continuous Availability PowerShell snap-ins:
  3. Now, you need to connect to the Control Service that manages your Arcserve Continuous Availability operations. To perform this, use the Connect-XO command.

To run Arcserve Continuous Availability PowerShell from Windows PowerShell shortcut:

  1. Open Windows PowerShell by selecting Start, Programs, Windows PowerShell 1.0, Windows PowerShell.
  2. The Windows PowerShell window is displayed.
  3. Enter the following command to change the working directory to your Arcserve Continuous Availability PowerShell Snapin INSTALLDIR:
  4. CD 'INSTALLDIR\Powershell Snapin'

    The directory changes.

  5. Enter the following command to install Arcserve Continuous Availability PowerShell snap-ins:
  6. .\xo.ps1

  7. The Arcserve Continuous Availability PowerShell snap-ins are installed, and you can start using them to connect to the Control Service that manages your Arcserve Continuous Availability operations.