Re: Identifying all DEA's on a CF install
Matt Curry
I believe you could use the BOSH API:
toggle quoted message
Show quoted text
https://bosh.io/docs/director-api-v1.html#list-vms-detailed From: john mcteague <john.mcteague(a)gmail.com<mailto:john.mcteague(a)gmail.com>> Reply-To: "Discussions about Cloud Foundry projects and the system overall." <cf-dev(a)lists.cloudfoundry.org<mailto:cf-dev(a)lists.cloudfoundry.org>> Date: Monday, December 7, 2015 at 3:29 PM To: "Discussions about Cloud Foundry projects and the system overall." <cf-dev(a)lists.cloudfoundry.org<mailto:cf-dev(a)lists.cloudfoundry.org>> Subject: [cf-dev] Re: Re: Identifying all DEA's on a CF install I hadnt considered that. I see that there are now docs for the BOSH api, however is the BOSH api suited to concurrent access by multiple processes? We are writing a component that will need to frequently validate that a particular machine is a DEA. On Mon, Dec 7, 2015 at 10:26 PM, Amit Gupta <agupta(a)pivotal.io<mailto:agupta(a)pivotal.io>> wrote:
What about with BOSH? On Mon, Dec 7, 2015 at 2:17 PM, john mcteague <john.mcteague(a)gmail.com<mailto:john.mcteague(a)gmail.com>> wrote: I am trying to enumerate all the ways I could identify all the DEA's in a CF cluster in an IAAS agnostic way (e.g. not querying Openstack to read metadata on the VM's that list the job type). I think the only reliable way is to listen on NATS and look for the DEA advertisement messages. Am I correct or is there a method I am missing (I'd rather call and API rather than subscribe to NATS)? Thanks, John |
|