VMWare Server (Host) and Guest Setup Procedure
From Nuclear Physics Group Documentation Pages
Using VMWare Server 2 Web Interface
Important Note:
To make a connection to login and use the remote console use these two commands: Make sure to enter both of these commands before logging into the https://localhost:8333. ssh -L 8333:localhost:8333 taro.unh.edu ssh -L 8334:localhost:8334 taro.unh.edu
VMWare Server (Host) Setup
Important Note:
In the initial setup of vmware server make sure to change the following line 2 in the /etc/vmware/config authd.client.port = "902" to authd.client.port = "8334"
Important Note:
When restarting VMWare Server 2.0 make sure to use these commands, to restart VMWare and the Web management server: /etc/init.d/vmware restart sudo /sbin/service vmware-mgmt restart
VMWare Guest Setup
Setting up VMWare Appliances
1. Download the virtual appliance. 2. Put the unpacked files in a directory accesible by VMWare Server. Note: Make sure that the preferences file (~/.vmware) in your /net/home directory has the correct permissions to run the vmware server. To change the permissions use this command: sudo chown username:npg /net/home/username/.vmware 3. Start vmware server with this command: sudo vmware 4. Select connect to localhost and click "Connect". 5. In vmware server click "Open a virtual machine". 6. Then "Browse" for the files (.vmx) you unpacked earlier. Now the server should be in the sidebar of the vmware server display. 7. Before starting the machine click "Edit ..." and go through the settings. Note: Make sure to go through the setting and check for network to be set to bridge and the hard disk size. If the hard drive has to be resized you can use the vmware-vdiskmanager. If you initially setup 2 physical interfaces in the vmware server setup, only one is bridged in the virtual machine, so in the settings add a ethernet interface that is connected to the vmnetx that is bridged with the 2nd interface.
Important Note: Check to see what devices are bridged to what ps -ef |grep vmnet-bridge root 9267 1 0 14:34 ? 00:00:00 /usr/bin/vmnet-bridge -d /var/run/vmnet-bridge-0.pid /dev/vmnet0 eth0 root 9275 1 0 14:34 ? 00:00:00 /usr/bin/vmnet-bridge -d /var/run/vmnet-bridge-2.pid /dev/vmnet2 eth1