tag:blogger.com,1999:blog-19875624641775514492024-03-13T14:34:42.877-05:00Tips and tricks for VMwareTips, Tricks and Workarounds for VMware.James Stephanhttp://www.blogger.com/profile/04822443410627249979noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-1987562464177551449.post-10097727090270883102014-09-05T07:39:00.000-05:002014-09-05T08:59:40.365-05:00OMG best list of free vmware tools I have found to date<div dir="ltr" style="text-align: left;" trbidi="on">
follow the links<br />
<br />
<a href="http://kendrickcoleman.com/index.php/Tech-Blog/a-list-of-free-vmware-vsphere-tools.html">kendrickcoleman.com</a><br />
<a href="http://www.vmwarearena.com/2013/06/101-free-tools-for-vmware-administrators.htm">101-free-tools-for-vmware-administrators</a><br />
<a href="http://www.onlyvmware.com/2013/08/free-tools-x.html">free-tools</a><br />
<br />
these guys did their research and spent hours compiling these lists.<br />
You will note: I have already blogged about several of them<br />
WinSCP<br />
Putty<br />
RVtools<br />
Vmware Scanner<br />
PowerCLI<br />
VmwareConverter<br />
Vsphere client<br />
<br /></div>
James Stephanhttp://www.blogger.com/profile/04822443410627249979noreply@blogger.com2tag:blogger.com,1999:blog-1987562464177551449.post-51411125153917070632014-09-04T16:59:00.000-05:002015-07-15T13:37:38.151-05:00Downgrade a VMware VM from version 10 to 9 the easy way,<div dir="ltr" style="text-align: left;" trbidi="on">
Using the vsphere client power off the VM.<br />
The in the summary tab, right-click on the Storage icon and choose Browse Datastore.<br />
Browse to the folder that contains the VM name you wish to down grade: in this case TEST-VM<br />
Now copy the TEST-VM.vmx to another location as a backup. Right-click the file and choose copy.<br />
In another folder or the root paste the file, in case you need to revert back to the original.<br />
Now put the mouse over the platter disk icons in the Datastore Browser. It will pop up what each one does.<br />
We want to use the one that allows you to download from the datastore to the local PC and download the TEST-VM.vmx file to the local PC.<br />
Edit the file with notepad, you will need to right-click and choose Open with and choose notepad.<br />
In the first line you will see:<br />
<b>virtualHW.version = "10" </b>Change that to be <b>virtualHW.version = "9" </b>now save the file.<br />
Back to the Datastore Browser and now we need to delete the file TEST-VM.wmx from the folder.<br />
Now put the mouse over the platter disk icons in the Datastore Browser. It will pop up what each one does.<br />
We want to use the one that allows you to upload files to the datastore. Now upload the file to the folder you just deleted it from on the datastore<br />
Power on the VM and it will now be version 9 and you can now edit it with the vsphere client.<br />
<br />
Or you can enable SSH on the Vhost<br />
Use WinSCP.exe and do this all via a GUI interface.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-qtldurvN8w8/VaaoPCH-MII/AAAAAAAAAW4/FBToAvNx5ZU/s1600/winscp.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="225" src="http://2.bp.blogspot.com/-qtldurvN8w8/VaaoPCH-MII/AAAAAAAAAW4/FBToAvNx5ZU/s320/winscp.JPG" width="320" /></a></div>
<br />
All you need to know is were the VM is stored (aka which datastore) the userid and pwd into the vhost.<br />
Login with WinSCP browse to VMFS/Volumes/VMName<br />
Find the VMName.vmx file, right-click it and choose edit and then<br />
In the first line you will see:<br />
<b>virtualHW.version = "10" </b>Change that to be <b>virtualHW.version = "9" </b>now save the file.<br />
It will now be version 9 and you can now edit it with the vsphere client.<br />
the Power on the VM.</div>
James Stephanhttp://www.blogger.com/profile/04822443410627249979noreply@blogger.com1tag:blogger.com,1999:blog-1987562464177551449.post-9598990803951491332014-09-04T16:00:00.001-05:002015-07-15T13:41:42.137-05:00How to convert a Vmware VM disk from IDE to SCSI<div dir="ltr" style="text-align: left;" trbidi="on">
from the vmware KB library<br />
<br />
<a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1016192">kb.vmware.com</a> will get you there but I will put them here as well but in more precise terms..<br />
<br />
<ol style="background-color: white; color: #666666; margin-top: 5px;">
<li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; font-size: 12px;"><span style="border: 0px none; font-family: Arial; font-size: x-small; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Enable SSH on the vhost that the VM resides on.</span></li>
<li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; font-size: 12px;"><span style="border: 0px none; font-family: Arial; font-size: x-small; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Install the Vmware tools if not already installed and power OFF the virtual machine.</span><span style="border: 0px none; font-family: Arial; font-size: 10pt; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"></span></li>
<li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; font-size: 12px;"><span style="border: 0px none; font-family: Arial; font-size: 10pt; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">From the <strong style="border: 0px none; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Edit Settings</strong> menu for this virtual machine:</span><ul>
<li><span style="border: 0px none; font-family: Arial; font-size: 10pt; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Click <strong style="border: 0px none; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Add</strong> > <strong style="border: 0px none; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Hard Disk</strong> > <b style="border: 0px none; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Create New Virtual Disk.</b></span></li>
<li><span style="border: 0px none; font-family: Arial; font-size: 10pt; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Change the Capacity<b style="border: 0px none; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> </b>to <span style="font-family: Courier New; font-size: 14px !important;">1GB</span> and click <b style="border: 0px none; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Next.</b></span></li>
<li><span style="border: 0px none; font-family: Arial; font-size: 10pt; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Make sure the Virtual Device Node is checked and set to <span style="font-family: Courier New; font-size: 14px !important;">SCSI</span>.(0:0)</span></li>
<li><span style="font-family: Arial;">Complete the wizard</span></li>
<li><span style="font-family: Arial;">Select the <b style="border: 0px none; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">New SCSI Controller. </b></span><span style="font-family: Arial;">If the current type is not LSI Logic Parallel </span><span style="border: 0px none; font-family: Arial; font-size: x-small; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Select </span><b style="border: 0px none; font-family: Arial; font-size: small; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Change Type, </b><span style="border: 0px none; font-family: Arial; font-size: x-small; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">c</span><span style="border: 0px none; font-family: Arial; font-size: x-small; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">hange the type to </span><span style="border: 0px none; font-family: Arial; font-size: x-small; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">LSI Logic Parallel.</span></li>
<li><span style="border: 0px none; font-family: Arial; font-size: x-small; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> Click <b style="border: 0px none; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">OK</b>.</span></li>
</ul>
</li>
<li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; font-size: 12px;"><span style="border: 0px none; font-family: Arial; font-size: x-small; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Power on the virtual machine and log on.</span></li>
<li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; font-size: 12px;"><span style="font-family: Arial;">Power off the virtual machine.</span></li>
<li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; font-size: 12px;"><span style="border: 0px none; font-family: inherit; font-size: 10pt; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px none; font-family: Arial; font-size: 12px !important; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Locate the datastore path where the virtual machine resides by editing the VM and looking at the path to the Disk you are wanting to change from IDE to SCSI,</span></span><span style="border: 0px none; font-family: inherit; font-size: 10pt; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px none; font-family: 'Courier New'; font-size: 10pt !important; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">/vmfs/volumes/<datastore_name>/<vm_name>/</span></span></li>
<li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; font-size: 12px;"><span style="border: 0px none; font-family: inherit; font-size: 10pt; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px none; font-family: Arial; font-size: 12px !important; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Using WinSCP put in the IP address of the vhost, UserID and PWD and choose SFTP and login<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-qtldurvN8w8/VaaoPCH-MII/AAAAAAAAAW8/DxOlZzHg10U/s1600/winscp.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="225" src="http://2.bp.blogspot.com/-qtldurvN8w8/VaaoPCH-MII/AAAAAAAAAW8/DxOlZzHg10U/s320/winscp.JPG" width="320" /></a></div>
</span></span></li>
<li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; font-size: 12px;"><span style="font-size: 13.3333330154419px;">Browse to vmfs/voulumes/VMname/VMname.vmdk</span></li>
<li style="font-size: 12px;"><span style="font-family: Arial;">Right click the VMname.vmdk file and choose edit</span></li>
<li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; font-size: 12px;"><span style="border: 0px none; font-family: inherit; font-size: 10pt; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px none; font-family: Arial; font-size: 12px !important; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Look for the line:</span></span><span style="border: 0px none; font-family: inherit; font-size: 10pt; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px none; font-family: 'Courier New'; font-size: 10pt !important; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">ddb.adapterType = "ide"</span></span></li>
<li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; font-size: 12px;"><span style="border: 0px none; font-family: Arial; font-size: 10pt; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">To change the adapter type to LSI Logic change the line to:</span><br /><span style="border: 0px none; font-family: 'Courier New'; font-size: 10pt; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">ddb.adapterType = "lsilogic"</span><br /><br />In some rare instances the entry will appear as <span style="border: 0px none; font-family: 'Courier New'; font-size: 10pt; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">ddb.adapterType = "legacyESX". </span>In this case change the line to:<br /><br /><span style="border: 0px none; font-family: 'Courier New'; font-size: 13px; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">ddb.adapterType = "lsilogic"</span><br /></li>
<li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; font-size: 12px;"><span style="border: 0px none; font-family: Arial; font-size: 10pt; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Save the file. </span></li>
<li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; font-size: 12px;"><span style="border: 0px none; font-family: Arial; font-size: 10pt; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">From VMware Infrastructure/vSphere Client:</span><ol style="margin-top: 5px;" type="a">
<li><span style="border: 0px none; font-family: Arial; font-size: 10pt; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Click <strong style="border: 0px none; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Edit Settings</strong> for the virtual machine.</span></li>
<li><span style="border: 0px none; font-family: Arial; font-size: 10pt; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Select the IDE virtual disk.</span></li>
<li><span style="border: 0px none; font-family: Arial; font-size: 10pt; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Choose to Remove the Disk from the virtual machine.</span></li>
<li><span style="border: 0px none; font-family: Arial; font-size: 10pt; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Click <strong style="border: 0px none; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">OK</strong>.<br /><br /><strong style="border: 0px none; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Caution</strong>: <span style="font-size: 12px !important;">D</span>o not choose <span style="border: 0px none; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: bold; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">delete </span><strong style="border: 0px none; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">from disk</strong>.</span></li>
</ol>
</li>
<li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; font-size: 12px;"><span style="border: 0px none; font-family: Arial; font-size: 10pt; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">From the <strong style="border: 0px none; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Edit Settings</strong> menu for this virtual machine:</span><ol style="margin-top: 5px;">
<li><span style="border: 0px none; font-family: Arial; font-size: 10pt; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Click <strong style="border: 0px none; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Add</strong> > <strong style="border: 0px none; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Hard Disk</strong> > <strong style="border: 0px none; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Use Existing Virtual Disk</strong>.</span></li>
<li><span style="border: 0px none; font-family: Arial; font-size: 10pt; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Navigate to the location of the disk and select to add it into the virtual machine.</span></li>
<li><span style="border: 0px none; font-family: Arial; font-size: 10pt; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Choose the same controller as in Step 9 as the adapter type. The SCSI ID should read SCSI 0:0.</span></li>
</ol>
</li>
<li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; font-size: 12px;"><span style="border: 0px none; font-family: Arial; font-size: 10pt; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">If a CDROM device exists in the virtual machine it may need to have the IDE channel adjusted from IDE 0:1 to IDE 0:0. If this option is greyed out, remove the CD-ROM from the virtual machine and add it back. This sets it to IDE 0:0 or SCSI (0:1)</span></li>
<li style="font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; font-size: 12px;"><span style="border: 0px none; font-family: Arial; font-size: 10pt; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Start the VM and you should now have a SCSI disk.</span></li>
</ol>
</div>
James Stephanhttp://www.blogger.com/profile/04822443410627249979noreply@blogger.com1tag:blogger.com,1999:blog-1987562464177551449.post-54643366415352010092014-09-04T10:29:00.001-05:002014-09-04T10:29:36.966-05:00Be sure to always install the VMware tools onto a VM. It is a really big help with the video and mouse but you get a faster better NIC.<div dir="ltr" style="text-align: left;" trbidi="on">
Once you have created a VM or converted a physical machine to a VM. (Note: if it was a physical machine you need to uninstall all the drivers and software that were specific to the physical machines hardware as it will just be wasted resources ad they no longer exist.)<br />
<br />
Installing VMware tools requires a reboot so do it early in your process or if you used vmware converter you can choose to automatically install it during the VM cloning process. In this case I am assuming you built the VM from an ISO file. While in vsphere you need to right-click the VM and choose Open Console, then choose VM, Guest, Install/upgrade VMware Tools. Now simply choose VM, Guest, Send Ctrl+Alt+Del and log onto the vm and follow the prompts. If it does not auto-start the VMware Tools CD, then use explorer to go the the D: drive and run the exe from there for the appropriate OS type. If you do not have a CD drive you need to add one to the VM. Once it is installed it will ask you to reboot, say yes and reboot.<br />
Once the VM has rebooted you can power it off and then edit it by right-clicking and choosing Edit Settings.<br />
Remove the E1000 NIC and add a new NIC the VMXNET 3. The e1000 NIC has issues and is slower than the VMXnet 3. Start your VM and add your IP and turn off the firewall and allow RDP and you can now access the VM remotely.</div>
James Stephanhttp://www.blogger.com/profile/04822443410627249979noreply@blogger.com1tag:blogger.com,1999:blog-1987562464177551449.post-26006158381140928822014-09-04T10:09:00.000-05:002014-09-04T10:09:03.071-05:00Setting VMware VM to AUTOSTART with the vhost.<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
Click on the configuration TAB and then choose the Virtual
Machine Startup/Shutdown on lower left. <o:p></o:p></div>
<div class="MsoNormal">
<!--[if gte vml 1]><v:shapetype
id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t"
path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="_x0000_i1026" type="#_x0000_t75" style='width:459.75pt;
height:249.75pt;visibility:visible'>
<v:imagedata src="file:///C:\Users\JAMES_~1\AppData\Local\Temp\msohtmlclip1\01\clip_image001.jpg"
o:href="cid:image007.jpg@01CCD760.0A167D20"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Then choose properties (light blue in upper right )<o:p></o:p></div>
<div class="MsoNormal">
<!--[if gte vml 1]><v:shape
id="_x0000_i1025" type="#_x0000_t75" style='width:437.25pt;height:281.25pt;
visibility:visible'>
<v:imagedata src="file:///C:\Users\JAMES_~1\AppData\Local\Temp\msohtmlclip1\01\clip_image002.jpg"
o:href="cid:image008.jpg@01CCD760.0A167D20"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Click on server name under Manual Startup and then click the
Move UP button. Once it is moved you can click OK.<o:p></o:p></div>
<br />
<div class="MsoNormal">
<br /></div>
</div>
James Stephanhttp://www.blogger.com/profile/04822443410627249979noreply@blogger.com1tag:blogger.com,1999:blog-1987562464177551449.post-69673032391723591812014-09-04T10:07:00.000-05:002014-09-04T10:07:21.895-05:00Using the Notes field for a VM to help with reports and knowing what that VM is and or does<div dir="ltr" style="text-align: left;" trbidi="on">
Once you have a VM built and you are using vsphere you can add a note to the VM so you know what is is or does.<br />
<br />
<div class="MsoNormal">
When you complete the server creation you will click on the
Virtual Servers Tab and then click in the Notes space at the end of the server.<o:p></o:p></div>
<div class="MsoNormal">
It will open a small dialog box, input the required data and then click in the white area out of the dialog box to save the information
added.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<!--[if gte vml 1]><v:shapetype
id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t"
path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" style='width:483.75pt;
height:268.5pt;visibility:visible'>
<v:imagedata src="file:///C:\Users\JAMES_~1\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"
o:href="cid:image003.png@01CCA9E2.43529390"/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b>NOTES: FYI<o:p></o:p></b></div>
<div class="MsoNormal">
When you create a server in either Hyper-V or VMware what
you name the server in the VM management tool is not the servers real name, so
you can call it anything, or make it as long as the VM manager
allows. The Real Server name is the name it is give within the windows OS.<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
In VMware if you are in the Virtual Machines Tab you can
right-click the Column header bar and edit what you see or do not want to see.
This is handy because if you allow the IP Address and one does not show
up, you will know that the VMware Tools has not be installed or needs
re-installed to repair an issue. Also you can see I want to see how much memory
and CPU’s are assigned per server.<o:p></o:p></div>
</div>
James Stephanhttp://www.blogger.com/profile/04822443410627249979noreply@blogger.com1tag:blogger.com,1999:blog-1987562464177551449.post-49287207459250223602014-09-04T10:02:00.001-05:002014-09-04T12:38:20.896-05:00how to set the SNMP community for a vhost with WinSCP<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="background-color: white; color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; font-size: 13px; line-height: 18.479999542236328px;">Make sure SSH and SNMPd are running on the Vhost.</span><br />
<span style="background-color: white; color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; font-size: 13px; line-height: 18.479999542236328px;">SNMPd is started by default if it fails to start do this <a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2056832">kb.vmware.com</a> it will fix the issue.</span><br />
<span style="background-color: white; color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; font-size: 13px; line-height: 18.479999542236328px;">SSH is not enable by default so you must enable it, to enable SSH while remoted to the vhost via vsphere client (you can download the vsphere client from the vhost by pointing a web browser at the IP of the vhost), In the configuration tab, choose "Security Profile" click properties (upper right) scroll to SSH and highlight it and then click the Options button, click Start, click OK, click OK. SSH is now running and when you reboot it will not be started. If you want it started and running all the time you need to have changed the option to start and stop with server..</span><br />
<br style="background-color: white; color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; font-size: 13px; line-height: 18.479999542236328px;" />
<span style="background-color: white; color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; font-size: 13px; line-height: 18.479999542236328px;">Then you start WwinSCP from a machine that can see the VHost on the network</span><br />
<span style="background-color: white; color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; font-size: 13px; line-height: 18.479999542236328px;">Input the name or IP of the VHost</span><br />
<span style="background-color: white; color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; font-size: 13px; line-height: 18.479999542236328px;">Input your Userid = usually root</span><br />
<span style="background-color: white; color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; font-size: 13px; line-height: 18.479999542236328px;">Input your password</span><br />
<span style="background-color: white; color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; font-size: 13px; line-height: 18.479999542236328px;">Choose SFTP</span><br />
<span style="background-color: white; color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; font-size: 13px; line-height: 18.479999542236328px;">Click Login</span><br />
<br style="background-color: white; color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; font-size: 13px; line-height: 18.479999542236328px;" />
<span style="background-color: white; color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; font-size: 13px; line-height: 18.479999542236328px;">if it says there is a connection error you either did not enable SSH on the vhost or your not on the same network as the vhost.</span><br />
<br style="background-color: white; color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; font-size: 13px; line-height: 18.479999542236328px;" />
<span style="background-color: white; color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; font-size: 13px; line-height: 18.479999542236328px;">If it asks you a really long question answer yes, now you will see a explorer like window and you can now find the Dell Open Manage install file (usually a zip file) and copy to the vhost. I usually put it in</span><span style="background-color: white; color: #666666; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 16.866666793823242px;">to </span><span style="background-color: white; color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; font-size: 11pt; line-height: 16.866666793823242px;"><span style="font-family: inherit;">/var/log/vmware, once the file is uploaded, you need to install the package. to do this simply click the</span></span><span style="background-color: white; color: #666666; font-family: Calibri, sans-serif; font-size: 11pt; line-height: 16.866666793823242px;"> </span><span style="background-color: white; color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; font-size: 11pt; line-height: 16.866666793823242px;"><span style="font-family: inherit;">little dark sqaure with HOM in it on under the texts menu. Click OK and it will open a console window on the vhost. now you just need to copy and paste your SNMP settings one line at a time. </span></span><br />
<span style="background-color: white; color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; font-size: 11pt; line-height: 16.866666793823242px;"><span style="font-family: inherit;"><br /></span></span>
<span style="background-color: white; color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; font-size: 11pt; line-height: 16.866666793823242px;"><span style="font-family: inherit;">Example:</span></span><br />
<span style="color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; font-size: 15px; line-height: 16.866666793823242px;">esxcli system snmp set --communities "COMMUNITY_NAME_HERE"</span><br />
<span style="color: #666666; font-family: Trebuchet MS, Trebuchet, Verdana, sans-serif;"><span style="font-size: 15px; line-height: 16.866666793823242px;">esxcli system snmp set --enable true</span></span><br />
<span style="color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; font-size: 15px; line-height: 16.866666793823242px;">esxcli system snmp get </span><br />
<span style="color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; font-size: 15px; line-height: 16.866666793823242px;"><br /></span>
<span style="color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; font-size: 15px; line-height: 16.866666793823242px;">First line is the SNMP Community name</span><br />
<span style="color: #666666; font-family: Trebuchet MS, Trebuchet, Verdana, sans-serif;"><span style="font-size: 15px; line-height: 16.866666793823242px;">Second line enables and load SNMP services with the name you just set</span></span><br />
<span style="color: #666666; font-family: Trebuchet MS, Trebuchet, Verdana, sans-serif;"><span style="font-size: 15px; line-height: 16.866666793823242px;">Third line show you the SNMP community and that SNMP services are running.</span></span><br />
<span style="background-color: white; color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; font-size: 11pt; line-height: 16.866666793823242px;"><span style="font-family: inherit;"><br /></span></span></div>
James Stephanhttp://www.blogger.com/profile/04822443410627249979noreply@blogger.com3tag:blogger.com,1999:blog-1987562464177551449.post-64861012465642877552014-09-04T09:55:00.002-05:002014-09-04T09:55:39.662-05:00How to access the vmware vhost and upload files and or install those files.<div dir="ltr" style="text-align: left;" trbidi="on">
Ok so I work Dell servers and as such we install the free product call Dell Open manage. The best way to get the install package to the server and then install it is by enabling SSH on the vhost and using a product WinSCP. You can get it here <a href="http://winscp.net/eng/download.php">http://winscp.net/eng/download.php</a> and also get Putty there is you need an easy product to manage your firewalls etc.<br />
<br />
SSH is not enable by default so you must enable it, to enable SSH while remoted to the vhost via vsphere client (you can download the vsphere client from the vhost by pointing a web browser at the IP of the vhost), In the configuration tab, choose "Security Profile" click properties (upper right) scroll to SSH and highlight it and then click the Options button, click Start, click OK, click OK. SSH is now running and when you reboot it will not be started. If you want it started and running all the time you need to have changed the option to start and stop with server..<br />
<br />
Then you start WwinSCP from a machine that can see the VHost on the network<br />
Input the name or IP of the VHost<br />
Input your Userid = usually root<br />
Input your password<br />
Choose SFTP<br />
Click Login<br />
<br />
if it says there is a connection error you either did not enable SSH on the vhost or your not on the same network as the vhost.<br />
<br />
If it asks you a really long question answer yes, now you will see a explorer like window and you can now find the Dell Open Manage install file (usually a zip file) and copy to the vhost. I usually put it in<span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;">to </span><span style="font-size: 11pt; line-height: 115%;"><span style="font-family: inherit;">/var/log/vmware, once the file is uploaded, you need to install the package. to do this simply click the</span></span><span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"> </span><span style="font-size: 11pt; line-height: 115%;"><span style="font-family: inherit;">little dark sqaure with HOM in it on under the texts menu. Click OK and it will open a console window on the vhost. now you just need to copy and paste the install command </span></span><span style="font-size: 11pt; line-height: 115%;"><span style="font-family: Calibri, sans-serif; font-weight: bold;">esxcli software vib install -d /var/log/vmware/</span><span style="color: red; font-family: Calibri, sans-serif;"><b>OM-SrvAdmin-Dell-Web-7.1.0-5304.VIB-ESX50i_A00.zip (note edit the file name to the current version)</b> </span><span style="font-family: inherit;">click Exceute and it will install the Dell Open manage package and you will need to rebot the vhost.</span></span></div>
James Stephanhttp://www.blogger.com/profile/04822443410627249979noreply@blogger.com1tag:blogger.com,1999:blog-1987562464177551449.post-9260633747552937092014-09-04T09:28:00.000-05:002014-09-05T14:37:55.575-05:00Best free tool from vmware is vmware converter<div dir="ltr" style="text-align: left;" trbidi="on">
If you do not know about vmware converter you are either new at vmware or brain dead, however I feel it would be remiss of me to not mention it for any newbies.<br />
<br />
So here is the link <a href="http://www.vmware.com/products/converter">http://www.vmware.com/products/converter</a> if want to learn more about what vmnware converter is download and read the user guide.<br />
<br />
<b>Brief over view:</b><br />
VMware vCenter Converter Standalone is a scalable solution to convert <u><span style="color: red;">virtual and physical machines</span></u> to<br />
VMware virtual machines. You can also configure existing virtual machines in your vCenter Server<br />
environment.<br />
<br />
Converter Standalone eases the exchange of virtual machines among the following products.<br />
<br />
<ul style="text-align: left;">
<li>VMware hosted products can be both conversion sources and conversion destinations.</li>
<li>VMware Workstation</li>
<li>VMware Fusion™</li>
<li>VMware Server</li>
<li>VMware Player</li>
<li>Virtual machines running on an ESX instance that vCenter Server manages can be both conversion sources</li>
<li>and conversion destinations.</li>
<li>Virtual machines running on unmanaged ESX hosts can be both conversion sources and conversion</li>
<li>destinations.</li>
<li>You can also use VMware Consolidated Backup (VCB) images to create VMware virtual machines.</li>
</ul>
<br />
<div>
I use it to clone VM's and to make Physical Servers into VM's (remember if you make a physical into a virtual you need to uninstall the video and NIC type special driver manager stuff from the VM as it will just be wasting resources on your VM). I also use it to move a VM from one vhost to another if you do not have Vcenter and I have used it to change the drive size of IDE hard drives to large or smaller as needed.<br />
<br />
<b><span style="color: red;">NOTE: unless you have vcenter or vsphere web client DO NOT MAKE THE VM's VERSION 10 as version 10 can only be edited from the vsphere web client or the powerCLI command line. Make them version 9 or less. However there is a post about how to convert a version 10 to 9 in this blog.</span></b></div>
</div>
James Stephanhttp://www.blogger.com/profile/04822443410627249979noreply@blogger.com0tag:blogger.com,1999:blog-1987562464177551449.post-46659420328066132312014-09-04T09:09:00.002-05:002014-09-04T09:09:41.821-05:00Free tool to find your ESXI hosts.<div dir="ltr" style="text-align: left;" trbidi="on">
WMware Scanner is a must have if you need to see who or what Vmware vhosts are out on your network.<br />
<br />
<a href="http://www.run-virtual.com/?page_id=38">http://www.run-virtual.com/?page_id=38</a> this is the link, there are several other apps you might find useful.<br />
<br />
When you run this app, just input the IP range to scan and it will scan and report any vmware vhosts is finds in a file it will write in the directory from which the app was launched called vmw_servers.txt.<br />
<br />
SAMPLE OF FILE<br />
100.1.101.13, VMware ESXi 5.5.0 build-1746018<br />
100.1.101.36, VMware ESXi 5.5.0 build-1746018<br />
100.1.101.12, VMware ESXi 5.5.0 build-1746018<br />
100.1.101.156, VMware ESXi 5.0.0 build-469512<br />
<br />
It does not return the name but it will give you the LAN IP and version of vmware.</div>
James Stephanhttp://www.blogger.com/profile/04822443410627249979noreply@blogger.com1tag:blogger.com,1999:blog-1987562464177551449.post-6118438906885764012014-09-04T09:00:00.005-05:002014-09-04T09:00:50.663-05:00This blog is about the cool apps or work arounds or scripts I find that make my life eaiser. --- Highlighting RVTOOLS<div dir="ltr" style="text-align: left;" trbidi="on">
So far I have been involved in Hyper-v and Vmware and I been recently introduced into the VCenter and PowerCLI. So mostly I will be blogging about my discoveries and Powershell and PowerCLI scripts.<br />
<br />
First App that is a must for any vmware user is the best free tool I have ever found, well I once found a really nice set of pump pliers on the side of the road that I still use all the time, but the best software tool I have ever found for vmware ESXi and VCenter is RVTools located at <a href="http://www.robware.net/">http://www.robware.net/</a>. This reporting tool is by far the single greatest find I have ever used.<br />
<br />
<span style="background-color: #fefefe; color: #0f1419; font-family: verdana, geneva, sans-serif; font-size: 14px;">RVTools is a windows .NET 2.0 application which uses the VI SDK to display information about your virtual machines and ESX hosts. Interacting with VirtualCenter 2.5, ESX Server 3.5, ESX Server 3i, VirtualCenter 4.x, ESX Server 4.x, VirtualCenter 5.0, VirtualCenter Appliance, ESX Server 5.0, VirtualCenter 5.1, ESX Server 5.1,</span><span style="background-color: #fefefe; color: #0f1419; font-family: verdana, geneva, sans-serif; font-size: 14px;"> VirtualCenter 5.5, ESX Server 5.5</span><span style="background-color: #fefefe; color: #0f1419; font-family: verdana, geneva, sans-serif; font-size: 14px;">. RVTools is able to list information about VMs, CPU, Memory, Disks, Partitions, Network, Floppy drives, CD drives, Snapshots, VMware tools, Resource pools, Clusters, ESX hosts, HBAs, Nics, Switches, Ports, Distributed Switches, Distributed Ports, Service consoles, VM Kernels, Datastores, Multipath info and health checks. With RVTools you can disconnect the cd-rom or floppy drives from the virtual machines and RVTools is able to update the VMware Tools installed inside each virtual machine to the latest version.</span><br />
<span style="background-color: #fefefe; color: #0f1419; font-family: verdana, geneva, sans-serif; font-size: 14px;"><br /></span>
<span style="background-color: #fefefe; color: #0f1419; font-family: verdana, geneva, sans-serif; font-size: 14px;">Download it, point it at the IP of your standalone ESXi host or Vcenter server and you will have the most info you can get with little or no effort from vmware about the host and the VM's. Not to mention the cool features listed in the last sentence of the above paragraph.</span></div>
James Stephanhttp://www.blogger.com/profile/04822443410627249979noreply@blogger.com0