I was getting a error/warning in my eventviewer.
WMI ADAP was unable to load the ASP.NET performance library because it returned invalid data: 0x0
Resolve this by:
To prevent the performance counter library (Perflib) from checking counters, you can disable the Extensible Performance Counters library or remove it. Use one of the following methods to do this:• To use the Extensible Counter tool (ExCtrlLst.exe) to disable the Perfctrs.dll performance counters, follow these steps:1. Start the Exctrlst.exe tool. This tool is in the Microsoft Windows 2000 Resource Kit.
2. Select the DLL (Perfctrs.dll) that did not open in the Extensible Performance Counters list box.
3. Click to clear the Performance Counters Enabled check box.
4. Restart the computer.
Monday, 18 May 2009
Version of sysprep
ICT-freak has a great post about the sysprep version. Which one to use on vcenter server.
See
http://ict-freak.nl/2009/05/12/vmware-determining-the-correct-version-of-sysprep-to-use/
See
http://ict-freak.nl/2009/05/12/vmware-determining-the-correct-version-of-sysprep-to-use/
Tuesday, 5 May 2009
Add role to user
In my quest to learn vmware:
Adding permissions to a user.
Use the VI Client to connect to the ESX server.
Select the Server in the left pane, and then click on the Users & Groups tab in the right pane.
Create User:
Click on the Users button
Right Click and Select Add
Specify the desired User Name, Password, etc and Click OK
Create a Local Group
Click on the Groups button
Right click and select Add
Enter the group name you want and enter the User Name you created above in the User Name field and click Add
Click OK to create the group
Assign Permissions
Click on the Permissions Tab
Right Click and Select Add Permission
Click on the Add button and select the Group you created above and click on the Add button.
Click on the OK button.
Make sure the Assigned Role is set to Read-Only and click OK.
The information was from this thread. Thanks bflynn0!~
http://communities.vmware.com/thread/101775
Adding permissions to a user.
Use the VI Client to connect to the ESX server.
Select the Server in the left pane, and then click on the Users & Groups tab in the right pane.
Create User:
Click on the Users button
Right Click and Select Add
Specify the desired User Name, Password, etc and Click OK
Create a Local Group
Click on the Groups button
Right click and select Add
Enter the group name you want and enter the User Name you created above in the User Name field and click Add
Click OK to create the group
Assign Permissions
Click on the Permissions Tab
Right Click and Select Add Permission
Click on the Add button and select the Group you created above and click on the Add button.
Click on the OK button.
Make sure the Assigned Role is set to Read-Only and click OK.
The information was from this thread. Thanks bflynn0!~
http://communities.vmware.com/thread/101775
Monday, 6 April 2009
Buslogic to Lsi
Why this is necessary
Vmware recommended setting is to use the LSI driver instead of the Buslogic driver. The purpose of this document is to increase the performance of the virtual machine by changing the SCSI adapter from Buslogic to LSIlogic.
1.2 How to
Make sure the machine’s harddisk is on persistent.
Browse to the datastore.
Download the vmx file to your desktop.
Always keep a backup of the vmx file. So make a extra copy of it.
We are manually installing an extra scsi LSI controller in the vmx file.
Open the vmx file in Notepad ++ make sure it is working in unix format. Because it could happen that the vmx file is wrongly read by esx if it is in windows format.
Find the entry in the vmx file.
scsi0.present = "true"
scsi0.virtualDev = "buslogic"
If it does not exist’s create the entry.
Now we are going to add the new lsi scsi adapter.
Add the line behind the scsi0.
scsi1.present = "true"
scsi1.virtualDev = "lsilogic"

Save the vmx file.
And upload it to the datastore.
Boot the machine and see that u have 2 scsi controllers!

one lsi and one buslogic.
Login to the machine and check device manager.

