SnapProtect – EMC VNX/CLARiiON - MySQL iDataAgent

Overview Deployment - Unix Configuration Select Storage Array
Backup Vault or Mirror Copy Backup Copy Restore  

Prerequisites

Array License

  • Clariion SnapView and AccessLogix licenses for Snap and Clone

Array Software

On client and proxy computers:

  • EMC Solutions Enabler 7.6.2 or later, except Solutions Enabler 8.x

    Client Components (SYMCLI) are required only during the initial one-time configuration. Base Components (with SYMAPI) are necessary and required for all snap operations.

  • Navisphere/Unisphere Host Agent
  • Navisphere CLI (only required for VNX snapshots)

Set Up the EMC VNX/CLARiiON

On the EMC VNX/CLARiiON, ensure the following:

  • Run the Navisphere/Unisphere Storage-System Initialization Utility to initialize the Navisphere/Unisphere functionality.
  • For CX series, enable Access Logix. For more information about Access Logix and how to enable and disable it, go to the EMC Communities website, and search for Logix enable. For VNX arrays, Access Logix is enabled by default.
  • Configure enough reserved volumes for SnapView/Snap.
  • Free LUN should be of the same size (block count) as the clone source and this LUN should not be a part of any storage group.

Perform the following steps to provide the required storage for SnapProtect operations:
  1. Create a RAID group.
  2. Bind the LUN.
  3. Create a Storage Group.
  4. Register the client computer (covered by installing NaviAgent).
  5. Map the LUNs to the client computer where the NaviAgent resides.
  6. Reserved/Clone volumes target properly for SnapView.

    For example, as shown in the image below, the Clariion ID of APM00033400899 has the following configuration:

    • a RAID Group 0 provisioned as a RAID-5 group (Fibre Channel drives)
    • LUNs are mapped to Storage Group SG_EMCSnapInt1 with LUN ID of #154 present to client computer emcsnapint1.

    The example shows the serial number of LUN 154:

    • RAID Group: RAID Group 0, containing 3 physical disks
    • Storage Group: currently visible to a single client computer
    • LUN is shown as a Fibre Channel device
    • The devices under LUN 154 reside on RAID Group 0 which has RAID-5 configuration.

Authorize the CLARiiON Connectivity

Before running any commands ensure that the EMC commands are verified against EMC documentation for a particular product and version.

Follow the steps below to specify the authorization information for EMC Solutions Enabler and Navishphere CLI to ensure administrator access to the Navisphere server.

The configuration below is required on the source and the proxy computers. If Remote Snap MediaAgent is enabled, configure as below only for the selected Remote Snap MediaAgent. If applicable, map at least one LUN to the proxy and to the Remote Snap MediaAgent.

  1. To set the authorize information, run the symcfg authorization command for both the storage processors. For example:

    symcfg authorization add -host <clariion SPA IP> -username admin -password password

    symcfg authorization add -host <clariion SPB IP> -username admin -password password

     

  2. Run the following command to ensure that the Clariion host database is successfully loaded.

    symcfg discover -clariion -file AsstDiscoFile

    where AsstDiscoFile is the fully qualified path of a user-created file containing the host name or IP address of each targeted Clariion array. This file should contain one array per line and each line should have all IP addresses for the array separated by a single space. For example:

    <SPA IP address of array1> <SPB IP address or array1>

    <SPA IP address of array2> <SPB IP address or array2>

    The username should have a valid account on the storage array

    VNX

    • Minimum Required Role - SAN Administrator or Storage Administrator
    • Other Roles (higher privilege) - Administrator

    CLARiiON

    • Minimum Required Role - Manager
    • Other Roles (higher privilege) - Administrator

  3. Create a Navisphere user security file (required for VNX snapshots)

    The storage system will only accept commands from the secure CLI, if the user who issues the command has a valid user account on the storage system.

    Create a security file to allow the CLARiiON array to accept secure CLI commands from this host.

UNIX

/opt/Navisphere/bin# ./naviseccli -AddUserSecurity -Address <clariion SPA IP> -Scope 0 -User admin -Password password

/opt/Navisphere/bin# ./naviseccli -AddUserSecurity -Address <clariion SPB IP> -Scope 0 -User admin -Password password

  1. Restart the NaviAgent service.
  2. Run snapview command from the command line to ensure that the setup is ready.

    On UNIX computers, you might need to add the SnapProtect user to the agent.config file.

Windows

SnapProtect runs under the System account in Windows.

Perform either one of the following options to add the Navisphere CLI user security to the System account.

Option 1 - Use the PSTool to add the Navisphere CLI into the System account
  1. Download PSTools from Microsoft.
  2. Start the command prompt. Change the directory to PSTools. Type the following command:

    psexec -i -s cmd.exe

  3. A command prompt with system privileges appears. Add the user security typing the following commands.

    NaviSECCli -AddUserSecurity -Address <clariion SPA IP> -Scope 0 -User admin -Password password

    NaviSECCli -AddUserSecurity -Address <clariion SPB IP> -Scope 0 -User admin -Password password

  4. Run a sample NaviSECCLI command, for example, type:

    NaviSECCli -h < Storage Processor IP> snap -feature -info

If the command fails with the error below, type [2] to accept and store the certification, otherwise the snap backup job might not complete successfully.

