Ready to be published? LXer is read by around 350,000 individuals each month, and is an excellent place for you to publish your ideas, thoughts, reviews, complaints, etc. Do you have something to say to the Linux community?
Good morning my fellow Admins, Engineers, Scripters, Programmers, etc..... YOU GET THE IDEA :). For the past week, I have been learning all about the CIM and WBEM API. Since I am working alot more then I have ever have with VMware. I am trying to automate as much as possible with out using Perl. Now please do not think I am hating on Perl, it is not that at all, it is just the fact that I love Python, thats all! That being said here is the 1st part in a 2 part series on Listing Virtual Machines using Pywbem in Python. I the 1st part I will show you how to list Virtual Machines and data related to those VMs. Example Below...
Good morning my fellow Admins, Engineers, Scripters, Programmers, etc..... YOU GET THE IDEA :). For the past week, I have been learning all about the CIM and WBEM API. Since I am working alot more then I have ever have with VMware. I am trying to automate as much as possible with out using Perl. Now please do not think I am hating on Perl, it is not that at all, it is just the fact that I love Python, thats all! That being said here is the 1st part in a 2 part series on Listing Virtual Machines using Pywbem in Python. I the 1st part I will show you how to list Virtual Machines and data related to those VMs. Example Below...
python listVMsInfo.py -u "http://esxhost" -a "login passwd"
VM Name Linux DP1 Client
Operating System Red Hat Enterprise Linux 5 (32-bit)
Host Name dpclient.linuxdynasty
IP Address 192.168.101.124
DataStore Used [Esxlinux] Linux Data Protector Install Ser.vmx
Requested State Not Applicable
Operational Status Enabled
Enabled by Default Enabled
Enabled State Not Applicable
A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.
Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help