If the driver is not automaticly installed (click search )
Then download the driver from www.lsilogic.com search for LSI20320 (windows xp x86 32bit)
Do not install the latest driver (as written1.28) but download WHQL 1.20.18.00 MID 1005239 Initiator/Target bios/fw and Microsoft Certified driver.
Once installed shutdown the virtual machine.
Download the vmx file.
Edit vmx file.
Remove the 2 entries
scsi1.present = "true"
scsi1.virtualDev = "lsilogic"
Save the vmx file
Upload it to the correct datastore.
Change the scsi driver from buslogic to lsilogic.
Boot the machine and you will have a much better performance
Vmware recommended setting is to use the LSI driver instead of the Buslogic driver. The purpose of this document is to increase the performance of the virtual machine by changing the SCSI adapter from Buslogic to LSIlogic.
1.2 How to
Make sure the machine’s harddisk is on persistent.
Browse to the datastore.
Download the vmx file to your desktop.
Always keep a backup of the vmx file. So make a extra copy of it.
We are manually installing an extra scsi LSI controller in the vmx file.
Open the vmx file in Notepad ++ make sure it is working in unix format. Because it could happen that the vmx file is wrongly read by esx if it is in windows format.
Find the entry in the vmx file.
scsi0.present = "true"
scsi0.virtualDev = "buslogic"
If it does not exist’s create the entry.
Now we are going to add the new lsi scsi adapter.
Add the line behind the scsi0.
scsi1.present = "true"
scsi1.virtualDev = "lsilogic"
Save the vmx file.
And upload it to the datastore.
Boot the machine and see that u have 2 scsi controllers!
one lsi and one buslogic.
Login to the machine and check device manager.
If the driver is not automaticly installed (click search )
Then download the driver from www.lsilogic.com search for LSI20320 (windows xp x86 32bit)
Do not install the latest driver (as written1.28) but download WHQL 1.20.18.00 MID 1005239 Initiator/Target bios/fw and Microsoft Certified driver.
Once installed shutdown the virtual machine.
Download the vmx file.
Edit vmx file.
Remove the 2 entries
scsi1.present = "true"
scsi1.virtualDev = "lsilogic"
Save the vmx file
Upload it to the correct datastore.
Change the scsi driver from buslogic to lsilogic.
Boot the machine and you will have a much better performance
Wednesday, 1 April 2009
Virtual Machine VMware Converter 4 Standalone.
Virtual Machine VMware Converter 4 Standalone.
http://www.vmware.com/download/converter/
http://www.vmware.com/download/converter/
Friday, 20 March 2009
Ran into scripts
In searching for the script.
Scripts from several person's
http://www.virtual-strategy.com/Eric-Siebert-s-Top-10/Top-10-PowerShell-scripts-that-VMware-administrators-should-use.html
Quick Migration
A script from Mike DePetrillo that duplicates the Quick Migration of HyperV in a VMware environment by suspending a running VM and moving it to another ESX host server.
Report into MS Word
A script from Alan Renouf that provides a report in Microsoft Word of the virtual machines in your environment with graphs and pie charts.
Dynamic Resource Pool Calculator
A script from Eric Sloof that recalculates all of your resource pools and can automatically increase memory and CPU reservations. It can be run interactively using a GUI or through a command line with arguments.
VMware Infrastructure Power Documenter
A script from Antonio Zamora that produces many different detailed reports about your VMware environment in Open XML format.
ESX Automated Configuration Midwife
A script from Lance Berc that adds a new ESX host to VirtualCenter and configures networking, storage, VMotion and a few other things.
VMware Health Check script
A script that produces a report of your VMware environment including information on snapshots, datastores, VMware tools versions, mapped CD-ROM drives and more.
Track Datastore Free Space
A script from Hugo Peeters that produce reports that track free space on your datastores so you can see how it changes over time.
List disk RDMS
A script that lists any Raw Device Mappings (RDMs) that exist in your environment which is helpful as RDM’s are not listed in the datastore list of ESX servers.
Find snapshots and send email to user/users with
A script from Chris Uys that emails a report of snapshots that are running in your VMware environment.
Setting Video Hardware Acceleration Level
A script from Hugo Peeters that sets the video hardware acceleration level inside Windows VMs to Full so they perform properly in a VMware environment.
Scripts from several person's
http://www.virtual-strategy.com/Eric-Siebert-s-Top-10/Top-10-PowerShell-scripts-that-VMware-administrators-should-use.html
Quick Migration
A script from Mike DePetrillo that duplicates the Quick Migration of HyperV in a VMware environment by suspending a running VM and moving it to another ESX host server.
Report into MS Word
A script from Alan Renouf that provides a report in Microsoft Word of the virtual machines in your environment with graphs and pie charts.
Dynamic Resource Pool Calculator
A script from Eric Sloof that recalculates all of your resource pools and can automatically increase memory and CPU reservations. It can be run interactively using a GUI or through a command line with arguments.
VMware Infrastructure Power Documenter
A script from Antonio Zamora that produces many different detailed reports about your VMware environment in Open XML format.
ESX Automated Configuration Midwife
A script from Lance Berc that adds a new ESX host to VirtualCenter and configures networking, storage, VMotion and a few other things.
VMware Health Check script
A script that produces a report of your VMware environment including information on snapshots, datastores, VMware tools versions, mapped CD-ROM drives and more.
Track Datastore Free Space
A script from Hugo Peeters that produce reports that track free space on your datastores so you can see how it changes over time.
List disk RDMS
A script that lists any Raw Device Mappings (RDMs) that exist in your environment which is helpful as RDM’s are not listed in the datastore list of ESX servers.
Find snapshots and send email to user/users with
A script from Chris Uys that emails a report of snapshots that are running in your VMware environment.
Setting Video Hardware Acceleration Level
A script from Hugo Peeters that sets the video hardware acceleration level inside Windows VMs to Full so they perform properly in a VMware environment.
LSI powershell script
Im trying to find a lsi powershell script to add a lsi scsi device to +/- 40 machines..
Subscribe to:
Posts (Atom)