Introduction
This page will walk you through the installation and configuration of the Sun Unified Storage Simulator using VMware Player for Windows, or VMware Fusion for Macintosh. The PC instructions assume Windows XP or higher. This tutorial also assumes that you have already installed either VMware Player or VMware Fusion as appropriate. The Sun Unified Storage Simulator will work with a future release of Virtual Box (as of 11/08).
Step 1 - Downloading the Simulator
Open your web browser and navigate to http://www.sun.com/storage/disk_systems/unified_storage/resources.jsp and then click the link to download the Virtual Machine. You will be taken to the Sun Download Center, where you will accept the license agreement and log into your account to continue. Finally, you will click on the file to download it; save it to a familiar location on your system.
Step 2 - Installing the Simulator
The Simulator is distributed in a .zip file format. The first step is to unzip the archive and install the components on your system.
To do this on a PC:
- Open the file using your favorite .zip utility, or the one built-in to Windows
- On Windows XP, unzip the contents to c:\Documents and Settings\<Username>\My Documents\My Virtual Machines
- On Windows Vista, unzip the contents to c:\Users\<Username>\Documents\Virtual Machines
To do this on a Macintosh:
- Click on the file 'SunStorageVMware.zip' to expand it into the same folder you downloaded it to. You will see a progress bar as the file extracts
- You can move the uncompressed contents to a different location if you'd like, or you can continue below
Step 4 - Starting the Unified Storage Simulator
Now let's start VMware and open the Simulator.
To do this on a PC:
- Click Start, Program Files, VMware, VMware Player
- Open the Simluator by clicking 'Open' and navigating to the location where you unzipped the virtual machine and selecting Sun Storage VMware.vmx
- VMware detects that that the machine is running on a new host and asks whether it has been moved or copied. Click on copied to continue
To do this on a Macintosh:
- Navigate to the location of the uncompressed file, and double click it to launch VMware Fusion with the new VM running
- VMware detects that that the machine is running on a new host and asks whether it has been moved or copied. Click on copied to continue
Step 5 - Configuring your Unified Storage Simulator
Once you've completed the steps above, the system will begin booting. You may see a warning about 'longmode' while booting, you can click OK to ignore this warning. When it's ready, you'll see a message that says:
Press any key to begin configuring appliance: [*]
At this point, you can click into the VMware window to direct input to the Virtual Machine. You can escape this mode using CTRL-Apple on a Macintosh or CTRL-ALT on a PC. Direct your input the the virtual machine, and press a key to continue. You will be looking at a screen titled 'Sun Storage VMware Configuration. Your cursor will be in the 'Host Name' field. Press the 'Up' arrow to navigate to the network interface selection field near the top of the screen. You can see that the instructions near the bottom of the screen indicate that you can use the 'j' key to navigate left, and the 'k' key to navigate right. Press 'k' once to select NET-1, the second network interface. The fields below will refresh to look something like this:
Host Name: unknown DNS Domain: localdomain IP Address: <some IP address> IP Netmask: 255.255.255.0 * Default Router: DNS Server: <some IP address> * Password: * Re-enter Password:
The IP address scheme will be different as VMware creates it randomly when you install VMware Player or Fusion. Use the down arrow to navigate to the Default Router field and set it to the same address as the DNS server. Use the same process to fill in the password and re-enter password field. When complete, press the ESC and 1 keys at the same time to continue. The system will apply your settings and display a screen showing a URL similar to this one.
https://<someIPaddress>:215/
Escape the VMware input by using the CTRL-Apple or CTRL-ALT keys as described above.
Step 5 - Connecting to your USS and Completing the Setup Wizard
You're almost done with setup, go into your web browser and type the URL from the final console screen into the address bar. You can now complete the wizard to finish your setup. If you're running VMware Workstation or Fusion, now would be a good time to take a snapshot in case things go wrong later.
Step 6 - Now the demo fun can begin!
The USS VM provides 15 2GB LUNs to play with. a) If you haven't configured a storage pool (in above setup), do it now usin the USS Wizard by going to Configuration-->Storage--Configure. Pick a storage configuration Type: RAID, Double Raid, Mirrored, Striped, etc. Watch how the various areas of the screen change as you change selections to tell you how much space will be available and other trade-offs. b) (This is for MAC, but you should be able to do the same with a CIFs example). Go to Configuration Services and turn on NFS. Then go to Shares---+Filesystems and add a filesystem for sharing, name it (uss1 for my example) and open up all the permissions. This will cause an NFS share called /export/uss1 to begin being served by your USS VM. c) Open up a MAC OS terminal and "mkdir /uss1"; then mount the USS VM filesystem: "sudo mount_nfs 192.168.1.111:/export/uss1 /uss1". From the Mac terminal you can do a df -h and see the mount. Next copy a large file from the Mac to the NFS mount, like: "cp sol-10-u6-ga1-sparc-dvd.iso /uss1" (a large file allows time to watch the USS Status and Analytics screens). d) Things may start moving slowly now...your HW to do a lot of work on real and virtualized OS's. Go to the USS browser GUI, click on Status and watch the various graphs. e) Next click on Analytics-->+Add A Statistic-->NFSv3-->Broken Down By Client. You only have one NFS client, your Mac's IP address will show up there--but if you had multiple NFS clients, it would be easy to see who is the hog. Hit Close. f) Next, still under Analytics, do a +Add A Statistic-->NFSv3-->Broken Down By File Name. And there's the file name being written that is causing all the fuss, in my case, sol-10-u6-ga1-sparc-dvd.iso. Try other features and share them here.
Comments (4)
Dec 08, 2008
mark-az says:
For Mac...I followed the steps above and then found that I needed to be connecte...For Mac...I followed the steps above and then found that I needed to be connected to my home dhcp/router in order to be able to connect to the USS VM from a browser on my Macbook. Moreover, the use of DHCP could result in a the USS VM being reassigned a different IP. But I want to be able to reliably use and show the USS at other locations and offline and not lug my home router along. Turns out VM Fusion provides a Private "Host Only" Network for just this purpose. I had to reinstall the USS (maybe I could have spent time at the command line reconfiging but I chose the quick rout), and after using the steps below, I had a configuration that will allow me to access the USS with a browser regardless of the IP address and routing that gets configured on the wireless or wired ports of my Mac. And I can run the USS VM and BUI while not connected to any network. Here are the steps:
1) Right after the "Copy It" step above (4.2), shutdown the VM. Then go into Fusion Settings and change both adapters to "Host Only" which attaches the VM's networks to the Fusion internal private network.
2) Start the USS VM. Now when the text-based "Sun Storage VMware Configuration" screen comes up, it will volunteer 172.16.35.129 for the IP address which is an address from the private network Fusion came default with (do a "netstat -rn" from a Mac terminal to see all your nets and routes). The DNS Server entry is also provided, I used it's address for the mandatory Default Router setting: 172.16.35.1. Lastly, enter the password info and now you are done with the text config screen.
3) Next, I point my browser to: 172.16.35.129:215 and sign in with root/password. I am dropped into the Network Configuration, Step 1 of 6 dialog. I choose to edit the Network Interface and change the Network from "DHCP" to "Static". I next skip the DNS, NTP, Name Services, and Remote Support - don't need for my purposes.
That's it, now I'm back being able to config different Storage layouts and being able to use the USS BUI regardless which network I am attached to and even while attached to no network.
Jun 08
MarkMulligan says:
As of the recent versions of VMware Fusion and Virtual Box (June, 2009), the ste...As of the recent versions of VMware Fusion and Virtual Box (June, 2009), the steps described in my comment (mark-az) may no longer be necessary. Simply selecting "Host Only" networking should be all that is required.
Mar 19, 2009
DaveLevy says:
I installed the Simulator on a Windows Vista 64 host, using VMplayer. It offere...I installed the Simulator on a Windows Vista 64 host, using VMplayer.
It offered me the network configuration panel as documented above, but configured the VM as a 192.168.1.nn ip address. This required that the default gateway & the DNS router were on the private LAN. It had discovered a DNS gateway somewhere else.
I used 192.168.1.1 as the address for the gateway and DNS router.
I recommend that you configure the hostname and domainnames at this time.
May 08
savit says:
I installed the simulator under VirtualBox under OpenSolaris. At first, I set i...I installed the simulator under VirtualBox under OpenSolaris. At first, I set it up with a host-only network, and connected to it from Solaris 10 running in a nearby VB guest VM. To make it simpler for capturing screenshots I then added a second interface using NAT, and then browsed to the simulator from my first-level browser (and from ssh) using NAT port forwarding:
$ VBoxManage -q setextradata "Sun Storage VirtualBox" "VBoxInternal/Devices/e1000/1/LUN#0/Config/ssh/Protocol" TCP
$ VBoxManage -q setextradata "Sun Storage VirtualBox" "VBoxInternal/Devices/e1000/1/LUN#0/Config/ssh/GuestPort" 22
$ VBoxManage -q setextradata "Sun Storage VirtualBox" "VBoxInternal/Devices/e1000/1/LUN#0/Config/ssh/HostPort" 7022
$ VBoxManage -q setextradata "Sun Storage VirtualBox" "VBoxInternal/Devices/e1000/1/LUN#0/Config/ui/Protocol" TCP
$ VBoxManage -q setextradata "Sun Storage VirtualBox" "VBoxInternal/Devices/e1000/1/LUN#0/Config/ui/GuestPort" 215
$ VBoxManage -q setextradata "Sun Storage VirtualBox" "VBoxInternal/Devices/e1000/1/LUN#0/Config/ui/HostPort" 7215
$ VBoxManage -q getextradata "Sun Storage VirtualBox" enumerate
I then can 'ssh -p 7022 root@localhost' for the CLI, and browse to http://localhost:7215 for the browser interface.
Both interfaces are using DHCP, with the 10.0.2.x assigned to the NAT interface, and 192.168.56.x network on the host-only network.