Thursday, 15 December 2011

Montoring ESXi with SNMP

Open ESXCLI from your PC.


vicfg-snmp.pl --server 10.0.x.x --u root --p youresxipassword --comm PUBLIC
vicfg-snmp.pl --server 10.0.x.x --u root --p youresxipassword  --enable

vCentre SYSPREP file downloads and locations

Sysprep 1.1 files
Location: C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\sysprep\1.1 


or:
C:\ProgramData\VMware\VMware vCenter Converter Standalone\sysprep\1.1
Download: [download]
Instructions: Extract the EXE download and copy the contents of the tools folder to the 1.1 folder.
Windows 2000
Location: C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\sysprep\2k


or:
C:\ProgramData\VMware\VMware vCenter Converter Standalone\sysprep\2k
Download: [ SP4 download]
Instructions: Extract the EXE download and then open this file: i386\deploy.cab. Copy the contents of the file to the 2k folder.
Windows 2003
Location: C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\sysprep\svr2003

or:
C:\ProgramData\VMware\VMware vCenter Converter Standalone\sysprep\svr2003
Download: [SP2 download]
Instructions: Run the EXE and then open this file: c:\windows\system32\deploy.cab. Copy the contents to the svr2003 folder.
Windows 2003 x64
Location: C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\sysprep\svr2003-64


or:
C:\ProgramData\VMware\VMware vCenter Converter Standalone\sysprep\svr2003-x64
Download: [SP2 download]
Instructions: Extract the contents of the EXE and then extract the file SP2QFE\deploy.cab. Copy those files to the svr2003-64 folder.
Windows XP
Location: C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\sysprep\xp


or:
C:\ProgramData\VMware\VMware vCenter Converter Standalone\sysprep\xp
Download: [SP2 download]
Instructions: Open the CAB file download and copy the contents to the xp folder.
Windows XP x64
Location: C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\sysprep\xp-64


or:
C:\ProgramData\VMware\VMware vCenter Converter Standalone\sysprep\xp-64
Download: [SP2 download]
Instructions: Extract the contents of the EXE and then extract the file SP2QFE\deploy.cab. Copy those files to the xp-64 folder.

VMWare VMKernal ports and over subscription with Equallogic SANs

Previously it was possible to assign multiple VMkernel ports to physical nics. This was called over subscribing and was done to attempt to obtain more bandwidth for the environment especially when the ESX server had 10Gb nics and the SAN was running multiple 1Gb ports. Dell and VMware have changed the support for this practice and now only recommend using a 1:1 VMkernel binding process as described in this updated technical report.



Wednesday, 14 December 2011

Error: "Initiator wanted to skip security phase but we cannot." or "Initiator tried to bypass the security phase but we cannot."

This gets me every time I setup an EQL box.


Error: "Initiator wanted to skip security phase but we cannot." or "Initiator tried to bypass the security phase but we cannot."


To fix this open the EQL GUI web interface. Click the iSCSI tab and click Prevent unauthorised hosts from discovering targets.



Tuesday, 29 November 2011

All OUs in this domain should be protected from accidental deletion


Get-ADOrganizationalUnit -filter * -Properties ProtectedFromAccidentalDeletion | where {$_.ProtectedFromAccidentalDeletion -eq $false} | Set-ADOrganizationalUnit -ProtectedFromAccidentalDeletion $true

SBS 2011 move SharePoint wizard breaks SharePoint

After installing SBS 2011 you should always use the wizard to move the data files off the system drive elsewhere. I did this with the SharePoint data after patching the server, but later found SharePoint was broken.


After some hacking around I discovered that the crappy wizard had not changed the paths in the registry. I altered these manually, then restarted the server and all was well again.


Thanks Microsoft! Sloppy code!