Code Monkey home page Code Monkey logo

dell-emc-recoverpoint4vms's Introduction

Dell-EMC-RecoverPoint4VMs

Dell EMC RecoverPoint for VMs

New RecoverPoint for VMs RESTful API - RP4VMs 5.3 This repository is dedicated for automation of flows in Dell EMC RecoverPoint for VMs

Authors

Supported Platforms

  • RecoverPoint for VMs 5.3.x - New RESTful API

Prerequisites

  • Python 3.x
  • PowerShell 7.x

Documentation

  • See the help page of each script (i.e protectvm.py -h)
  • RecoverPoint for VMs REST API - online documentation - Dell Technologies API Explorer
  • RecoverPoint for VMs REST API - self-documentation (Swagger UI) - https://{plugin-server}/ui
  • RecoverPoint for VMs Postman Collection (complementary to the openapi.json) - Postman Collection

dell-emc-recoverpoint4vms's People

Contributors

idanken avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dell-emc-recoverpoint4vms's Issues

No registered RP4VMs clusters

Hello
I am trying to use your script to automate RP4VM but I am having a problem

PS Z:\trabalho\Comum\RP4VM> .\RP4VMs-Protect.ps1 -vc VC10 -credentials $credentials -esxcluster VXRAIL-CLUSTER-PRD -pluginserver HCRPA00 -tag DRTAG
-> Connecting to vCenter:

Name Port User


VC10 443 company\gtaraujo68

Invoke-RestMethod : Não é possível localizar um parâmetro que coincida com o nome de parâmetro 'SkipCertificateCheck'.
No Z:\trabalho\Comum\RP4VM\RP4VMs-Protect.ps1:95 caractere:57

  • ... Invoke-RestMethod -Method GET -uri $uri -SkipCertificateCheck -Header ...
  •                                         ~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidArgument: (:) [Invoke-RestMethod], ParameterBindingException
    • FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

No registered RP4VMs clusters, configure through Deployer or register vCenter through the API

Could you please let me know if this problem could be solved?
Thanks in advance!

Guilherme

Authentication (not an issue)

The file used for authentication must include user and password of the Vcenter associated and separated by space.

timeout during cluster deployment

Hey Idan.
I was depoying on another lab system... and ran into a weitd issue where the deployed rp4vm nodes arent accepting the password... im going to redeploy with your latest and see if it fixes it.

line 235 mentions dns/ntp
line 627 i think is network related... maybe the new lab vc is setup oddly...

Completed successfully
---> OVA deployment completed successfully
-> Checking connectivity to vRPAs
---> vRPA Mgmt IP 10.204.8.125 is reachable
---> vRPA Mgmt IP 10.204.8.126 is reachable
---> All vRPAs are reachable
->The call POST https://10.204.8.125/deployer/rest/5_2/user/sessions failed with exception:401 Client Error: for url: https://10.204.8.125/deployer/rest/5_2/user/sessions
Traceback (most recent call last):
File "rp4vms_deploy_v2.py", line 692, in
main()
File "rp4vms_deploy_v2.py", line 627, in main
token = init_rest_call("POST", loginUri, loginPayload, loginPayload)
File "rp4vms_deploy_v2.py", line 235, in init_rest_call
raise Exception('\033[91m\033[1m->Failed to query {}, code: {}, body: {}'.format(uri, response.status_code, response.text))
Exception: ->Failed to query https://10.204.8.125/deployer/rest/5_2/user/sessions, code: 401, body: "Authentication failed, invalid username or password"
[root@linuxhelper Downloads]#

How to use protectvm.py

Hey Idan.
I want to learn how to use protectvm.py

For example:
protectvm.py -s XXX.XXX.XXX.XXX

Could you give me an example

Or give me some explanation
Protectvm.py - h I didn't understand

Thank

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.