Thursday, November 12, 2009
Wednesday, November 4, 2009
Entering ESX Maintenance Mode via Command Line
To enter a ESX Server in Maintenance Mode, at the ESX console you need to type the following command:
vimsh -n -e /hostsvc/maintenance_mode_enter
To exit Maintenance Mode type:
vimsh -n -e /hostsvc/maintenance_mode_exit
To display whether the ESX Server is currently in maintenance mode or not type the following command:
vimsh -n -e"hostsvc/hostsummary" | grep inMaintenanceMode
vimsh -n -e /hostsvc/maintenance_mode_enter
To exit Maintenance Mode type:
vimsh -n -e /hostsvc/maintenance_mode_exit
To display whether the ESX Server is currently in maintenance mode or not type the following command:
vimsh -n -e"hostsvc/hostsummary" | grep inMaintenanceMode
How to Report ESX VMware Version
Logon to ESX Service Cosole.
At the ESX service console type:
vmware -v
This command should display the ESX VMware version details.
At the ESX service console type:
vmware -v
This command should display the ESX VMware version details.
How to enable remote SSH on VMware ESX 3.x
Navigate to the ssh folder, eg:
cd /etc/ssh
Open the sshd_config file with a text editor.
Go to the line in the file which reads PermitRootLogin no and change the no to yes.
Save the changes to the file and finally, restart the sshd service by typing the folowing command:
service sshd restart
cd /etc/ssh
Open the sshd_config file with a text editor.
Go to the line in the file which reads PermitRootLogin no and change the no to yes.
Save the changes to the file and finally, restart the sshd service by typing the folowing command:
service sshd restart
Tuesday, November 3, 2009
VM Template best practices Windows
All the credits to Leo from Core-IT for compiling all the information togather.
VM Templates Best Practices Windows
VM Templates Best Practices Windows
Installing ESX 4.0 and vCenter 4.0 best practices
This information was found on Vmware KB Site Clich Here
Running Diagnostics Against Active Directory Domain
Makesure you have the support tools installed on the server from the CD
Location: d:\support\tools\setup.exe
Run dcdiag, netdiag and repadmin, you need to run them in verbose mode.
dcdiag /e /c /v /s:(Domain Controller Name) /f:c:\dcdiaglogfile.log
netdiag.exe /v > c:\netdiaglogfile.log
repadmin.exe /showrepl (Domain Controller) /verbose /all /intersite > c:\repllogfile.txt
Once the log files are gernerated then just search the log files for the Fail and Warning messages.
Location: d:\support\tools\setup.exe
Run dcdiag, netdiag and repadmin, you need to run them in verbose mode.
dcdiag /e /c /v /s:(Domain Controller Name) /f:c:\dcdiaglogfile.log
netdiag.exe /v > c:\netdiaglogfile.log
repadmin.exe /showrepl (Domain Controller) /verbose /all /intersite > c:\repllogfile.txt
Once the log files are gernerated then just search the log files for the Fail and Warning messages.
Troubleshooting File Replication Service
You need to type the following command at a command prompt on the computer that logged the FRS event ID 13508 and then press ENTER:
ntfrsutl version
For Example the command will output the following Information:
ntfrsutl version (FQDN of the rmote server)
NtFrsApi Version Information
NtFrsApi Major : 0
NtFrsApi Minor : 0
NtFrsApi Compiled on: Feb 16 2007 20:01:19
NtFrs Version Information
NtFrs Major : 0
NtFrs Minor : 0
NtFrs Compiled on : Mar 24 2005 15:06:43
Latest changes:
Install Override fix
OS Version 5.2 (3790) -
SP (1.0) SM: 0x0112 PT: 0x02
Processor: INTEL Level: 0x000f Revision: 0x0209 Processor num/mask: 2/00000003
ntfrsutl version
For Example the command will output the following Information:
ntfrsutl version (FQDN of the rmote server)
NtFrsApi Version Information
NtFrsApi Major : 0
NtFrsApi Minor : 0
NtFrsApi Compiled on: Feb 16 2007 20:01:19
NtFrs Version Information
NtFrs Major : 0
NtFrs Minor : 0
NtFrs Compiled on : Mar 24 2005 15:06:43
Latest changes:
Install Override fix
OS Version 5.2 (3790) -
SP (1.0) SM: 0x0112 PT: 0x02
Processor: INTEL Level: 0x000f Revision: 0x0209 Processor num/mask: 2/00000003
Subscribe to:
Posts (Atom)