Sun Virtual Desktop Infrastructure Software
First download the software from here
http://www.sun.com/software/vdi/get.jsp
Install Sun Ray Server Software:
Run the install command.
# ./utinstall
The installation process begins. The script first displays the text of the Sun Software License Agreement and prompts you to accept its terms and conditions. After reviewing the license agreement, answer y (yes) to the prompt.
The utinstall script checks to see which SRSS components are already installed and displays the results. It prompts you for a response before it installs the required software products and any necessary patches. Answer y (yes) to the prompt.
Finally, it prompts you for the location of the Java Runtime Environment, version 1.5 or later.
Tip :Be sure to use a 32-bit JRE regardless of whether you use a 32-bit or a 64-bit operating system.
It prompts you for a response before it installs the required software products and any necessary patches (Solaris only). Answer y (yes) to the prompt.
The utinstall script ends. A time-stamped log file is available at:
/var/adm/log/utinstall.year_month_date_hour:minute:second.log
Configure the Sun Ray Server on a LAN
# cd /opt/SUNWut/sbin
Configure the Sun Ray LAN subnet:
# ./utadm -A subnet#
Where subnet# is the name (really a number) of the subnet, such as 192.168.128.0.
The utadm script begins configuring DHCP for the Sun Ray interconnect, restarts the DHCP daemon, and configures the interface. The script then lists the default values and asks if they are acceptable.
If you are satisfied with the default values, and the server is not part of a failover group, answer y.
Otherwise, answer n and accept whatever default values are shown by pressing return or provide the correct values from the worksheet.
The utadm script prompts for the following:
New netmask (255.255.255.0)
New first Sun Ray DTU address (192.168.128.16)
Total number of Sun Ray DTU addresses
New authorization server address (192.168.128.1)
New firmware server address (192.168.128.10)
New router address (192.168.128.1)
To specify an additional server list. If you answer yes, it requests either:
File name (filename)
Server IP Address (192.168.128.2)
The utadm script again lists the configuration values and asks if they are acceptable. Answer appropriately. If you answer n, go back .
If you answer y, the utadm script configures the Sun Ray DTU firmware versions and restarts the DHCP daemon.
Turn the Sun Ray LAN connection on: # /opt/SUNWut/sbin/utadm -L on
Restart services as prompted: # utrestart
Configure Sun Ray Server Software
Open a shell window and change to the following directory:
# cd /opt/SUNWut/sbin
Configure Sun Ray Server Software.
# ./utconfig
The utconfig script prompts for the following:
Whether the script should continue (press Return)
Sun Ray administration password (adminpass)
Sun Ray administration password again
Path to the Apache Tomcat installation directory (/opt/apache-tomcat)
Web server port number (1660)
Whether to enable secure connections ([y]/n)
If Yes, to enter HTTPS port number (1661)
To supply a user name for the Tomcat process (utwww)
Whether you want to enable remote administration ([y]/n)
Whether you want to configure Kiosk Mode ([y]/n). If yes, it requests:
User prefix (utku)
Group (utkiosk)
User ID range start (150000)
Number of users (25)
Whether you want to configure for a failover group
Whether the script should continue (press Return)
The utconfig script begins configuring Sun Ray Server Software.
The Sun Ray Data Store is restarted.
The utconfig script ends, indicating a log file is available at the following locations:
/var/adm/log/utconfig.year_month_date_hour:minute:second.log
Where the year, month, etc are represented by numeric values reflecting the time utconfig was started.
Installation Procedure Sun Ray Windows Connector:
Before running the installer, create a dedicated group for the sole use of the Sun Ray Connector.
# groupadd <group-name>
where group-name is the name you assign to this group. The first character of the name must be alphabetic. Do not add users to this group.
Install the Sun Ray Connector software.
# ./installer
The installer prompts for the name of the group you want to use for the Sun Ray Connector.
Enter the name of a pre-existing group for use by Sun Ray Connector:
Enter the name of the group you created for this purpose at the beginning of this procedure, as below, then Continue:
group-name
Run the automatic configuration script.
# /opt/SUNWuttsc/sbin/uttscadm -c
The uttscadm script launches the SRWC proxy daemon uttscpd and adds an entry for uttscpd in the /etc/services file, using port 7014 as the default
Restart Sun Ray services if the script asks you to do so.
# /opt/SUNWut/sbin/utrestart
Installing Sun™ Virtual Desktop Connector 1.0
Each of the Sun Virtual Desktop Connector’s three layers — virtualization, desktop access, and session management — has associated installation tasks that must be performed.
Virtualization Layer
VMware Infrastructure 3 Product Evaluation
You can download the evaluation copy of the software from here
https://www.vmware.com/tryvmware/p/download.php?eval=vi3
Installing VMware VirtualCenter
To install VMware VirtualCenter, follow the instructions on the VMware Website at
http://www.vmware.com/support/pubs/vi_pubs.html.
1. Locate the Installation and Upgrade Guide.
2. Select “Installing VMware VirtualCenter”.
3. Make sure that:
a. Ports 6060 and 6061 are enabled in any firewall that may be active on the system.You can disable the firewall initially to check the installation.
The Virtual Desktop Connector agent, which needs to be installed on VirtualCenter, uses these ports to communicate with the outside world.
b. VirtualCenter’s Webaccess component is installed and configured.
c. A user account with sufficient privileges is defined
Installing the Virtual Desktop Connector Agent
To install the Virtual Desktop Connector agent for use with VirtualCenter:
1. Locate the vda-agent.msi installer file in the directory where you have unzipped the vda_1.0.zip archive.The vda-agent.msi is located in the ./image/vda_1.0/Windows/Packages/ subdirectory.
The default location for the VirtualCenter agent on Windows is <a-z>:\Program Files\Sun\Virtual Desktop Access\Agent.
2. Double-click the installer and follow the prompts to complete installation.Your Services list should now contain a new service named Sun Virtual Desktop Connector Agent, running and set to start automatically.
Defining Virtual Machines and Templates
Creating a Virtual Machine Template
To configure a virtual machine for use as a template:
1. Create a Microsoft Windows XP virtual machine using the instructions in “Creating Virtual Machines” in Basic System Administration
(http://www.vmware.com/support/pubs/vi_pubs.html).
2. Install Windows XP, following the instructions on the Microsoft Website (http://www.microsoft.com/windowsxp/using/setup/winxp/install.mspx).
3. Make sure that networking is configured and that the virtual machine can get an IP address.At this point, you should also install any additional software for your virtual machines.
Installing VMware Tools
Once you have created a virtual machine with Microsoft Windows XP installed on it, install VMware tools. See “Installing and Upgrading VMware Tools” in Basic System Administration (http://www.vmware.com/support/pubs/vi_pubs.html).
Installing Virtual Desktop Connector Tools
For the Virtual Desktop Connector to manage virtual machines properly, the Virtual Desktop Connector Tools, which handle RDP connections when a guest OS initiates a standby, must be installed on the guest operating system.
Note – Be sure to enable time synchronization between the guest OS and the virtualization host. The Virtual Desktop Connector tools and the recycling process rely on it and cannot function correctly without it. For detailed setup information,see the instructions on the VMware Website at
http://www.vmware.com/support/gsx3/doc/tools_guestd_sync_gsx.html.
To install the Virtual Desktop Connector tools:
1. Locate the vda-tools.msi installer file in the directory where you have unzipped the vda_1.0.zip archive.The vda-tools.msi is located in the ./image/vda_1.0/Windows/Packages/ subdirectory.
2. Double-click the installer and follow the prompts to complete installation. The default target location for the Virtual Desktop Connector tools on Windows is <a-z>:\Program Files\Sun\Virtual Desktop Access\Tools.
Your Services list should now contain a new service named Sun Virtual Desktop Connector Tools, running and set to start automatically.
Enabling Remote Desktop Access
To enable remote desktop access, launch VMware’s Virtual Infrastructure Client,with your virtual machine still powered on and logged in, then follow these steps:
1. Open a console.
2. In the console, click on the virtual machine’s Start button.
3. Right-click on My Computer on the start menu, and select Properties.
4. In the System Properties window, select the Remote tab.
5. Under Remote Desktop, check the box marked Enable Remote Desktop on thiscomputer so that this item is selected.
6. Click OK to save the settings and close the dialog.
You can now shut down the virtual machine by selecting Shut Down from the Start menu.
System Preparation (sysprep) and Customization
Before VirtualCenter can use customization specifications to customize virtual
machines, you must install the Microsoft System Preparation Tool (sysprep) on the
server running VirtualCenter. See Appendix B in Basic System Administration
(http://www.vmware.com/support/pubs/vi_pubs.html).
1. Install sysprep on the VirtualCenter Server.
a. Download the sysprep package from:
http://www.microsoft.com/downloads/details.aspx?FamilyId=3E90DC91-
AC56-4665-949B-BEDA3080E0F6&displaylang=en
b. Unpack to a directory, for example:
C:\Documents and Settings\All Users\VMWare\VMWare VirtualCenter\sysprep\xp
2. Create a Customization Specification. A customization specification stores settings that VirtualCenter can use to customize a Windows installation during the cloning process. To create a customization specification:
a. Open Virtual Infrastructure Client.
b. Click Edit from the menu above the tool bar and select Customization Specifications...
c. Click the New icon in the Customization Specification Manager to start the wizard.
d. On the first wizard step, choose Windows as the target virtual machine OS,and give the specification a name and description.
The following steps ask the standard Windows installation questions and should be completed to correspond with your requirements, with exception of the following:
- Computer Name
Make sure that the Use the Virtual Machine Name item is selected. If not,you may end up with duplicate hostnames.
- Windows License
Enter your Windows XP serial number. The Include Server License Information item should be unchecked.
- Networking
Make sure the interface is configured for DHCP. If not, your cloned virtual machines will not have unique IP addresses and will not work with the Sun Virtual Desktop Connector.
e. After completing the wizard and saving your customization specification, close the Customization Specification Manager.
3. Test the Customization Specification and Networking. At this point you should have a Virtual Infrastructure Client open and the template virtual machine you created earlier shut down.
a. Right-click the virtual machine in the left pane, and select Clone.
b. In the Clone Virtual Machine Wizard, choose a name for the new virtual machine (such as Clone_Test), and click Next.
c. Choose the host or cluster that you want to run the new virtual machine, and click Next.
d. Select a data store with sufficient free space, and click Next.
e. On the Guest Customization step, select the Customize Using an Existing
Customization Specification radio button, then choose the customization
specification you just created from the list, and click Next.
f. Review your selections, and click Finish to begin cloning.
g. After the test virtual machine has finished cloning, select it in the left pane,
and power it on.After it has finished booting, you should see its IP address and hostname appear in the right pane. Make sure that it has a unique IP address and that the hostname corresponds to the virtual machine name.
h. On the VMware VirtualCenter server, open a Remote Desktop Connection
by clicking Start->All Programs->Accessories->Communications.
i. In the Remote Desktop Connection window, enter the IP address of the newly cloned test virtual machine, and click Connect.
If everything is configured correctly, a full-screen Remote Desktop session toyour test virtual machine should be displayed.If the Remote Desktop Connection client cannot connect to the virtual machine,you must resolve the issue before continuing. See “Networking” on page 36 for
possible issues.If you can get a Remote Desktop Connection to your test virtual machine and it has a unique hostname, the original template virtual machine you created is ready to be used.