3DNS Cheat Sheet

From s23
Jump to navigation Jump to search

3DNS Hint Sheet


Datacenter's[edit]

shows all dc's in config[edit]

3dpipe datacenter show

Shows status of <datacenter>[edit]

3dpipe datacenter <datacenter> status

Enables/Disables <datacenter>[edit]

3dpipe datacenter <datacenter> enable/disable

DONT DO THIS (Phill says is very very naughty, "Disable a wip in a <datacenter>" instead)

Virtuals[edit]

to list the virtuals[edit]

3dprint wips | grep Wideip

or for a nicely formatted output

3dprint wips | grep Wideip | awk '{ print $4,"\t Status:", $3,"\t""Pool: ", $15,"\t""Hostname:", $13}'


Show status of <virtual>[edit]

3dpipe virtual <ip_address>:<port> status

Enables/Disables virtuals[edit]

3dpipe  virtual <ip_address>:<port> enable
3dpipe  virtual <ip_address>:<port> disable [


Disable a wip in a <datacenter>[edit]

3dpipe wip <wip> datacenter <datacenter> disable
Eg
3dpipe wip wip.site.com datacenter MSL disable