Skip to main content
  1. posts/

vSphere Platform Services Controller (PSC) topology and Omnigraffle

·265 words·2 mins·
Christian Mohn
Virtualization Automation Omnigraffle PSC Script Topology vSphere
Author
Christian Mohn
IT veteran, podcaster, author, and blogger from Bergen, Norway.

A little while ago William Lam published a little python script called extract_vsphere_deployment_topology.py that basically lets you export your current vSphere PSC topology as a DOT (graph description language) file. Great stuff, and in itself useful as is, especially if you run it through webgraphviz.com as William suggests.

The thing is, you might want to edit the topology map, change colours and fonts, and even move the boxes around, after you get the output. If you have a large environment, you might want to combine all your PSC topologies into a single document? It turns out, that’s pretty easy to do!

Omnigraffle Pro imports the DOT files natively, and lets you play around with the objects as if they were drawn in Omnigraffle from the beginning. Save the output from the script somewhere as a .dot file. Then open Omnigraffle and go to File -> Open and select the file.

Screenshot 2016-05-22 21.10.12

Now, select the Hierarchical option, and you’ll get a nicely formatted canvas with your PSC components already laid out inside of Omnigraffle. Now you can edit it at will!

Screenshot 2016-05-22 21.13.56

As far as I can tell, this isn’t possible with Microsoft Visio, as it doesn’t support the DOT format, but you could always save it as a Visio file with Omnigraffle if you need to sent it to your more Microsoft inclined friends.

I’m sure there are more fun to be had with these DOT files, it’s just text files after all, perhaps someone can even code up a script that converts them to Visio .vdx files or some other format that Visio can import natively.

Related

Quick and Dirty HTTP Based Deployment
·399 words·2 mins
Christian Mohn
Virtualization Automation Deployment fun http Python realworld vMA VMware vSphere
Exporting vCenter Events with PowerCLI
·157 words·1 min
Christian Mohn
Virtualization Automation ESXi Oneliner PowerCLI PowerShell realworld vCenter Virtualization vSphere vSphere 5 vSphere Client
Backing up vCenter DB with Veeam B&R 6.5
·359 words·2 mins
Virtualization Automation Backup Ops realworld vCenter veeam VMware vSphere workaround