Skip to end of metadata
Go to start of metadata

 

Steps for installing the All-In-One hardware simulators for RecoverPoint, RecoverPoint+VPLEX, and MetroPoint testing.

Step-by-step guide

This is very similar to installing a CoprHD/ViPR devkit OVF

  1. Download the AIO Simulator OVF which can be found here: https://build.coprhd.org/jenkins/userContent/simulators/AIO-Simulators and the latest is usually under: https://build.coprhd.org/jenkins/userContent/simulators/AIO-Simulators/latest/3.0.0.0/

  2. Follow the same steps for deploying a devkit OVF (either use deploy scripts or use the VMWare UI).
  3. Once the OVF is installed and you can ping the simulator, ssh into your new simulator instance:

    ssh root@<YOUR_SIM_IP>
    pw: dangerous
  4. Run the following script:

    # updateRP
     
  5. Then run the following script:

    # updateVPLEX
  6. Download the following files to a temp directory: 
    fcns.db
    reset.sh
    rp_config.properties
    vplex_config.properties
    vplex_config2.properties
  7. Open rp_config.properties in a text editor and replace the following with your simulator instance IP:

    # EDIT to point to location of your deploy host
    RP_SIMULATOR_IP=<YOUR_SIM_IP>
    LISTENER_HOST=<YOUR_SIM_IP>
    # EDIT to point to location of your array simulator
    SMIProviderIP=<YOUR_SIM_IP>:7009

     

  8. Open vplex_config.properties in a text editor and replace the following with your simulator instance IP:

    # EDIT to point to vplex and rp simulator deploy IP
    #VplexSimulatorIP=10.247.98.128
    # EDIT to point to array simulator IP
    SMIProviderIP=<YOUR_SIM_IP>:5989,<YOUR_SIM_IP>:7009
    XtremeIOIPs=<YOUR_SIM_IP>:8020,
    PERSIST=false

    #MIGRATE_COMPLETE_HOURS=0
    #SEND_202=false


    # DONT EDIT
    VPLEX_HTTPS_PORT=443
    VPLEX_HTTP_PORT=8050

    RP_ENABLE=true
    RP_SERVERs=<YOUR_SIM_IP>:7225,
     

  9. Open vplex_config2.properties in a text editor and replace the following with your simulator instance IP:

    # EDIT to point to vplex and rp simulator deploy IP
    #VplexSimulatorIP=10.247.98.128
    # EDIT to point to array simulator IP
    #SMIProviderIP=<YOUR_SIM_IP>:5989,
    XtremeIOIPs=1<YOUR_SIM_IP>:8021,
    PERSIST=true

    #MIGRATE_COMPLETE_HOURS=0
    #SEND_202=false


    # DONT EDIT
    VPLEX_HTTPS_PORT=444
    VPLEX_HTTP_PORT=8070

    RP_ENABLE=true
    RP_SERVERs=<YOUR_SIM_IP>:7225,

     

  10. Now FTP or SCP the files to your simulator instance at the following locations (using scp commands for the example):

    # scp rp_config.properties root@<YOUR_SIM_IP>:/data/simulators/rp-sim/rp_config.properties
    # scp vplex_config.properties root@<YOUR_SIM_IP>:/data/simulators/vplex-sim/vplex_config.properties
    # scp vplex_config2.properties root@<YOUR_SIM_IP>:/data/simulators/vplex-sim_2/vplex_config.properties
    # scp fcns.db root@<YOUR_SIM_IP>:/data/simulators/cisco-sim/db/fcns.db
    # scp reset.sh root@<YOUR_SIM_IP>:~/reset.sh
  11. Once that is completed, ssh back into your new simulator instance and delete the below file:

    # rm /cisco-sim/bin/reset.sh
  12. The simulator should now be installed correctly and running with the new property files. To run sanity using your simulator you will need to edit the sanity.conf file and change the following properties:

    Edit the vipr-emc sanity.conf file with your sim IP and pw:
    
    ##################################
    # RP Simulator config - Start
    ##################################
    SIMULATOR_IP=<YOUR_SIM_IP>
    
    RP_FABRIC_SIM_USER=root
    RP_FABRIC_SIM_PW=dangerous
  13. You can now run sanity with the simulator:

    <coprhd>/tools/tests/sanity <vipr-emc>/tools/cli/python/conf/sanity.conf localhost recoverpoint

Related articles

2 Comments

  1. A diagram of the simulated 3-point metropoint setup layout, once it is discovered in ViPR with the arrays, vplex, RP in the mix would be helpful

    1. Sorry Krishna, this wiki is a work in progress as I had to divert my focus. Just wanted to save my changes. I will be back to complete this. I'll look at adding the VPLEX to RP layout for the sims.