<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Professional VMware &#187; vCLI</title> <atom:link href="http://professionalvmware.com/category/vcli/feed/" rel="self" type="application/rss+xml" /><link>http://professionalvmware.com</link> <description>How Many Turtles Can You Fit On A Rock?</description> <lastBuildDate>Thu, 24 May 2012 13:39:29 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>vSphere CLI Online Reference</title><link>http://professionalvmware.com/2010/11/vsphere-cli-online-reference/</link> <comments>http://professionalvmware.com/2010/11/vsphere-cli-online-reference/#comments</comments> <pubDate>Tue, 09 Nov 2010 19:21:50 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[4.1]]></category> <category><![CDATA[vCLI]]></category> <category><![CDATA[vSphere]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2010/11/vsphere-cli-online-reference/</guid> <description><![CDATA[As much as I loathe love VMware’s PDF documentation, I always get the warm and fuzzies when I happen upon something like this. An online reference for the vSphere CLI (vCLI) commands. Enjoy!]]></description> <content:encoded><![CDATA[<p></p><p>As much as I <strike>loathe</strike> love VMware’s PDF documentation, I always get the warm and fuzzies when I happen upon something like <a
href="http://www.vmware.com/support/developer/vcli/vcli41/doc/reference/index.html">this</a>. An online reference for the vSphere CLI (vCLI) commands. Enjoy!</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2010/11/vsphere-cli-online-reference/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>How To Backup ESXi Configuration &#8211; The Missing Piece</title><link>http://professionalvmware.com/2010/05/how-to-backup-esxi-configuration-the-missing-piece/</link> <comments>http://professionalvmware.com/2010/05/how-to-backup-esxi-configuration-the-missing-piece/#comments</comments> <pubDate>Thu, 06 May 2010 16:01:00 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[Backup]]></category> <category><![CDATA[esxcfg]]></category> <category><![CDATA[esxi]]></category> <category><![CDATA[vCLI]]></category> <category><![CDATA[vMA]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2010/04/how-to-backup-esxi-configuration-the-missing-piece/</guid> <description><![CDATA[This came up on #VMware on Freenode this weekend. Basically the concern was “How do I Backup my ESXi USB Key?” Other than ripping the USB key out of a production machine… how was the user to do this? Well, vMA and the vCLI provide a method for this: Backing up your ESXi Configuration: To [...]]]></description> <content:encoded><![CDATA[<p></p><p>This came up on #VMware on Freenode this weekend. Basically the concern was “How do I Backup my ESXi USB Key?” Other than ripping the USB key out of a production machine… how was the user to do this? Well, <a
href="http://www.vmware.com/support/developer/vima/">vMA</a> and the <a
href="http://www.vmware.com/support/developer/vcli/">vCLI</a> provide a method for this:</p><h3>Backing up your ESXi Configuration:</h3><p>To backup your ESXi configuration you’ll be using the vicfg-cfgbackup.pl command as follows:</p><ul><li>Download either the <a
href="http://www.vmware.com/support/developer/vima/">vMA</a> or <a
href="http://www.vmware.com/support/developer/vcli/">vCLI</a></li><li>Launch vicfg-cfgbackup.pl:<br
/> <span
style="font-family: Courier New; font-size: xx-small;">C:\Program Files\VMware\VMware vSphere CLI\bin&gt;vicfg-cfgbackup.pl &#8211;save &#8211;server 192.168.15.253 &#8211;username root &#8211;password password backup.bak</span></li><li>Note: The backup will be stored relative to your user “AppData” path:<br
/> C:\Users\Username\AppData\Local\VirtualStore\</li></ul><h3>Restoring your ESXi Configuration:</h3><p>Restoring your ESXi config can be done after you have the host up and responding over the network again by using the following:</p><p><span
style="font-family: Courier New; font-size: xx-small;">C:\Program Files\VMware\VMware vSphere CLI\bin&gt;vicfg-cfgbackup.pl &#8211;load &#8211;server 192.168.15.253 &#8211;username root &#8211;password password backup.bak</span></p><p>Note: You will be asked to reboot the host on restore.</p><p>Backing  up multiple hosts! &#8211; There is a script to backup multiple ESXi hosts on the VMware communities site <a
href="http://communities.vmware.com/docs/DOC-11767">here</a>. Also in PowerCLI <a
href="http://www.hypervisor.fr/?p=1337">here</a>!</p><p>[Edit: Added link to backup multiple ESXi hosts from William in the comments. Thanks William!]<br
/> [Edit 2: Added PowerCLI link from NiTRo. Site is in French, PowerCLI is not]</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2010/05/how-to-backup-esxi-configuration-the-missing-piece/feed/</wfw:commentRss> <slash:comments>22</slash:comments> </item> <item><title>Add a vSwitch, PowerCLI vs. vCLI</title><link>http://professionalvmware.com/2010/03/add-a-vswitch-powercli-vs-vcli/</link> <comments>http://professionalvmware.com/2010/03/add-a-vswitch-powercli-vs-vcli/#comments</comments> <pubDate>Mon, 01 Mar 2010 15:46:00 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[automation]]></category> <category><![CDATA[esxi]]></category> <category><![CDATA[PowerCLI]]></category> <category><![CDATA[vCLI]]></category> <category><![CDATA[vima]]></category> <category><![CDATA[vMA]]></category> <category><![CDATA[vSphere]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2010/03/add-a-vswitch-powercli-vs-vcli/</guid> <description><![CDATA[In trying to get used to ESXi and it’s console-less nature I’ve been forcing myself to use the vCLI or PowerCLI to do things. Along the way I’ve learned that the vCLI is generally really well though out, if different. Here is an example of this: Setting up a vNetwork Standard Switch (vSwitch) using PowerCLI [...]]]></description> <content:encoded><![CDATA[<p></p><p>In trying to get used to ESXi and it’s console-less nature I’ve been forcing myself to use the vCLI or PowerCLI to do things. Along the way I’ve learned that the vCLI is generally really well though out, if different. Here is an example of this: Setting up a vNetwork Standard Switch (vSwitch) using PowerCLI and the vCLI:</p><h4>PowerCLI</h4><ol>Steps:<li>Connect to the ESXi or vCenter server: <br
/><font
color="#004000" size="2" face="Courier New">Get-Credential | Connect-VIServer –Server 1.2.3.4</font></li><li>Create the new vSwitch: <br
/><font
color="#004000" size="2" face="Courier New">Get-VMHost –Name “ESX Host” | New-VirtualSwitch –Name “NewSwitch”</font></li></ol><p>A very basic example that, no uplinks and the like, but it does show that the action is very straight forward in PowerCLI.</p><h4>vCLI</h4><p>This one is actually much much more complicated than the above (not really, but well…)</p><p><font
color="#004000" size="2" face="Courier New">vicfg-vswitch.pl &#8211;add vSwitch1 &#8211;server 1.2.3.4 &#8211;username root &#8211;password yourP4ssword</font></p><h4>Conclusion</h4><p> There you go. Two one liners to add a vSwitch to your ESXi (or ESX) host. Both are simpler than I’d thought. Questions? Comments? Drop a line in the comments or hit me up on Twitter (<a
href="http://twitter.com/cody_bunch">@cody_bunch</a>)</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2010/03/add-a-vswitch-powercli-vs-vcli/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> </channel> </rss>
