I am going to walk you through setting up open filer 2.3, ( after a openfiler 2.3 64 bit, install with Static IP. * note, do not use openfiler VM ) to work with vSphere’s latest VMware tools, and VMXNET3, Paravirutal SCSI adapters.
Why write this? the openfiler 2.3 kernel is build with open VMware tools installed, which do not support the above, and we will need to remove these to get them working.
When I refer to console, I am talking about Linux console, not VMware’s.
- To Start, Create a Server 2008, 64 bit Guest, remove the NIC, and add a new Nic, Select VMXNET3 from Adapter Type, click ok, add a VMDK with 1:0 SCSI, change SCSI to Paravirtual (i’ll assume you know how ) and hit ok.
- Edit the Guest, go to options, and change the Guest Operating System to the Linux 64 bit, 2.6x OS. ( doing this allows you to later install VMware tools )
- go into console, type conary update kernel:build-tree
- type conary update gcc
- go into the web UI of openfiler, and update to the newest version. ( system, system update )
- go into console, type nano /boot/grub/grub.conf
- Change change “default=0” to “default=1” ( to use the older kernel, needed because devel is older)
- in VI, Select Install VMware tools to the guest ( i’ll assume you know how )
- Go into console, type the following lines 12 – 18 :
- mount /dev/cdrom /mnt/cdrom
- cp *.gz /tmp
- cd /tmp
- tar zxvf *.tar.gz
- cd vmware-tools-distrib
- cd bin
- ./vmware-uninstall-tools.pl ( follow any prompts )
- type ..
- now, run ./vmware-install.pl, and it will give you a execution aborted, and list the following modules that are installed.
- write down the modules names.
- type find /lib/modules | grep nameofmodule ( example find /lib/modules | grep vmmemctl), ( this will display somthing like /lib/modules/22.214.171.124-1.0.11.smp.gcc3.4.x86_64/misc/vmmemctl.o /lib/modules/126.96.36.199-1.0.11.smp.gcc3.4.x86_64/misc/vmmemctl.ko
- You need to remove all finds and directories listed when you run find /lib/modules | grep nameofmodule . Do this by using RM, and RM dir, ( example rm /lib/modules/188.8.131.52-1.0.11.smp.gcc3.4.x86_64/misc/vmmemctl.o rmdir /lib/modules/184.108.40.206-1.0.11.smp.gcc3.4.x86_64/vcmmemctl ) * note * if the file doesn’t have a . it’s a folder .
- run ./vmware-install.pl ( follow any prompts ) ( you will see it compile support for vmxnet3 and paravirtual scsi.)
- In console, cd to /etc/sysconfig/network-scripts
- type nano ifcfg-eth0 , change the IPADDR, DEVICE to eth1, and the HWADDR = to the address of your virtual nic. ( see the guest’s nic in VI), hit Ctrl X, yes, and type ifcfg-eth1
- in console, type nano /etc/modprobe.conf
- make sure that( alias eth1 vmxnet3 ) is a line.
- test the IP you assigned in eth1 and make sure it’s alive ( ping )
You are set, you can now use the IP of the VMXNET3 nic for your NFS or ISCSI, and the other static ip for management.
You should also see the vmdk under block devices in openfiler UI in the volumes section.