Introducing SOC Insights for BloxOne Threat Defense: Boost your SOC efficiency with AI-driven insights to eliminate manual work and accelerate investigation and response times. Read the blog announcement here.

Freeware & Evaluations

Reply

API Query: Promote Grid Master Candidate to Grid Master

Techie
Posts: 16
5612     0
Is there any API to promote Grid Master Candidate to Grid Master. I can see i need to SSH into box and run set promote_master but can't i do same through API

GMC promotion is possible only via the console CLI

Adviser
Posts: 33
5612     0

There is no way to promote a grid master candidate to a grid master via either the Web API (WAPI) or the older Perl API (PAPI). The problem is that traditionally only the Grid Master has been able to receive and process API calls. So if the Grid Master were down or unreachable then by definition there was no API access, and hence no possible way to use the API to promote a Grid Master Candidate to be the GM. Promotion has historically been done via the command line interface because the console CLI interface was the only interface guaranteed to be available on the GMC. (The CLI can be made available via SSH as well, of course, but this is an option that needs to be enabled.)

Recently NIOS has been modified to allow read-only API access to a GMC, as well as read/write API access via the Cloud Platform appliances. So it's at least possible in theory that one day NIOS might be modified to allow GMC-to-GM promotion via an API call. If you are interested in this capability please work with your account manager and SE to submit a formal request for enhancement. (I just checked, and could not find any existing RFE that discussed this proposed feature.)

Thanks Frank thats really

Techie
Posts: 16
5613     0
Thanks Frank thats really helps. Sorry for not responding back as i realized there is no API for this. I am back here to ask few more questions for which i would be creating new threads
Showing results for 
Search instead for 
Did you mean: 

Recommended for You