idanken / dell-emc-recoverpoint4vms Goto Github PK
View Code? Open in Web Editor NEWDell RecoverPoint for VMs automation-related projects
License: Apache License 2.0
Dell RecoverPoint for VMs automation-related projects
License: Apache License 2.0
The file used for authentication must include user and password of the Vcenter associated and separated by space.
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
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
~~~~~~~~~~~~~~~~~~~~~
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
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]#
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.