Wednesday, June 12, 2013

HP Proliant Server Bios Setting for VSphere 5.0

Below setting is recommendation from HP Support


SettingSetting
Server Availability > ASR StatusDisabled
Advanced Options > Virtual Install DiskDisabled
System Options > Power Regulator for ProLiantOS Control Mode
AMD: Advanced Options > Processor Options > AMD VirtualizationEnabled
AMD: Advanced Options > Processor Options > No-Execute Page-ProtectionEnabled
INTEL: Advanced Options > Processor Options > Intel Virtualization Technology (VT)Enabled
INTEL: Advanced Options > Processor Options > Intel eXecute DisableEnabled

Monday, June 3, 2013

How to enable SSH on ESX 5 via vSphere Client

OK, so this is probably one of the easiest tasks to perform but its strange how many times I get asked how to enable this for remote access. I guess, most things people are really interested in are the new features which each version of ESX brings and may forget about the mundane stuff you may need for day to day admin.
  • First start the vSphere Client
  • Select the ESXi host in the configurations tab
  • Select Security Profile
  • Click on Properties in the upper right corner and you will get the a popup with all the services on this ESXi 5.0 hosts. Select the SSH service and press the Options button.
  • Now you can start the services and set the startup options
  • press okay and you are done..
that was easy wasn’t it

Windows PowerShell 3.0 Shortcuts

Type Shortcuts

When you specify a type name, PowerShell lets you use a short form for some of the most common types, as listed in Table
Type shortcut Full classname

[Adsi] [System.DirectoryServices.DirectoryEntry]
[AdsiSearcher] [System.DirectoryServices.DirectorySearcher]
[Float] [System.Single]
[Hashtable] [System.Collections.Hashtable]
[Int] [System.Int32]
[IPAddress] [System.Net.IPAddress]
[Long] [System.Collections.Int64]
[PowerShell] [System.Management.Automation.PowerShell]
[PSCustomObject] [System.Management.Automation.PSObject]
[PSModuleInfo] [System.Management.Automation.PSModuleInfo]
[PSObject] [System.Management.Automation.PSObject]
[Ref] [System.Management.Automation.PSReference]
[Regex] [System.Text.RegularExpressions.Regex]
[Runspace] [System.Management.Automation.Runspaces.Runspace]
[RunspaceFactory] [System.Management.Automation.Runspaces.RunspaceFactory]
[ScriptBlock] [System.Management.Automation.ScriptBlock]
[Switch] [System.Management.Automation.SwitchParameter]
[Wmi] [System.Management.ManagementObject]
[WmiClass] [System.Management.ManagementClass]
[WmiSearcher] [System.Management.ManagementObjectSearcher]
[Xml] [System.Xml.XmlDocument]

[TypeName] [System.TypeName]

Export the DHCP database from a server that is running Microsoft Windows Server 2003

To move a DHCP database and configuration from a server that is running Windows Server 2003 to another server that is running Windows Server 2003:
  1. Log on to the source DHCP server by using an account that is a member of the local Administrators group.
  2. Click Start, click Run, type cmd in the Open box, and then click OK.
  3. Type netsh dhcp server export C:\dhcp.txt all, and then press ENTER.

Note You must have local administrator permissions to export the data.