VMware

Knorrhane

October 18, 2007


0


Cant locate vmware/ vmperl.pm and some more text.

Login as root and excute following command to rebuild perl.

vmware-config.pl

0 Comments Permalink
0

Links for ESX

Posted by nikkar Oct 18, 2007

http://vmetc.com/

http://vmreference.googlepages.com/esx3

http://www.rtfm-ed.eu/docs/vmwdocs/esx3.x-vc2.x-serviceconsole-guide.pdf

Some good linux command for those who used to work in window enviroments

See module 2 and forth.

http://www.esxguide.com/esx/component/option,com_frontpage/Itemid,1/

Good info on service console commands.

0 Comments Permalink
0

Vad är en knorrhane

Posted by nikkar Oct 18, 2007


Knorrhane (+Trigla gurnardus+) även kallad knot eller gnoding, är en bottenfisk i gnodingsläktet (+Trigla+), familjen Triglidae.

Knorrhanen och närbesläktade arter har ett stort pyramidformigt huvud och kroppen täcks av mycket små fjäll. Mest utmärkande är bröstfenorna, vilka har tre tjocka, ledade fenstrålar som fisken använder som känselspröt vid näringssöket nära botten. Flera arter kan frambringa ljud - antagligen från simblåsan - och detta ger knorrhanen dess namn. Till skillnad från sina släktingar har knorrhanen benplattor som täcker sidolinjen, och dess fria fenstrålar har endast en led istället för två.

Knorrhanen är en kustfisk och fås emellanåt i nät, men saknar ekonomisk betydelse. Den förekommer från södra Östersjön och upp längs norska kusten.

De enda övriga arter i släktet som förekommer i svenska vatten är fenknoten (storgnoding, +Trigla hirundo+) och rödknoten (+T. cuculus+), den senare är mycket sällsynt.

Den här artikeln är hämtad från http://sv.wikipedia.org/wiki/Knorrhane

0 Comments Permalink
1

Expand vmdk files

Posted by nikkar Oct 18, 2007

Expand vmdks files

/usr/sbin/vmkfstools -X 20000M(newsize) ./name on vmdk file that you want to expand.

For exampel vmkfstools -X 8192m sanVOL3:data.vmdk

In windows do the following:

diskpart

List volume

select volume number on the volume

extend (expands the whole volume)

1 Comments Permalink
2

Restarting management agents VI3

Posted by nikkar Oct 18, 2007


Restarting management agents VI3

Alternately, before re-adding the ESX host to VCS try restarting the Management Agent that runs on ESX.

CLI: service mgmt-vmware restart

2 Comments Permalink
7

Changing the IP address of service console in ESX 3.x

Written by Damian Murdoch

Friday, 15 December 2006

If you want to change the IP address of the service console in ESX 3.x you can using a command in the service console. Read on for more.

To change the IP address of the ESX 3.x host, you need to change the configuration of the vswif. By default this is vswif0 and this is assumed in this document. Login to the service console with root permissions, either by using root or doing a su - to get the permissions.

Once in the service console runt the command "esxcfg-vswif -d vswif0". This command deletes the existing vswif0. Don't worry if you get a message about nothing to flush. Then you need to run the command to change the ip address, subnet mask and broadcast address. They are also specified in that order when the command is given. An example command is below.

"esxcfg-vswif -a vswif0 -p Service\ Console -i 10.1.1.1 -n 255.255.255.0 -b 10.1.1.255"

In this command the -a switch is to add a vswif, the \ in the Service\ Console is deliberate, the -i is the ip address, the -n is the netmask and the -b is the broadcast address.

You now need to change your default gateway, you can do this by editing the network file located at /etc/sysconfig/network. To do this at the command prompt, follow the steps below.

"cd /etc/sysconfig"

"vi network"

Then while in vi, go to the location of the default gateway using the arrow keys.

Hit "i" which will perform an insert and change the default gateway to your liking.

Hit the escape key twice to exit insert mode.

type ":wq!" to write (i.e save) and quit.

At this point you can run some commands to restart the vmware management, but I prefer to restart the server and will recommend you do that. Once the server comes up there are a few things that still need to be done for management in virtualcenter.

Open a remote console to your virtualcenter server, do a ping <yourESXhostname> to make sure the ESX host is pingable after the IP change. Make sure you are seeing the new IP address and it is assumed you have already changed that in DNS. If you are seeing the host correctly, open virtualcenter and disconnect then reconnect the host.

Once the host is connected in virtualcenter we need to change a few bits of configuration information, namely the vmkernel ip address, subnet and gateway. This is so we can vmotion correctly. Click on your host and bring up the configuration tab. Select networking and then properties on the vitual switch.

Select your vmkernel and hit the edit button. Change your ip address here for vmotion and subnet mask. You will not be able to change the default gateway until you hit ok and go back in. Once you have selected ok, then hit edit again on the vmkernel. Select the edit button on the default gateway and change the default gateway on the menu that appears. Select ok, ok again and then close.

Please note all the commands in this document should be used without the "".

Edit the /etc/hosts file to change to ip adress.

7 Comments Permalink
Click to view nikkar's profile Member since: Apr 12, 2005

Things that happens and is good to be remembered.

View nikkar's profile

Communities