Search Engine: Elastic

Article ID: 4201, created on Mar 24, 2008, last review on Apr 17, 2012

  • Applies to:
  • Sphera



SD 3.7 GUI would not enable you to enable or disable DNS for a specific VDS.

It can be done using only API command:

Use the following syntax -

"export SPH_USER=<ClusterDirector USERNAME that is registered in SD machine's /etc/passwd> export SPH_PASSWD="<ClusterDirector DECRYPTED PASSWORD that is registered in SD machine's /etc/shadow>"

First check to see if you can get the VDS properties:

"<SPHERA BASE>/open_api/formatter -noenc -ip SD_IP -cmd '<API><CMD cmd="get" keys_path="VDS NAME" /></API>"

Now, in order to enable DNS run:

"<SPHERA_BASE>/open_api/formatter -noenc -ip SD_IP -cmd '<API><CMD cmd="set" keys_path="VDS NAME" dns_enabled="true" /></API>"

5f478287f7e74fe9b07217d8131cd741 3ef1f5f998c0dc182718a7fe4376f875

Email subscription for changes to this article
Save as PDF