Hi guys,
I was looking for the integration of vROPS Manager Cluster Management API into vRO.
I'm not sure about the URL to add ... in the workflow: "Add a REST host"
Can you confirm that's : https://vrops.fqdn/casa/node/remotecollector ?
I would like to manage my vROPS cluster through vRO workflow.
Thanks for your help!
I've never used that API, but it seems like if you use "https://{{vrops}}/casa/" as endpoint should work. If I navigate the URL it ask me for credentials.
The vROps API endpoint is:
You can navigate this URL and found the documentation (the new and the old one).
But, remember that in the newest versions of vROps, Basic Authentication is disable by default. You need to enable it if you want to use it.
Thanks for your reply @bdamian
If I use "suite-api" I'm not able to Start/Stop the cluster.
I need to use commands from this link: https://[vrops-ip]/casa/api-guide.html
When I use vROPS API with postman:
https://{{vrops}}/casa/public/cluster/online_state?async=true&force=true
{
"online_state" : "OFFLINE",
"online_state_reason" : "Maintenance",
"online_state_reason_ui_visibility" : false,
"is_cluster_restarting" : false
}
So, now I would like to create some workflows to automate the management of the cluster. For that, I need to add the REST host.
I just would like to be sure of the address to add in vRO.
I've never used that API, but it seems like if you use "https://{{vrops}}/casa/" as endpoint should work. If I navigate the URL it ask me for credentials.
@bdamian
I confirm the following link works: "https://{{vrops}}/casa/"
I added it as a REST host in vRO and add a the REST operation I wanted.
All works! Thanks 😀