VMware Cloud Community
VSnip
Enthusiast
Enthusiast
Jump to solution

vRO - How to integrate vROPS Manager Cluster Management API ?

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! 

 

Reply
0 Kudos
1 Solution

Accepted Solutions
bdamian
Expert
Expert
Jump to solution

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.

---
Damián Bacalov
vExpert 2017-2023 (7 years)
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian

View solution in original post

Tags (1)
4 Replies
bdamian
Expert
Expert
Jump to solution

The vROps API endpoint is:

https://vrops-fqdn/suite-api/

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.

---
Damián Bacalov
vExpert 2017-2023 (7 years)
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian
Reply
0 Kudos
VSnip
Enthusiast
Enthusiast
Jump to solution

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. 

 

Reply
0 Kudos
bdamian
Expert
Expert
Jump to solution

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.

---
Damián Bacalov
vExpert 2017-2023 (7 years)
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian
Tags (1)
VSnip
Enthusiast
Enthusiast
Jump to solution

@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 😀