<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2630003352520487738</id><updated>2011-10-04T09:44:32.150-07:00</updated><category term='guest OS'/><category term='Virtual Infrastructure'/><category term='virtual disk'/><category term='vCenter IP'/><category term='Plugin'/><category term='proxy'/><category term='VI-Client Plugin'/><category term='Cloud Computing'/><category term='ESXi'/><category term='sequence'/><category term='Amazon'/><category term='vCLI'/><category term='64bit'/><category term='VI API'/><category term='wsdl'/><category term='soap request'/><category term='HTTP'/><category term='VMware Tools'/><category term='conflict'/><category term='RedHat'/><category term='VI Perl Toolkit'/><category term='vmdk'/><category term='powershell'/><category term='VMware'/><category term='Install'/><category term='Linux'/><category term='32bit'/><category term='Suse10'/><category term='Virtualization Standards'/><category term='Ubuntu'/><category term='Virtualization'/><category term='Install vCLI'/><category term='Suse'/><category term='disk.key'/><category term='VIPT'/><title type='text'>Virtual Way</title><subtitle type='html'>Progressing Day by Day in virtual world</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://vvirtualize.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630003352520487738/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://vvirtualize.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>vvirtualize</name><uri>http://www.blogger.com/profile/17823275191444904455</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2630003352520487738.post-599200725682864974</id><published>2010-06-03T22:44:00.000-07:00</published><updated>2010-06-03T22:48:02.118-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='virtual disk'/><category scheme='http://www.blogger.com/atom/ns#' term='vmdk'/><title type='text'>Understanding different kinds of virtual disks and their creation using vSphere SDK</title><content type='html'>Following are the virtual disk types that are relevant to ESX/ESXi:&lt;br /&gt;&lt;br /&gt; 1.  thin&lt;br /&gt; 2.  pre-allocated (should be used instead of “thick” which we do not recommend any more)&lt;br /&gt; 3.  eagerZeroedThick&lt;br /&gt; 4.  rdm&lt;br /&gt; 5.  rdmp&lt;br /&gt;&lt;br /&gt;For the first 3 types of virtual disks, one should use the VirtualDiskFlatVer2BackingInfo as the backing for your VirtualDisk in the the VirtualMachineConfigSpec when creating/reconfiguring the VM.&lt;br /&gt;&lt;br /&gt; *   If the thinProvisioned property is set, it is a thin disk&lt;br /&gt; *   If thinProvisioned is false (or not set) AND eagerlyScrub is false (or not set), it is a preallocated disk&lt;br /&gt; *   If eagerlyScrub is true AND thinProvisioned is false, it is an eagerZeroedThick disk&lt;br /&gt; &lt;br /&gt;For the last 2 types of virtual disks, one should use the &lt;br /&gt;VirtualDiskRawDiskMappingVer1BackingInfo as part of the&lt;br /&gt;VirtualMachineConfigSpec when creating/reconfiguring the VM.&lt;br /&gt;&lt;br /&gt; *   If the compatibilityMode property is set to virtualMode, the disk is of type rdm&lt;br /&gt; *   If it is set to physicalMode, the disk is of type rdmp&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630003352520487738-599200725682864974?l=vvirtualize.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vvirtualize.blogspot.com/feeds/599200725682864974/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2630003352520487738&amp;postID=599200725682864974&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630003352520487738/posts/default/599200725682864974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630003352520487738/posts/default/599200725682864974'/><link rel='alternate' type='text/html' href='http://vvirtualize.blogspot.com/2010/06/understanding-different-kinds-of.html' title='Understanding different kinds of virtual disks and their creation using vSphere SDK'/><author><name>vvirtualize</name><uri>http://www.blogger.com/profile/17823275191444904455</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630003352520487738.post-7452133555613470240</id><published>2010-06-01T22:43:00.000-07:00</published><updated>2010-06-01T23:32:14.201-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Plugin'/><category scheme='http://www.blogger.com/atom/ns#' term='VI-Client Plugin'/><title type='text'>vSphere client script-based plug-in behavior with different values of “Display” attribute of URL tag</title><content type='html'>&lt;p class="MsoNormal"  style="font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:13;"&gt;The display behavior of the URL mentioned in script based plug-ins, varies with different values of the “Display” attribute specified while registering the plug-in. You can register the plug-in with different extension points for example menu, tab etc., but display behavior of the URL is only applicable in context to Menu extensions. In case you register your plug-in with Tab extension, then URL will be launched in the tab only for all display modes.&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:12;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;b&gt;For context Menu extensions:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:11;"&gt;&lt;b&gt;a. If Display attribute is not specified.&lt;/b&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:11;"&gt;For example: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:11;"&gt;&amp;lt;url &amp;gt;http://maps.google.com&amp;lt;/url&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:11;"&gt;Then URL, i.e., web page maps.google.com opens in the new browser window.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:11;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:11;"&gt;&lt;b&gt;b. If Display attribute "window" is specified.&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:11;"&gt;For example:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:11;"&gt;&amp;lt;url display=&amp;quot;window&amp;quot;&amp;gt;http://maps.google.com&amp;lt;/url&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:11;"&gt;Then, a non-modal window (c# form) is opened and the url is launched within the client.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:11;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:11;"&gt;&lt;b&gt;c. If Display attribute "modalwindow" is specified.&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:11;"&gt;For example: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:11;"&gt;&amp;lt;url display=&amp;quot;modalwindow&amp;quot;&amp;gt;http://maps.google.com&amp;lt;/url&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:11;"&gt;Then, a modal window is opened and the url is launched within the client.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:11;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:11;"&gt;&lt;b&gt;d. If Display attribute "none" is specified.&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:11;"&gt;For example: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:11;"&gt;&amp;lt;url display=&amp;quot;none&amp;quot;&amp;gt;http://maps.google.com&amp;lt;/url&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:11;"&gt;In case you want to run any script without launching any UI on the click of menu item, then you can specify display attribute value as “none”.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="font-family:georgia;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630003352520487738-7452133555613470240?l=vvirtualize.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vvirtualize.blogspot.com/feeds/7452133555613470240/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2630003352520487738&amp;postID=7452133555613470240&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630003352520487738/posts/default/7452133555613470240'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630003352520487738/posts/default/7452133555613470240'/><link rel='alternate' type='text/html' href='http://vvirtualize.blogspot.com/2010/06/vsphere-client-script-based-plug-in_1977.html' title='vSphere client script-based plug-in behavior with different values of “Display” attribute of URL tag'/><author><name>vvirtualize</name><uri>http://www.blogger.com/profile/17823275191444904455</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630003352520487738.post-390356129317287850</id><published>2010-05-24T22:59:00.000-07:00</published><updated>2010-05-24T23:09:15.120-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sequence'/><category scheme='http://www.blogger.com/atom/ns#' term='soap request'/><category scheme='http://www.blogger.com/atom/ns#' term='wsdl'/><title type='text'>Sequence Tag in WSDL</title><content type='html'>As per the XML Schemas, the sequence tag in the WSDL file specifies a list of sub elements. This list gives an order in which the sub-elements should appear in the SOAP request. If this sequence is not followed, server does not interpret the SOAP request correctly and throws a fault.&lt;br /&gt;&lt;br /&gt;It is the responsibility of the SOAP client to follow the WSDL design and construct the SOAP request. Maintaining the sequence of elements is among one of the several points to keep in mind.&lt;br /&gt;&lt;br /&gt;To illustrate this using vSphere APIs, while creating an Alarm using CreateAlarm API, one has to follow the sequence when passing properties in the AlarmSpec. To refer the WSDL definition for the AlarmSpec object, click "Show WSDL type definition" below the object:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_a7b5j0nsaaM/S_tngXTLyNI/AAAAAAAAACo/iZvjqdDB3eM/s1600/AlarmSpecWSDLDef.jpg"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 365px; height: 400px;" src="http://2.bp.blogspot.com/_a7b5j0nsaaM/S_tngXTLyNI/AAAAAAAAACo/iZvjqdDB3eM/s400/AlarmSpecWSDLDef.jpg" alt="" id="BLOGGER_PHOTO_ID_5475083577706924242" border="0" /&gt;&lt;/a&gt;Thus, ordering of the elements is a major factor in the SOAP requests processing.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630003352520487738-390356129317287850?l=vvirtualize.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vvirtualize.blogspot.com/feeds/390356129317287850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2630003352520487738&amp;postID=390356129317287850&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630003352520487738/posts/default/390356129317287850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630003352520487738/posts/default/390356129317287850'/><link rel='alternate' type='text/html' href='http://vvirtualize.blogspot.com/2010/05/sequence-tag-in-wsdl_24.html' title='Sequence Tag in WSDL'/><author><name>vvirtualize</name><uri>http://www.blogger.com/profile/17823275191444904455</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_a7b5j0nsaaM/S_tngXTLyNI/AAAAAAAAACo/iZvjqdDB3eM/s72-c/AlarmSpecWSDLDef.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630003352520487738.post-7628067609277777935</id><published>2010-05-24T03:24:00.000-07:00</published><updated>2010-05-24T03:37:29.231-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='virtual disk'/><category scheme='http://www.blogger.com/atom/ns#' term='disk.key'/><category scheme='http://www.blogger.com/atom/ns#' term='vmdk'/><title type='text'>What should be disk.key parameter when adding multiple virtual disks?</title><content type='html'>&lt;div&gt;&lt;div&gt;Creating a virtual machine with multiple disks often leads to "Invalid device configuration" error.&lt;br /&gt;When adding multiple virtual disks to a VM (either during createVM or reconfig operation), we assign the disk.key as a negative number. This ensures that hostd automatically assigns a unique positive key to the new virtual disk. However, when adding multiple disks, this negative number should also be unique. For e.g., while adding 2 virtual disks, both disks should not have same negative integer assigned, for e.g., "-100". It should be -100 and -101.&lt;br /&gt;&lt;br /&gt;We have sometimes seen a behavior which leads to additional 0-byte VMDKs being created because of same negative number being assigned to all virtual disks being added. With unique negative number for each virtual disk, this issue got resolved.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;img id="BLOGGER_PHOTO_ID_5474783722012286258" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 182px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_a7b5j0nsaaM/S_pWydyiHTI/AAAAAAAAACA/jd_pm9hfoAo/s400/0-byte+VMDK.jpg" border="0" /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630003352520487738-7628067609277777935?l=vvirtualize.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vvirtualize.blogspot.com/feeds/7628067609277777935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2630003352520487738&amp;postID=7628067609277777935&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630003352520487738/posts/default/7628067609277777935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630003352520487738/posts/default/7628067609277777935'/><link rel='alternate' type='text/html' href='http://vvirtualize.blogspot.com/2010/05/what-should-be-diskkey-parameter-when.html' title='What should be disk.key parameter when adding multiple virtual disks?'/><author><name>vvirtualize</name><uri>http://www.blogger.com/profile/17823275191444904455</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_a7b5j0nsaaM/S_pWydyiHTI/AAAAAAAAACA/jd_pm9hfoAo/s72-c/0-byte+VMDK.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630003352520487738.post-4422639242416489163</id><published>2010-05-12T03:32:00.000-07:00</published><updated>2010-05-12T04:04:25.558-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='powershell'/><category scheme='http://www.blogger.com/atom/ns#' term='vCenter IP'/><category scheme='http://www.blogger.com/atom/ns#' term='conflict'/><title type='text'>Resolve conflict in vCenter's IP address with PowerShell</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;I installed a vCenter on a VM, and accidentally the IP address of the VM changed (will not lie, I changed intentionally, IP was difficult to remember&lt;span style="font-family:Wingdings;mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;;mso-hansi-font-family:&amp;quot;Times New Roman&amp;quot;;mso-char-type:symbol; mso-symbol-font-family:Wingdings"&gt;&lt;span style="mso-char-type:symbol;mso-symbol-font-family: Wingdings"&gt;J&lt;/span&gt;&lt;/span&gt; ). In next few seconds, the hosts that were being managed by vCenter showed as disconnected through vSphere Client. I tried to reconnect them but it displayed “heart beat” mismatch error under “Summary” tab.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;There are few steps to rectify this error.   &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;1. From vSphere Client, right-click on the ESX host and click Remove.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;2. Remove the agent from ESX host.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;3. Add the ESX host again to vCenter inventory. Select New &gt; Add Host.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;This will result in reinstallation of the VMware vCenter Server agent.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;I tried to automate this in Power Shell. Below is the script for the same:&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;{code}&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$Server&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;=&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:cadetblue"&gt;Read-Host&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:maroon"&gt;"Enter the server name"&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;; color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$S_User&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;=&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:cadetblue"&gt;Read-Host&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:maroon"&gt;"Enter the User name to connect server"&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$S_Password&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;=&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:cadetblue"&gt;Read-Host&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:maroon"&gt;"Enter the Password to connect server"&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$DCname&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;=&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; Read-Host &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:maroon"&gt;"Enter the Datacenter name"&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;; color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:green"&gt;# Connect to server&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;Connect-VIServer &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$Server&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; -User &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$S_User&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; -Password &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$S_Password&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$si&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;=&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; get-view serviceinstance&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:green"&gt;# Build of the VC &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$build&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;=&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$si&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;.content.about.Build&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:green"&gt;# Version of the VC&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$version&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;=&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$si&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;.content.about.Version &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:green"&gt;#Host name to remove the agent&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$HostName&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;=&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; Read-Host &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:maroon"&gt;"Enter the Host name to remove agent"&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family: &amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:green"&gt;#Removing the Host from VC&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;Remove-VMHost -VMHost (Get-VMHost -Name &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family: &amp;quot;Courier New&amp;quot;;color:purple"&gt;$HostName&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;) -Confirm:&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:blue"&gt;$false&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$VCBuild&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;=&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:maroon"&gt;"$version-$build"&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:green"&gt;#credentials of the User having shell excess&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$User&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;=&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; Read-Host &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:maroon"&gt;"Enter the User name having shell access"&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$Password&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;=&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; Read-Host &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:maroon"&gt;"Enter the User's password having shell access"&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:green"&gt;#Path of putty available&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$plink&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;=&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:maroon"&gt;"c:\putty\plink.exe"&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$plinkoptions&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;=&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:maroon"&gt;" -v -batch -pw $Password"&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;; color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:green"&gt;#To implement special commands like "|" and "&amp;amp;&amp;amp;" ,I have used the below way &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$cmd1&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;=&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:maroon"&gt;'rpm -qa "|" grep vpxa'&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;; color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$cmd2&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;=&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:maroon"&gt;'service mgmt-vmware stop "&amp;amp;&amp;amp;" service vmware-vpxa stop "&amp;amp;&amp;amp;" service vmware-vmkauthd stop "&amp;amp;&amp;amp;" service xinetd restart'&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;; color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$cmd3&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;=&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:maroon"&gt;'rpm -qa "|" grep -i vpxa "|" awk ''{print $1}''"|" xargs rpm -ef $1 "&amp;amp;&amp;amp;" userdel vpxuser "&amp;amp;&amp;amp;" service mgmt-vmware start "&amp;amp;&amp;amp;" service vmware-vmkauthd start'&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:green"&gt;#command1 for VirtualCenter Agents on Host&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$command&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;=&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$plink&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;+&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:maroon"&gt;" "&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;+&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$plinkoptions&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;+&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:maroon"&gt;" "&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;+&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$User&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;+&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:maroon"&gt;"@"&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;+&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$HostName&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;+&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:maroon"&gt;" "&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;+&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$cmd1&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:green"&gt;#command2 for stopping the management services&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$command2&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;=&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$plink&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;+&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:maroon"&gt;" "&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;+&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$plinkoptions&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;+&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:maroon"&gt;" "&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;+&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$User&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;+&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:maroon"&gt;"@"&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;+&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$HostName&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;+&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:maroon"&gt;" "&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;+&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$cmd2&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:green"&gt;#command3 for removing the vpxa agent, "userdel vpxuser" removes the vpxa user, restart the services of Host&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$command3&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;=&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$plink&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;+&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:maroon"&gt;" "&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;+&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$plinkoptions&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;+&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:maroon"&gt;" "&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;+&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$User&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;+&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:maroon"&gt;"@"&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;+&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$HostName&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;+&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:maroon"&gt;" "&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;+&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$cmd3&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:green"&gt;#invoking the command1 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$msg&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;=&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; Invoke-Expression -command &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family: &amp;quot;Courier New&amp;quot;;color:purple"&gt;$command&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:green"&gt;#invoking the command2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$msg1&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;=&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; Invoke-Expression -command &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family: &amp;quot;Courier New&amp;quot;;color:purple"&gt;$command2&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:green"&gt;#invoking the command3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$msg2&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:red"&gt;=&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; Invoke-Expression -command &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family: &amp;quot;Courier New&amp;quot;;color:purple"&gt;$command3&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:green"&gt;#time given to restart the services&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:cadetblue"&gt;sleep&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;i&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:cadetblue"&gt;-Seconds&lt;/span&gt;&lt;/i&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; 500&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:green"&gt;# Adding the Host to the VC, agent will automatically get installed&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-layout-grid-align:none;text-autospace:none"&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:cadetblue"&gt;Add-VMHost&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;i&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:cadetblue"&gt;-Name&lt;/span&gt;&lt;/i&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$HostName&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;i&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:cadetblue"&gt;-User&lt;/span&gt;&lt;/i&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$User&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;i&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:cadetblue"&gt;-Password&lt;/span&gt;&lt;/i&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$Password&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;i&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:cadetblue"&gt;-Location&lt;/span&gt;&lt;/i&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; (&lt;/span&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:cadetblue"&gt;Get-Datacenter&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;i&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:cadetblue"&gt;-Name&lt;/span&gt;&lt;/i&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:purple"&gt;$DCname&lt;/span&gt;&lt;span style="font-size:10.0pt;font-family:&amp;quot;Courier New&amp;quot;;color:black"&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;{code}&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Pre-requisites to run the above script:-&lt;/p&gt;  &lt;ol style="margin-top:0in" start="1" type="1"&gt;  &lt;li class="MsoNormal" style="mso-list:l0 level1 lfo1;tab-stops:list .5in"&gt;PowerShell      &lt;/li&gt;  &lt;li class="MsoNormal" style="mso-list:l0 level1 lfo1;tab-stops:list .5in"&gt;VMware      vSphere PowerCLI &lt;/li&gt;  &lt;li class="MsoNormal" style="mso-list:l0 level1 lfo1;tab-stops:list .5in"&gt;Putty &lt;/li&gt; &lt;/ol&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Note: This script will work against ESX classic hosts only.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630003352520487738-4422639242416489163?l=vvirtualize.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vvirtualize.blogspot.com/feeds/4422639242416489163/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2630003352520487738&amp;postID=4422639242416489163&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630003352520487738/posts/default/4422639242416489163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630003352520487738/posts/default/4422639242416489163'/><link rel='alternate' type='text/html' href='http://vvirtualize.blogspot.com/2010/05/resolve-conflict-in-vcenters-ip-address.html' title='Resolve conflict in vCenter&apos;s IP address with PowerShell'/><author><name>vvirtualize</name><uri>http://www.blogger.com/profile/17823275191444904455</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630003352520487738.post-911897020179871621</id><published>2009-06-24T04:44:00.000-07:00</published><updated>2009-06-24T04:56:18.882-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ESXi'/><category scheme='http://www.blogger.com/atom/ns#' term='HTTP'/><category scheme='http://www.blogger.com/atom/ns#' term='proxy'/><title type='text'>Modify the Web proxy service on ESX 3i to support HTTP</title><content type='html'>Many times we hurdle on how to enable http at ESXi Servers as they are COSless and one need to update the "proxy.xml" to enable HTTP. Here are the easy steps to upload the updated proxy.xml.&lt;br /&gt;&lt;br /&gt;Follow the below mentioned steps:&lt;br /&gt;&lt;br /&gt;1. Download the proxy.xml from https://&amp;lt;hostname&amp;gt;/host, save a local copy.&lt;br /&gt; Note: Do not rename the file.&lt;br /&gt;2. Use a text editor to open the downloaded proxy.xml file.&lt;br /&gt;3. Navigate to the list of endpoints in the file (identified by the &amp;lt;EndpointList&amp;gt; tag) that contains settings for the Web service supporting the SDK. The nested tags may look something like this:&lt;br /&gt;          ...&lt;br /&gt;          &amp;lt;e id="1"&amp;gt;&lt;br /&gt;          &amp;lt;_type&amp;gt;vim.ProxyService.NamedPipeServiceSpec&amp;lt;/_type&amp;gt;&lt;br /&gt;          &amp;lt;accessMode&amp;gt;httpsWithRedirect&amp;lt;/accessMode&amp;gt;&lt;br /&gt;          &amp;lt;pipeName&amp;gt;/var/run/vmware/proxy-sdk&amp;lt;/pipeName&amp;gt;&lt;br /&gt;          &amp;lt;serverNamespace&amp;gt;/sdk&amp;lt;/serverNamespace&amp;gt;&lt;br /&gt;          &amp;lt;/e&amp;gt;&lt;br /&gt;          ...&lt;br /&gt;4. Change the accessMode to httpAndHttps. Alternatively, to completely disable HTTPS, you can set it to httpOnly.&lt;br /&gt;5. Save your settings and close the file.&lt;br /&gt;6. Upload the updated file using httpFileAccess mechanism. Please refer below C# code snippet to upload the file.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    Cookie cookie = _service.CookieContainer.GetCookies(new Uri(url))[0];&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    String cookieString = cookie.ToString();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    String httpUrl = "https://" + &amp;lt;hostname&amp;gt; + "/host/proxy.xml";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    httpUrl = httpUrl.Replace("\\ ", "%20");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    Console.WriteLine("Putting VM File " + httpUrl);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    WebClient client = new WebClient();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    NetworkCredential nwCred = new NetworkCredential();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    nwCred.UserName = username;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    nwCred.Password = password;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    client.Credentials = nwCred;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    client.Headers.Add(HttpRequestHeader.Cookie, cookieString);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    client.UploadFile(httpUrl, "PUT", localpath);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Note: You need to first login using VI APIs, steal a cookie from an active session.&lt;br /&gt;&lt;br /&gt;7. Restart the hostd management services using DCUI.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630003352520487738-911897020179871621?l=vvirtualize.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vvirtualize.blogspot.com/feeds/911897020179871621/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2630003352520487738&amp;postID=911897020179871621&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630003352520487738/posts/default/911897020179871621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630003352520487738/posts/default/911897020179871621'/><link rel='alternate' type='text/html' href='http://vvirtualize.blogspot.com/2009/06/modify-web-proxy-service-on-esx-3i-to_24.html' title='Modify the Web proxy service on ESX 3i to support HTTP'/><author><name>vvirtualize</name><uri>http://www.blogger.com/profile/17823275191444904455</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630003352520487738.post-2236384801192684662</id><published>2009-06-24T04:19:00.000-07:00</published><updated>2009-06-24T04:58:21.083-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='guest OS'/><category scheme='http://www.blogger.com/atom/ns#' term='VMware Tools'/><category scheme='http://www.blogger.com/atom/ns#' term='VI API'/><title type='text'>Make Guest OS information available through VI API</title><content type='html'>Have you ever felt a need to fetch some information from the guestOS that is not exposed by VI APIs? If you have a requirement to pass some information from guestOS and use VI APIs to get access to that information, VMware tools guest service can be of help.&lt;br /&gt;&lt;br /&gt;When you install VMware Tools in a virtual machine, the VMware guest operating system service is one of the primary components installed. In a Linux guest, the guest service is called "vmware-guestd" and in a Windows guest, the guest service program file is called VMwareService.exe. One can use this service to set a guest info variable.&lt;br /&gt;&lt;br /&gt;The command to set the guest variables is:&lt;br /&gt;&lt;br /&gt;In windows guest:&lt;br /&gt;VMwareService --cmd "info-set guestinfo.&amp;lt;variableName&amp;gt; &amp;lt;value&amp;gt;"&lt;br /&gt;&lt;br /&gt;In Linux guest:&lt;br /&gt;vmware-guestd --cmd "info-set guestinfo.&amp;lt;variableName&amp;gt; &amp;lt;value&amp;gt;"&lt;br /&gt;&lt;br /&gt;This value can then be retrieved using VI APIs through the config.extraConfig["guestinfo.&amp;lt;variableName&amp;gt;"] property for the virtual machine object.&lt;br /&gt;&lt;br /&gt;As mentioned above, the primary pre-requisite of above method is to have VMware Tools installed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630003352520487738-2236384801192684662?l=vvirtualize.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vvirtualize.blogspot.com/feeds/2236384801192684662/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2630003352520487738&amp;postID=2236384801192684662&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630003352520487738/posts/default/2236384801192684662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630003352520487738/posts/default/2236384801192684662'/><link rel='alternate' type='text/html' href='http://vvirtualize.blogspot.com/2009/06/make-guest-os-information-available_9713.html' title='Make Guest OS information available through VI API'/><author><name>vvirtualize</name><uri>http://www.blogger.com/profile/17823275191444904455</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630003352520487738.post-1341938252813637124</id><published>2009-05-07T21:37:00.000-07:00</published><updated>2009-05-07T21:49:21.447-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VMware'/><category scheme='http://www.blogger.com/atom/ns#' term='Install'/><category scheme='http://www.blogger.com/atom/ns#' term='VIPT'/><category scheme='http://www.blogger.com/atom/ns#' term='vCLI'/><category scheme='http://www.blogger.com/atom/ns#' term='32bit'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='64bit'/><category scheme='http://www.blogger.com/atom/ns#' term='Virtualization'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='VI Perl Toolkit'/><title type='text'>Installing vCLI/RCLI in Ubuntu8.10  32bit or 64bit</title><content type='html'>&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;The installer of vCLI for Linux platform is a Perl script, vmware-install.pl, supported for use on default installations.&lt;/div&gt;&lt;div&gt;The VI Perl Toolkit installer for Linux distributions requires Perl 5.8, plus these libraries: &lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Linker utility (binutils package) &lt;br /&gt;&lt;/li&gt;&lt;li&gt;GNU C libraries (glibc or libc6 package) &lt;br /&gt;&lt;/li&gt;&lt;li&gt;OpenSSL library (libssl-dev package) &lt;br /&gt;&lt;/li&gt;&lt;li&gt;XML DOM/SAX libraries (libxml2 package) &lt;br /&gt;&lt;/li&gt;&lt;li&gt;Some perl modules &lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Install Ubuntu Operating System &lt;br /&gt;Install vsftpd or any other ftp client so that builds and perl modules can be put in the machine.  One can download the builds etc directly on the ubuntu machine also.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;Installing OpenSSL&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Ubuntu uses apt (advanced packaging tool) to keep a local repository of libraries up-to-date. The libssl-dev and libxml2-dev packages are not available for install until this local repository is updated via the 'apt-get update' command. Before running apt to update the repository (and subsequently, install the OpenSSL and libxml2 library), the system must be properly configured and connected to the Internet.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Step &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;From the terminal console execute following command:&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;sudo apt-get update&lt;br /&gt;&lt;/li&gt;&lt;li&gt;sudo apt-get install libssl-dev&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Installing XML DOM/SAX libraries&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;From the terminal console execute following command:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;sudo apt-get update&lt;br /&gt;&lt;/li&gt;&lt;li&gt;sudo apt-get install libxml2-dev&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;Installing Pre-Requisite Perl Module&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Following module needs to be installed separately.&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Class::MethodMaker 2.08&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Crypt::SSLeay 0.51&lt;br /&gt;&lt;/li&gt;&lt;li&gt;LWP 5.8.05&lt;br /&gt;&lt;/li&gt;&lt;li&gt;XML::LibXML 1.58&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Archive::Zip&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;Class::MethodMaker&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Execute the following commands to install module Class-MethodMaker-2.15.tar.gz&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;tar -zxvf Class-MethodMaker-2.15.tar.gz&lt;br /&gt;&lt;/li&gt;&lt;li&gt;cd Class-MethodMaker-2.15&lt;/li&gt;&lt;li&gt;perl Makefile.PL&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make install&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;Crypt::SSLeay&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Execute the following commands to install module Crypt-SSLeay-0.57.tar.gz&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;tar -zxvf Crypt-SSLeay-0.57.tar.gz&lt;br /&gt;&lt;/li&gt;&lt;li&gt;cd Crypt-SSLeay-0.57&lt;/li&gt;&lt;li&gt;perl Makefile.PL&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Make&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Make install&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;LWP&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Execute the following commands to install module libwww-perl-5.825.tar.gz:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;tar -zxvf libwww-perl-5.825.tar.gz&lt;br /&gt;&lt;/li&gt;&lt;li&gt;cd libwww-perl-5.825&lt;/li&gt;&lt;li&gt;perl Makefile.PL&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make install&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;XML::LibXML&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Execute the following commands to install module XML-NamespaceSupport-1.09.tar.gz:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;tar -zxvf XML-NamespaceSupport-1.09.tar.gz&lt;br /&gt;&lt;/li&gt;&lt;li&gt;cd XML-NamespaceSupport-1.09&lt;/li&gt;&lt;li&gt;perl Makefile.PL&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make install&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Execute the following commands to install module XML-LibXML-Common-0.13.tar.gz:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;tar -zxvf XML-LibXML-Common-0.13.tar.gz&lt;br /&gt;&lt;/li&gt;&lt;li&gt;cd XML-LibXML-Common-0.13&lt;/li&gt;&lt;li&gt;perl Makefile.PL&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make install&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Execute the following commands to install module XML-SAX-0.96.tar.gz:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;tar -zxvf XML-SAX-0.96.tar.gz&lt;br /&gt;&lt;/li&gt;&lt;li&gt;cd XML-SAX-0.96&lt;/li&gt;&lt;li&gt;perl Makefile.PL&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make install&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Execute the following commands to install module XML-LibXML-1.69.tar.gz:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;tar -zxvf XML-LibXML-1.69.tar.gz&lt;br /&gt;&lt;/li&gt;&lt;li&gt;cd XML-LibXML-1.69&lt;/li&gt;&lt;li&gt;perl Makefile.PL&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make install&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;Archive::Zip&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Execute the following commands to install module Archive-Zip-1.26.tar.gz:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;tar -zxvf Archive-Zip-1.26.tar.gz&lt;br /&gt;&lt;/li&gt;&lt;li&gt;cd Archive-Zip-1.26&lt;/li&gt;&lt;li&gt;perl Makefile.PL&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make install&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;Installing vCLI &lt;/span&gt;&lt;/div&gt;&lt;div&gt;Download the latest RCLI build.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;tar -zxvf VMware-vSphere-CLI-&lt;build&gt;.i386.tar.gz it will create the vmware-vsphere-vcli-distrib folder&lt;/build&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;From the terminal console execute following command:&lt;/div&gt;&lt;div&gt;a)&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;cd vmware-vsphere-vcli-distrib.&lt;/div&gt;&lt;div&gt;b)&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;perl vmware-install.pl&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;Test Cases&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;1&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;vmware-cmd&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;perl vmware-cmd  -H &lt;ip&gt;-U root -P myuser -l&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;Pass&lt;/ip&gt;&lt;/div&gt;&lt;div&gt;2&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;vicfg-vmknic&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;perl vicfg-vmknic -url https://&lt;ip&gt; /sdk -username root --password myuser  -l&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;Pass&lt;/ip&gt;&lt;/div&gt;&lt;div&gt;3&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;vicfg-nics&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;perl vicfg-nics -url https://&lt;ip&gt;/sdk --username root --password myuser -l&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;Pass&lt;/ip&gt;&lt;/div&gt;&lt;div&gt;4&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;vifs&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;perl vifs -url https://&lt;ip&gt;/sdk --username root --password myuser -C&lt;span class="Apple-tab-span" style="white-space: pre; "&gt; &lt;/span&gt;Pass&lt;/ip&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630003352520487738-1341938252813637124?l=vvirtualize.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vvirtualize.blogspot.com/feeds/1341938252813637124/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2630003352520487738&amp;postID=1341938252813637124&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630003352520487738/posts/default/1341938252813637124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630003352520487738/posts/default/1341938252813637124'/><link rel='alternate' type='text/html' href='http://vvirtualize.blogspot.com/2009/05/installing-vclircli-in-ubuntu810-32bit.html' title='Installing vCLI/RCLI in Ubuntu8.10  32bit or 64bit'/><author><name>vvirtualize</name><uri>http://www.blogger.com/profile/17823275191444904455</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630003352520487738.post-9135374325697704033</id><published>2009-05-04T20:45:00.000-07:00</published><updated>2009-05-04T23:33:10.840-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Install vCLI'/><category scheme='http://www.blogger.com/atom/ns#' term='VMware'/><category scheme='http://www.blogger.com/atom/ns#' term='Suse10'/><category scheme='http://www.blogger.com/atom/ns#' term='Suse'/><category scheme='http://www.blogger.com/atom/ns#' term='VIPT'/><category scheme='http://www.blogger.com/atom/ns#' term='vCLI'/><category scheme='http://www.blogger.com/atom/ns#' term='32bit'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='64bit'/><category scheme='http://www.blogger.com/atom/ns#' term='Virtualization'/><category scheme='http://www.blogger.com/atom/ns#' term='VI Perl Toolkit'/><title type='text'>Installing vCLI/RCLI  in Suse 10 32bit or 64bit</title><content type='html'>Installing vCLI  and VI Perl Toolkit on linux platforms has been the pain point of many users. We are able to install on Suse and will be coming up with future post for Fedora and Ubuntu.&lt;br /&gt;&lt;div&gt;&lt;div&gt;The installer of vCLI on SUSE Enterprise Server 10 64-bit is a Perl script, vmware-install.pl, supported for use on default installations of SUSE Enterprise server.&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;The VI Perl Toolkit installer for Linux distributions requires Perl 5.8, plus these libraries:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;Linker utility (binutils package)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;GNU C libraries (glibc or libc6 package)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;OpenSSL library (libssl-dev package)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;XML DOM/SAX libraries (libxml2 package)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Some perl modules (Listed below)&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;For Installting the modules on SUSE 10 machine we first need to install C/C++ installer modules during SUSE installation.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_a7b5j0nsaaM/Sf_M8OQalMI/AAAAAAAAABE/1xL8t4THzV8/s1600-h/suse10.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 289px;" src="http://4.bp.blogspot.com/_a7b5j0nsaaM/Sf_M8OQalMI/AAAAAAAAABE/1xL8t4THzV8/s400/suse10.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5332205818821121218" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Installing OpenSSL&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;The SUSE Enterprise 10 DVD includes the OpenSSL package on the installation DVD.&lt;/div&gt;&lt;div&gt;Insert the SUSE installation DVD&lt;/div&gt;&lt;div&gt;From the terminal console execute following command:&lt;/div&gt;&lt;div&gt;a)&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;cd /media/SLES10SP_001/suse/x86_64&lt;/div&gt;&lt;div&gt;b)&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;rpm -i openssl-devel-0.9.8a-18.26.x86_64.rpm&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Installing XML DOM/SAX libraries&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;The SUSE Enterprise 10 DVD includes the libxml2 package on the installation DVD.&lt;/div&gt;&lt;div&gt;Step&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Description&lt;/div&gt;&lt;div&gt;1&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Insert the SUSE installation DVD&lt;/div&gt;&lt;div&gt;2&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;From the terminal console execute following command:&lt;/div&gt;&lt;div&gt;a)&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;cd /media/SLES10SP_001/suse/x86_64.&lt;/div&gt;&lt;div&gt;b)&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;rpm -i readline-devel-5.1-24.19.x86_64.rpm&lt;/div&gt;&lt;div&gt;c)&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;rpm -i libxml2-devel-2.6.23-15.8.x86_64.rpm&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Installing Pre-Requisite Perl Module&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Following module needs to be installed separately.&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Class::MethodMaker 2.08&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Crypt::SSLeay 0.51&lt;br /&gt;&lt;/li&gt;&lt;li&gt;LWP 5.8.05&lt;br /&gt;&lt;/li&gt;&lt;li&gt;XML::LibXML 1.58&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Archive::Zip&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Class::MethodMaker&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Execute the following commands to install module Class-MethodMaker-2.15.tar.gz&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;tar -zxvf Class-MethodMaker-2.15.tar.gz&lt;br /&gt;&lt;/li&gt;&lt;li&gt;cd Class-MethodMaker-2.15&lt;/li&gt;&lt;li&gt;perl Makefile.PL&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make install&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Crypt::SSLeay&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Execute the following commands to install module Crypt-SSLeay-0.57.tar.gz&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;tar -zxvf Crypt-SSLeay-0.57.tar.gz&lt;br /&gt;&lt;/li&gt;&lt;li&gt;cd Crypt-SSLeay-0.57&lt;/li&gt;&lt;li&gt;perl Makefile.PL&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Make&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Make install&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;LWP&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Execute the following commands to install module libwww-perl-5.825.tar.gz:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;tar -zxvf libwww-perl-5.825.tar.gz&lt;br /&gt;&lt;/li&gt;&lt;li&gt;cd libwww-perl-5.825&lt;/li&gt;&lt;li&gt;perl Makefile.PL&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make install&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;XML::LibXML&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Execute the following commands to install module XML-NamespaceSupport-1.09.tar.gz:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;tar -zxvf XML-NamespaceSupport-1.09.tar.gz&lt;br /&gt;&lt;/li&gt;&lt;li&gt;cd XML-NamespaceSupport-1.09&lt;/li&gt;&lt;li&gt;perl Makefile.PL&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make install&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Execute the following commands to install module XML-LibXML-Common-0.13.tar.gz:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;tar -zxvf XML-LibXML-Common-0.13.tar.gz&lt;br /&gt;&lt;/li&gt;&lt;li&gt;cd XML-LibXML-Common-0.13&lt;/li&gt;&lt;li&gt;perl Makefile.PL&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make install&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Execute the following commands to install module XML-SAX-0.96.tar.gz:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;tar -zxvf XML-SAX-0.96.tar.gz&lt;br /&gt;&lt;/li&gt;&lt;li&gt;cd XML-SAX-0.96&lt;/li&gt;&lt;li&gt;perl Makefile.PL&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make install&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Execute the following commands to install module XML-LibXML-1.69.tar.gz:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;tar -zxvf XML-LibXML-1.69.tar.gz&lt;br /&gt;&lt;/li&gt;&lt;li&gt;cd XML-LibXML-1.69&lt;/li&gt;&lt;li&gt;perl Makefile.PL&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make install&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Archive::Zip&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Execute the following commands to install module Archive-Zip-1.26.tar.gz:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;tar -zxvf Archive-Zip-1.26.tar.gz&lt;br /&gt;&lt;/li&gt;&lt;li&gt;cd Archive-Zip-1.26&lt;/li&gt;&lt;li&gt;perl Makefile.PL&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make&lt;br /&gt;&lt;/li&gt;&lt;li&gt;make install&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Installing vCLI &lt;/span&gt;&lt;/div&gt;&lt;div&gt;Download the latest RCLI build.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;tar -zxvf VMware-vSphere-CLI-&lt;build&gt;.i386.tar.gz it will create the vmware-vsphere-vcli-distrib folder&lt;/build&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;From the terminal console execute following command:&lt;/div&gt;&lt;div&gt;a)&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;cd vmware-vsphere-vcli-distrib.&lt;/div&gt;&lt;div&gt;b)&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;perl vmware-install.pl&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Test Cases&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;1&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;vmware-cmd&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;perl vmware-cmd  -H &lt;ip&gt; -U root -P myuser -l&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Pass&lt;/ip&gt;&lt;/div&gt;&lt;div&gt;2&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;vicfg-vmknic&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;perl vicfg-vmknic -url https://&lt;ip&gt; /sdk -username root --password myuser  -l&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Pass&lt;/ip&gt;&lt;/div&gt;&lt;div&gt;3&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;vicfg-nics&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;perl vicfg-nics -url https://&lt;ip&gt;/sdk --username root --password myuser -l&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Pass&lt;/ip&gt;&lt;/div&gt;&lt;div&gt;4&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;vifs&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;perl vifs -url https://&lt;ip&gt;/sdk --username root --password myuser -C&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Pass&lt;/ip&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;Using the same procedure you can install for 32bit. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Enjoy ... &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630003352520487738-9135374325697704033?l=vvirtualize.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vvirtualize.blogspot.com/feeds/9135374325697704033/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2630003352520487738&amp;postID=9135374325697704033&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630003352520487738/posts/default/9135374325697704033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630003352520487738/posts/default/9135374325697704033'/><link rel='alternate' type='text/html' href='http://vvirtualize.blogspot.com/2009/05/installing-vclircli-in-suse-10-32bit-or.html' title='Installing vCLI/RCLI  in Suse 10 32bit or 64bit'/><author><name>vvirtualize</name><uri>http://www.blogger.com/profile/17823275191444904455</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_a7b5j0nsaaM/Sf_M8OQalMI/AAAAAAAAABE/1xL8t4THzV8/s72-c/suse10.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630003352520487738.post-8450436822082870389</id><published>2009-02-24T21:43:00.000-08:00</published><updated>2009-02-24T21:50:56.555-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VMware'/><category scheme='http://www.blogger.com/atom/ns#' term='Virtualization'/><category scheme='http://www.blogger.com/atom/ns#' term='RedHat'/><category scheme='http://www.blogger.com/atom/ns#' term='Amazon'/><category scheme='http://www.blogger.com/atom/ns#' term='Cloud Computing'/><title type='text'>Cloud Computing and Virtualization</title><content type='html'>Cloud computing can be think of as a cloud of computer software, data storage and other services provided over the Internet.&lt;br /&gt;The concept can be implemented in the form of SaaS (Software as a Service), Web 2.0 and other well-known technology, in which the main aim is to satisfy computing needs of the user through Internet. Services are usually performed in consolidated Data Centers to keep costs low while improving overall utilization. One good example is Google Applications, which provides some common business applications online that are accessed from a web browser, while the software and data are stored on Google servers.&lt;br /&gt;&lt;br /&gt;The cloud is a metaphor for the Internet, based on how it is presented in computer network. It is also an abstraction for the complex infrastructure it conceals.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Cloud with virtualization&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Virtualization lead to the foundation of Cloud computing. Hypervisors like ESX provide the infrastructure and management tools layer on top of that to add the self-service, automation, and control.&lt;br /&gt;In cloud computing Virtualization can provide flexibility and efficient management of the underlying hardware or if the underlying hardware has more compute capacity than the Cloud can use it.&lt;br /&gt;Ultimately, virtualization clubbed with cloud computing can lead to better provisioning, increased throughput and differentiation, reduce environmental impact and strengthen business continuity, all while saving money and getting more out of network infrastructure.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Benefits of Cloud computing&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As cloud computing is evolving so rapidly, what are the benefits organizations and customers getting? Few of the benefits can be summarized as:&lt;br /&gt;&lt;br /&gt;    * &lt;span style="font-weight: bold;"&gt;Potential cost reduction:&lt;/span&gt; Organizations internal storages and servers can be placed for cloud computing setup so it will incur very low initial investment. Customers or user of cloud computing solution does not require putting capital expenditure for hardware, software licenses and implementation of services. Also users are not going to take care of administering the hardware and infrastructure software. Most cloud computing solutions are offering pay-and-use model, so customers may pay according to their need. Users can also have flexibility to use services for particular time period. This is particularly significant in cases where an organization has unpredictable or fluctuating service demand.&lt;br /&gt;&lt;br /&gt;    * &lt;span style="font-weight: bold;"&gt;Overcome data center capacity constraints&lt;/span&gt;: Most time data centers get full and that need to remove a server for any new server you add. But customers working with a cloud computing solution can overcome this limitation by offloading the servers to their cloud vendor’s data center.&lt;br /&gt;&lt;br /&gt;    * &lt;span style="font-weight: bold;"&gt;Easy implementation of new development&lt;/span&gt;: If some organization gets new project to develop but do not have the proper hardware and software setup available Cloud Vendors are the right solution. The organization does not need to purchase hardware, software licenses or implementing services, what they need to do is get its cloud-computing arrangement off the ground. This way time and cost could be saved up to a great extent.&lt;br /&gt;&lt;br /&gt;    * &lt;span style="font-weight: bold;"&gt;Scalability&lt;/span&gt;: IT companies or customers always anticipate rise in load of requirement and so rises the requirement of additional hardware and software. With Cloud computing an organization can add and subtract capacity as its network load dictates. Also cloud-computing follows a utility model in which service costs are based on consumption, companies pay for only what they use.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Limitation of Cloud&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The organizations are putting Cloud setup according to their demand, there is no particular protocol to follow, and it may lead to chaos in coming time. There are several other limitations to address:&lt;br /&gt;&lt;br /&gt;    * &lt;span style="font-weight: bold;"&gt;Speed of Network:&lt;/span&gt; High speed Internet connectivity is must for cloud users. If the speed is low performance suffers and so the users. Because of Google’s on-demand Gmail and Google Apps services went out for hours. During that time, end users either affords disrupted service or they are to access their Gmail or online applications altogether.&lt;br /&gt;&lt;br /&gt;    * &lt;span style="font-weight: bold;"&gt;Security: &lt;/span&gt;Data security is the main concern in cloud computing world. The resources in the cloud are shared by multiple users so it raises security issue.&lt;br /&gt;&lt;br /&gt;    * &lt;span style="font-weight: bold;"&gt;Cost:&lt;/span&gt; In case of very high usage demand the cost of cloud computing increases than traditional hosting.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Players in Cloud Computing&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Amazon is the first one to provide true cloud computing resources with Amazon Web Services.  The offerings include S3 (Simple Storage Service), EC2 (Elastic Compute Cloud), SimpleDB and SQS (Simple Queuing Service) making it a full set of services for cloud computing.&lt;br /&gt;&lt;br /&gt;2. VMware’s vCloud is the cloud solution that was built on the reliability and advanced technology of VMware products. VMware is also aiming to enable private cloud computing and bridge companies to external cloud platforms. Naturally, all of these connecting clouds and data centers will be glued together with virtualization software.&lt;br /&gt;&lt;br /&gt;3. Google launched its cloud computing offering named Apps engine. That comes across both as cloud computing resource as well as Platform as a Service for developing, deploying and running applications.&lt;br /&gt;&lt;br /&gt;4. IBM has announced its cloud computing offering named Blue Cloud which is expected to launch very soon.  The Blue Cloud is a distributed computing architecture based on an open-source project called Hadoop. It is built on IBM’s own software Tivoli and hardware BladeCenters and System z mainframes.&lt;br /&gt;&lt;br /&gt;5. Red Hat also provides cloud computing using Amazon Web Services on the open source Red Hat Enterprise Linux operating system which uses instances of Red Hat Enterprise Linux running on the Amazon Elastic Compute Cloud (EC2) web service.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Despite of some of its limitation Cloud computing is rapidly evolving and attracting the focus of IT Industries and consumer of IT. Cloud with virtualization can do major transformation. It can reduce cost to a remarkable extent and provides ease to the users.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630003352520487738-8450436822082870389?l=vvirtualize.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vvirtualize.blogspot.com/feeds/8450436822082870389/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2630003352520487738&amp;postID=8450436822082870389&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630003352520487738/posts/default/8450436822082870389'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630003352520487738/posts/default/8450436822082870389'/><link rel='alternate' type='text/html' href='http://vvirtualize.blogspot.com/2009/02/cloud-computing-and-virtualization.html' title='Cloud Computing and Virtualization'/><author><name>vvirtualize</name><uri>http://www.blogger.com/profile/17823275191444904455</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630003352520487738.post-4424658811340079325</id><published>2009-01-28T21:25:00.000-08:00</published><updated>2009-01-28T22:43:14.588-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Virtual Infrastructure'/><category scheme='http://www.blogger.com/atom/ns#' term='Virtualization Standards'/><category scheme='http://www.blogger.com/atom/ns#' term='Virtualization'/><title type='text'>Concerns over Virtual Infrastructure Management</title><content type='html'>&lt;div&gt;According to Gartner, the next leading technology is server virtualization, which promises to unlock much of the underutilized capacity of existing server architectures.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;But the flexibility provided by virtualization seems to cause the issue with the management of virtual infrastructure itself. &lt;/div&gt;&lt;div&gt;For Example installing a new virtual machine is a piece of cake. "Just clone your master image to a new VM and you are done within a few seconds". The problem is that the number of servers might grow faster than the number of administrators who are supposed to manage them. Looking into the future, we can anticipate that complexity becomes a critical issue in hypervisor management.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Consolidating servers onto virtual infrastructure brings tremendous benefits, but it also creates new management challenges for CIOs and IT administrators and most tricky one is "How to leverage the benefits provided by virtualization technology itself such as"&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Enabling more efficient provisioning of new systems&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Increasing speed and efficiency of back-up and recovery&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Reducing monitoring, reporting and chargeback inefficiencies&lt;br /&gt;&lt;/li&gt;&lt;li&gt;High availability&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Optimized resource utilization&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;Virtualization technology is not a silver bullet; it is merely a great enabler. A disciplined approach to an aligned process must accompany the technology. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-style: italic;"&gt;If virtualization is the optimizer, a customized virtualization process will, in essence, optimize the optimizer. Done right, it will sustain and compound ROI and become a powerful advantage for any company. &lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;Different virtualization platforms provide various interfaces to outer world, to leverage benefits of particular virtualization platform in a most optimized manner. &lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It's very important to understand these interfaces in depth because :&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;If not handled properly, the flexibility provided by virtualization platform might have some adverse effects. E.g. virtualization allows user to allocate the resources at the run time. Some sloppy allocation algorithm might cause drastic damage to organization.&lt;/li&gt;&lt;li&gt;Sustain the virtualization ROI by leveraging the virtualization benefits. E.g. every organization needs to allocate costs based on actual resource pool utilization rates. Virtual machines are not free! If an organization behaves as if they were, they will soon be dealing with a "Virtual Sprawl" and end up with an even bigger problem on their hands. &lt;/li&gt;&lt;li&gt;One major technical issue facing organizations looking to add virtualization to their IT infrastructure are the limitations of system platform tools. As the virtual machine count begins to creep up, and it's required to understand how to gather granular performance data necessary to give the IT staff a complete picture of what's going on.  E.g. standard monitoring and reporting tools that were sufficient in a physical environment tend to fall short in a virtual one&lt;/li&gt;&lt;li&gt;So, every organization looking to adopt the virtualization technology also requires complementary solutions which understands these interfaces and enables them to implement and mange the virtual infrastructure in the most optimized way&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;Note::&lt;/div&gt;&lt;div&gt;Till now every virtualization platform vendor provides its own interfaces, there are no real standards when it comes to virtual infrastructure management. This is cause of concern for the organization which has infrastructure made upon heterogeneous virtualization platform&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630003352520487738-4424658811340079325?l=vvirtualize.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vvirtualize.blogspot.com/feeds/4424658811340079325/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2630003352520487738&amp;postID=4424658811340079325&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630003352520487738/posts/default/4424658811340079325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630003352520487738/posts/default/4424658811340079325'/><link rel='alternate' type='text/html' href='http://vvirtualize.blogspot.com/2009/01/concerns-over-virtual-infrastructure.html' title='Concerns over Virtual Infrastructure Management'/><author><name>vvirtualize</name><uri>http://www.blogger.com/profile/17823275191444904455</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630003352520487738.post-8509620734322026140</id><published>2008-02-03T01:12:00.000-08:00</published><updated>2009-02-03T04:04:46.894-08:00</updated><title type='text'>About Us</title><content type='html'>We are software engineers working in InterraIT .  We are working from the past year and half for VMware.&lt;br /&gt;This blog is started to share helpful information, analyze problems and write our learning and experiences while working in virtualization domain.&lt;br /&gt;&lt;br /&gt;You can contact us at::  virtualization@interrait.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630003352520487738-8509620734322026140?l=vvirtualize.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vvirtualize.blogspot.com/feeds/8509620734322026140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2630003352520487738&amp;postID=8509620734322026140&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630003352520487738/posts/default/8509620734322026140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630003352520487738/posts/default/8509620734322026140'/><link rel='alternate' type='text/html' href='http://vvirtualize.blogspot.com/2008/02/about-us.html' title='About Us'/><author><name>vvirtualize</name><uri>http://www.blogger.com/profile/17823275191444904455</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
