Add a Data Protection System using the ViPR REST API

TOC

BacktoTop

Overview

A system administrator can use POST /vdc/protection-systems to add a data protection system, such as EMC RecoverPoint to ViPR. ViPR also supports data protection using Symmetrix Remote Data Facility (SRDF)

This article applies to EMC ViPR 2.0.

After you add a data protection system to ViPR, you can select data protection when you create your block virtual pools. Any block volumes created from those block virtual pools will have their data protected by the selected data protection system.

This article is part of a series

A data protection system can be added to ViPR at anytime. If, however, you are setting up the ViPR Controller virtual data center for the first time, before you continue to provision storage, complete the following steps.
  1. Authenticate with the ViPR REST API
  2. Add physical assets to ViPR:
  3. Create ViPR virtual assets:
    1. Create and configure a virtual array
    2. Create virtual pools:

BacktoTop

Preconfiguration requirements for EMC RecoverPoint systems

The EMC RecoverPoint system that you add to ViPR must meet certain preconfiguration requirements:

BacktoTop

Collect EMC RecoverPoint site information

When you add an EMC RecoverPoint system to ViPR, supply certain configuration information and credentials.

Before you begin

You need access to the required RecoverPoint information.

Procedure

  1. Obtain the following information:
    Setting Value
    RecoverPoint site management IPv4 or IPv6 address or hostname  
    Port  
    Credentials for an account that has the RecoverPoint administrator role to access the RecoverPoint site  
BacktoTop

Add a RecoverPoint data protection system

Add a RecoverPoint data protection system to ViPR using POST /vdc/protection-systems.

Before you begin

Procedure

  1. Add the RecoverPoint protection system by sending a POST<ViPR_VIP>:4443/vdc/protection-systems request with a system_type of rp.
    The request returns a task whose URI can be queried to determine the status of the task.
    Request

    POST https://<ViPR_VIP>:4443/vdc/protection-systems Content-Type: application/xml X-SDS-AUTH-TOKEN: <AUTH_TOKEN> <protection_system_create> <name>192.168.0.0</name> <system_type>rp</system_type> <ip_address>192.168.0.0</ip_address> <port_number>7225</port_number> <user_name>admin</user_name> <password>Password1</password> <protection_system_create>

    Response

    HTTP 202 Accepted Content-Type: application/xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <task> <associated_resources/> <description>DISCOVER_STORAGE_SYSTEM</description> <op_id>31fca37f-18b1-4cdd-8bbf-e15f10abbb55</op_id> <resource> <id>urn:storageos:ProtectionSystem:c7ccd9ea-267e-4415-ba23-b897d152cd1d:vdc1</id> <link rel="self" href="/vdc/protection-systems/urn:storageos:ProtectionSystem:c7ccd9ea-267e-4415-ba23-b897d152cd1d:vdc1"/> <name>10.247.169.17</name> </resource> <link rel="self" href="/vdc/protection-systems/urn:storageos:ProtectionSystem:c7ccd9ea-267e-4415-ba23-b897d152cd1d:vdc1/tasks/31fca37f-18b1-4cdd-8bbf-e15f10abbb55"/> <start_time>1399833382122</start_time> <state>pending</state> </task>

  2. Repeat the query of the add protection system task, using the task URI from the response body of the POST request, until the message attribute of the task is Operation completed successfully.
    Request

    GET https://<ViPR_VIP>:4443/vdc/protection-systems/urn:storageos:ProtectionSystem:c7ccd9ea-267e-4415-ba23-b897d152cd1d:vdc1/tasks/31fca37f-18b1-4cdd-8bbf-e15f10abbb55 Content-Type: application/xml X-SDS-AUTH-TOKEN: <AUTH_TOKEN>

    Respone

    HTTP 200 OK Content-Type: application/xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <task> <associated_resources/> <description>DISCOVER_STORAGE_SYSTEM</description> <end_time>1399833390412</end_time> <message>Operation completed successfully</message> <op_id>31fca37f-18b1-4cdd-8bbf-e15f10abbb55</op_id> <resource> <id>urn:storageos:ProtectionSystem:c7ccd9ea-267e-4415-ba23-b897d152cd1d:vdc1</id> <link rel="self" href="/vdc/protection-systems/urn:storageos:ProtectionSystem:c7ccd9ea-267e-4415-ba23-b897d152cd1d:vdc1"/> <name>10.247.169.17</name> </resource> <link rel="self" href="/vdc/protection-systems/urn:storageos:ProtectionSystem:c7ccd9ea-267e-4415-ba23-b897d152cd1d:vdc1/tasks/31fca37f-18b1-4cdd-8bbf-e15f10abbb55"/> <start_time>1399833382122</start_time> <state>error</state> </task>