- Download the ISO from NexentaStor.Org (see link above);
- Create a VMware virtual machine:
- 2 vCPU
- 4GB RAM (leaves about 3GB for ARC);
- CD-ROM (mapped to the ISO image);
- One (optionally two if you want to simulate the OS mirror) 4GB, thin provisioned SCSI disks (LSI Logic Parallel);
- Guest Operating System type: Sun Solaris 10 (64-bit)
- One E1000 for Management/NAS
- (optional) One E1000 for iSCSI
- Streamline the guest by disabling unnecessary components:
- floppy disk
- floppy controller (remove from BIOS)
- primary IDE controller (remove from BIOS)
- COM ports (remove from BIOS)
- Parallel ports (remove from BIOS)
- Boot to ISO and install NexentaStor CE
- (optionally) choose second disk as OS mirror during install
- Register your installation with Nexenta
- http://www.nexenta.com/register-eval
- (optional) Select "Solori" as the partner
- Complete initial WebGUI configuration wizard
- If you will join it to a domain, use the domain FQDN (i.e. microsoft.msft)
- If you choose "Optimize I/O performance..." remember to re-enable ZFS intent logging under Settings>Preferences>System
- Sys_zil_disable = No
- Shutdown the VSA
- Settings>Appliance>PowerOff
- Re-direcect the CD-ROM
- Connect to Client Device
- Power-on the VSA and install VMware Tools
- login as admin
- assume root shell with "su" and root password
- From vSphere Client, initiate the VMware Tools install
- cd /tmp
- untar VMware Tools with "tar zxvf /media/VMware\ Tools/vmware-solaris-tools.tar.gz"
- cd to /tmp/vmware-tools-distrib
- install VMware Tools with "./vmware-install.pl"
- Answer with defaults during install
- Check that VMware Tools shows and OK status
- IP address(es) of interfaces should now be registered
[caption id="attachment_1580" align="aligncenter" width="300" caption="VMware Tools are registered."][/caption]
- IP address(es) of interfaces should now be registered
- login as admin
- Perform a test "Shutdown" of your VSA
- From the vSphere Client, issue VM>Power>Shutdown Guest
[caption id="attachment_1581" align="aligncenter" width="300" caption="System shutting down from VMware Tools request. "][/caption]
- Restart the VSA...
[caption id="attachment_1582" align="aligncenter" width="300" caption="VSA restarting in vSphere "][/caption]
- From the vSphere Client, issue VM>Power>Shutdown Guest
Now VMware Tools has been installed and you're ready to add more virtual disks and build ZFS storage pools. If you get a warning about HGFS not loading properly at boot time:
[caption id="attachment_1586" align="aligncenter" width="300" caption="HGFS module mismatch warning."]

it is not usually a big deal, but the VMware Host-Guest File System (HGFS) has been known to cause issues in some installations. SInce the NexentaStor appliance is not a general purpose operating system, you should customize the install to not use HGFS at all. To disable it, perform the following:
- Edit "/kernel/drv/vmhgfs.conf"
- Change: name="vmhgfs" parent="pseudo" instance=0;
- To: #name="vmhgfs" parent="pseudo" instance=0;
- Re-boot the VSA
Upon reboot, there will be no complaint about the offending HGFS module. Remember that, after updating VMware Tools at a future date, the HGFS configuration file will need to be adjusted again. By the way, this process works just as well on the NexentaStor Commercial edition, however you might want to check with technical support prior to making such changes to a licensed/supported deployment.
Thanks for excellent instructions!
ReplyDeleteTIP: In ESXi 4.0 and I'm pretty sure in almost every VMware product, do NOT disable the IDE controller (just yet). Wait until you're done installing NS en VM Tools. Since the VM BIOS is programmed by VMware there's a slight glitch. If you disable the IDE controllers with an IDE CD-ROM drive connected to it. You'll still be able to select 'CD-DRIVE' at the boot-device-selector thingie (ESC while booting). This is misleading since it'll actually never work because you disabled IDE. In a actual machine the option wouldn't show up. VM forgot to implement this.
ReplyDeletebefore you can untar vmtools, you need to enable expert mode and drop into a real bash shell (step 9)
ReplyDelete# option expert_mode=1 -s
# !bash
Thanks for the guide, I was able to install VMware tools on virtual Nexenta running in vCloud environment! :)
ReplyDelete