Only import this certificate if you have reason to believe it was sent by a trusted source.
Certificate details:
Subject: CN=172.19.126.49,CN=A-IMAGE,OU=CLARiiON
Issuer: CN=172.19.126.49,CN=A-IMAGE,OU=CLARiiON
Serial#: 06b38bc5
Valid From: 20130328142406Z
Valid To: 20180327142406Z
Would you like to [1] Accept the certificate for this session, [2] Accept and store, [3] Reject the certificate?
Please input your selection (The default selection is [1]):2

Option 2 - Use a Command Prompt with System Privileges to add the Navisphere CLI into the System account
  1. In the command prompt, create a service with interactive command prompt:

    sc create ntauthcmd binpath= "cmd /K start" type= own type= interact

  2. Start the service

     sc start ntauthcmd

  3. A command prompt with system privileges appears. Add the user security typing the following commands

    NaviSECCli -AddUserSecurity -Address <clariion SPA IP> -Scope 0 -User admin -Password password

    NaviSECCli -AddUserSecurity -Address <clariion SPB IP> -Scope 0 -User admin -Password password

  4. Run a sample NaviSECCLI command, for example, type:

     NaviSECCli -h < Storage Processor IP> snap -feature -info

If the command fails with the error below, type [2] to accept and store the certification, otherwise the snap backup job might not complete successfully.

Only import this certificate if you have reason to believe it was sent by a trusted source.
Certificate details:
Subject: CN=172.19.126.49,CN=A-IMAGE,OU=CLARiiON
Issuer: CN=172.19.126.49,CN=A-IMAGE,OU=CLARiiON
Serial#: 06b38bc5
Valid From: 20130328142406Z
Valid To: 20180327142406Z
Would you like to [1] Accept the certificate for this session, [2] Accept and store, [3] Reject the certificate?
Please input your selection (The default selection is [1]):2

  1. Exit the system command prompt.
  2. Delete the service

    sc delete ntauthcmd

Perform the steps above on both client and proxy computers The Navisphere CLI commands may fail with 'security file not found' error if the steps above are not properly executed. 

Remote Snap MediaAgent

The Remote Snap MediaAgent feature enables to configure a particular MediaAgent as Remote Snap MediaAgent. When using the Remote Snap MediaAgent, there is no need to install Solution Enabler on client and proxy computers. Enable this feature in the array configuration option Remote Snap MA by entering the client name.

On the Remote Snap MediaAgent:

  • EMC Solutions Enabler 7.6.2 or higher
  • Navisphere/Unisphere Agent
  • Navisphere CLI (Required for VNX Snapshots)
  • At least one mapped LUN

You need to setup user authentication for Solutions Enabler and Navisphere secure CLI on as mentioned above.

On the client and the proxy computers:
  • Navisphere/Unisphere host agent

VNX Snapshots

  • Install Navisphere CLI on the client and on the proxy computers
  • Select Snapview Snap as the Snap Engine from the subclient properties
  • Enable the array configuration option Enable VNX Snapshots
  • Specify Navisphere secure CLI path using the array configuration option

VNX snapshots is supported for pool LUNs only

Set Up the Array Information

Provide the identification information for the array to ensure access.

The following section provides step-by-step instructions for setting up the array information.

  1. From the CommCell Browser, click the Storage tab and then click the Array Management icon.
  2. In the Array Management dialog box, click Add.
  1. Select EMC VNX/CLARiiON from the Snap Vendor list.

    Specify the serial number of the array in the Name field.

    For reference purposes, the screenshot given below shows the serial number for the EMC VNX/CLARiiON storage device.

    For Clariion/VNX it is not necessary to provide array credentials in Array Properties dialog box in the CommCell Console.

    Use the Description field to enter a description about the entity. This description can include information about the entity's content, cautionary notes, etc.

    Click OK to save the information.

  2. Click the Snap Configuration tab and configure the following:

    Specify EMC SYMAPI Installation Home Directory Path, where the EMC SYMAPI library is located. For example, set the directory to opt/emc/SYMCLI/V6.5.1 for UNIX and C:/Program Files/EMC/SYMCLI for Windows.

    Remote Snap MA, provide the client name of the MediaAgent to be designated as Remote Snap MA.

    Enable VNX Snapshots, select this option to enable VNX snapshots.

    EMC NaviCLI Installation Home Directory Path, specify the directory where Navisphere CLI is located. It is required for VNX Snapshots.

    Click OK.

Set Up the Array Information

Provide the identification information for the array to ensure access.

The following section provides step-by-step instructions for setting up the array information.

  1. From the CommCell Browser, click the Storage tab and then click the Array Management icon.
  2. In the Array Management dialog box, click Add.
  1. Select EMC VNX/CLARiiON from the Snap Vendor list.

    Specify the serial number of the array in the Name field.

    For reference purposes, the screenshot given below shows the serial number for the EMC VNX/CLARiiON storage device.

    For Clariion/VNX it is not necessary to provide array credentials in Array Properties dialog box in the CommCell Console.

    Use the Description field to enter a description about the entity. This description can include information about the entity's content, cautionary notes, etc.

    Click OK to save the information.

  2. Click the Snap Configuration tab and configure the following:

    Specify EMC SYMAPI Installation Home Directory Path, where the EMC SYMAPI library is located. For example, set the directory to opt/emc/SYMCLI/V6.5.1 for UNIX and C:/Program Files/EMC/SYMCLI for Windows.

    Remote Snap MA, provide the client name of the MediaAgent to be designated as Remote Snap MA.

    Enable VNX Snapshots, select this option to enable VNX snapshots.

    EMC NaviCLI Installation Home Directory Path, specify the directory where Navisphere CLI is located. It is required for VNX Snapshots.

    Click OK.