June 25, 2008
To allow the root user to login to a VMware ESX Server over the network using SSH, do the following:
- Go to the service console on the physical server & login
- nano /etc/ssh/sshd_config
- Change the line that says PermitRootLogin from “no” to “yes”
- do service sshd restart or etc/init.d/sshd restart
Note:
1. Firewall allow SSH Services.
2. Allowing root logins via SSH is not considered. (security best practice)
3. Users should create non-privileged accounts to use with SSH (not root), then use su or sudo once you have logged into the console.
Leave a Comment » |
Virtualization | Tagged: ESX |
Permalink
Posted by iswarade
June 11, 2008
If you’re getting the “windows customization resources were not found” error when trying to clone a vm from a template, then here is the answer.
Copy the contents of “Windows 2003 – CDSUPPORTTOOLSDEPLOY.CAB” into the folder “C:Documents and SettingsAll UsersApplication DataVMwareVMware VirtualCentersysprepsvr2003” on your Virtual Center server. Everything should be working now.
Windows Requirements for Guest Customization
Guest customization of a Windows guest operating system can occur if:
o The guest operating system is not a primary or backup domain controller.
o The clone or template has one of the following Windows versions installed:
-
Windows 2000 Server or Advanced Server
-
Windows XP Professional
-
Windows Server 2003, Web, Standard, or Enterprise Editions
Note: A Windows XP Home operating system guest customization is not supported.
o The Microsoft Sysprep tools are installed on the VirtualCenter management server.
o Microsoft Sysprep tools : http://www.microsoft.com/downloads/details.aspx?FamilyID=a34edcf2-ebfd-4f99-bbc4-e93154c332d6&DisplayLang=en
2 Comments |
Virtualization | Tagged: ESX |
Permalink
Posted by iswarade
June 10, 2008
For Bus Logic Driver:
-
-
Create a new Windows XP Virtual Machines
-
Set the BusConfiguration within the Server Configuration to use BusLogic instead of Default
-
Attach the Windows XP Volume-license iso media and floppy file to the server configuration
-
Startup the Application Configuration
-
Within the VI client attach the flp file found in your local folder. Select “Use existing floppy in datastore” and enter the following: /vmimages/floppies/vmscsi-1.2.0.4.flp
Insure power is on and connect for the floppy.
- Restart the machine while Consoled into the box
-
Select ESC on startup and Select CD-ROM Device on the Boot Menu
-
During the OS install select F6 in order to use of a 3rd party VMware scsi driver found on the A: Drive (floppy drive).
This will allow the OS to see the Hard drive for installation.
-
Push “S” to select “S=Specify Additional Device”
-
Push “Enter” to select ”VMware SCSI Controller”
-
Install OS
For LSI Logic Driver:
Donload driver at http://www.lsilogic.com/cm/DownloadSearch.do and search for a driver for the LSI20320-R controller. Extract all files in the symmpi_wXP_1201800.ZIP. Use a program such as WinImage to create an LSILogic.flp
Leave a Comment » |
Virtualization | Tagged: ESX |
Permalink
Posted by iswarade
June 10, 2008
- Verify the format and content of /etc/hosts.The hosts file is expected to have the following format:
127.0.0.1 localhost.localdomain localhost
192.168.1.10 server.domain.com server
- Verify the contents of /etc/sysconfig/network. Confirm that the proper values for your environment exist for the fully qualified hostname and gateway. Consult your network administrator if you are unsure. For example:
NETWORKING=yes
HOSTNAME=server.domain.com
GATEWAY=192.168.1.1
GATEWAYDEV=vswif0
- Verify that /etc/sysconfig/network-scripts/ifcfg-vswif0 has the correct settings for IP address (IPADDR), subnet mask (NETMASK), and network (NETWORK). Consult your network administrator if you are unsure. For example:
DEVICE=vswif0
BOOTPROTO=static
BROADCAST=192.168.1.255
IPADDR=192.168.1.10
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes
PORTGROUP=”Service Console”
MACADDR=00:50:56:4a:66:ba
- Run the following command to display the routing table:[root@server root]# route –n
You will see output similar to the following:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 vswif0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 vswif0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 vswif0 Ensure that the second column of the row flagged with UG matches the gateway address for your environment.
- Verify the DNS information in /etc/resolv.conf is correct for your environment.
search domain.com
nameserver 192.168.1.2
nameserver 192.168.1.3
- Verify network connectivity between systems with PING command.
2 Comments |
Virtualization | Tagged: ESX |
Permalink
Posted by iswarade