Home
Sun Virtual Desktop Infrastructure
Contents
1. 0 0 0 cece cece eee eee eee eee ooo 180 6 16 How do kcontiqure DACRE IN VDI SS a E E gran ain aA oe Waa eee er hale Bale SSR 180 6 17 How do configure the audio for VirtualBox hosted virtual machines 0 0 cc cece eens 181 6 18 How do make a desktop available to a user at all times in VDI 3 6 eens 181 6 19 How do migrate a VDI Demo configuration to a VDI Single Host configuration ooooooooo 181 6 20 How do I specify USB redirection for Sun Ray is A AAA 181 6 21 How do use VMware virtual machines with multiple network adapters 0 cece eens 181 6 22 How is desktop assignment in VDI 3 different than in VDI 2 2 0 cette eens 182 6 23 am getting the error Currently there is no desktop available or assigned to you o o o oooooooo 182 6 24 am unable to get a MS RDC connection on my VMware virtual machine 0 cece eee eee 183 6 25 Peannotlod Into tne AGMIn GUILE dal tae ann 6 he eae ee ne ad 183 6 26 can see my VirtualBox hosted desktop but it will not start 2 2 tee eens 184 6 27 can start a virtual machine from the VirtualBox GUI but it will not start from the VDI Admin GUI 184 6 28 If purchase Sun Secure Global Desktop Software licenses and support am entitled to support for Sun Virtual Desktop Infrastructure Software VDI support sesona erona ernaar 184 6 29 If purchase support with my Sun Virtual Desktop Infrastructure Softwa
2. to open double quote followed by single quote to close denotes mandatory parameters Delete the desktop providers Usage vda provider delete lt providerl gt lt provider2 gt help Print this help list Operand lt providerl gt lt provider2 gt The name of the desktop providers to delete denotes mandatory parameters provider vb getprops 90 Sun Virtual Desktop Infrastructure 3 0 List the properties of the xVM VirtualBox desktop provider Usage vda provider vb getprops p lt propl gt lt prop2 gt properties lt propl gt lt prop2 gt i lt provider gt help Print this help list Options l p lt propl gt lt prop2 gt properties lt propl1 gt lt prop2 gt The list of properties to get Properties comment The comment for the desktop provider Operand i I lt provider gt The name of the desktop provider i i denotes mandatory parameters provider vb setprops Edit the properties of the xVM VirtualBox desktop provider Usage vda provider vb setprops p lt propl gt lt valuel gt lt prop2 gt lt value2 gt i properties lt propl gt lt value1 gt lt prop2 gt lt value2 gt lt provider gt help Print this help list Options I i p lt propl gt lt valuel gt lt prop2 gt lt value2 gt properties lt propl gt lt valuel gt lt prop2 gt lt valuez gt The list of properties to edit P
3. 183 Sun Virtual Desktop Infrastructure 3 0 cannot log into the Admin GUI This is most likely an issue with cacao or the vda service 1 If the VDI host runs into a virtual machine check that the machine has enough RAM 2 Check the status of cacao and the vda service as described in The system is not reacting as expected 3 Try restarting the service O ep G Z lt Q w DS u O H m s lt Q i 0 0 5 lt H Q 0 5 D u t w 5 ya can see my VirtualBox hosted desktop but it will not start can see my VirtualBox hosted desktop but it will not start In some rare circumstances a desktop maybe left registered and powered off on a VirtualBox host Desktops in this state for more than a couple of minutes can safely be deleted from the VirtualBox host if necessary as the configuration is stored in the VDI database and all data on a storage host When manually unregistering a desktop from VirtualBox ensure that you also unregister the desktop s disk image Concrete steps 1 Login as the user you specified during the installation of VirtualBox typically root 2 Determine the UUID of the virtual machine e Execute VBoxManage list virtual machines e Or use the VDI Admin GUI to obtain the ZFS volume name listed in the Desktop Summary tab The UUID is the string after the forward slash example f3ced2bb d072 4efc 83c9 5a487872919d 3 To unregister the virtual machine on the Virtu
4. Listing the LDAP filter used to identify objects of type user and the LDAP filter used to search for users according a search criteria example opt SUNWvda sbin vda settings getprops p ldap user object filter ldap user search filter ldap user object filter amp objectclass user objectclass person objectclass inetOrgPerson objectclass organiza ldap user search filter cn SEARCH_STRING uid S SEARCH_STRING mail S SEARCH_STRING Customizing the LDAP filter used to search for users according a search criteria for Active Directory example opt SUNWvda sbin vda settings setprops p ldap user search filter cn SSEARCH_STRING uid SSEARCH_STRING mail 1 SEARCH_STRING updated example opt SUNWvda sbin vda settings getprops p ldap user search filter ldap user search filter cn SEARCH_STRING uid S SEARCH_STRING mail S SEARCH_STRING Default LDAP Filters and Attributes Global Setting Name ldap user object filter ldap user search filter ldap userid attributes Description Default Value LDAP filter used amp objectclass user objectclass person object to identify objects objectclass organizationalPerson objectclas of type user LDAP filter used cn SEARCH_STRING uid SEARCH_STRING mail s to search for users according a search criteria Searches for users can be done using the user search command or in the web administration console SEA
5. disabled Dez_09 svc application database vdadb sql i 2 On your Primary host stop the svc application database vdadb core service by executing svcadm disable svc application database vdadb core Wait until the service has been stopped Verify that the service has been stopped by executing svcs svc application database vdadb core When the service has been stopped correctly you will see something similar to this STATE STIME FMRI i disabled Dez_09 svc application database vdadb core 3 On your Primary host a Change the file etc opt SUNWvda config ini and exchange the ip hostname of the data node that you want to retire with that of the new one Be sure not to mix hostnames and ip addresses in this file Follow the existing convention in this file b Start the svc application database vdadb core service again by executing svcadm enable svc application database vdadb core Wait a couple of minutes and check that the service has been started correctly again by executing svcs svc application database vdadb core When the service has been started correctly you will see something similar to this STATE STIME FMRI online Dez_09 svc application database vdadb core 4 On your remaining old Secondary Data host a Start the data node again by executing svcadm enable svc application database vdadb core Wait until the service has been started this can take a couple of minutes Verify that it has been started by exe
6. Package Software Sun Virtual Desktop Infrastructure Software 3 0 bundled software includes Sun VDI Core Sun Ray Server Software 4 1 SRSS Sun Ray Connector for Windows OS Version 2 1 SRWC Sun VirtualBox for VDI 3 0 otherwise known as Sun VirtualBox 2 0 10 Solaris 10 x86 only Separate software covered by the VDI license Sun Secure Global Desktop 4 41 SGD Sun Secure Global Desktop 4 5 SGD Sun VirtualBox for VDI 3 0 otherwise known as Sun VirtualBox 2 0 10 additional platforms for creating desktop templates For more details about the concurrent license see the Troubleshooting and FAQs Patches The first VDI 3 patch was released on May 30 A revision of the patch was released on August 13 For more details see VDI Patches Third Party Software Sun VDI 3 includes software originating from third parties that is subject to GPL LGPL or CDDL licenses The corresponding source code Is available via the links below TopLink Essentials licensed under CDDL is a persistence API used by Sun VDI core The library source code is available at http download java net javaee5 v2ur2 promoted source glassfish v2ur2 b04 src zip e Sun VirtualBox for VDI contains modified GPL code The source code is available at http download virtualbox org virtualbox 2 0 10 VirtualBox 2 0 10 OSE tar bz2 Supported Software 17 Sun Virtual Desktop Infrastructure 3 0 This section includes support tables for VDI Core host
7. i lt group namel gt lt group name2 gt i The name of the custom group to unassign i denotes mandatory parameters token Sun Virtual Desktop Infrastructure 3 0 OOOO 2 T me _ weeee eo token search Search for tokens that match the search criteria Usage vda token search x parseable lt search criteria gt help Print this help list Options x parseable Display output suitable for programmatic parsing Operand i lt search criteria gt The search criteria to be matched to the token id or the user associated to the token denotes mandatory parameters as token create Create a new token smart card id Usage vda token create p lt prop1 gt lt valuel gt lt prop2 gt lt value2 gt prop lt prop1 gt lt valuel gt lt prop2 gt lt value2 gt f lt token file gt file lt token file gt w write help Print this help list Options p lt propl gt lt valuel gt lt prop2 gt lt value2 gt prop lt propl gt lt valuel gt lt prop2 gt lt value2 gt The list of properties that define the token f lt token file gt file lt token file gt A CSV file containing the properties of the tokens to be created Format of the file is lt token id gt lt comment gt lt userid gt w write Overwrite existing tokens option to be used with the token file option Properties xtoken id lt token id gt The token id user l
8. 1 2 1024 MB Example A server with 64 GB of memory can support 64 1024 MB 1024 MB 512 MB 1 2 105 running desktops of 512 MB in size A rule of thumb for VirtualBox servers is A server with 32 cores and 64 GB of memory supports 100 desktops While the CPU power of the server chosen for the examples above allows to support 128 desktops it is not advisable to increase the memory size to do so At least 20 of the available CPU power should be available as security margin Network bandwidth Mb s storage network bandwidth number of VirtualBox servers For a closer discussion of the network bandwidth see the chapter Storage 100 VMs If you want to run more than 100 VMs on a single VirtualBox server you need to increase the SYSV semaphores on the VirtualBox server You need to set the number of available semaphores to the number of VMs you intend to run including a security margin for other processes To set the SYSV semaphores for 1000 VMs type as root pretl r n project max sem ids v 1024 projmod s K project max sem ids priv 1024 deny user root The first line changes the available semaphores for the current process the second line makes this a permanent system setting for the root user If the VBoxSVC process is run by another user add a user myuser line to the etc project file and change the second line accordingly The maximum number of virtual machines on a single VirtualBox server is 1023 S
9. B The VMware virtual machine cloning process is not operating as expected How do I use VMware virtual machines with multiple network adapters Why does my VMware virtual machine have an invalid IP address or cannot be pinged B have created a new pool in my VMware desktop provider and virtual machines are not created automatically Unused VMware virtual machines are not being recycled In my VMware desktop pool new virtual machines are created automatically but they are not made available B am unable to get a MS RDC connection on my VMware virtual machine B Is VMware ESXi a supported virtualization platform The window displaying the VMware hosted virtual desktop is freezing 176 Sun Virtual Desktop Infrastructure 3 0 Are all VirtualBox versions compatible with VDI 3 Are all VirtualBox versions compatible with VDI 3 No You must use VirtualBox 2 0 10 also known as VirtualBox for VDI that comes with VDI as your virtualization platform If you would like to create virtual machine templates locally on your laptop make sure to use the version 2 0 10 as well Builds for most operating systems are available here http download virtualbox org virtualbox vboxvdi3download html This will also allow you to install the correct VirtualBox tools Virtual machines created with newer versions of VirtualBox contain incompatible changes in the configuration XML and cannot be imported VirtualBox 2 0 8 was the original supported
10. HostName my 2nd secondary MYSQID HostName my 3rd secondary a Previous Page MySQL Cluster Reconfiguration Scenarios Up One Page Level t Reconfiguring the VDI MySQL Cluster MySQL Cluster Reconfiguration Scenarios MySQL Cluster Reconfiguration Scenarios The following table show the different host types from the perspective of the MySQL Cluster database and the possible transformation from one type to another The following terms will be used 39 Sun Virtual Desktop Infrastructure 3 0 Non VDI host a host which is not yet a VDI host e g a completely new host e Primary Management host the host which is running the MySQL Cluster Management node e Secondary Data host a secondary host which is running one of the MySQL Cluster data nodes as well as a SQL node e Secondary SQL host a secondary host which is running a SQL node only From To Non VDI host Primary Management Secondary Data host Secondary SQL host host Non VDI host From Non VDI to From Non VDI to From Non VDI to Primary Management Secondary Data host Secondary SQL host host Primary Management From From From host Primary Management Primary Management to Primary Management to to Non VDI host Secondary Data host Secondary SQL host Secondary Data host From Secondary Data From Secondary Data to From Secondary Data to to Non VDI host Primary Management Secondary SQL host host Secondary SQL host From Secondary SQL From Secondary SQL to Fro
11. lt desktop ID gt lt origin gt If you already get an error here or the system reports no assignments then you should take a look at the cacao logs mentioned above Look for entries of the ClientRequestWorker that handles vda client requests 182 Sun Virtual Desktop Infrastructure 3 0 Jun 26 2009 12 10 47 PM com sun vda service client ClientRequestWorker run FINEST Received request from vda client 127 0 0 1 query user username Jun 26 2009 12 10 49 PM com sun vda service client ClientRequestWorker run FINEST Sent response to vda client Windows 7 Windows70000003 8 User There might be a couple of issues that could cause problems a authentication failed b the username could not be found in LDAP thus no user DN could be determined c no assignments found for the determined user DN The log entries between the request received and sent response should give you some insights here 3 If step 2 went fine then you should actually request a desktop for your user Again this can be done via the vda client CLI opt SUNWvda lib vda client a start u lt username gt P lt poolname gt D lt desktopld gt Password XxXXXX servername 49281 The poolname and desktopld parameters are only necessary if multiple desktops are assigned and you want to startup a specific desktop If there is only one desktop or pool assigned or you just want to startup the default desktop then you do not need to provide these pa
12. o vu G 3 H p 0 A 00 109 10 U gt O o n E O d NN gt O HP A gt gt gt N pb n SS y 1 E M A G 0 H n H N 4 Nn Q Q 0 y Q 109 Yn A 10 109 10 d xN vu 0 x O O 10 Q oq A 00 gt U gt je Kar Q O H E gt p O gt O O 10 E O Z Oo x PN Z D E y D al E 0 10 N 53 x p 5 n p n DE p n Q H a Q 5 109 O KH 0 O y d 2 yp xN 10 4 LO O Y H a oO A Yn z O U oqo O 0 N od Y r O G Q N Q Q H o Q 0 E 4 E O 0 00 oOo n 10 O GS yw x O x Gn x n UD q p vu E H H 0 oO oH gt HH lt e wn H H E H O U Z 53 Sun Virtual Desktop Infrastructure 3 0 OOOO ll s nnmeoeeeeeeee Qooooo _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ __ _ _ _ A AAA Sun Virtual Desktop InLasttchange 03 11 09ration 7 The vda Command The vda Command The vda command opt SUNWvda sbin vda is used for administration tasks at the CLI level Nearly all administration tasks that are performed via the Web Administration GUI can also be performed using the vda command The vda command also provides advanced usage of VDI administration that is not available from the Admin GUI The vda command information has been broken up into the following sections Content Description Command Usage General information about the vda command Subcommand Usage Detailed information about
13. use the double quoting syntax for the value such as lt prop gt lt value gt single quote followed by double quote to open double quote followed by single quote to close Operand lt provider gt The name of the desktop provider denotes mandatory parameters provider remove host denotes mandatory parameters Remove the hosts from the xVM VirtualBox desktop provider Usage vda provider remove host h lt host1 gt lt host2 gt host lt host1 gt lt host2 gt lt provider gt help Print this help list l Options h lt host1 gt lt host2 gt host lt host1 gt lt host2 gt The list of hosts to remove from the desktop provider Operand 1 lt provider gt The name of the desktop provider provider enable host 94 Sun Virtual Desktop Infrastructure 3 0 Enable the hosts for the xVM VirtualBox desktop provider Enabled hosts are used for automated cloning Usage vda provider enable host h lt host1 gt lt host2 gt host lt host1 gt lt host2 gt lt provider gt help Print this help list Options h lt host1 gt lt host2 gt host lt hostl1 gt lt host2 gt The list of hosts to enable Operand lt provider gt The name of the desktop provider denotes mandatory parameters Disable the hosts for the xVM VirtualBox desktop provider Disabled hosts are not used for automated cloning Usage vda provider disable hos
14. 1660 2 You will be re directed to https and the web browser will ask you to accept the security certificate After confirmation you should get the login screen 3 You must login as super user root with corresponding password 0 Sun VDI 3 does not use the default admin user account that is normally configured as part of the Sun Ray Software installation Previous Page Sun Ray Computing Model Up One Page Level t Adapting Sun Ray Software Next Page E Sun Ray Kiosk Session Sun Ray Computing Model Sun Ray Computing Model Sun Ray DTUs have no local disks or locally installed applications or operating systems and are therefore considered stateless This makes them easy to exchange inexpensive to maintain and extremely secure Sun Ray DTUs connect to the next available Sun VDI host using the Appliance Link Protocol ALP To ensure uninterrupted service several Sun VDI hosts are automatically configured as a Sun Ray failover group so that whenever a server goes down the affected DTUs automatically re connect to the next available Sun VDI server in the failover group The Sun Ray architecture uses tokens authentication keys to associate a desktop session with a user Typically the token is presented on a smart card that the user inserts into the DTU s card reader If a session associated with that token is already running on any Sun VDI server the DTU is automatically redirected to that server and the user s most
15. 2 Access a specific desktop or pool If multiple desktops are assigned to a user then Sun VDI will connect to the default desktop which can be defined using the Sun VDI Admin GUI Alternatively it is possible to specify the desired desktop or pool when opening the remote desktop connection Just enter the user name followed by the pool name and the optional desktop ID using the following syntax A c n 0 K 5 0 D V O O O ke I A O O O ke 5 0 0 V Q 0 n gt a O se A Q 0 n a O ze H o V It is usually sufficient to just specify the pool name However if you have multiple desktops assigned from the same pool you must specify both the pool name and the desktop ID Desktop identifiers can be listed via the Sun VDI administration CLI executing opt SUNWvda sbin vda user desktops lt username gt If you frequently switch between various desktops then it is convenient to store the remote desktop connection settings for each desktop in an RDP file see Connection Settings gt Save As You can then create shortcuts to these files allowing you to initiate a connection via a simple mouse double click m Previous Page Accessing Desktops with SGD Web Access Up One Page Level t Administering 171 Sun Virtual Desktop Infrastructure 3 0 Disabling Client Authentication Security Considerations Starting with Sun VDI 3 all users must authenticate themselves before getting access to
16. Before You Begin Make sure that the Solaris swap space is adequate otherwise your installation will fail Solaris hosts running VirtualBox must have swap space equal to or greater than the host s physical memory size See the Release Notes for detailed information Steps 1 Obtain the root user 110 Sun Virtual Desktop Infrastructure 3 0 a Previous Page Setting Up a Storage Server Up One Page Level t Installing Next Page E Defining Virtual Machine Templates in Sun xVM VirtualBox Defining Virtual Machine Templates in Sun xVM VirtualBox Defining Virtual Machine Templates in Sun xVM VirtualBox Sun VDI presents users with easy access to their virtual desktops instances of any desktop operating system executed in a virtual machine You can manually create virtual machines or you can configure Sun VDI to create or clone additional virtual machines automatically from a template Before You Begin After executing the Sun VirtualBox for VDI 3 installer you can create your first virtual machine To simplify the installation it is recommended that you use the installation of Sun VirtualBox for VDI 3 described in the previous section to create the first virtual machine template However you can also install a version of Sun VirtualBox for VDI locally on your laptop and create virtual machines there Make sure to download VirtualBox version 2 0 10 Sun VDI 3 0 doesn t support hardware virtualization When cr
17. With the virtual machine running and fully booted click the Devices menu then select Install Guest Additions This will launch the xVM VirtualBox Guest Additions installer inside the virtual machine 2 Install the Guest Additions according to the instructions in the wizard and reboot when asked 3 Install all additional software for the desired virtual machine template If you plan to take advantage of the Windows Sysprep functionality then you also need to install the Sysprep tool into your virtual machine However for a first demo setup we recommend to NOT execute the Sysprep tool because it is hard to later detect any errors in this area Instead you should first become familiar with Sun VDI and then create a Sysprep ed virtual machine in a later stage For example you must take advantage of sysprep if the virtual machine must join an ActiveDirectory domain Please refer to Defining Virtual Machine Templates in Sun xVM VirtualBox for further details Manage Desktops with the VDI Web Administration To manage desktops and users in VDI refer to the following pages these are also listed under Step 1 of Administering Access the Web Administration GUI Create desktop providers Create desktop pools Import virtual machine templates into the VDI Core Clone the virtual machine templates Set up a user directory Add test users to desktop pools Associate tokens to the test users ONDAU BWHN gt Access a Desk
18. bn p 5 pP y bil wp pP O e b XL UN 10 U 4H o n O E Y O x 4 gt E n Y A O 5 Nn H d a O 0 p G x E D G O 0 O mM O n D pany 4 y H O KG gt gt p H Y v Q ss 0 U y H Oo y G 109 U 10 y o 3 d ON U c p E 0 10 n n 10 10 O G 09 0 U G mi 10 pH n 5 O U y O Q p U pH E go y pP n 0 ES e gt O n go Q gt a4 UV y O y N Y O y Dm pP KH 4H E H O Q 10 H g gt 2 x LO H o A O 3 0 p Q X S n Q 10 10 10 o 109 Q 0 O O WY gt n y pP pP do Y w Y gt Y H Q m M Y A y oO Q 10 bo Oo ON U H O oO d 0 YP A ODO d 2 y 5 O 0 y A LL Q 0 y Q A uN M Ej 43 Y a 10 n O 0 pose O qo oqo Y O 5 5 WY N no Nn o q 0 oO Y E kq U ae D p 10 Gq O E HH OY Wp Y gt E O Y uv 4 A E O D oO 3 H y KG H n UD n Z n E SO E nn a Q d el O H gt gt ie H E ag E H E g Fr A x E 3 gt H O x L WY U U 67 Sun Virtual Desktop Infrastructure 3 0 OOOO 2 ml Qqwnwneeee oooooo Ee Sun VDI 3 0 Last change 03 11 09 2 The vda Subcommands Detailed Usage of the Subcommands user user search Search for users groups in the user directory that match the specified search denotes mandatory parameters criteria Usage vda user search x parseable lt searchfilter gt help Print this help list Options X parseable Display output suitable for programmatic parsing Operand lt se
19. d default domain Allows to preset domain input field list of domains Preset the domain selector pulldown e g 1 vdatest germany qa ireland t timeout Specifies the timeout applied after login seconds j java home Path to JRE defaults to usr java used by the selector dialog i no domain field Always hide domain input field w show password field Always show password field 160 Sun Virtual Desktop Infrastructure 3 0 Disabling the desktop selector If you disable the desktop login selector dialog with the n option then users have no possibility to enter their password prior to accessing a desktop Thus if you disable this dialog you must also disable the client authentication at the same time see Disabling Client Authentication Windows Connector uttsc Settings See the uttsc man page for a complete listing of the supported parameters The list below is just an extract of the settings to illustrate the configuration options r sound low high off Disable sound redirection from the server to the client or change the quality of transmitted sound The sound quality in terms of bits per second can be specified A low quality transmits 8khz and a high quality does 22 2 khz By default High quality sound is enabled A color depth Sets the colour depth for the connection 8 15 16 or 24 The colour depth may be limited by the server
20. d n Zz O p Y x E a D G 109 0 M O O n D y a gu H gt E Y AAA gt O U Uv O y y 0 y H H 0 Dm 5 y 0 oO G pP U O 0 Y 0 U N ne 0 n 0 E 5 0 gt a N 3 O y o H gt Y O y E Y N y O N Q gt 109 10 O Q DN n U y H PN pH 00 ol Y H 4H H end G Y 5 0 p Q O n 5 0 0 D n O 0 oO O Sy 8 n pP y pP do Y 0 10 G ES U n Q bo Oo mn Nn H O 0 H H P A O d y Q O y GQ O y A Ay WY Y fy Y H G 0 n Oo o oO poe Y Y O D WwW N Nn v n 4d O 0 Q H mM 3 H 0 Oo p 40 gq O Y G H OO p gt E O G UN sS A G H y O 2 0 3 GH n D 0 i n E o Q H E mun Q J gt O gt gt H 56 H E ma E H G G E E A x g 5 E H O x U WY L WY 106 Sun Virtual Desktop Infrastructure 3 0 Sun VDI 3 0 Last change 03 11 09 2 Setting Up a Storage Server Setting Up a Storage Server A Sun xVM VirtualBox virtualization platform requires a storage server to house the virtual machines The following servers can be used as storage by VDI 3 0 Any Sun Storage 7000 Unified Storage System the 7210 or 7410 are best suited for production 0 Any server running the OpenSolaris 2008 11 operating system best suited for demo purposes There are storage limitations with SPARC VDI hosts Please see the Release Notes for more information e How to Set Up a Sun Storage 7000 Unified Storage System e How to Set Up an OpenSolaris Storage Server e Ho
21. desktop provider Usage vda provider list unmanaged x parseable lt provider gt f help Print this help list Options x parseable Display output suitable for programmatic parsing Operand lt provider gt The name of the desktop provider denotes mandatory parameters directory directory add 97 Sun Virtual Desktop Infrastructure 3 0 Add the user directory configuration to the system Usage vda directory add p lt prop1 gt lt valuel gt lt prop2 gt lt value2 gt property lt prop1 gt lt valuel gt lt prop2 gt lt value2 gt help Print this help list Options p lt propl gt lt valuel gt lt prop2 gt lt value2 gt property lt propl1 gt lt valuel gt lt prop2 gt lt value2 gt The list of properties that define the user directory Properties auth type lt auth type gt The type of authentication to be used Possible values are anonymous simple secure kerberos and publickey hosts lt hosts1 gt lt hosts2 gt The host name or IP address and port number of the LDAP server separated by a colon The port number may be omitted if so 389 is the default for anonymous and simple authentication 636 is the default for secure authentication May be a semi colon separated list of hosts Property required with anonymous simple and secure authentication basedn lt basedn gt The base DN to restrict the part of the directory use
22. e lp Print this help list Operand i lt namel gt lt name2 gt The name of the pools denotes mandatory parameters pool disable Disable users from connecting to flexible desktops from the pools Usage vda pool disable lt namel gt lt name2 gt help Print this help list Operand lt namel gt lt name2 gt The name of the pools denotes mandatory parameters 86 Sun Virtual Desktop Infrastructure 3 0 OOOO 2 mteeee_ _ qQnw lt w w w wee_q qu _loleooo _ _ _ _ _ _ _ _ _ __ _ _ _ _ _ _ _ _ _ _ _ _ _ _ __ A A pool create sysprep Create a Sysprep file for the pool Valid only for xVM VirtualBox pools Usage vda pool create sysprep p lt propl gt lt valuel gt lt prop2 gt lt value2 gt properties lt prop1 gt lt valuel gt lt prop2 gt lt value2 gt lt name gt help Print this help list Options p lt propl gt lt valuel gt lt prop2 gt lt value2 gt properties lt propl gt lt valuel gt lt prop2 gt lt value2 gt The list of properties to use to create the Sysprep file Properties admin password lt admin password gt The Windows Administrator password key lt key gt The Windows license key workgroup lt workgroup gt The Windows workgroup name domain lt domain gt The Windows domain name domain admin lt domain admin gt The Windows domain Administrator name
23. highlighted For full details see Creating Virtual Machines in VMware Basic System Administration Follow these recommendations e Use Microsoft Windows XP SP3 as the baseline The license must be a volume license Define one disk It should be as small as possible for example 4 GB is a good size The size impacts system performance and overall storage consumption RAM also should be as small as possible 384 MB is recommended A single CPU should be enough One network interface is needed It should be configured for DHCP Ensure that the virtual machine gets a valid IP after powering on 2 Install the VMware Tools Once you have created a virtual machine with Microsoft Windows XP installed on it install VMware Tools VMware Tools is a Suite of utilities that enhances the performance of the virtual machine s guest operating system and improves management of the virtual machine Installing VMware Tools in the guest operating system is vital The installation can be easily triggered from within the VMware Virtual Infrastructure Client VIC Right click the virtual machine and choose Install VMware Tools For additional details see Installing and Upgrading VMware Tools in VMware Basic System Administration 3 Enable Remote Desktop Access RDP is the main access method to the Microsoft Windows XP desktop By default this access method is disabled and rejected through the firewall To enable remote desktop access launch VMware s Virtual Infrast
24. un D 0 ke w Q q H lt w a D O 0 If you plan on using Sysprep for cloned virtual machines always test your configuration first For example if your virtual machines will be joining a Windows domain ensure that the template can be manually added to the domain In doing so any DNS or other potential problems can be rectified early on Detecting the root cause of failures during Sysprep can be tedious so ensure things work correctly with the template first w Previous Page Setting Up a Sun xVM VirtualBox Server Up One Page Level t Installing Setting Up a VMware ESX Server Setting Up a VMware ESX Server VMware ESX server is a Linux based appliance that provides a virtualization layer abstracting CPU resources storage and memory of a physical host into multiple virtual machines To install the software just power on the host machine with the VMware ESX Server CD in the CD drive If available you can also use remote management applications such as the Integrated Lights Out Manager ILOM available with the Sun Fire x4100 server to drive the installation During installation you can safely rely on the suggested default settings After installation make sure that you can access the VMware ESX server through the VMware Virtual Infrastructure Client and that the license is set properly For full details see Installing ESX Server in the VMware ESX Server 3 and VirtualCenter Installation Guide 112 Sun Virtual
25. Desktop t Internet Explorer 9 td Windows Media Player IN e Internet 7 My Documents l Internet Explorer A B My Recent Documents Es E mail Outlook Express x g pr gt My Pictures a MSN qa My Music wa My Computer Windows Media Player gt Control Panel 3 Windows Messenger Set Program Access and Defaults Tour Windows XP ES Printers and Faxes Files and Settings Transfer HS wizard Help and Support A Search I Run All Programs gt amp Windows Security A Log Off o Disconnect Once you have selected a desktop the Sun Ray Connector for Windows OS will startup and will display your desktop At any time you can disconnect from your desktop by moving your mouse up to the top of the screen A remote desktop pulldown menu will appear Hitting the X from the menu will disconnect you from the current desktop session and the desktop selection menu or the login screen will appear again 0 There is also a Disconnect button available in the Windows start menu for desktops connected via Windows RDP Desktops connected via VirtualBox RDP VRDP will not offer this button Using the Default Desktop The desktop login selector dialog can be completely disabled with the n Kiosk session option see Using Sun Ray Software In this setup users are always connected to their default desktop without the need to pass any other Sun VDI dialogs This behavior is similar to previo
26. Desktop Connector Verify your network configuration Remote access is disabled on the Windows guest OS Firewall settings of the Windows guest OS do not allow RDP connections Is it possible to assign MS Terminal Server to users Is it possible to assign Microsoft Remote Desktop Services formerly called Terminal Services sessions to users While VDI 3 provides connectivity to RDS sessions running on Microsoft Windows Remote Desktop Services via the SRWC included as a component of SRS it does NOT provide any brokering of those sessions Brokering of Microsoft RDS sessions is a new feature in VDI 3 1 please refer to the VDI 3 1 documentation for more details In the meantime you can work within the VDA session script including SRWC For example you can forward unknown tokens to your RDS environment 186 Sun Virtual Desktop Infrastructure 3 0 Is it possible to customize the desktop login screen Is it possible to customize the desktop login screen Adapting the VDI login screen which is displayed on the Sun Ray DTUs is supported with some limitations It is possible to replace the product logo upper left corner and the background of the desktop login selection dialog middle of the screen with custom images However there is no way to change the text position and colors of buttons and input elements Due to this limitation we also require a fixed size background image otherwise the dialog input elements would ap
27. Desktop Infrastructure 3 0 Up One Page Level t Installing Next Page E Setting Up a VMware vCenter Server Setting Up a VMware vCenter Server Setting Up a VMware vCenter Server VMware vCenter provides central management of several ESX servers It installs on a physical or virtual Windows machine For quick evaluation you can simply install it on a virtual machine inside your ESX server The guest OS can be Microsoft Windows XP or Microsoft Windows Server 2003 with 1 GB of RAM and an 8 GB hard disk For full details see Installing VMware Infrastructure Management in the VMware ESX Server 3 and VirtualCenter Installation Guide Steps Once VMware vCenter is installed complete the following configuration steps 1 Add the VMware ESX server as a managed host In VMware vCenter select the datacenter where the host will be added In the menu bar go to Inventory gt Datacenter gt Add Host and follow the instructions 2 Install the Windows System Preparation Tools for Windows XP They can be downloaded from Microsoft here e Windows XP Service Pack 2 Deployment Tools Windows XP Service Pack 3 Deployment Tools Extract the Sysprep tools from the CAB into the directory C Documents and Settings All Users Application Data VMWare VMWare VirtualCenter sysprep xp For further instructions see Appendix B Installing the Microsoft Sysprep Tools in the VMware Basic System Administration Guide Sun VDI takes advantage of the web services A
28. MySQL Cluster is sensitive to resource shortages The expected load to the MySQL Cluster data nodes is small so the MySQL processes should be able to cope under typical loading However if you have too many Sun Ray sessions on each of the first two Sun Ray secondaries you may see this error Solution Check the load on the concerned hosts and if it is high reduce the load on this host e g by reducing the number of SRSS sessions hosted Restart the SQL node running on the concerned host Using the VDI CLI in parallel with the Admin Web GUI Bug ID 6770476 Using the vda CLI to modify some data while having an Admin Web UI session running might generate errors in the Web Admin UI and log you out At following login the Web Admin UI will be working fine again Limitations with VDI hosts running on SPARC Bug ID 6812848 e Only one storage is supported with Solaris SPARC VDI hosts e The duplicate action fails with Solaris SPARC VDI hosts Cause Sun VDI 3 0 does not support copying one SCSI volume to another SCSI volume via Java in Solaris SPARC VDI hosts Sun Open Storage fails after a software update Bug ID 6826006 e Do not update the software of a Sun Open Storage after it has been added to VDI 3 0 Any management action of VDI 3 0 fails afterwards OpenSolaris Update causes SSH to the storage box to fail Bug ID 6812829 After doing a pkg image update on an OpenSolaris host used for xVM VirtualBox storage VDI can no lon
29. Production Environment On a Primary host or on the specified Secondary hosts A and B i e first and second data nodes the status of the database service engine can be checked using Also on any Secondary host o var svc log application database vdadb core log var svc log application database vdadb sql log 45 Sun Virtual Desktop Infrastructure 3 0 a Previous Page How to Check the Core Service Up One Page Level t Checking VDA Services Next Page E How to Check the Admin GUI Service How to Check the Admin GUI Service How to Check the Admin GUI Service To check the status of the Admin GUI N O FO bs gt Cp a Z lt O 0 N WN oO H D S lt Q i D O w O 3 H D 10 ct Q pa G 09 gt lt 0 K gt O FO EH Se Cp a Z g Q 0 SS ke O Q pd D O w O 3 H D O ke O Q w Previous Page How to Check the Database Service Up One Page Level t Checking VDA Services Next Page E How to Check the RDP Broker Service How to Check the RDP Broker Service How to Check the RDP Broker Service The RDP broker service supplied by Sun VDI 3 0 also runs under the Solaris Service Management Facility To ensure that the RDP broker service is running U lt Q U U lt Q w O O H H Q 0 ct H O D gt 5 Q O ol 5 O pS D K Q 0 Fh w jar ct lt w K N U lt
30. Sun Virtual Desktop Infrastructure 3 0 EE __ __ _ eee lee _ _ _ _ _ _ _ __ _ _ __ _ A The files will be installed to opt SUNWvda vda install The installation script displays the text of the Sun Software License Agreement and prompts you to accept its terms and conditions After the license confirmation the installation process begins and all VDI components are installed These components include Sun Ray Server Software Sun Ray Connector for Windows Operating Systems Sun VDI Core MySQL Database Web Administration Apache Tomcat RDP Broker Sun Ray Client On completion the installation script will indicate the path of the installation log file All installation log files are stored in the directory var sadm install logs 5 Reboot the VDI server Up One Page Level t Installing Next Page Configuring the VDI Core Configuring the VDI Core Configuring the VDI Core Configuring the VDI Core for a Production Environment provides high availability and the required level of performance for medium to bigger deployments For the Production Setup a minimum of three VDI hosts is required in order to guarantee high availability a Primary host and two Secondary hosts e How to Configure Sun VDI for a Production Environment e How to Configure a Remote MySQL Database Additional VDI Configuration Options If you have an expert understan
31. Used Searching for Users and Groups The administration tools web GUI or CLI allow to search for users and groups in order to assign them to desktops or pools The search logic works as the following the filter used to search for users is amp lt ldap user object filter gt lt ldap user search filter gt the SSEARCH_STRING placeholder is replaced by criteria where criteria is the string typed in the web GUI search field same applies for groups using the group filters search is performed for users first then for groups 146 Sun Virtual Desktop Infrastructure 3 0 Requesting a Desktop for a User When requesting a desktop for a user VDI first needs to find the user DN that matches the user id before resolving the pool desktop assignments for the user DN If client authentication is enabled then the user id attribute is also used for authentication The attributes used to match the user id are defined in ldap userid attributes Resolving Group Membership Group membership is resolved using the attributes defined in ldap user member attributes and ldap group member attributes Nested group depth is limited to 3 VDI also resolves Primary Group membership which is Active Directory specific The attributes used for resolving primary group membership are defined in ldap group short attributes and ldap user member attributes LDAP Cache In order to improve the performance and reduce the load on the user directory t
32. VDI Core is also responsible for the brokering of virtual desktops on behalf of desktop access clients By integrating with Active Directory the VDI Core is able to provide support for assignment of virtual desktops to existing users and groups within an organization The VDI Core configuration data and runtime information is stored in a MySQL database which may be shared across multiple VDI Core instances on the network This ensures access to the VDI Core even in failover scenarios Desktop Access There are three distinct mechanisms supported for access to virtual desktops Sun Ray Thin Client Access In this case a custom Sun Ray Software Kiosk Session is initiated when a user inserts a token card into a Sun Ray thin client This session uses the Sun VDI Core to request access to a virtual desktop on behalf of the user Once a virtual desktop has been assigned to the user a Remote Desktop Protocol RDP connection to the desktop is established for the session using the Sun Ray Windows Connector Secure Web Access with SGD In this case the browser is used to initiate a Sun Secure Global Desktop Software SGD session SGD in turn uses the VDI Core s RDP redirection capability to establish a connection to an assigned virtual desktop RDP Client Access RDP redirection must be supported on the client side to use this mechanism As with the previous case the VDI Core s redirection capability is used to establish a connection to an assigne
33. ZFS storage Sun VDI 3 in combination with VirtualBox uses the ZFS filesystem to create snapshots of virtual machine disk images or to clone replicate virtual machine disks The interaction with ZFS is handled automatically and is completely encapsulated within VDI Sun Virtual Desktop Infrastructure 3 0 However initially you must setup the ZFS storage more precisely a ZFS storage pool aka zpool As previously mentioned the second disk should be configured as ZFS storage Simply trigger the following command as root user N FO O O ke Q K D w D lt U H A S w 3 D O Fh u D Q O D Q O H 09 an V In this case the name of the zpool is VDI but you can also use any other name in your setup If you do not know the name of your second disk you can look it up using the format or fdisk command ZFS uses any memory available up to the limit for a so called ARC cache This can cause issues in a demo setup because VDI may falsely report that there is not enough memory for starting up any virtual machine To resolve this issue adapt the max value used for the ARC cache For example to restrict the memory to 2GB add the following line in etc system set zfs zfs_arc_max 2147483648 u lt Q w Q 3 D 5 w O ke D u lt Q DaS u lt u T D 3 S H 0 Q u H Q a Q 0 Hh w ke ct 3 Install the virtualization platform For the demo installation we will
34. any desktop Typically users will be asked for a user name password combination and optionally a Windows domain The VDI service will then contact the user directory for the verification of the provided user credentials If authentication succeeds the connection to the desired desktop will be established otherwise it will be denied The user name password will also be forwarded to the guest OS running the desktop this way users get automatically logged into their desktop without the need to potentially pass another login screen For Sun VDI 3 automatic login will work for Windows RDP only forwarding of user credentials does not work yet for VRDP and non Windows OS Authentication on the VDI service level can be disabled if desired However special care needs then to be taken on the users desktops setup to not open unwanted security holes For example it is good practice if desktops are configured to always present their own login screen before displaying the actual desktop content This way authentication is still required but it is now performed on the guest OS level only This setup also allows to take advantage of more advanced authentication techniques that are not supported out of the box by the VDI service For security reasons it is recommended to leave authentication always enabled unless the simple user name password authentication does not satisfy your requirements Enabling Disabling Authentication You can use the V
35. base DN For example cn Users dc my dc company dc com Enter the user name It must be the fully distinguished name DN of a user that has sufficient privileges to search the LDAP directory For example cn super user cn Users dc my dc company dc com If integrating with an Active Directory you may use the user principal name for the user For example super user or Super user my company com Enter the password for the user Click Next to review your choices before completing the configuration 203
36. by double quote to open double quote followed by single quote to close denotes mandatory parameters provider vc create 89 help Print this help list Options p lt propl gt lt valuel gt lt prop2 gt lt value2 gt properties lt propl gt lt valuel gt lt prop2 gt lt value2 gt Sun Virtual Desktop Infrastructure 3 0 Create a new VMware VirtualCenter desktop provider Usage vda provider vc create p lt propl1 gt lt valuel gt lt prop2 gt lt value2 gt properties lt prop1 gt lt valuel gt lt prop2 gt lt value2 gt help Print this help list Options p lt propl gt lt valuel gt lt prop2 gt lt value2 gt properties lt propl gt lt valuel gt lt prop2 gt lt value2 gt The list of properties that define the desktop provider Properties name lt name gt The name for the desktop provider host lt host gt The hostname of the VMware VirtualCenter host port lt port gt The port to connect to the VMware VirtualCenter host The default is 443 username lt username gt The username to authenticate to the VMware VirtualCenter host password lt password gt the password to authenticate to the VMware VirtualCenter host comment lt comment gt The comment for the desktop provider If a property value contains a comma use the double quoting syntax for the value such as lt prop gt lt value gt single quote followed by double quote
37. by start status Display status of server enable Enable the server to start at system boot disable Disable the server from starting at system boot The accepted values for OPTIONS are f Display this help list Sun Virtual Desktop Infrastructure Administration vda webadmin 1M NAME vda webadmin Sun Virtual Desktop Infrastructure Web Administration tool SYNOPSIS opt SUNWvda sbin vda webadmin start opt SUNWvda sbin vda webadmin stop opt SUNWvda sbin vda webadmin restart opt SUNWvda sbin vda webadmin status opt SUNWvda sbin vda webadmin enable opt SUNWvda sbin vda webadmin disable opt SUNWvda sbin vda webadmin h DESCRIPTION The Sun Virtual Desktop Infrastructure Web Administration tool allows administrators control and configure the broker ing of desktop sessions vda webadmin may be used to control the web administration service used by the tool SUBCOMMANDS The following subcommands are supported start Start the service stop Stop the service restart Restart the service status Query and print the service status enable Enable the service to start at system boot 105 Sun Virtual Desktop Infrastructure 3 0 gt H wH y pb a pH 4 O Y E O O O 10 o 0 Q Q E 5 Uv H E ES Go 0 O gt pH 10 n O 0 DN gt O p n E 4H 3 uE O O H p oa 5 UD Y Q Y 0 O 10 la po p ON y pP pl wp S O OY Y L o H s oO o n H oO E p c s O gt E y y H a O 5 Y
38. ee Scl eee tualBox desktop provider Disabled hosts are not used for automated cloning Refer to http wikis sun com display VDI3 Home for a com plete list of available subcommands and their usage OPTIONS The following options are supported X parseable the x option displays information in a parseable format as Sun Virtual Desktop InLasttchange 03 11 09ration 3 Sun VDI 3 0 vda 1M a list of lines of colon separated fields The x option is available for the list show search desktops subcom mands EXIT STATUS Exit Code Status 0 Successful completion 1 An error occurred 2 Invalid command line options or arguments were specified EXAMPLES Example 1 Creating a Desktop Provider The following example creates a VMware VirtualCenter desktop provider example opt SUNWvda sbin vda provider vc create p name VC provider host my vc com username Administrator The following example creates a xVM VirtualBox desktop pro vider with two hosts and one storage examples opt SUNWvda sbin vda provider vb create p name VB provider example opt SUNWvda sbin vda provider add host p host my first vb com port 443 username root VB provider 50 Sun Virtual Desktop Infrastructure 3 0 m example opt SUNWvda sbin vda provider add host p host my second vb com port 443 username root VB provider Sun Virtual Desktop InLasttchange 03 11 09ration 4 Sun VDI 3 0 vda 1M examples opt SUNWvda s
39. forth in the applicable Government contract and to the extent applicable by the terms of the Government contract the additional rights set forth in FAR 52 227 19 Commercial Computer Software License December 2007 Oracle USA Inc 500 Oracle Parkway Redwood City CA 94065 This software is developed for general use in a variety of information management applications It is not developed or intended for use in any inherently dangerous applications including applications which may create a risk of personal injury If you use this software in dangerous applications then you shall be responsible to take all appropriate fail safe backup redundancy and other measures to ensure the safe use of this software Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software in dangerous applications Oracle and Java are registered trademarks of Oracle and or its affiliates Other names may be trademarks of their respective owners Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International Inc AMD Opteron the AMD logo and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices UNIX is a registered trademark licensed through X Open Company Ltd This software and documentation may provide access to or information on content products a
40. from the VDI GUI and then a Start How do make a desktop available to a user at all times in VDI 3 How do make a desktop available to a user at all times in VDI 3 Make sure the user s desktop has a personal assignment instead of a flexible assignment For more about desktop assignment types see What is the difference between Personal and Flexible desktop assignments How do migrate a VDI Demo configuration to a VDI Single Host configuration How do migrate a VDI Demo configuration to a VDI Single Host configuration 1 On the Demo host execute the following opt SUNWvda mysql bin mysgldump defaults file etc opt SUNWvda my cnf port 3306 u root opt vda gt demosetup sql i 2 Save demosetup sql on the Single Host setup 3 Execute vda config using option 3 with InnoDB as the database 4 On the Single Host setup host execute the following usr local mysql bin mysql vda lt demosetup sql You must use the database name vda as seen in the commands above otherwise the migration will fail This is because the default name of the database during the Demo configuration is vda How do specify USB redirection for Sun Ray How do specify USB redirection for Sun Ray You can adapt the Kiosk session parameters using the Sun Ray Admin GUI as described on the Sun Ray Kiosk Session page Add the desired drive mapping after any other uttsc specific settings lt specific settings for desktop selec
41. hosted by a VMware Infrastructure virtualization platform Running the MySQL Cluster completely in a virtualized environment is not supported Given the fact that the MySQL Cluster management node or Primary node requires only little resources the MySQL team has agreed that it is an acceptable and supported scenario to run it in a virtual machine The two VDI 3 Secondary hosts running the MySQL Cluster data nodes nevertheless need to run on bare metal 25 Sun Virtual Desktop Infrastructure 3 0 VMware ESX Server DI Primary VDI WO Secondary 1 Secondary 2 Explicitly Unsupported Configurations e Virtualized VDI Core In a Virtualized VDI Core configuration the Sun VDI 3 Primary and two Secondary nodes could be hosted in virtual machines this may work for some deployments but it is explicitly unsupported Sun VDI 3 core with embedded database provides High Availability out of the box which requires network and I O response times that cannot be guaranteed in virtualized environments Customers who rely on a fully virtualized environment will need to use a configuration utilizing an external database However there is one exception for the Primary VDI Core node This node can be virtualized with the embedded database as long as it is not used for delivering sessions to users For more information about virtualizing the MySQL database see the MySQL FAQs Although not supported you may still be interested in virtualizing the V
42. if so 389 is the default for anonymous and simple authentication 636 is the default for secure authentication May be a semi colon separated list of hosts Property required with anonymous simple and secure authentication basedn lt basedn gt The base DN to restrict the part of the directory used to search for users Valid only with anonymous simple and secure authentication addomain lt addomain gt The Active Directory domain name Valid only for kerberos and publickey authentication username lt username gt The username to authenticate to the user directory with Required with simple secure and kerberos authentication password lt password gt The password to authenticate to the user directory with Required with simple secure and kerberos authentication denotes mandatory parameters directory show Show the configuration details for the user directory Usage vda directory show help Print this help list settings settings getprops 100 Sun Virtual Desktop Infrastructure 3 0 List global settings Usage vda setrings getprops p lt propl gt lt prop2 gt property lt prop1l gt lt prop2 gt help Print this help list Options gt lt prop1 gt lt prop2 gt property lt prop1l gt lt prop2 gt The list of global settings to read Properties clientauthentication Determines whether clients are authenticated vbox connect timeout Connection timeout to the xVM Vir
43. is recommended to set the Pool Cloning Machine State option to Running which keeps the desktops always running and therefore decouples the OS boot from the login of a user Another option is to trunk several interfaces as a cheap way to provide more than 1 Gb s bandwidth via one IP It is also possible to use Jumbo Frames to speedup iSCSI connections Jumbo Frames need to be configured for all participants of the network storages VirtualBox servers and switches and it is important to note that Jumbo Frames are not standardized so there is a risk of incompatibilities 28 Sun Virtual Desktop Infrastructure 3 0 Typically there is no shortage of disk space VDI 3 in combination with VirtualBox uses the sparse volume feature of ZFS which allows to allocate more space for volumes than physically available as long as the actual data written does not exceed the capacity of the storage This feature in combination with the fact that cloned desktops reuse unchanged data of their templates results in a very effective usage of the available disk space In this light the calculation for disk space below is a worst case scenario assuming that all volumes are completely used by data which differs from the template Number of cores number of virtual disks in use 200 Example A x7210 storage with 2 CPUs and 4 cores per CPU can serve up to 2 4 200 1600 virtual disks Memory size The more the better as the free memory can be used as disk cache
44. lt prop2 gt properties lt propl gt lt propz gt The list of properties to reset Properties assignment type The assignment policy for this pool power state The power state of a desktop after cloning or recycling name pattern The naming pattern to use for new cloned desktops recycle policy The action to take when recycling desktops idle timeout The time a machine remains suspended before being made available synchronous cloning The maximum number of parallel desktop cloning jobs network interface The type of network interface for xVM VirtualBox pool NAT or Host Interface Valid only for xVM VirtualBox pools desktop protocol The type desktop protocol for xVM VirtualBox pools only valid if the network interface is Host Interface Valid only for xVM VirtualBox pools Operand lt name gt The name of the pool denotes mandatory parameters Unset the properties of the pool Usage vda pool unsetprops p lt propl gt lt prop2 gt properties lt propl gt lt prop2 gt lt name gt help Print this help list Options p lt propl gt lt prop2z gt properties lt propl gt lt prop2 gt The list of properties to unset Properties template The id of the template used to automatically populate this pool Operand lt name gt The name of the pool denotes mandatory parameters pool show 83 Sun Virtual Desktop Infrastructure 3 0 Show detailed information about the
45. new dimension in virtual desktop management It is a challenge in terms or management of the sheer amount of desktops as well as handling the storage capacity needed to host 21000 virtual desktop images with an average amount of 10GB per individual image This sums up to a total of 210 TB Sun VDI 3 actually uses a number of intelligent techniques to simplify the management First of all Sun VDI 3 doesn t actually run all the desktops in parallel It only runs those desktops that are currently used by participants As there are about 150 Sun Ray terminals around the conference there are only about 150 200 desktops in use at a time The way this is organized is quite simple When a user inserts his conference badge and selects a certain desktop the desktop is started or resumed from a previous usage When a user finally removes his card the desktop s being in use are suspended meaning they are stopped and their current state is stored to disk This behavior reduces the total requirement for CPU and memory quite dramatically A similar efficient approach is used on the storage side Instead of creating 21000 full disk images in advance Sun VDI 3 just populates 3 desktops images fully on the storage side One image per desktop type OpenSolaris Windows or Ubuntu The images are used as templates Based on these templates there are a couple of thousand sparse desktop clones created for each template These clones reference their template and grow only when
46. new to SRS and VDI Thus we tried to simplify things for VDI 3 and offer a single out of the box experience for installation and configuration In VDI 3 there is no need anymore to install SRSS and SRWC manually before installing the VDI Core Instead everything is installed automatically using a single installation script vda instal1 We also offer a configuration script vda config that configures the various pieces for common usage scenarios It is still possible to adapt or fine tune things later using the usual SRSS commands There have been no changes to the SRS product itself SRS still uses its own LDAP based datastore for storing configuration settings specific to SRS However the VDI Core formerly called VDC now takes advantage of a full blown MySQL database for storing settings specific to VDI including desktop pool settings desktop assignments etc In VDI 2 these settings were stored in 195 Sun Virtual Desktop Infrastructure 3 0 the SRS datastore but this created several issues In VDI 3 the read write cycles frequency are higher compared to VDI 2 and thus an LDAP based datastore was no longer the best suitable choice What are the requirements for High Availability in a VirtualBox backend What are the requirements for High Availability in a VirtualBox backend High Availability for a VirtualBox virtualization platform would require at least 2 VirtualBox hosts In the event that one VirtualBox server goes down
47. not enough memory is available to start the virtual machine Full details are available here http www solarisinternals com wiki index php ZFS_Evil_ Tuning _Guide ARCSIZE Solution The memory for the ARC cache can be limited to a max value by adding an entry in etc systems file For example to restrict the memory to 2GB in etc system add set zfs zfs_arc_max 2147483648 It has been verified that keeping this value to as low as 512MB and importing a file of 2 7G will work as desired Desktops cannot use Host Networking unless VirtualBox has been configured to run as root Bug ID 6839450 Virtual machines cannot be started with host networking unless the VirtualBox web service runs as root During log off VirtualBox desktops do not go into idle state when settings are Host Networking WinRDP Bug ID 6837283 Desktop never go to the idle state and remain in used state forever and hence do not get recycled VDI Host Overload Bug ID 6810444 20 Sun Virtual Desktop Infrastructure 3 0 In case you see a blank page when login in to the administration ui it s likely that database problems are the root cause You may for instance see Error 157 in the database log files in var opt SUNWvda mysql cluster of the primary or one of your secondary hosts Cause When using the VDI MySQL Cluster database the first two VDI secondary hosts run the MySQL Cluster data nodes in addition to a MySQL SQL node SRSS SRWC VDI etc
48. or MySQL Cluster 6 2 15 or higher On completion the configuration script will indicate the path to the configuration log file This will be var adm log vda config lt date and time gt log The configured primary host cannot host Sun Ray sessions nor run the VDI Service It just serves as a primary in the Sun Ray FOG and as the management node of the MySQL Cluster database if the VDI MySQL Cluster database option has been chosen during configuration In order to turn it into a fully fledged VDI host which is not recommended you would have to run vda config a second time after the first two secondaries have been configured 2 Configure the Secondary Sun VDI Hosts AB Always wait until the configuration of one Secondary host has completed before configuring the next one You may spoil the MySQL Cluster otherwise 3 Go to the installation directory Q Q a O FO DaS 9p G Z lt O Q N u 2 H D 4 Execute the configuration script 34 rr Sun Virtual Desktop Infrastructure 3 0 a Select the 2 Secondary Sun VDI Host configuration type and specify an administrator password b Specify a cluster signature Must be the same as for the primary host c Specify the maximum number of users to be hosted d Specify the user ID range start This information is useful to avoid user ID conflicts and to comply with company regulations regarding user IDs e Enter the DNS names of the primary host and the seconda
49. participants start using their desktops This cloning technique is based on capabilities of the Solaris filesystem ZFS and are exposed by the recently announced Unified Storage Systems If you want to find out more about the architecture of Sun VDI 3 you should start reading here Architecture For the conference we have been using a relatively small setup compared to the number of desktops to be hosted that focuses on responsiveness of the desktops sized for an upper limit of 400 to 500 hundred desktops running at the same time As stated above we expect a load of 150 200 hundred desktops due to the limitation of having just 150 Sun Ray terminals VDI Core Servers Primary capi OOO a Secondary AN a A or i AANANN ARANAN NN dh her all hl AMAN AAA i Ea les jsa bss k ss le lil ini hai ka bei bl lie i a e fl IMA 2 AA l ini a AN 0 ARAN ls AN ka ka bind bal G a fmm kimm lt ls boi Lo ll la o fb ot a r xVM VirtualBox Servers The illustration above shows the general architecture It misses just the terminals that are connected through a private interconnect with the 3 VDI core servers responsible for the session handling Here we are using 3 x4600 each with 4 CPUs and 16GB memory This is well enough for the session handling and virtual desktop management The virtualization layer is equipped with 5 x4450 servers each 4 CPUs 6 cores per CPU and 64MB of memo
50. select the new virtual machine and power it on After some time you should see its IP address and hostname appear in the Virtual Infrastructure Client Make sure that it has a unique IP address and that the hostname corresponds to the virtual machine name 4 On the VMware vCenter server open a Remote Desktop Connection by clicking Start gt All Programs gt Accessories gt Communications gt Remote Desktop Connection a In the Remote Desktop Connection window enter the IP address of the newly cloned virtual machine and click Connect b If everything is configured correctly a full screen remote desktop session to your virtual machine should be displayed da Previous Page Defining Virtual Machine Templates in VMware vCenter Up One Page Level t Installing Installing the VDI Core Installing the VDI Core The VDI Core can be installed on an x86 or SPARC platform running Solaris 10 Update 6 64 bit It is important to note that when you are choosing to use the embedded MySQL Cluster database all of your hosts need to be of the same architecture either x86 or SPARC If you have an xVM VirtualBox virtualization platform the VDI Core and xVM VirtualBox may share the same host Steps 1 Become root user W n a G D N H ag Q P WW Q 3 O OD D gt N H FO or G D N H FO lt Q U E un FO w K Q N H FO Q Q H 3 w Q D 4 Execute the installation 31
51. system Follow the instructions provided by the Quick Setup manual of the Sun Unified Storage System 2 Update the Sun Unified Storage System Software Updating the Sun Unified Storage System Software is an optional action We recommend to update the system to version ak 2008 11 20 1 0 1 1 5 or higher This version contains important performance features 3 Create a project Creating a project is an optional action There is always a project called default which can be used by Sun VDI 3 AB Do not update the software of a Sun Storage 7000 Unified Storage System after it has been added to VDI 3 Please see the Release Notes for more information Up One Page Level t Setting Up a Storage Server Next Page E How to Set Up an OpenSolaris Storage Server How to Set Up a Solaris Storage Server How to Set Up a Solaris Storage Server Each virtual disk is represented by a ZFS volume The ZFS volumes are stored in a ZFS pool and accessed by xVM VirtualBox via iSCSI The management of the ZFS volumes is done by Sun VDI 3 0 and requires ssh root access to the ZFS storage server and a ZFS pool on that ZFS storage server A Solaris storage server requires the following preparation Steps 1 Install the operating system Install Solaris 10 update 7 The Solaris installer offers you the option to use UFS or ZFS for the root file system It is recommended that the storage server contains multiple disks and the other disks are exclusively us
52. the SRSS Admin GUI see the Tokens tab and display Currently Used Tokens Users can also be associated to existing tokens To do this select Add in the user s Tokens table and search for the desired token How to Create Bulks of Tokens Using the vda CLI Command It is possible to create a number of tokens at once using the token create subcommand The token create subcommand can take an input file containing the tokens to create and the user associated with the token if needed Usage 149 Sun Virtual Desktop Infrastructure 3 0 EE __ _ _ ee eeeEeEeEeEEeeeQeOoe Options f lt token file gt file lt token file gt A CSV file containing the properties of the tokens to be created Format of the file is lt token id gt lt comment gt lt userid gt W write Overwrite existing tokens option to be used with the token file option The format of the token file is CSV with the following values token id the id of the smart card this value is mandatory comment a comment about the token that can be used as a user friendly description of the token This value maybe empty userid the user id of a user from the user directory to be associated with the token This value maybe empty Example The following example shows a valid csv file for token creation and uses the file to create the tokens and their association to users example cat tokens csv mo12 345 token for Mary O Leary moleary 3s46 23
53. the VirtualBox GUI but it will not start from the VDI Admin GUI Users do not show up in the Admin GUI in the Users and Groups section B cannot log into the Admin GUI B There is an error when I add a VirtualBox host to a desktop provider get a blank screen after successfully logging into the Admin GUI VDI Demo Can install a full Demo without user directory integration Can set up a Demo of VDI 3 on one machine Can use OpenSolaris instead of Solaris 10 Update 7 for my single host Demo Can convert a VDI Demo into a clustered VDI Production environment E How do migrate a VDI Demo configuration to a VDI Single Host configuration Can install the VDI Demo in a virtual machine B Can I try out MySQL or set up an evaluation VDI remote database B VDI database doesn t start during an Evaluation configuration B Is the Demo configuration a supported configuration VDI Services B Jobs don t finish even after canceling them using the Admin GUI B The system is not reacting as expected Is there a way to modify the cacao logging behavior so that a long history can be maintained The VDI logs are not showing me any useful information Can adjust the logging level B vda command reports that VDI is not running although cacaoadm and vda db status say it is 175 Sun Virtual Desktop Infrastructure 3 0 VirtualBox Virtualization Platform What are the requirements for High Availability in a VirtualBox backe
54. the host details and clicking the next two actions happen e Resolve hostname if used e Fetch the SSL and SSH certificates An error on this page can be related to DNS problems resolving the hostname or issues contacting the host 1 Verify that all information entered is correct including SSH and SSL ports The SSL port refers to the port Apache 2 is listening on 2 Verify that the VDI host can resolve the host by using nslookup lt hostname gt from a shell on the VDI host 3 If the name can be resolved verify that the host is running and SSH and Apache 2 have started successfully This can be checked as follows Verify Certificate Step After reviewing the certificates and clicking Finish Next an error here indicates that the VirtualBox web service cannot be contacted or may not be running Verify that the service is online 189 Sun Virtual Desktop Infrastructure 3 0 The Sun Ray DTU is cycling and cannot connect to a virtual machine The Sun Ray DTU is cycling and cannot connect to a virtual machine 1 Verify that you have a virtual machine available to connect to 2 Verify that remote access is correctly configured on your guest operating system 3 Verify that the VDI Core host can communicate with either your vCenter or your VirtualBox host The firewall on the vCenter server might be blocking the communication The user name or password might be incorrect 4 Verify that the VMware tools are installed on the Window
55. the vda config script and choose the 0 Evaluation Sun VDI Host configuration type Now you ve successfully installed and configured your VDI demo For the remaining steps use the VDI and VirtualBox administration tools Creating Virtual Machine Templates After installing the software you should prepare a couple of virtual machines that will later be assigned to users This is a two step process first create virtual machines using tools from the VirtualBox virtualization platform Then import the prepared virtual machines into Sun VDI The imported virtual machines can either be assigned to users or can act as templates for cloning additional machines VirtualBox provides some management tools for creating new virtual machines which were installed on your demo machine when vb install was executed If you prefer to prepare and test virtual machines on a separate machine for example using your laptop then you can also download a compatible VirtualBox 2 0 8 version for your preferred operating system from here The following steps assume that you are running the VirtualBox tool directly from your demo machine 1 Create a new virtual machine using the VirtualBox GUI 0 As root startup the Sun VirtualBox GUI 1 You can safely ignore the notification that a newer VirtualBox version is available 2 Click New to launch the New Virtual Machine wizard 3 The wizard will guide you through virtual machine creation Be sure to choose the app
56. to VDI 3 0 the first pool will succeed and the next ones will fail Cause A misconfiguration in the vda migrate tool Solution It is recommended not to migrate several pools simultaneously from VDI 2 0 to VDI 3 0 a patch for this issue will be available soon 21 Sun Virtual Desktop Infrastructure 3 0 Importing VDI 2 0 data into VDI 3 0 fails if pool s recycle policy is Destroy Bug ID 6818383 Cause The Recycling Policy value destroy in VDI 2 0 became delete for VDI 3 0 Solution Edit the exported text properties file migrate _svdc_1 It should be located in the directory which was used to export previous Sun VDI data Find all the lines which end with pool recyclepolicy Destroy and modify them to pool recyclepolicy Delete Reporting Problems and Providing Feedback To report a bug in the software please send an email to the VDI Team If you are reporting a bug please provide the following information where applicable Description of the problem including the situation where the problem occurs and its impact on your operation Machine type operating system version browser type and version locale and product version including any patches you have applied and other software that might be affecting the problem Detailed steps on the method you have used to reproduce the problem Any error logs or core dumps Further Information You may also be interested in these related release notes Sun
57. to authenticate to the storage zfspool lt zfspool gt The name of the ZFS pool to use on the storage If a property value contains a comma use the double quoting syntax for the value such as lt prop gt lt value gt single quote followed by double quote to open double quote followed by single quote to close Operand lt provider gt The name of the desktop provider denotes mandatory parameters provider remove storage Pes ey Remove the storage from the xVM VirtualBox desktop provider Usage vda provider remove storage h lt host gt host lt host gt z lt zfspool gt zfspool lt zfspool gt lt provider gt 7 help Print this help list Options h lt host gt host lt host gt The hostname of the storage server x z zi ispool gt zfspool lt zfspool gt The name of the ZFS pool of the storage Operand lt provider gt The name of the desktop provider denotes mandatory parameters provider list templates 96 Sun Virtual Desktop Infrastructure 3 0 List the templates for the desktop provider Usage vda provider list templates x parseable lt provider gt help Print this help list X parseable Display output suitable for programmatic parsing Operand lt provider gt The name of the desktop provider denotes mandatory parameters Options List the desktops from the VMware VirtualCenter that are not managed by any
58. token for user John Smith smith x34 45 token without any associated user example opt SUNWvda sbin vda token create f tokens csv example opt SUNWvda sbin vda token search NAME USER DN mol2 345 Mary O Leary cn Mary O Leary ou people j3s46 23 John Smith cn John Smith ou people x34 45 Previous Page How to Add Users to Pools Up One Page Level t Administering Next Page E How to Create Automated Administration Scripts How to Create Automated Administration Scripts How to Create Automated Administration Scripts The opt SUNWvda sbin vda CLI can be used in scripts for automated administration Reading the Return Code The opt SUNWvda sbin vda returns the following exit codes e 0 Successful completion e 1 An error occurred e 2 Invalid command line options or arguments were specified Parsing the Output of the CLI 150 Sun Virtual Desktop Infrastructure 3 0 A number of subcommands support a parseable option so that the output is formatted for easy parsing as a list of lines of colon separated fields The syntax of the option is X parseable Display output suitable for programmatic parsing Jump List of Subcommands user search user show user desktops group list group show token search token show token desktops pool list pool show pool desktops provider list provider show provider list hosts provider list storage provider list templates provider list unma
59. use Sun VirtualBox as the virtualization platform e You must use the VirtualBox archive vbox_2 0 zip that is bundled with Sun VDI 3 This archive includes Sun VirtualBox 2 0 12 together with an installation script vb instal1 that automates the necessary configuration steps As root user unzip the VirtualBox archive and execute the installation unzip vbox_2 0 zip cd vbox_2 0 vb install The installation script installs the VirtualBox packages and starts up the VirtualBox web service In addition the Apache web server bundled with Solaris 10 will be configured to act as SSL proxy for the VirtualBox web service 4 Install the VDI Connection Broker aka VDI Core As root user unzip the VDI archive and execute the installation unzip vda_3 0_amd64 zip cd image vda install After accepting the license agreement the installation process begins and all VDI components are installed These components include Sun Ray Server Software Sun Ray Connector for Windows Operating Systems Sun VDI Core MySQL Database Web Administration Apache Tomcat RDP Broker Sun Ray Kiosk session scripts e After successful installation reboot your machine Sun Virtual Desktop Infrastructure 3 0 Se 5 Apply the VDI 3 Patch 3 e Download VDI 3 patch 3 141482 03 from sunsolve e Install the patch on your system As root user trigger the following command 6 Configure VDI for Evaluation As root user execute
60. user ldap user search filter LDAP filter used to search for users according a search criteria Searches for users can be done using the user search command or in the web administration console SSEARCH_STRING is the placeholder for the search criteria ldap user member attributes List of comma separated LDAP attributes on a user object storing the groups the user is a member of ldap userid attributes List of comma separated LDAP attributes storing the userid value for user objects This is used to finda user given its userid ldap group object filter LDAP filter used to identify objects of type group ldap group search filter LDAP filter used to search for groups according a search criteria Searches for groups can be done using the user search command or in the web administration console SSEARCH_STRING isthe placeholder for the search criteria ldap group member attributes List of comma separated LDAP attributes on a group object storing the users member of the group ldap group short attributes List of comma separated LDAP attributes on a group object storing the information for short membership ldap container object filter LDAP filter used to identify objects of type container Containers can be selected as root for custom group filters in the web administration console ldap container search filter LDAP filter used by the web administration console to search for containers according a search criteria when selecting a root for a custom group f
61. your Active Directory 0 To get the full functionality offered by Kerberos Authentication it is necessary to provide the credentials of a user that has write access to the Active Directory This user will be used to read users and delete computer entries from the directory Steps Kerberos Authentication requires some specific configuration on the Active Directory server and VDI host prior to setting up the user directory in the Admin UI 1 Kerberos authentication must be enabled in Active Directory It should already be enabled as the default 2 Ensure that each Active Directory domain has a global catalog server Configure a domain controller in each domain as a global catalog server 3 Synchronize the time between the VDI server and Active Directory server For example use ntpdate lt my windows host gt 4 Edit the system default Kerberos configuration file etc krb5 krb5 conf on Solaris OS platforms on the VDI server At a minimum the Kerberos configuration file must contain the following sections e libdefaults this sets defaults for Kerberos authentication You must set the default_ realm and default_ checksum 0 realms this sets the KDCs for each Kerberos realm A realm can have more than one KDC The entry for each KDC has the form hostname port The port can omitted if the default port 88 is used domain_realm this maps Active Directory domains to Kerberos realms The following is an example Kerberos configuratio
62. 2 gt The list of storages used when the pool creates new desktops Semi colon separated list of storage IDs the IDs can be found using the provider list storage command Valid only for VMware VirtualCenter pools network interface lt network interface gt The type of network interface for xVM VirtualBox pool NAT or Host Interface Possible values are nat or host Valid only for xVM VirtualBox pools desktop protocol lt desktop protocol gt The type desktop protocol for xVM VirtualBox pools only valid if the network interface is Host Interface Possible values are virtualbox or windows rdp connector Valid only for xVM VirtualBox pools If a property value contains a comma use the double quoting syntax for the value such as lt prop gt lt value gt single quote followed by double quote to open double quote followed by single quote to close Operand lt name gt The name of the pool denotes mandatory parameters tds 82 Sun Virtual Desktop Infrastructure 3 0 OOOO I TT lee_ w_eeoooooo _ _ _ _ _ _ _ _ __ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ AA pool resetprops Reset the properties of the pool to their default value Usage vda pool resetprops p lt propl gt lt prop2 gt properties lt propl gt lt prop2 gt lt name gt help Print this help list Options p lt propl gt
63. 6 2 3 How to Set Up Secure Authentication 0 0 0 cc cc ee eee eee eee een ee enaes 133 5 6 3 Customizing the LDAP Filters and Attributes 2 0 0 0 ccc eee e eee e ene nes 134 5 6 4 User Directo Settings xx ac ant Nes Aen ene a eels aaa an aks oe oe Paws MA eae eae Ree ow be ae oS 147 D7 OW tO Add Users TO OOS cd cin Oe a eae EA a ee as 148 5 8 How to Associate Tokens to Users awed ews is ee ede el wend ehetad etetde ace Shahar bya aws Agiado eas 149 5 9 How to Create Automated Administration Scripts 2 0 cc eee e eee e eee ees 150 5 L0 VDEDEtault GOMnGUurallOMm sarsaran tapie Sree SNS OS tae Aras 156 Sel Adapting Sun Ray SOWIE ers rAr ue cae a eee Ae el ns EET 158 Slee Suh Rav AGIMIMISHFAtION GUI at A A NE aes weed eas Ta ee SEES 159 S212 SUI ay COMPuUNO MOEN 4 5 nen csg scat A WY arms A Rk or eee ni ce 159 SFS MTR KIOSK SESSION SA IA aaa wee ee ewe aoe ewe ee AA 160 5 12 Setting Up Sun Secure Global Desktop Software 0 ccc eee ene e enn nee nnns 162 5 13 Understanding the RDP Broker se sc sakanw eke towed A A eho A doen des 163 514 Accessing Desktops with a Sun Ray DTU pas avs oe sales ang Ad cA ARS ae AMSG TESA TRA A 164 5 15 Accessing Desktops with SGD Web Access esposa cues ee aad AGG RAR NARA AAA RR 170 5 16 Accessing Desktops with Microsoft RDC 2 1 eee eee e eee n eee enas 170 5 17 Disabling Client Authentication ba 2st eee A Ada ae 171 6 TROUDIESMOOLING ANGIPAQS esc acc ated ad Pad a A A Wie Soe aA A Cm Es Bh
64. 63 457 The VGd serviceCOMManG 5 04 the eee tee eee die eee the Wa ee CUR ee eke kis 66 450 Me Vdd SUDCOMMANGS pa peaks ea wee Ghia eee ew Ee a OE Saw eae ees BG Res 68 45 9 The vyda webadmin Command sar ie es GOS oe GAS Cae ad eae Sie Re ESS Haws AGEs 104 4 6 Setting Wp a Storage LIVE ai A eae ewes ees Re ee AAA he SE Re aes 107 4 6 1 How to Set Up an OpenSolaris Storage Server 0 ccc eee teen eee eens 107 4 6 2 How to Set Up a Sun Storage 7000 Unified Storage System ccc ene eee nes 108 4 6 3 HOw to Set Up a S0laris Storage Server sis ands BBSRC RSA GO OHO TERRES AAA AA 109 4 7 Setting Up a Sun XVM VirtualBox SEVEN Dee aie anaemia Sak Res wate 110 4 8 Defining Virtual Machine Templates in Sun xVM VirtualBox 0 0 0 eee teen eens 111 49 Setting Upra VMware ESX Server easier Re leon A dew be bia de ease de aie A A eka 112 4 10 Setting Up a VMware vCenter Server 2 2 0 0 ccc ee ee ence eee eee eee e ee eeeeeeees 113 4 11 Defining Virtual Machine Templates in VMware vCenter 0 0 0 cc ccc eee e een eens 114 AZ A a Cie eal lee a al e hh e sa 116 AS REMOVING Te VDC aca ES AE A e 117 4 14 How to Configure Sun VDI for a Single Host Setup oooooooorrr eee nee e een eens 118 Se AGMIMISLCrING A IAS Oe Me ee Res wae Sete eee A As 119 5 1 HOW 4O ACCess the Admin GUI eii one eel de Wee ol he eae a aa Ne ald a a le 6 EA Sa ee bbb hw ull 120 5 2 HOW to Create Desktop Providers bra e a aca EMSS ida Bees 120 5 2 1
65. B Which versions of JRE are supported What are the conditions of the VDI 3 0 concurrent users license for Sun Ray and SGD What is the support target for VirtualBox 3 0 0 B Is the Demo configuration a supported configuration Storage When start a desktop get this error No suitable hosts to start a desktop for Desktop Provider XYZ l have free memory on my ZFS storage host but my VirtualBox virtual machines will not start due to a lack of memory Does the VirtualBox swap space really have to be the same as the memory User Directory Users do not show up in the Admin GUI in the Users and Groups section Users cannot log into their desktops using their User Principal Name UPN or email address Can use PKI instead of Kerberos for authentication to an Active Directory 174 Sun Virtual Desktop Infrastructure 3 0 B What type of privileged access to the user directory is required am getting the error Currently there is no desktop available or assigned to you Kerberos authentication to Active Directory works for a while and then stops Users Users do not show up in the Admin GUI in the Users and Groups section B End users cannot access their virtual machines B Is it possible to customize the desktop login screen End users are not able to log into their Windows desktop VDI Admin GUI B Jobs don t finish even after canceling them using the Admin GUI can start a virtual machine from
66. Configurations to learn more about which hardware configurations will and will not work When configuring the VDI Core software make sure to choose the Evaluation configuration see Step 6 below for more details Installing the Software System Requirements You must perform the installation on a physical machine bare metal Installing the VDI software in a virtual machine will not work The machine must meet the following requirements x86 CPU At least 4 GB memory RAM At least 32 GB disk space it is recommended to use a system with two disks so that the Solaris OS uses on one disk and the ZFS storage uses the other see below Refer to the VDI 3 Release Notes for more details 1 Install the operating system You must use Solaris 10 Update 7 64 bit as the operating system Install the operating system on the first disk You should perform a default installation using either UFS or ZFS as the file system We recommend adapting the default partition layout e All of the VDI components will be installed under opt ensure that sufficient disk space is available here Swap space must be equal to or greater than the physical memory if you have 4 GB memory your swap space must also be 4 GB or more e Templates for virtual machines will be stored under var tmp you should reserve enough disk space for storing at least one or two virtual machine images Refer to the Solaris documentation for more details 2 Configure the
67. DA administration CLI to configure if authentication should be performed by the VDI service To check the currently configured authentication policy opt SUNWvda sbin vda settings getprops p clientauthentication To enable authentication the default opt SUNWvda sbin vda settings setprops p clientauthentication Enabled To disable authentication opt SUNWvda sbin vda settings setprops p clientauthentication Disabled Up One Page Level t Adapting Sun Ray Software e Setting Up Sun Secure Global Desktop Software e Accessing Desktops with Microsoft RDC Troubleshooting and FAQs Troubleshooting and FAQs 172 Sun Virtual Desktop Infrastructure 3 0 This page displays a categorical view of VDI Troubleshooting and FAQs Some questions will be shown in more than one category We are constantly updating this page based on VDI Forum questions Database l Does the MySQL database store all SRS related configuration What happens when the Primary VDI Core host fails Can convert a VDI Demo into a clustered VDI Production environment B Can I try out MySQL or set up an evaluation VDI remote database B VDI database doesn t start during an Evaluation configuration get a blank screen after successfully logging into the Admin GUI Desktops and Desktop Pools have created a new pool in my VMware desktop provider and virtual machines are not created automatically B In my VMware desktop pool new virtual machin
68. DAP hosts must be the replica of the main host The connection to the fallback hosts will be open using the same security level same port same base DN and same credentials as for the main host The list of LDAP hosts can be found in the LDAP tab Hosts can be added removed and their order can be changed Removing the User Directory The button to remove the user directory can be found on the LDAP or Active Directory tab If some assignments have been registered using some data users or groups from the user directory a warning will be poped up and a confirmation is asked If you confirm the user directory will be removed but it will leave VDI in a broken state where the users will not be able to access to their desktop If you add the settings to the same directory again even using a different security level the assignments will still be valid and the user will be able to access their desktop again Previous Page Customizing the LDAP Filters and Attributes Up One Page Level t How to Set Up a User Directory How to Add Users to Pools How to Add Users to Pools It is now time to assign your users to desktops You can either assign a user to a specific desktop or you can assign a user or user group to a desktop pool In the latter case the Sun VDI Core will automatically assign any available desktop from the pool to the user once the user requests a desktop Steps 148 Sun Virtual Desktop Infrastructure 3 0 Selec
69. DI Core for whatever reason demos POC testing development For more information on how to do this successfully refer to Tino Rachui s blog Mixed Endian Cluster Nodes In a Mixed Endian Cluster Nodes configuration the Sun VDI 3 Primary and two Secondary nodes could be hosted on machines with dissimilar CPU types a mix or x86 and SPARC For a Sun VDI 3 Core with embedded database the management node Primary VDI node and first two data nodes Secondary VDI nodes used in the cluster must have the same architecture all x86 or all SPARC That is all machines hosting nodes must be either big endian or little endian and you cannot use a mixture of both Any additional nodes added since they are just MySQL client nodes and not part of the data cluster can be either architecture For more information about mixed Endian MySQL nodes see the MySQL Limitations e VDI Demo The VDI Demo configuration cannot be supported as a production environment VDI deployment because the embedded database configuration does not comply with MySQL standards We do however encourage customers to try VDI Demo configuration to evaluate the new features before committing to a larger deployment See the Getting Started VDI Demo page for step by step information about installing and configuring a Demo setup If you run into any problems you can always consult the VDI Forum or check the Troubleshooting and FAQs Deployment Guide Deployment Guide This chapter
70. GB swap This can be configured during a Solaris 10 install by choosing a custom install and changing the default partitions For existing Solaris 10 installs you will need to create a swap image file on the local filesystem and mount it The swap file image size should be Physical Memory Current Swap Additional Swap Required For example 16GB physical memory 1GB 15GB of additional swap required To add the swap to your system For ZFS zfs create V 16gb _ lt ZFS volume gt _ lt new_swap_volume gt swap a dev zvol dsk _ lt ZFS volume gt _ lt new_swap_volume gt To have the swap mounted after a reboot add the following line to etc vfstab dev zvol dsk _ lt ZFS volume gt _ lt new_swap_volume gt swap no For UFS mkfile 15g path to swap img swap a path to swap img To have the swap mounted after a reboot add the following line to etc vfstab path to swap img swap no Memory for ARC cache should be restricted to a lower limit when using ZFS on 10u7 Bug ID 6844780 When all VDI components VDI host xVM VirtualBox host and ZFS storage are installed on a single box x86 platform running 10u7 xVM VirtualBox will not be able to start any desktops Cause ZFS uses any memory available up to the limit for an ARC cache If other programs try to access the memory ZFS should release it Unfortunately VDI evaluates the memory before trying to start a virtual machine and recognizes that
71. How to Create Desktop Providers for an xVM VirtualBox Platform 0 00 eee ene 121 5 2 2 How to Create Desktop Providers for a VMware Infrastructure Platform o o oooooooooooo 121 53 HOW tO Create DeSKIODIPOOIS acca hod Caw ads putea A es eee ee EOE e 122 SA Importing VITAL MACHINES a cere eee tea AA A ADA A LDS AEDES eee 123 5 4 1 How to Import Virtual Machines for an xVM VirtualBox Platform eee 123 5 4 2 How to Import Virtual Machines for a VMware Infrastructure Platform o oooooooooo o 124 52 gt HOW TO Enable Coning M ROO S 3 Ge Oe ches A A ee RO ee Be ee See 125 5 5 1 How to Enable Cloning for an xVM VirtualBox Platform 0 0 ccc eee eee eens 125 5 5 2 How to Enable Cloning for a VMware Infrastructure Platform 0 ccc cee teens 126 5 o HOw to Set Up a User Directory u s sch ota ete edness tea sete aaa sneaks Bows Sees dew A A 127 5 6 1 ACUVe Directory Integrati n icy woh snobs AAA AAA ADA RA Sed ease odes 128 5 6 1 1 How to Set up Kerberos Authentication 0 0 ccc eee eee eee ooo 128 5 6 1 2 How to Set Up Public Key Authentication 0 0 ccc cc cece eee cnet eee ee enes 130 SN Wid CE O aO toe a ne recess E EEE otiol Oe el aren a es estes a E Seater etalk A E neers eaten eed 131 5 6 2 1 How to Set Up Anonymous Authentication ccc cece eee eee nent en eees 132 5 6 2 2 How to Set Up Simple Authentication 0 0 ccc ee eee eee eee o ooo 133 5
72. I MySQL Cluster How to do a Rolling Restart of Your MySQL Cluster How to Prevent Unrestricted SQL Node Joins e MySQL Cluster Reconfiguration Scenarios Backing Up the VDI Configuration VDI Default Configuration Optional Tasks e Patch VDI 3 e Check VDA Services How to Check the Core Service How to Check the Database Service How to Check the Admin GUI Service How to Check the RDP Broker Service e Upgrade from VDI 2 to VDI 3 Remove the VDI Core Testing the VMware Infrastructure Setup Testing the VMware Infrastructure Setup It is highly recommended to test the configuration made so far before setting up the remaining Sun VDI components A quick manual test consists of cloning a virtual machine using the desired template and customization specification followed by a remote access to the cloned virtual machine via RDP Steps 1 Open the Virtual Infrastructure Client 2 Right click on the desired template and select Deploy Virtual Machine from this Template 30 Sun Virtual Desktop Infrastructure 3 0 a The wizard will ask you to specify a name for the new VM select the desired host cluster and datastore with sufficient free space b On the Guest Customization step select the Customize Using an Existing Customization Specification option then choose the customization specification you just created from the list c Review your selections and click Finish to begin cloning 3 After the cloning has finished
73. I tools Instructions can be found here Removing the VDI Core Removing the VDI Core Uninstall and un configure the VDI Core gt O FO E N Cp a Z lt Q Q gt u O H 5 gt lt O i H D u a MQ ke ke G 117 Sun Virtual Desktop Infrastructure 3 0 ta Previous Page Checking VDA Services Up One Page Level t Installing How to Configure Sun VDI for a Single Host Setup How to Configure Sun VDI for a Single Host Setup The Single Host VDI Configuration should only be used in production environments where fail over is not required To use this configuration type you will need to specify an existing database that can either be installed remotely or on this server Steps 1 Prepare your MySQL database refer to MySQL documentation See How to Create a Privileged User at the bottom of the How to Configure a Remote MySQL Database page 2 Go to the installation directory Q Q DNS O O me n G Z lt Q w a u O H D lt Q n Q O D Fh H Q 4 Choose the 3 Single Sun VDI Host configuration type a Accept the default local host DNS or specify the DNS name of your MySQL server if it s on a non local host Accept the default port 3306 or specify the port on which your MySQL server is listening Specify a privileged database administrator see above Specify the password for the database administrator that you have specified Specify whethe
74. N 5 Q O o 5 O A D K Configures VDA webservice e Ports are configured 1800 1801 O webuser is set tO noaccess 0 Remote access is enabled Stops CACAO cacaoadm set param Java flags Xms4M Xmx256M Dcom sun management jmxremote Dfile encoding utf 8 Adapting Sun Ray Software Adapting Sun Ray Software Sun VDI 3 supports different desktop access mechanisms End users have the choice to use existing Windows PC client devices or they can step up to the energy efficient thin clients from Sun also known as Sun Ray DTUs Sun Ray Software including Sun Ray Server Software and Sun Ray Connector for Windows Operating Systems is automatically installed and configured as part of the Sun VDI core installation e Sun Ray Computing Model e Sun Ray Administration GUI e Sun Ray Kiosk Session VDI 3 now authenticates users each time they sign in If you would prefer to disable client authentication refer to the following link e How to Disable Client Authentication 158 Sun Virtual Desktop Infrastructure 3 0 Up One Page Level t Administering Next Page Setting Up Sun Secure Global Desktop Software Sun Ray Administration GUI Sun Ray Administration GUI The Sun Ray administration GUI is configured and accessible on each Sun VDI host This allows easy modification of Sun Ray configuration settings such as Kiosk session parameters see following section Steps 1 Go to http lt server name gt
75. OO group assign Assign custom groups to pools group unassign Unassign custom groups from pools If no pool is specified all assignments are removed from the custom groups Token Subcommands token search Search for tokens that match the search criteria token create Create a new token smart card id token remove Remove the specified tokens from the system token getprogps List the properties of the token token setprops Edit the properties of the token token unsetprops Remove the properties of the token token show Show the desktops available for the token token desktops Show the desktops assigned to the token token assign Assign tokens to pools or desktops token unassign Unassign tokens from pools or desktops If no pool or desktop is specified all assignments are removed from the tokens Pool Subcommands pool list List all pools pool create Create a new pool with the specified properties pool delete Delete the pools and their desktops pool getprops List the properties of the pool pool setprops Edit the properties of the pool pool resetprops Reset the properties of the pool to their default value pool unsetprops Unset the properties of the pool pool show Show detailed information about the pool pool desktops List all desktops from the pool pool vb import Import xVM VirtualBox desktops into the pool pool vc import Import VMware VirtualCenter desktops into the pool pool st
76. Object and corresponding expect script is no longer required for Sun VDI 3 2 Replace the SGD Terminal Service Client SGD 4 41 Only The default SGD Terminal Service Client ttatsc does not support RDP redirection as required by the Sun VDI Core Thus you need to replace this binary with an updated version included in the Sun VDI Core installation Replace the default SGD Terminal Services Client provided by SGD found at opt tarantella bin bin ttatsc with the version provided by the Sun VDI RDP Broker found at opt SUNWrdpb supplemental ttatsc lt Installation_Platform gt ttatsc 3 Create a Windows Application Object You need to create a Windows application object to offer users an easy way to access the desktops managed by Sun VDI This can be done using the tarantella CLI or using the SGD Administration console For example to create a full screen kiosk Windows application using the SGD command line enter the following command opt tarantella bin tarantella object new_windowsapp name _ens o applications cn Sun VDI Desktop width 1200 height 1000 maxinstances 1 login windows exp displayusing kiosk maximize true 162 Sun Virtual Desktop Infrastructure 3 0 4 Configure an application server for the new Application Object If the SGD server and the VDI server are the same machine no further commands are necessary An application object will use the SGD server as the application host by default if an ex
77. PI provided by the VMware Infrastructure SDK to communicate via HTTPS with VMware vCenter Thus make sure that VMware vCenter s Webaccess component is installed and configured Port 443 HTTPS is enabled in any firewall that may be active on the system As a simple test point your Web browser to https lt localhost gt mob If everything works correctly you will have access to the VMware Infrastructure SDK browser after providing the VMware Admin user name and password The previous version of Sun VDI required the installation of a Virtual Desktop Connector agent on the VMware vCenter host Starting with Sun VDI 3 this step is no longer necessary 113 Sun Virtual Desktop Infrastructure 3 0 Previous Page Setting Up a VMware ESX Server Up One Page Level t Installing Next Page E gt Defining Virtual Machine Templates in VMware vCenter Defining Virtual Machine Templates in VMware vCenter Defining Virtual Machine Templates in VMware vCenter Sun VDI presents users with easy access to their virtual desktops typically instances of Microsoft Windows XP executed in a virtual machine You can manually create virtual machines or you can configure Sun VDI to create or clone additional virtual machines automatically from a template Steps 1 Create a virtual machine with Microsoft Windows XP It is assumed that the process of creating virtual machines is already largely known So only a few important settings are
78. Patch Revision 3 The third patch for VDI 3 was released on October 30 The patch is available for both x86 and SPARC platforms Oo x86 141482 03 SPARC 141481 03 e VirtualBox 2 0 12 VirtualBox for VDI The patch includes the following features e Security Resolves the issue described in Sun Alert 268328 e VirtualBox 2 0 12 Includes a minor update release of VirtualBox VBox 2 0 12 which includes a couple of fixes to further increase robustness for example addresses a memory leak in the VirtualBox webservice 22 Sun Virtual Desktop Infrastructure 3 0 If you would like to make virtual machine templates on a local installation of VirtualBox instead of the installation on your VirtualBox host make sure you install the correct version from the VirtualBox website VDI 3 Patch Revision 2 The second patch for VDI 3 was released on August 13 The patch is available for both x86 and SPARC platforms x86 141482 02 SPARC 141481 02 e VirtualBox 2 0 10 VirtualBox for VDI The patch includes the following features e Single Host Configuration Allows you to install all VDI components on one host This is a configuration suitable for production environments that do not require fail over For more information see the Supported Configurations page e VirtualBox 2 0 10 Includes a minor update release of VirtualBox VBox 2 0 10 which supports desktop recycling for non Windows guest operating systems
79. Q H O Q N w O O H Q 0 ct H O 7 5 Q O 8 5 O gt D K Q D Fh w jar ct O Q 46 Sun Virtual Desktop Infrastructure 3 0 da Previous Page How to Check the Admin GUI Service Up One Page Level t Checking VDA Services Using the CLI A Using the CLI The following sections provide detailed information about the usage subcommands and examples of VDI CLI commands You can also see examples of the man page associated with each command Command Description vda install Installation Uninstallation of Sun VDI vda config Configuration Unconfiguration of Sun VDI vda migrate Migration of settings and data from a previous version of Sun VDI vda webadmin Management of the Web server hosting the Sun VDI Web Administration vda Administration of Sun VDI vda db status Status of the Sun VDI database service vda service Management of the Sun VDI service The Man Page for the vda Command The Man Page for the vda Command The vda command may be used to administer Sun Virtual Desk top Infrastructure Support is included for common adminis tration tasks such as the creation and management of desktop n Sun VOI 3 0 vda 1M NAME vda administer Sun Virtual Desktop Infrastructure SYNOPSIS opt SUNWvda sbin vda help i opt SUNWvda sbin vda V version opt SUNWvda sbin vda lt subcommand gt help opt SUNWvda sbin vda lt subcommand gt options oper
80. QL Cluster ce eee ee eens 37 4 3 4 2 How to Prevent Unrestricted SQL Node JOINS 2 0 ee ee eee eee eee ee eens 38 4 3 4 3 MySQL Cluster Reconfiguration Scenarios 1 1 cee eect ete e nee nnes 39 4 3 5 Backing Up the VDI Configuration oooooocoooooooooonncrroraroro nano somos os 43 AA Checking VDA Services bdo wae am sean el ae Geen Ee E ee Ce OOS a Ok oe Sete ads 44 44 1 How to Check the Core Servic acia a E oem Aa a we Seed eee ee Ea ees 44 4 4 2 How to Check the Database Service 2 1 1 cee cee een eee e eee ee ee eeeeenes 45 4 4 3 How to Check the Admin GUI Service 0 0 0 cc eee eee eee ene neeeaees 46 4 4 4 How to Check the RDP Broker Service 0 ccc ee eee ee ee eee eee eee nen eeaes 46 AS USING GNC CL aren Gio hy ekg CREE DESAY OEE EOC RS ERS OLR OO BETES DERE CROW k See USSG OS 47 4 5 1 The Man Page for the vda Command 2 2 662s ches kee aoe bad ee BON Lb be eA eR ON ee 47 Ao The Vda Command tra ri Sy eat att ake Wet ats Dee A AA od Bees ewe 54 452 Vda Command Usage iras coer os asthe wee eee es caw ee eek oh ae weeks 54 4 5 2 2 vda Command Usage Examples scxuinawse peas A eee eA ees 57 4 5 3 The vda config Command gt e leh dem eke aah ae Bae ne Ae ead Heels 58 4 5 4 The vda db status Command ot A eo eee be ei die tw Ue Bae SEE BEd Soe AAA ews 60 45 5 Me vda tall COMMAND Ok Oe eae acto it 62 4 5 6 RNG vdamigrate Command rers isansa tier baad se aw a ag Sew VES Se BON OR ROAR OSS Res
81. QL Cluster here MySQL Cluster Security Issues Several reasons may exist forcing you to adapt the MySQL Cluster database setup for instance e Security you want to make the MySQL Cluster installation more secure e Scalability Fail safety you want to increase the level of fail safety of the MySQL Cluster database by adding more Data nodes e Error recovery one of your hosts suffers from an outage and a new or another hosts need to take over his role e g one of your Data node hosts is broken which is a dangerous situation as in that moment you lack fail safety one Data node alone doesn t provide fail safety In a situation like this you are maybe forced to promote one of your other secondary hosts to be a Data node What follows are some procedures that can be followed in order to do some reconfigurations to the MySQL Cluster configuration none of which is support out of the box by the vda config script Most of these reconfiguration procedures imply a complete outage of the system Be aware also that you have to comply with the MySQL Cluster rules regarding reconfiguration as published here Performing Rolling Restart of MySQL Cluster How to do a Rolling Restart of Your MySQL Cluster 0 MySQL Cluster Reconfiguration Scenarios How to Prevent Unrestricted SQL Node Joins a Previous Page How to Configure a Remote MySQL Database Up One Page Level t Configuring the VDI Core Next Page Backing Up the VDI Configuration How
82. RCH_ STRING is the place holder for the search criteria List of comma uid sAMAccountName separated LDAP attributes storing the userid value for user objects This is used to find a user given its userid 135 Sun Virtual Desktop Infrastructure 3 0 ldap user member attributes List of comma memberof primaryGroupID separated LDAP attributes on a user object storing the groups the user is a member of ldap oroup object filter LDAP filter used objectclass oqroup objectclass groupofnames lt to identify objects of type group ldap group search filter LDAP filter used dc SEARCH_ STRING o SEARCH_ STRING ou SEAR to search for cn SEARCH_STRING uid SEARCH_STRING mail SEz groups according a search criteria Searches for groups can be done using the user search command or in the web administration console SEARCH_ STRING is the place holder for the search criteria ldap group member attributes List of comma member uniquemember separated LDAP attributes on a group object storing the users member of the group ldap group short attributes List of comma primaryGroupToken separated LDAP attributes on a group object storing the information for primary group membership Primary group membership is specific to Active Directory ldap container object filter LDAP filter used objectclass domain objectclass organization to identify objects objectclass organizationalUnit
83. Ray Server Software 4 1 Release Notes http docs sun com app docs doc 820 3774 Sun Ray Windows Connector 2 1 Release Notes http docs sun com app docs doc 820 3777 Sun Secure Global Desktop 4 41 Release Notes http docs sun com app docs doc 820 4905 Sun xVM VirtualBox 2 0 8 for VDI http download virtualbox org virtualbox vboxvdi3download html VDI Patches VDI Patches The information below provides an overview of the patching available for all VDI versions Use the links from the patch ID numbers to access the official patch documentation on SunSolve VDI Patch Strategy e Patches for the VDI Core will be released as patches for the VDI 3 product e Patches for included Sun Ray technology will be released as the part of the Sun Ray product In general it is recommended to run on the latest patch level even though it might not be important to VDI 3 The most recent patch was announced here e Changes to VirtualBox will NOT be delivered as patches If bug fixes are required a new minor version of VirtualBox qualified for VDI 3 will be released As a result VirtualBox must be reinstalled on the virtualization host Changes to the storage platform are not driven or controlled by the VDI team Therefore the VDI team needs to qualify a new firmware for the Unified Storage systems as well as updates to OpenSolaris The VDI team will announce which future versions are supported or by when So be a bit careful in this area VDI 3
84. SEE ALSO vda config 1M vda service 1M Sun VDI 3 0 Last change 03 11 09 2 65 Sun Virtual Desktop Infrastructure 3 0 The vda service Command Command opt SUNWvda sbin vda service Usage vda service SUBCOMMAND or vda service OPTIONS Manages the Sun Virtual Desktop Infrastructure service The accepted values for SUBCOMMAND are start Starts the service stop Stops the service restart Stop followed by start status Display status of service The accepted values for OPTIONS are h Display this help list Man Page ey Sun Virtual Desktop Infrastructure Administration vda service 1M NAME vda service Sun Virtual Desktop Infrastructure Service administration tool SYNOPSIS opt SUNWvda sbin vda service start opt SUNWvda sbin vda service stop opt SUNWvda sbin vda service restart opt SUNWvda sbin vda service status opt SUNWvda sbin vda service h DESCRIPTION The Sun Virtual Desktop Infrastructure Service is responsi ble for brokering desktop sessions on behalf of client applications vda service may be used to control the ser vice SUBCOMMANDS The following subcommands are supported start Start the service stop Stop the service restart Restart the service 66 Sun Virtual Desktop Infrastructure 3 0 os H s y a pH Y Oo U d gt ON y 0 U d n ES 10 O gt O gt vu O O b y R S Sed O Q gt H 4 UY o Q Y m o0 O U E
85. SGD 3 What are the conditions of the RTU license for SGD 173 Sun Virtual Desktop Infrastructure 3 0 Sun Ray Software and DTU B How do I configure DHCP in VDI 3 Does the MySQL database store all SRS related configuration How do specify USB redirection for Sun Ray B Can use wild cards in token names to represent a group of DTUs in order to assign these DTUs to a pool B The Sun Ray DTU is cycling and cannot connect to a virtual machine am getting the error Currently there is no desktop available or assigned to you What are the differences between SRS in VDI 2 and VDI 3 What are the conditions of the VDI 3 0 concurrent users license for Sun Ray and SGD B Do I need to configure SRS separately in VDI 3 Is it possible to customize the desktop login screen Supported Software and Configurations B Do Sun Secure Global Desktop Software perpetual licenses include support with my purchase If purchase support with my Sun Virtual Desktop Infrastructure Software licenses do also get support for Sun Secure Global Desktop Software B If purchase Sun Secure Global Desktop Software licenses and support am entitled to support for Sun Virtual Desktop Infrastructure Software VDI support Is Sun Secure Global Desktop Software included with my purchase of Sun Virtual Desktop Infrastructure Software Is it possible to assign MS Terminal Server to users B Is VMware ESXi a supported virtualization platform
86. SQL node using the instructions above 42 Sun Virtual Desktop Infrastructure 3 0 From Secondary SQL to Non VDI host 1 Unconfigure the SQL node by executing opt SUNWvda sbin vda config u From Secondary SQL to Primary Management host 1 Unconfigure the SQL node by executing opt SUNWvda sbin vda config u 2 Replace your existing management node by the unconfigured SQL node using these instructions From Secondary SQL to Secondary Data host 1 Unconfigure your data node by executing opt SUNWvda sbin vda config u 2 To setup a new data node use the instructions above a Previous Page How to do a Rolling Restart of Your MySQL Cluster Up One Page Level t Reconfiguring the VDI MySQL Cluster Next Page E How to Prevent Unrestricted SQL Node Joins Backing Up the VDI Configuration Backing Up the VDI Configuration The use of MySQL Cluster for the VDI configuration implies a high level of fail safety already which reduces the need for backups as a means for disaster recovery Find further details about this topic in the official MySQL documentation Nevertheless there may exist reasons for creating backups of the VDI configuration Creating a backup of the VDI MySQL Cluster database is relatively easy accomplished Detailed steps on how to do this can be found in the official MySQL documentation under the section Online Backup of MySQL Cluster When following the steps outlined there the backup files of your VDI
87. Select your preferred storage for newly cloned virtual machines Per default all available storage may be used for each clone the VDI Core will select the storage with the most available disk space 4 Select the Desktop Cloning tab 5 Select the preferred template from the Template drop down menu the drop down menu will list all templates that are available in the VMware vCenter 6 Check Apply System Preparation and specify which customization spec should be used if needed 7 Specify Preferred Size Free Desktops and Maximum Size start with lower numbers at the beginning you can always increase them at any time 8 Check Enable Automatic Cloning 9 Click Save Cloning can take up to a minute to start after which you will see clone jobs beginning to appear in the Jobs window To access the Jobs window click the Jobs Running link in the top left of the Admin GUI After a clone job has been finished successfully the new desktop will show up in the Desktops tab of the Pool page a page refresh might be necessary m Previous Page How to Enable Cloning for an xVM VirtualBox Platform Up One Page Level t How to Enable Cloning in Pools How to Set Up a User Directory How to Set Up a User Directory Typically the user information is already stored in an Active Directory or LDAP server Before you can assign users to desktops you must configure the desired Active Directory LDAP server and the VDI Core e Active Directory I
88. Service Starting with Sun VDI 3 the main VDI Core service now runs as a module within the Common Agent Container cacao This Java based agent is an integrated part of Solaris 10 and is already used in a wide range of Sun products If you encounter any issues you should first check the status of the agent as well as the status of the VDI Core service module To check the status of the Common Agent Container execute as root A A A AAA a SSeS SSS 1 I I i i cacaoadm status com sun vda service_module I I i i Lee ee ee ee ee eee eee ee eee ee ee ee eee ee eee eee ee eee eee eee eee eee eee eee eee eee I 44 Sun Virtual Desktop Infrastructure 3 0 0 Log messages at error or warning level will also be forwarded to the syslog daemon Up One Page Level t Checking VDA Services Next Page E How to Check the Database Service How to Check the Database Service How to Check the Database Service Sun VDI Core uses a MySQL database which is configured within the Sun VDI services or remotely To ensure that the database service is up and running gt O FO F N Cp G Z lt Q Q SS u O H pa gt lt Q i O id u YQ G un u F Q G u If not configured remotely the database service runs under the Solaris Service Management Facility Depending on the selected configuration the status of the database service can also be checked as explained below In an Evaluation Environment In a
89. Sew td Masons das 172 6 1 Are all VirtualBox versions compatible with VDI 3 2 ene e eee e en nes 177 6 2 Can convert a VDI Demo into a clustered VDI Production environment ccc een ee 177 6 3 Can install a full Demo without user directory integration o oooooooooooooorrooorro momo 177 6 4 Can install the VDI Demo in a virtual machine 2 1 0 nee eee e eas 178 6 5 Can set up a Demo of VDI 3 on one machine 0 0 ccc ee eee ene nee e eee e nes 178 6 6 Can try out MySQL or set up an evaluation VDI remote database 0 eee eens 178 6 7 Can use OpenSolaris instead of Solaris 10 Update 7 for my single host Demo ooooooooooooooo 178 6 8 Can use PKI instead of Kerberos for authentication to an Active Directory 0 ccc cee eee 179 6 9 Can use wild cards in token names to represent a group of DTUs in order to assign these DTUs to a pool 179 6 10 Does the MySQL database store all SRS related configuration cece teen ees 179 6 11 Does the VirtualBox swap space really have to be the same as the memory ee ee eee 179 6 12 Do need to configure SRS separately in VDI 3 2 ce cent een eens 179 6 13 Do Sun Secure Global Desktop Software perpetual licenses include support with my purchase 180 6 14 End users are not able to log into their Windows desktop ccc eee eee eens 180 6 15 End users cannot access their virtual Machines
90. Sun Virtual Desktop Infrastructure Version 3 0 April 2011 ORACLE Copyright 2011 Oracle and or its affiliates All rights reserved This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws Except as expressly permitted in your license agreement or allowed by law you may not use copy reproduce translate broadcast modify license transmit distribute exhibit perform publish or display any part in any form or by any means Reverse engineering disassembly or decompilation of this software unless required by law for interoperability is prohibited The information contained herein is subject to change without notice and is not warranted to be error free If you find any errors please report them to us in writing If this software or related documentation is delivered to the U S Government or anyone licensing it on behalf of the U S Government the following notice is applicable U S GOVERNMENT RIGHTS Programs software databases and related documentation and technical data delivered to U S Government customers are commercial computer software or commercial technical data pursuant to the applicable Federal Acquisition Regulation and agency specific supplemental regulations As such the use duplication disclosure modification and adaptation shall be subject to the restrictions and license terms set
91. Understanding the RDP Broker 3 Access a Desktop as an End User See what an end user sees when they log into their desktop using each one of the supported client access devices Sun Ray Software e Accessing Desktops with a Sun Ray DTU Sun Secure Global Desktop Software e Accessing Desktops with SGD Web Access Microsoft Remote Desktop Connection e Accessing Desktops with Microsoft RDC How to Access the Admin GUI How to Access the Admin GUI Use the VDI Web Administration to manage virtual desktops Steps 1 Go to http lt server name gt 1800 or http localhost 1800 If remote administration has been disabled 2 You must use root user credentials You will be re directed to https and the browser will ask you to accept the security certificate After confirmation you should get the login screen Up One Level t Administering Next Page E How to Create Desktop Providers How to Create Desktop Providers How to Create Desktop Providers Desktop providers encapsulate the details of the underlying virtualization platform Since VDI 3 is compatible with both VMware Virtual Infrastructure and Sun xVM VirtualBox virtualization platforms there are two types of desktop providers At a minimum you must configure one desktop provider before you can continue with the creation of pools There is no limitation to the number of providers the system can manage At any time you can configure additional providers e How to Crea
92. VC pool each time he logs in example opt SUNWvda sbin vda user assign p VC pool cn John Smith ou people The following example lists the desktops in the pool Static pool and permanently assigns one of them to the user Mary O Leary Each time Mary O Leary logs in she will get the same desktop example opt SUNWvda sbin vda pool desktops Static pool NAME ID MACHINE STATE STATUS DN WindowsXP0001 80 Running Used cn John Smith ou people WindowsXP0002 81 Powered Off Available example opt SUNWvda sbin vda user assign d WindowsXP0002 moleary Listing the Desktops and Pools Assigned to a User The following example lists all the desktop and pools assigned to Mary O Leary in the order they apply to her example opt SUNWvda sbin vda user show moleary The vda config Command Command opt SUNWvda sbin vda config Usage 58 Sun Virtual Desktop Infrastructure 3 0 Usage vda config OPTIONS Configures the Sun Virtual Desktop Infrastructure product If no OPTIONS are specified the command will perform a full interactive configuration of this product The accepted values for OPTIONS are h Display this help list u Unconfigures all components of this product w Configures only the web administration user interface of the Sun Virtual Desktop Infrastructure 59 Sun Virtual Desktop Infrastructure 3 0 Sun Virtual Desktop Infrastructure Commands vda config 1 NAME vda config Sun Virtual De
93. VDI 3 Patch Revision 1 The first patch for VDI 3 was released on May 30 The patch included the following features S10 U7 support Allows you to build a demo POC on a single box including VirtualBox and storage VMware vSphere 4 support VDI 3 runs against VMware vCenter 4 Support of the latest Unified Storage firmware Performance improvements in the Admin GUI The patch corrects the following bugs listed in the Release Notes Limitations with VDI hosts running on SPARC Bug ID 6812848 Sun Open Storage fails after a software update Bug ID 6826006 OpenSolaris Update causes SSH to the storage box to fail Bug ID 6812829 Migrating large numbers of pools from VDI 2 0 to 3 0 fails Bug ID 6819562 Importing VDI 2 0 data into VDI 3 0 fails if pool s recycle policy is Destroy Bug ID 6818383 nT A WON p VDI 2 Patch Revision 5 The fifth revision of VDI 2 Patch 1 was released on April 29 The patch is available for the following packages Linux packages 127561 05 Solaris 10 packages on x86 127560 05 Solaris 10 packages on SPARC 127559 05 Windows packages 138482 05 Supported Configurations Contents Supported Configurations for Sun Virtualbox Virtualization Platforms Supported Configurations for VMware Infrastructure Virtualization Platforms Single Host Configuration VirtualBox on Primary Host Configuration Primary Host Virtualized Configuration Explicitly Unsupported Configurations Supported Co
94. VDI remote database Can try out MySQL or set up an evaluation VDI remote database Yes The MySQL Sandbox is a quick and easy way to setup MySQL or try out VDI remote database setup You can find it here https launchpad net mysql sandbox e Just download and extract it to a arbitrary folder e Download the MySQL version tar packages of your choice from http dev mysql com downloads To install a simple MySQL server just execute That s it AB On Solaris 10 you might have to add usr sfw bin to your path in order to make mysgql_sandbox work More documentation about MySQL Sandbox can be found at https launchpad net mysql sandbox 178 Sun Virtual Desktop Infrastructure 3 0 Can use OpenSolaris instead of Solaris 10 Update 7 for my single host Demo Can use OpenSolaris instead of Solaris 10 Update 7 for my single host Demo OpenSolaris may be used as storage platform hosting the ZFS pool used by VDI 3 However the core parts of VDI 3 CANNOT be installed on OpenSolaris The information on the Getting Started VDI Demo page focuses on simplicity everything connection broker storage virtualization backend is installed on a single machine The VDI 3 install and configuration scripts e g vda install vda config vb install vb config will work for the Solaris 10 platform only The scripts require some libraries and tools under certain paths that do not exist or exist under different paths in OpenSolaris Th
95. VirtualBox host The storage host is used to store the virtual disks of the desktops which run on the VDI host You can use any x86 host even your laptop to create a VirtualBox virtual machine which will be used by Sun VDI as a template for the desktops Templates must be created in VirtualBox for VDI which is available on the VDI download page YDI Puma ry VDI vD secondary 1 Secondary e Requirements for two desktops with 512 MB memory and a 10 GB disk each Host CPU Memory Disk space Three VDI hosts all x86 or all SPARC CPU 2 GB 1 GB VirtualBox host x86 CPU 2 GB 1 GB Storage host x86 CPU 1 GB 32 GB Review the Supported Software below 13 Sun Virtual Desktop Infrastructure 3 0 A standard minimum VDI vCenter setup for a production environment requires at least three VDI hosts one VMware vCenter host and one VMware ESX host Most VDI deployments will probably require and additional storage host All required VDI components VDI Core are installed on the VDI hosts The VMware vCenter host and the VMware ESX host are used to maintain the virtual machines VDI Primary vol vol secondary 1 Secondary 2 Requirements for 2 desktops with 512 MB memory and a 10 GB disk each Host CPU Memory Disk space Three VDI hosts all x86 or all SPARC CPU 2 GB 1 GB VMware vCenter host x86 CPU 2 GB 1 GB VMware ESX host x86 CPU 2 GB 32 GB Review the Supported Software below Supported Software This section incl
96. a VirtualBox server and the storage server 201 Sun Virtual Desktop Infrastructure 3 0 contains the desktops hard disk data Powered off desktops are typically not associated or registered on any VirtualBox host This allows the VDI Core to select the best suited host on every start of a desktop This helps ensure a spread of desktops across available VirtualBox hosts minimizing resource usage on each Running Running desktops are registered and started on a single VirtualBox host The VirtualBox host that a desktop is running on can be determined using the Desktop Summary page in the VDI UI A running desktop is connected directly to the storage host e Stuck Aborted Paused These are machines states specific to VirtualBox VMware Infrastructure e Powered Off The desktop is switched off Running The desktop Is running e Suspended Suspended desktops have been suspended by the VMware infrastructure e Unknown This state typically indicates that the VirtualCenter server cannot be contacted to retrieve the state information UserDirdemo Setting up the User Directory Now the desktops must be made available to users Typically the user information is already stored in an Active Directory or LDAP server Before you can assign users to desktops you must configure the desired Active Directory LDAP server and the VDI Core Note If you do not have a directory already installed you may use OpenDS as explained in thi
97. actions drop down menu select Convert to Template 4 Select the Desktop Cloning tab This tab allows you to control most of the pool configuration options For additional options see the User Assignment tab 5 Select the template from the Template drop down menu 6 Check Apply System Preparation if Sysprep has been executed on your template If System Preparation is checked you must also create a System Preparation File using the link below In the System Preparation pop up specify whether cloned desktops should join a Windows Workgroup or Domain 7 Specify Preferred Size Free Desktops and Maximum Size start with lower numbers at the beginning you can increase them at any time 8 Check Enable Automatic Cloning 9 Click Save Cloning can take up to a minute to start after which you will see clone jobs beginning to appear in the Jobs window To access the Jobs window click the Jobs Running link in the top left of the Admin GUI After a clone job has been finished successfully the new desktop will show up in the Desktops tab of the Pool page a page refresh might be necessary Where do my VirtualBox Desktops Live Powered Off Desktops Powered off desktops reside in two places in the VDI environment the database and the storage The VDI database contains all desktop configuration information to register the desktop on a host and the storage host contains the desktops hard disk data Powered off desktop are typically not assoc
98. again by executing svcadm enable svc application database vdadb core this can take a couple of minutes Start the svc application database vdadb sql SMF service again by executing svcadm enable svc application database vdadb sql From Non VDI to Secondary Data host Ms This reconfiguration implies a complete outage of the system 1 Stop the Data node as well as the SQL node on your two Secondary Data hosts or the remaining one in case one data node is broken etc On all Secondary SQL hosts stop the SQL node a On your Secondary Data hosts execute svcadm disable svc application database vdadb core 40 Sun Virtual Desktop Infrastructure 3 0 Wait until the service has been stopped this can take a couple of minutes Verify that it has been stopped by executing svcs svc application database vdadb core this can take a couple of minutes When the service has been stopped correctly you will see something similar to this STATE STIME FMRI i i disabled Dez_09 svc application database vdadb core i es b On your Secondary Data as well as on all Secondary SQL hosts stop the SQL node by executing svcadm disable svc application database vdadb sql Wait until the service has been stopped this can take a couple of minutes Verify that it has been stopped by executing svcs svc application database vdadb sql When the service has been stopped correctly you will see something similar to this STATE STIME FMRI
99. age s provide the virtual disks which are interpreted as physical disks by the operating systems running within the virtual machines The SCSI protocol is used to transfer the disk data between the VirtualBox servers and the storages That iSCSI data creates a major part of the total network traffic of a VDI system for a closer discussion see the Storage chapter Other consumers of network bandwidth worth mentioning are the clients of VDI 3 Sun Rays RDP clients and the Sun Secure Global Desktop The clients connect to the VirtualBox servers via the VDI core servers In case of a Sun Ray client which uses the ALP protocol to transfer the desktop graphics the VDI core servers convert the RDP protocol received by the VirtualBox servers to the ALP protocol So there is one data stream for each client connection between the client the VDI core server and the VirtualBox server RDP clients like the windows connector uttsc connect to the VDI core server which in turn uses the RDP redirect feature to instruct the clients to connect to the VirtualBox servers directly as there is no need to translate the RDP protocol In this case there is a data stream between the soft client and the VirtualBox server The texts behind the bold terms are rules of thumb for calculating the according resource requirements VDI Core Servers The primary VDI core server requires a dual core CPU and 2 GB of memory As long as the VDI services are not configured on th
100. al Desktop Infrastructure Service database status tool SYNOPSIS opt SUNWvda sbin vda db status i x s h DESCRIPTION The Sun Virtual Desktop Infrastructure Service database status tool displays information about the current database configuration and the status of the Sun Virtual Desktop Infrastructure Service database OPTIONS 1 Displays information about the current database confi guration X Display the status without a header 8 Display a short version of the database status h Print a usage message EXIT STATUS The following exit values are returned 0 Success non zero Failure ATTRIBUTES See attributes 5 for descriptions of the following attri butes Attribute Type Attribute Value Availability SUNWvda db status Uncommitted Interface Stability SEE ALSO vda config 1M vda service 1M Sun VDI 3 0 Last change 03 11 09 1 The vda install Command Command opt SUNWvda sbin vda install Usage 62 Sun Virtual Desktop Infrastructure 3 0 Usage vda install OPTIONS Installs the Sun VDI product If no OPTIONS are specified the command will perform a full installation of this product The accepted values for OPTIONS are h Display this help list Uninstalls all components of this product Sun Virtual Desktop Infrastructure Commands vda install 1 NAME vda install Sun Virtual Desktop Infrastructure installa tion tool SYNOPSIS opt SUNWvda sbin v
101. al groups of users that are not pre defined in the user directory directory Active Directory or LDAP server where user information is stored token Smart cards identifiers for users in a Sun Ray environment pool Collection of desktops desktop Desktops managed by Sun VDI 48 Sun Virtual Desktop Infrastructure 3 0 m provider Desktop providers that encapsulate the details of the underlying virtualization technology job Action executed in the background settings Global settings that apply to the Sun VDI sys tem Generic Actions list Lists all the objects show Shows the detailed properties status of an object setprops Sets the properties of an object Sun Virtual Desktop InLasttchange 03 11 09ration 2 Sun VDI 3 0 vda 1M getprops Gets the properties of an object add Adds an object create Creates an object remove Removes an object delete Deletes an object Example of Subcommands user show Shows the desktops available for a user group create Creates a new local group with the specified properties token setprops Edits the properties of the token pool list Lists all pools desktop delete Deletes the desktops provider vc create Creates a new VMware VirtualCenter desktop provider provider disable host Disables the hosts for the xVM Vir 49 Sun Virtual Desktop Infrastructure 3 0 EE _ __ _ _ _ _ __ _ _ _ _ _ _ _ _ _ _ _ _ _ _ eEeeeeee Q
102. alBox host this action does not delete the VDI desktop execute lt w O x S w 5 w Q 0 E 5 H 0 Q H n A D K lt 3 A c H O V Q O ke 0 E D can start a virtual machine from the VirtualBox GUI but it will not start from the VDI Admin GUI can start a virtual machine from the VirtualBox GUI but it will not start from the VDI Admin GUI VirtualBox doesn t check for available memory before starting a virtual machine When a virtual machine is started ZFS releases cache to free up memory for it In contrast VDI always checks for available memory before starting a virtual machine to ensure the host does not become over committed Unfortunately if ZFS cache has consumed most of the memory VDI will not attempt to start the virtual machine The workaround for this is to limit the ZFS ARC cache see the Release Notes for more information If purchase Sun Secure Global Desktop Software licenses and support am I entitled to support for Sun Virtual Desktop Infrastructure Software VDI support If purchase Sun Secure Global Desktop Software licenses and support am entitled to support for Sun Virtual Desktop Infrastructure Software VDI support No You would have to purchase Sun VDI Software and support separately 184 Sun Virtual Desktop Infrastructure 3 0 If purchase support with my Sun Virtual Desktop Infrastructure Software licenses do also get support for Sun Secure Global Des
103. all existing desktop sessions would be terminated Then the terminated sessions would be restarted on the remaining VirtualBox server s as they are requested by users as long as there is sufficient memory available High Availability for The VDI Core Sun Ray and MySQL requires a Primary node and 2 Secondary nodes See Supported Configurations for detailed information about the hardware configurations that support this type of redundancy What happens when the Primary VDI Core host fails What happens when the Primary VDI Core host fails Assuming you have three VDI Core hosts and one of them is the primary if the primary goes down the following happens The underlying database is still running on the remaining hosts All desktop sessions are still running on the remaining hosts New session requests will be handled by the remaining hosts All desktops are still running on the virtualization hosts So in essence your VDI cluster is still healthy The operation is just impacted in this way e You can t add new VDI core hosts e You can t change the configuration of the Sun Ray server failover group e A failure of another VDI core host data node will result into a complete outage of the underlying database You should bring up the primary again as soon as possible in order to gain failover capabilities again What is the difference between Personal and Flexible desktop assignments What is the difference between Personal and Flexib
104. ands DESCRIPTION 47 Sun Virtual Desktop Infrastructure 3 0 rm providers and pools of desktops the assignment of desktops to users and groups and monitoring the state of the virtu alization platform In all cases vda executes an action on a Sun Virtual Desk top Infrastructure system object Examples of such objects are user group pool desktop etc The action to be exe cuted is identified by a subcommand where the subcommand name is composed of the relevant object type and the name of the action to be performed separated by a hyphen opt SUNWvda sbin vda hel p This command lists all the subcommands opt SUNWvda sbin vda V version This command displays the version information opt SUNWvda sbin vda lt object gt This command lists the subcommands that apply to the specified object type opt SUNWvda sbin vda lt subcommand gt help This command displays the detailed usage of the subcom mand Sun Virtual Desktop InLasttchange 03 11 09ration dl sun VDE 3 0 vda 1M opt SUNWvda sbin vda lt subcommand gt options operands This command executes the action specified by the sub command options and operands Options and operands depend on each subcommand the detailed description of options and operands for a subcommand can be obtained by opt SUNWvda sbin vda lt subcommand gt help Objects user Users and groups from the user directory group Loc
105. ans that no user matching the user id lt test user gt was found in the user directory It would then be necessary to customize the list of attributes 1dap userid attributes to match the directory schema as explained in Customizing the LDAP Filters and Attributes 7 if lt dn gt is not null that means that the user matching the user id lt test user gt was correctly found in the user directory How do configure DHCP in VDI 3 How do configure DHCP in VDI 3 First install and configure VDI using vda install and vda config as described on the Installingpages This will also install SRS and configure the SRS fail over group and Kiosk settings You can then adapt things as needed using the typical SRSS commands For example use utadm a lt interface name gt to configure a dedicated interconnect for the Sun Ray DTUs This 180 Sun Virtual Desktop Infrastructure 3 0 will also ask you for the desired DHCP settings How do configure the audio for VirtualBox hosted virtual machines Audio doesn t play after changing audio configuration for VirtualBox hosted virtual machines in VDI GUI If you change a virtual machine s configuration i e audio via the VDI GUI the changes will not take effect until the virtual machine has been unregistered re registered on a VirtualBox host Simply restarting the virtual machine from within will not result in this behavior To force the unregister register choose either Power Off or Shutdown
106. archfilter gt The search filter criteria i tds user show Show the desktops available for the user Usage vda user show x parseable lt userld gt help Print this help list X parseable Display output suitable for programmatic parsing Operand lt userld gt The DN or userid of the user denotes mandatory parameters 1 Options user desktops 68 Sun Virtual Desktop Infrastructure 3 0 Show the desktops assigned to the user Usage vda user desktops x parseable lt userld gt help Print this help list Options X parseable Display output suitable for programmatic parsing Operand lt userld gt The DN or userid of the user denotes mandatory parameters Assign users to pools or desktops Usage vda user assign p lt pooll gt lt pool2 gt p00l1 lt po0011 gt lt pool2 gt d lt desktopl gt lt desktop2 gt desktop lt desktopl1 gt lt desktop2 gt lt userldl gt lt userld2 gt y e helo Print this help list Options p lt pooll gt lt poolZz gt pool lt p0011 gt lt poo1 2 gt The name of the pools d lt desktopl gt lt desktop2 gt desktop lt desktopl1 gt lt desktop2 gt The id of the desktops Operand lt userIdl gt lt userId2 gt The DN or userid of the users to assign denotes mandatory parameters user unassign 69 Sun Virtual Desktop Infrastructure 3 0 Unassign users from pools or
107. art Start automatic cloning of desktops for the pools pool stop Stop automatic cloning of desktops for the pools pool enable Enable users to connect to flexible desktops from the pools pool disable Disable users from connecting to flexible desktops from the pools pool create sysprep Create a Sysprep file for the pool Valid only for xVM VirtualBox pools Desktop Subcommands desktop delete Delete the desktops desktop show Show detailed properties for the desktops desktop template Convert the desktops to templates Valid for xVM VirtualBox desktops only desktop start Start the desktops desktop stop Stop the desktops Desktop Provider Subcommands provider list List all desktop providers provider vb create Create a new xVM VirtualBox desktop provider provider vc create Create a new VMware VirtualCenter desktop provider provider delete Delete the desktop providers provider vb getprops List the properties of the xVM VirtualBox desktop provider provider vb setprops Edit the properties of the xVM VirtualBox desktop provider provider vc getprops List the properties of the VMware VirtualCenter desktop provider provider vc setprops Edit the properties of the VMware VirtualCenter desktop provider provider show Show detailed information about the desktop provider provider list hosts List all hosts for the xVM VirtualBox desktop provider provider add host Add a host to the xVM VirtualBox desktop provid
108. at server which is not recommended these hardware requirements do not change with the number of running desktops The secondary VDI core server requirements for the number of cores and memory size varies with the number of running desktops supported as well as the required network bandwidth The bandwidth also varies with the content displayed The numbers given below are typical for office work Displaying videos or web pages with flash content can multiply the required bandwidth Number of cores number of running desktops 20 Example Two secondary VDI core servers with 8 CPUs and 4 cores per CPU can serve 2 8 4 20 1280 running desktops Memory size MB number of desktops 110 MB 2048 MB Example Two secondary VDI core servers with 64 GB of memory can serve 2 64 1024 MB 2 2048 MB 110 MB 1154 running desktops 27 Sun Virtual Desktop Infrastructure 3 0 Network bandwidth Mb s number of running desktops 0 15 Mb s Example One secondary VDI core server with one 1 Gb Ethernet interface can serve 1024 0 15 Mb s 6827 running desktops Please refer also to the Complete Sun Ray Server Sizing Guide VirtualBox Servers VDI 3 supports any server running Solaris 10u6 to host VirtualBox Number of cores number of running desktops 4 Example A server with 8 CPUs and 4 cores per CPU can support up to 8 4 4 128 running desktops Memory size MB number of running desktops memory size of a desktop
109. ation g Select the new virtual machine and click Start h Follow the installation prompts or seek further installation details from the OS manufacturer o Qa aoo 111 Sun Virtual Desktop Infrastructure 3 0 3 Install the VirtualBox Guest Additions After the OS is installed the VirtualBox Guest Additions must be installed a With the virtual machine running and fully booted click the Devices menu then select Install Guest Additions This will launch the VirtualBox Guest Additions installer inside the virtual machine b Install the Guest Additions according to the instructions in the wizard and reboot when asked c Install all additional software for the desired virtual machine template 4 Install System Preparation recommended If you later want to take advantage of desktop cloning then it is often necessary to customize the identity and domain settings of Windows XP after a clone has been created from a template This can be automated using Sysprep However the virtual machine that should be used as template must be prepared following the steps below a Download the appropriate Sysprep CAB from Microsoft and unpack the contents into the directory C2 Sysprep Windows XP Service Pack 2 Deployment Tools Windows XP Service Pack 3 Deployment Tools b Execute Sysprep This will shutdown the virtual machine Q yd uN ES un K D FO un ES u FO K D FO D X D 3 H D H Q E H D A K D
110. b administration console ldap container search filter LDAP filter used by the web administration console to search for containers according a search criteria when selecting a root for a custom group filter SSEARCH_STRING is the placeholder for the search criteria ldap default attributes List of LDAP separated attributes loaded in the cache when looking up an object denotes mandatory parameters settings setprops 101 Sun Virtual Desktop Infrastructure 3 0 OOOO 2 TT T mu elehee_e _ _ w w ee eo Edit global settings Usage vda settings setprops p lt propl1 gt lt valuel gt lt prop2 gt lt value2 gt property lt prop1 gt lt valuel gt lt prop2 gt lt value2 gt help Print this help list Options p lt propl gt lt valuel gt lt prop2 gt lt value2 gt property lt propl gt lt valuel gt lt prop2 gt lt value2 gt The list of global settings to edit Properties clientauthentication lt clientauthentication gt Determines whether clients are authenticated Possible values are enabled and disabled vbox connect timeout lt vbox connect timeout gt Connection timeout to the xVM VirtualBox web service in milliseconds vbox request timeout lt vbox request timeout gt Request timeout to the xVM VirtualBox web service in milliseconds ldap user object filter lt ldap user object filter gt LDAP filter used to identify objects of type user ldap user search filter lt ldap user
111. bin vda provider add storage p host my zfs com username root zfspool vda_zfspool VB pro vider Example 2 Creating a Pool The following example creates a pool for storing xVM Virtu alBox templates example opt SUNWvda sbin vda pool create p name Templates provider VB provider assignment type personal examples opt SUNWvda sbin vda pool vb import p vdi image template vdi xml configuration golden master xml Tem plates The following example creates a pool for cloning 30 desktops from VMware VirtualCenter First list the templates from the VirtualCenter and select one of them example opt SUNWvda sbin vda provider list templates VC provider NAME ID PATH XP Template vm 134 Datacenters ADatacenter vm XPClone vm 629 Datacenters ADatacenter vm example opt SUNWvda sbin vda pool create p name VC pool provider VC provider template vm 134 preferred size 30 free size 5 max size 35 power state on assignment type flexible recycle policy reuse idle timeout 2 example opt SUNWvda sbin vda pool start VC pool Sun Virtual Desktop InLasttchange 03 11 09ration 5 51 Sun Virtual Desktop Infrastructure 3 0 rm Sun VDI 3 0 vda 1M Example 3 Configuring the User Directory The following example configures a LDAP directory using sim ple authentication the default 389 port a fallback LDAP server and no restriction on the base DN example opt SUNWvda sbin vda directory add p a
112. ble values are personal and flexible template lt template gt The id of the template used to automatically populate this pool system preparation status lt system preparation status gt Whether system preparation is applied to cloned desktops for this pool Possibles values are enabled or disabled system preparation lt system preparation gt The system prepartion used for cloned desktops For VMware VirtualCenter pools a custom spec name For xVM VirtualBox pools a Sysprep file power state lt power slale gt The power state of a desktop after cloning or recycling Possible values are on off suspended name pattern lt name pattern gt The naming pattern to use for new cloned desktops The pattern is composed of a prefix and a 0 for each digit of the sequential number preferred size lt preferred size gt The desired number of desktops in the pool free size lt free size gt The minimum number of available desktops in the pool max size lt max size gt The maximum number of desktops the pool can contain recycle policy lt recycle policy gt The action to take when recycling desktops Possible values are snapshot reuse delete idle timeout lt idle timeout gt The time a machine remains suspended before being made available in minutes synchronous cloning lt synchronous cloning gt The maximum number of parallel desktop cloning jobs preferred storage lt preferred storagel gt lt preferred storage
113. c com 6 Enter the password for the user 7 The following step shows the SSL certificate of the LDAP server Click Next to permanently accept the certificate 8 Review your choices before completing the configuration Previous Page How to Set Up Simple Authentication Up One Page Level t LDAP Integration Customizing the LDAP Filters and Attributes Customizing the LDAP Filters and Attributes VDI uses various LDAP filters and attribute lists to look up and interpret the data stored in the user directory VDI comes with some LDAP filters that are suitable for demos with Active Directory or Sun Directory Server But these filters might be incompatible with other types of directories such as OpenLDAP or eDirectory and would then need to be modified For production it is always recommended to customize those filters to match most closely the schema definition of the directory How to Edit the Filters This section explains how to edit those filters and the values recommended per type of directory The LDAP filters are specified as global settings using the vda CLI command opt SUNWvda sbin vda settings getprops opt SUNWvda sbin vda settings setprops After editing the 1dap xxx global settings you need to restart cacao for the new values to be taken into account I I I I I I I I I I I I I I cacaoadm stop force i I I cacaoadm start i I I I I I l Example 134 Sun Virtual Desktop Infrastructure 3 0
114. configuration database will reside in var opt SUNWvda mysal cluster BACKUP on each of your first two secondary hosts which are running the MySQL Cluster data nodes You can save these directories aside and restore the VDI database from this backup later in time AB Please keep in mind that flexible desktop assignments existing at the time when the backup will be created might not be valid anymore when the VDI configuration has to be restored from this backup This may lead to some unexpected side effects For this reason you should consider replication as an alternative to regularly taken backups Master Slave replication is supported with the MySQL Cluster version coming along with VDI Find details on the topic here MySQL Cluster Replication Previous Page Reconfiguring the VDI MySQL Cluster Up One Page Level t Configuring the VDI Core 43 Sun Virtual Desktop Infrastructure 3 0 Checking VDA Services Checking VDA Services It is important to know how to check the status of the different services provided by Sun VDI Most services run under the control of the Solaris Service Management Facility SMF e How to Check the Core Service e How to Check the Database Service e How to Check the Admin GUI Service e How to Check the RDP Broker Service Previous Page Configuring the VDI Core Up One Page Level t Installing Next Page E Removing the VDI Core How to Check the Core Service How to Check the Core
115. cture 3 0 e Desktop Guest Systems Known Issues and Limitations e Solaris hosts must have adequate swap space Bug ID 1225025 Memory for ARC cache should be restricted to a lower limit when using ZFS on 510u7 Bug ID 6844780 Desktops cannot use Host Networking unless VirtualBox has been configured to run as root Bug ID 6839450 During log off VirtualBox desktops do not go into idle state when settings are Host Networking WinRDP Bug ID 6837283 VDI Host Overload Bug ID 6810444 Using the VDI CLI in parallel with the Admin Web GUI Bug ID 6770476 Limitations with VDI hosts running on SPARC Bug ID 6812848 Sun Open Storage fails after a software update Bug ID 6826006 OpenSolaris Update causes SSH to the storage box to fail Bug ID 6812829 vb install script fails to install xVM VirtualBox package Bug ID 6814023 Cloned virtual machines have lower resolution than the xVM VirtualBox virtual machine templates Bug ID 6815380 Migrating large numbers of pools from VDI 2 0 to 3 0 fails Bug ID 6819562 Importing VDI 2 0 data into VDI 3 0 fails if pool s recycle policy is Destroy Bug ID 6818383 Reporting Problems and Providing Feedback e Further Information Release Notes These notes contain important information about the Sun VDI Core at the time of revenue release including requirements and supported platforms as well as issues and workarounds Be sure to read this document before you begin using Sun VDI 3
116. cuting svcs svc application database vdadb core this can take a couple of minutes When the service has been started correctly you will see something similar to this STATE STIME FMRI online Dez_09 svc application database vdadb core a b Start the SQL node again by executing svcadm enable svc application database vdadb sql Wait until the service has been started this can take a couple of minutes Verify that it has been started by executing svcs svc application database vdadb sql this can take a couple of minutes When the service has been started correctly you will see something similar to this STATE STIME FMRI online Dez 09 svc application database vdadb sql 5 Configure your new Secondary Data host by simply executing opt SUNWvda sbin vda config 6 On your Secondary SQL hosts start the SQL node again by executing svcadm enable svc application database vdadb sql Wait until the service has been started this can take a couple of minutes Verify that it has been started by executing svcs svc application database vdadb sql this can 41 Sun Virtual Desktop Infrastructure 3 0 take a couple of minutes When the service has been started correctly you will see something similar to this STATE STIME FMRI online Dez_09 svc application database vdadb sql From Non VDI to Secondary SQL host As long as there are still free MYSQLD slots on the Primary available you can add a new SQL node by simply fol
117. d to search for users Valid only with anonymous simple and secure authentication addomain lt addomain gt The Active Directory domain name Valid only for kerberos and publickey authentication username lt username gt The username to authenticate to the user directory with Required with simple secure and kerberos authentication password lt password gt The password to authenticate to the user directory with Required with simple secure and kerberos authentication If a property value contains a comma use the double quoting syntax for the value such as lt prop gt lt value gt single quote followed by double quote to open double quote followed by single quote to close denotes mandatory parameters directory remove Ata Remove the user directory configuration from the system Usage vda directory remove f force help Print this help list Options f force Force removal of the user directory configuration when the user directory is in use because some users are assigned to desktops or associated to tokens denotes mandatory parameters directory getprops 98 Sun Virtual Desktop Infrastructure 3 0 List the properties of the user directory with Required with simple secure and kerberos authentication denotes mandatory parameters i Usage i vda directory getprops p lt propl gt lt prop2 gt properties lt propl gt lt prop2
118. d by a hypervisor up to now VDI 3 supports Sun VirtualBox and VMware Infrastructure and go through traditional machine states from powered on to powered off Desktop States The desktop states are used to Implement the desktop lifecycle e synchronize VDI servers and VirtualBox servers which compete for the desktops e Serve as a tool for monitoring and analyzing the system state 200 Sun Virtual Desktop Infrastructure 3 0 The image below depicts a simplified version of the lifecycle of a flexibly assigned desktop Available gt Cloned Template Reserved A y ldle lt 4 Used The desktop states are stored in the database The desktop states are 0 Available The first state A desktop is added to the database and then set to the Available state after being cloned from a template After becoming Available the desktop is ready to be assigned to users If the desktop is set to be recycled it will return to this state e Idle The intermediate state The desktop is in this state whenever the desktop is assigned and the user is not using it When the desktop is assigned and the user has not logged in yet or when the desktop is assigned and the user just logged out A desktop is recycled after it remains in that state for a configurable amount of time For a VirtualCenter desktop provider two additional cases are worth mentioning A desktop is in the Idle state when the desktop is assigned and ei
119. d configured and the Sun VDI 3 0 bits are already available use vda migrate to export the data A A ES Pd J H if UO H ve V N WN G O O H D 3 D D ct w N lt Q 3 H Q K w ct D l D A Ng FO w ct D ct O Q H K D Q ct O K K V Sun VDI 2 0 was found on the server Storing data Data exported to directory var opt SUNWvda backup A log file is created with detailed information When vda migrate finishes it indicates the location of the log file In Solaris platforms it can be located at var adm log vda migrate lt date and time gt log For more information about the vda migrate command see its usage page 2 Remove Sun VDI 2 0 Refer to the Sun Virtual Desktop Connector 1 0 Installation and Administration Guide 3 Install Sun VDI 3 0 Refer to Step 4 Install and Configure the VDI Core in the Installing information 4 Import the data and settings into Sun VDI 3 0 Later on the exported data should be imported with the vda migrate command this time called in the Sun VDI 3 0 installation directory 116 Sun Virtual Desktop Infrastructure 3 0 0 VDI must be configured before the data can be imported In order to import data Sun VDI 3 0 must have been previously installed and configured It s also recommended to import the data before any other action takes place on a Sun VDI host i e before adding a desktop provider or performing another administrativ
120. d virtual desktop Getting Started VDI Demo Contents e Installing the Software System Requirements 1 Install the operating system 2 Configure the ZFS storage 3 Install the virtualization platform 4 Install the VDI Connection Broker aka VDI Core 5 Apply the VDI 3 Patch 3 6 Configure VDI for Evaluation e Creating Virtual Machine Templates e 1 Create a new virtual machine using the VirtualBox GUI e 2 Install an operating system in the virtual machine e 3 Install the VirtualBox Guest Additions Manage Desktops with the VDI Web Administration Access a Desktop as an End User Congratulations Getting Started VDI Demo The following information describes how to install and configure the VDI components connection broker virtualization platform and storage on one host A Demo VDI Setup is great for evaluation but cannot support a large deployment Sun Virtual Desktop Infrastructure 3 0 Sun VirtualBox VO Service 0 The VDI Demo configuration is not a supported production environment configuration For more information about supported production environment VDI configurations please see the Supported Configurations page You can also make a multi host demo version of VDI but you will have to refer mainly to the Installing document In this case the system requirements will be less strict than what this page describes see the Supported Software tables in the Release Notes Also refer to Supported
121. da install u h DESCRIPTION The vda install command line tool will be used to install or uninstall Sun Virtual Desktop Infrastructure If no OPTIONS are specified the command will perform a full installation of the Sun Virtual Desktop Infrastructure OPTIONS u Uninstalls Sun Virtual Desktop Infrastructure Prints a usage message for this command EXIT STATUS The following exit values are returned 0 Success 1 Failure ATTRIBUTES See attributes 5 for descriptions of the following attri butes Attribute Type Attribute Value Availability vda install Interface Stability Uncommitted SEE ALSO vda config 1M Sun VDI 3 0 Last change 03 11 09 1 The vda migrate Command 63 Sun Virtual Desktop Infrastructure 3 0 Command opt SUNWvda sbin vda migrate Usage vda migrate OPTIONS Migrates settings and data from a previous version of Sun Virtual Desktop Infrastructure The accepted values for OPTIONS are e path to directory Exports data from an older version of Sun Virtual Desktop Infrastructure Execute only while the old version is still installed and configured This is the default option i path to directory Imports data to Sun Virtual Desktop Infrastructure 3 0 from an older version Execute only after the new version is installed and configured Display this help list 64 Sun Virtual Desktop Infrastructure 3 0 Sun Virtual Desktop Infrastructure Administratio
122. desktops If no pool or desktop is specified all assignments are removed from the users Usage 7 vda user unassign p lt pooll gt lt pool2 gt pool lt pooll gt lt pool2 gt d lt desktop1 gt lt desktop2 gt desktop lt desktopl gt lt desktop2 gt lt userIdl gt lt userId2 gt Y help Print this help list Options p lt pooll gt lt poolz gt pool lt poo0ol1 gt lt pool2 gt The name of the pools the users should be unassigned from d lt desktopl gt lt desktop2 gt desktop lt desktop1 gt lt desktop2 gt I The id of the desktops the user should be unassigned i from i Operand lt userId1l gt lt userld2 gt The DN or userid of the users to unassign i o denotes mandatory parameters I user defaultdesktop Make the desktop the default desktop for the user Usage vda user defaultdesktop lt desktopId gt help Print this help list Operand lt desktopld gt The id of the desktop which should be made default This should be a desktop assigned to a user i denotes mandatory parameters E E E ls user personaldesktop A tds Make the desktop a personal desktop for the user Usage vda user personaldesktop lt desktopld gt Y nelp Print this help list Operand lt desktoplId gt The id of the desktop which should be made personal This should be a desktop assigned to a user with a flexible assignment denotes mandatory para
123. ding of MySQL and would like to reconfigure or back up the VDI MySQL Cluster please refer to the following sections e Reconfiguring the VDI MySQL Cluster Optional e Backing Up the VDI Configuration Optional 32 Sun Virtual Desktop Infrastructure 3 0 m Previous Page Installing the VDI Core Up One Page Level t Installing Next Page Checking VDA Services How to Configure Sun VDI for an Evaluation Environment How to Configure Sun VDI for an Evaluation Environment It is only recommended to use the Evaluation Setup for demo and showcase setups Steps 1 Go to the installation directory Q Q p O FO ER x Y G Z lt Q w x u oO H D N lt Q i Q O a Fh H Q 3 Choose the 0 Evaluation Sun VDI Host configuration type At the end of the configuration script you will be given a path of the configuration log file Or on Solaris platforms you can find it at var adm log vda config lt date and time gt log 0 For the evaluation setup no password will be set for the MySQL database To set a password use the following script opt SUNWvda mysql bin mysgladmin defaults file etc opt SUNWvda my cnf password lt new password gt Up One Page Level t Configuring the VDI Core Next Page gt How to Configure Sun VDI for a Production Environment How to Configure Sun VDI for a Production Environment How to Configure Sun VDI for a Production Environment 33 Sun Virtual De
124. doesn t start during an Evaluation configuration VDI database doesn t start during an Evaluation configuration Installing VDI 3 Patch 1 will solve this problem If you do not intend to install VDI 3 Patch 1 change the value NoOfFragmentLogFiles from 300 to 16 in etc opt SUNWvda config local ini Then configure again What are the conditions of the RTU license for SGD What are the conditions of the RTU license for SGD The Right To Use RTU license for SGD that is included with the purchase of Sun VDI Software is designed to provide you a secure alternative method when connecting to your Sun VDI virtual machine an alternative to the Sun Ray thin client The RTU for SGD that ships with Sun VDI Software is limited The license limits the SGD usage to access one fullscreen desktop per user Sun VDI Software 3 supports the usage of both VMware ESX server and Sun VirtualBox as back end virtualization platforms One of the supported Sun VDI Software operating systems is indeed OpenSolaris 2008 11 but must be run on a Sun VirtualBox virtual machine The VMware ESX server only supports the use of Windows XP or Vista with Sun VDI Software Sun VDI Software 3 now also includes an integrated Microsoft RDP Remote Desktop Protocol server as a secondary means of accessing any virtual machine remotely alternatively you can use a Sun Ray thin client Thus regardless of the operating system that is running inside a virtual machine either a Sun Ray
125. domain password lt domain password gt The Windows domain Administrator password If a property value contains a comma use the double quoting syntax for the value such as lt prop gt lt value gt single quote followed by double quote to open double quote followed by single quote to close Operand lt name gt The name of the pool denotes mandatory parameters desktop desktop delete Delete the desktops Usage vda desktop delete f force r remove vc lt desktopl gt lt desktop2 gt help Print this help list Options f LOrce Delete the pool even if one of the desktops templates are in use r ESMOVE V0 Delete the desktops also from VMware VirtualCenter Operand lt desktopl gt lt desktop2 gt The id of the desktops to delete denotes mandatory parameters desktop show 87 Sun Virtual Desktop Infrastructure 3 0 Show detailed properties for the desktops Usage vda desktop show lt desktopl gt lt desktop2 gt help Print this help list Operand lt desktopl gt lt desktop2 gt The id of the desktops denotes mandatory parameters desktop template Convert the desktops to templates Valid for xVM VirtualBox desktops only Usage vda desktop template u undo lt desktopl gt lt desktop2 gt 9 help Print this help list Options undo Convert the templates back to desktops Operand l
126. e ARC cache usage Which versions of JRE are supported Which versions of JRE are supported Java Runtime Environments 1 5 and 1 6 are supported with the most recent version of VDI Why does my VMware virtual machine have an invalid IP address or cannot be pinged Why does my VMware virtual machine have an invalid IP address or cannot be pinged 1 Verify that your networking interface is properly configured for your ESX server in the Virtual Infrastructure Client 2 If the network interface is properly configured for your ESX server Verify that the network adapter is enabled in the template and is connected to the correct network Verify that there is a properly configured DHCP server with enough leases running on the subnet your virtual machine will run on See the VMware documentation available online at http www vmware com support pubs vi_ pubs html JavaOne and VDI Success Story New URL Please go to http wikis sun com display DesktopVirtualization Sun VDI for JavaOne instead cito JavaOne June 2 5 2009 Abstract The JavaOne Conferenceis one of the most popular developer conferences around the globe Over the last couple of years conference participants got access to email and browser through Sun s Ultra Thin Clients Sun Ray and the Solaris desktop This year participants are offered a choice of different desktops ranging from OpenSolaris 2009 06 over Windows 7 RC to Ubuntu 8 10 All desktops are accessed throug
127. e Active Directory server and VDI host prior to setting up the user directory in the Admin GUI Steps 1 Follow the configuration steps 1 to 5 described for Kerberos Authentication 2 Creating a client certificate for each of the VDI host The VDI keystore for the client certificate is located at etc opt SUNWvda sslkeystore and the password is changeit a Generating a key pair private public key for the client certificate on the VDI host log in as superuser root and use keytool to generate the key pair in the VDI keystore usr java jre bin keytool genkey keyalg rsa keystore etc opt SUNWvda sslkeystore A storepass changeit keypass changeit alias lt your_alias gt b Generating a Certificate Signing Request CSR for client certificate on the VDI host use keytool to generate the certificate request usr java jre bin keytool certreg keystore etc opt SUNWvda sslkeystore storepass changeit keypass changeit Y alias lt your_alias gt file lt certreq_file gt The alias must be the same as the alias used when generating the key pair Aliases are case insensitive c Creating the certificate Copy the CSR file to the server hosting the Active Directory Using Internet Explorer go to http localhost certsrv Log in On the Microsoft Certificate Services page click Request a certificate On the Request a Certificate page click advanced certificate request On the Advanced Certificate Reque
128. e Infrastructure Integration with OpenSolaris and Sun Unified Storage Systems Better support for VMware allowing for larger deployments Support for Active Directory Users can have multiple virtual desktops and choose which one they want to access Built in support for RDP clients meaning nearly any client device can connect directly to a Sun VDI Software server without installing any software on the client Streamlined and simplified installation Architecture Sun Virtual Desktop Infrastructure 3 0 VDI is made up of three main components layers a virtualization platform the Sun VDI Core and a desktop access client gt E VMware Infrastructure 3 Key O Included in Sun VDI Package EI External Components of Sun VDI Virtualization Platform Sun Virtual Desktop Infrastructure 3 0 The basis for the architecture is the virtualization platform In addition to creating and storing virtual machines the hypervisor provides the core functionality needed for virtual desktop management like starting stopping and snapshotting virtual machines Sun VDI 3 0 supports the Sun xVM VirtualBox and VMware Virtual Infrastructure 3 virtualization platforms Sun VDI Core The central component of the Sun VDI is the Sun VDI Core The VDI Core provides all the functionality needed to build and manage large scale virtual machine deployments In addition to its management capabilities the
129. e Level t How to Create Desktop Providers How to Create Desktop Pools How to Create Desktop Pools Sun VDI 3 organizes desktops in pools A pool is just a collection or container of desktops Typically you will create different pools for different types of users For example the engineering team in your company might have different desktop requirements than the marketing department When changing pool settings from NAT networking to Host Networking Windows RDP existing desktops that are running must be stopped and restarted or else subsequent user requests for these desktops will fail This issue occurs because existing running desktops will be using NAT and will not have a public IP address After the pools settings have been changed subsequent requests for that desktop will attempt to access the desktop via the private and unaccessible NAT IP Steps 1 Select the Pools category in the left sidebar 2 Click New in the All Pools overview This will activate a New Pool wizard 3 In Step 2 select a desktop provider from the drop down menu and choose a pool type e Dynamic pools are filled with cloned flexible desktops If you choose the Dynamic Pool type the desktops in the pool will be temporarily assigned to users they will be recycled each time the user logs out This pool type is considered dynamic because the user desktop assignments are often changing Growing pools are filled with cloned personal desktops If yo
130. e completely stateless and are not managed as such All administration happens in the backend Sun VDI 3 provides users with a choice of desktops on the one hand while reducing the complexity on the backend quite dramatically with it s 3 tier self contained approach session virtualization storage Find out more Sun VDI 3 Product Page http www sun com solutions vdi index jsp Sun VDI 3 Product Documenation http wikis sun com display VDI3 Home Sun VDI User Forum http forums sun com forum jspa forum ID 992 VirtualBox http www virtualbox org Unified Storage http www sun com storage disk_systems unified_storage OpenSolaris http opensolaris org Get It Sun VDI 3 http www sun com software vdi get jsp VirtualBox http www virtualbox org wiki Downloads Unified Storage Simulator http www sun com storage disk_systems unified_storage resources jsp OpenSolaris http opensolaris org os TryOpenSolaris Desktop and Virtual Machine States Desktop and Virtual Machine States In Sun VDI a user is assigned to one or several virtual desktops and can use these desktops from everywhere as if they were on a traditional desktop computer Sun VDI provides advanced management and lifecycle features which allow the effective management of 1000s of virtual desktops Virtual desktops go through states dictated by settings in the VDI Core Virtual machines are used to run the operating systems which render the desktops are controlle
131. e task Import data from Sun Virtual Desktop Infrastructure 2 0 y n Creating Desktop Providers virtual center Enter port for VC host virtual center 443 Creating Pools pool A Restoring Pool Assignments Importing desktop datacenter vm vda dyn pool A vmA0l pool B Restoring Pool Assignments Importing desktop neid Datacenter vm vmB11 Restoring non assigned Desktops Creating Personal pool for virtual center Importing desktop datacenter vm vmC31 Importing desktop datacenter vm vmD41 The data from Sun Virtual Desktop Infrastructure 2 0 has been imported into Sun Importing desktop datacenter vm vda dyn pool A vmA02 VDI 3 0 A log file is created with detailed information and can be used to track eventual errors The log file can be located at var adm log vda migrate lt date and time gt log For more information about the vda migrate command see its usage page 5 Upgrade the VDI Tools The VDI tools are installed on the desktop guest OS and are necessary for recycling to work properly and to handle RDP connections when the guest OS enters standby VDI 3 0 introduces some improvements which are incompatible with previous versions of the tools If you are importing desktops from a previous version of VDI the tools need to be upgraded a Go Control Panel gt Add or Remove Programs Remove Sun Virtual Desktop Connector Tools b Install the new version of the VD
132. e to determine the desktops assigned to the logged in user If multiple desktops are available the user will get a desktop selection dialog Once the user has selected a desktop the Sun Ray Windows Connector will startup and connect to the virtual machine running the desktop see DTU Access Supported Kiosk Session Parameters The appearance and behavior of the Kiosk session can be configured via a number of session parameters These parameters can be split up into two groups Settings specific for the VDA session affecting the desktop selector dialog and settings specific for the Sun Ray Windows Connector aka uttsc affecting the quality of the RDP connection The general syntax is E AN 69 FO D Q H Fh H Q 69 D ct ct H D Q nN Fh O K Q D 69 a ct O ge n D D Q ct O K V A ar ct ct nN Q nN jo D Q H Fh H A n D ct ct H E Q 0 V Desktop Selector Settings Per default the login desktop selector dialog will take advantage of the Java Runtime Environment located under usr java However an alternative path can be specified using the j option We recommend to use Java 6 for the dialog to get better locale support and to take advantage of the latest improvements in the Java Swing area Other Kiosk parameters set default values for the input fields or hide display certain UI elements in the dialog n no desktop selector Disables the desktop selector completely l
133. eating your template ensure that hardware virtualization VT x AMD V is disabled Steps 1 Launch the Sun VirtualBox Web Console ae O FO oe SS lt H K ce G 0 ke td O X gt lt H K G 0 ke td O x a Click New to launch the New Virtual Machine wizard b The wizard will guide you through virtual machine creation Be sure to choose the appropriate hard disk and RAM space for the desired configuration 4 GB hard disk and 384 MB RAM are recommended For more information about virtual machine system requirements refer to Chapter 3 Starting out with VirtualBox in the Sun VirtualBox User Manual 2 Install the operating system At this point you have an empty virtual machine equivalent to a PC without an OS installed The next step is to choose the boot medium for the OS and install it a Select the newly created virtual machine and click Settings Open the Advanced tab in the Settings GUI Ensure that CD DVD ROM is set as the first boot device Select the CD DVD ROM option in the left panel of the Settings dialog Check the Mount CD DVD Drive checkbox i Select the Host CD DVD Drive radio button to install the OS from the CD ROM drive li Select the ISO Image File radio button with the appropriate path to install the OS from a previously downloaded ISO file f Click OK to save the changes and close the Settings GUI At this point the new virtual machine must be started to trigger the OS install
134. eck the Windows Event Log for any problems with the tools 193 Sun Virtual Desktop Infrastructure 3 0 If you imported desktops from a previous version of VDI verify that the desktop is using the latest version of the VDI tools Open the desktop console go to Control Panel gt Add or Remove Programs Open the support information for Sun VDI Tools The version number should be 3 0 0 3 Verify that the virtual machine is configured to suspend when it is in standby Check the virtual machine settings Options Power management and make sure that the Suspend the Virtual Machine item is selected 4 Verify that the Windows guest OS actually enters standby and the virtual machine suspends when the machine is not in use 0 If you experience problems with the standby feature in Windows XP see http www terranovum com projects energystar ez_gpo html EZ GPO includes a group policy for power options Users cannot log into their desktops using their User Principal Name UPN or email address Users cannot log into their desktops using their User Principal Name UPN or email address Users should be able log into Active Directory with the user name user example com where example com is different than the Active Directory domain The default LDAP settings only allow the user to log in with their Windows username the sAMAccountName You need to change the LDAP user ID attributes to include the UPN You can do this with the following c
135. ed SQL node joins This is just one step toward a more secure MySQI Cluster configuration other steps can be taken by following the suggestions from the official MySQL site MySQL Cluster Security Issues Restricting SQL nodes from joining the MySQL Cluster will be accomplished by changing the file etc opt SUNWvda config ini on the Primary VDI host At the end of this file there are a couple of MYSQLD sections For every SQL node that wants to join the MySQL Cluster there has to exist a free MYSQLD slot For VDI every Secondary host and the Primary if configured to serve sessions as well runs its own SQL node hence one MYSQLD slot has to exist for every Secondary and the Primary in case Restricted access of SQL nodes will be accomplished by exactly specifying the hosts that are allowed to join Augment the MYSQLD slots in your etc opt SUNWvda config ini file like this MYSQLD HostName lt ip_or_dns_of_the_host_running_an_sql_node gt Please follow the existing convention in this file regarding the use of IPs vs host names Mixing of IPs and host names in etc opt SUNWvda config ini is not allowed Remove all unnecessary MYSQLD slots Example Imagine you have 3 secondary hosts with the the following host names my 1st secondary my 2nd secondary my 3rd secondary Initially your etc opt SUNWvda config ini will look like this iS K nN O Ly How OU UU VV OUD MYSQOLD HostName my 1st secondary MYSOQLD
136. ed and the load on the secondary hosts especially the first two secondary hosts which are hosting the MySQL data node process is ok Execute opt SUNWvda sbin vda db status to see if the MySQL Cluster management node and the two data nodes are running Furthermore check on the concerned host the SQL node is running by executing svcs svc application database vdadb sql If everything is fine you should see somthing similar to this STATE STIME FMRI online Mrz_18 svc application database vdadb core In case the SQL node is not running start it by either executing svcadm enable svc application database vdadb core or 185 Sun Virtual Desktop Infrastructure 3 0 EE _ _ _ _ _ eee _ _ _ _ _ _ _ _ _ _ _ EQ svcadm clear svc application database vdadb core If none of this helps have a look at the MySQL log files for possible root causes for your database problems You ll find the log files on the Primary hosts in var opt SUNWvda mysql cluster On the Secondary hosts you ll find the database log files in var opt SUNWvda mysql cluster and var opt SUNWvda mysql Information about the MySQL Cluster log file format can be found in the official MySQL documentation MySQL Cluster Log Messages have created a new pool in my VMware desktop provider and virtual machines are not created automatically have created a new pool in my VMware desktop provider and virtual mac
137. ed for the VDI ZFS pools In that case either of the two choices is fine If there is only one disk available choose ZFS 2 Enable root access To enable root access a Edit the file etc ssh sshd_config and change the line PermitRootLogin no to PermitRootLogin yes b Restart the SSHD service to implement the changes you made to the sshd_config file u a Q Q O 3 K D 09 q Q K e un u iy 3 Create a ZFS pool Creating a pool is an optional action The Solaris installer has already created a pool named rpool if ZFS has been selected during installation This pool contains the root file systems and can also be used by Sun VDI 3 0 Creating a dedicated pool is recommended to separate the Sun VDI 3 0 data from the OpenSolaris Solaris file systems To create a ZFS pool use the following command N FO O O ke Q K D Q ER D AN JO O O ke D Q 3 D V AN Q H 09 mn ER V MA O H 09 mn NO V MA O H 09 mn U V 109 Sun Virtual Desktop Infrastructure 3 0 rm 4 Enable iSCSI access Execute the following CLI command as root on the Solaris storage server m Previous Page How to Set Up an OpenSolaris Storage Server Up One Page Level t Setting Up a Storage Server Setting Up a Sun xVM VirtualBox Server Setting Up a Sun xVM VirtualBox Server The VirtualBox server should be an x86 platform only running Solaris 10 Update 6 64 bit or Solaris 10 Update 7 64 bit
138. efines the users in this group Operand x lt group name gt The name of the custom group denotes mandatory parameters group show 72 Sun Virtual Desktop Infrastructure 3 0 73 Show the pools assigned to the custom group Usage vda group show x parseable lt group name gt help Print this help list Options x parseable Display output suitable for programmatic parsing Operand lt group name gt The name of the custom group denotes mandatory parameters group assign Assign custom groups to pools Usage vda group assign p lt pooll gt lt pool2 gt pool lt pooll gt lt pool2 gt lt group name1 gt i i lt group name2 gt i help Print this help list Options p lt pooll gt lt pool2 gt pool lt pooll gt lt pool2 gt The name of the pools Operand i lt group namel gt lt group name2 gt The name of the custom group to assign denotes mandatory parameters group unassign Unassign custom groups from pools If no pool is specified all assignments are removed from the custom groups i Usage vda group unassign p lt pooll gt lt pool2 gt pool lt pool1 gt lt pool2 gt lt group namel gt lt group name2 gt help Print this help list l Options p lt pool1 gt lt pool2 gt pool lt po0o11 gt lt po0o1l2 gt i The name of the pools the custom groups should be unassigned from Operand
139. elp Print this help list Options x parseable Display output suitable for programmatic parsing Operand lt tokenld gt The id of the token denotes mandatory parameters Show the desktops assigned to the token U a E OE x parseable lt tokenldl gt lt tokenId2 gt 3p help Print this help list Options X parseable Display output suitable for programmatic parsing Operand lt tokenId1l gt lt tokenId2 gt The id of the token denotes mandatory parameters Assign tokens to pools or desktops Usage vda token assign p lt pool1 gt lt pool2 gt pool lt pooll gt lt pool2 gt d lt desktopl gt lt desktop2 gt desktop lt desktopl gt lt desktop2 gt lt tokenId1l gt lt tokenId2 gt help Print this help list Options p pooll gt lt poolz gt posl lt poalL gt lt pool2 gt The name of the pools d lt desktopl gt lt desktop2 gt desktop lt desktop1 gt lt desktop2 gt The id of the desktops Operand lt tokenId1 gt lt tokenId2 gt The id of the tokens to assign denotes mandatory parameters token unassign 77 Sun Virtual Desktop Infrastructure 3 0 Unassign tokens from pools or desktops If no pool or desktop is specified all assignments are removed from the tokens Usage 7 vda token unassign p lt pool1 gt lt pool2 gt pool lt pooll gt lt pool2 gt d lt desktop1 gt lt desktop2 gt desktop lt d
140. emory Current Swap Additional Swap Required For example 16GB physical memory 1GB 15GB of additional swap required To add the swap to your system l mkfile 15g path to swap img swap a path to swap img The VirtualBox software never finishes installing due to an error The VirtualBox software never finishes installing due to an error 191 Sun Virtual Desktop Infrastructure 3 0 If you are installing VirtualBox you may get the following error in the console Executing postinstall script Configuring VirtualBox kernel modules VirtualBox Host kernel module unloaded devfsadm driver failed to attach vboxdrv Warning Driver vboxdrv successfully added to system but failed to attach can t load module No such device or address Aborting due to attach failure Configuration failed Aborting installation pkgadd ERROR postinstall script did not complete successfully Installation of lt SUNWvbox gt partially failed This error is typically seen when previous versions of VirtualBox are still installed Try removing VirtualBox vb install u Then verify that the following packages have been removed SUNWvbox SUNWvboxkern Reboot then try the installation again The VirtualBox Web Service cannot be contacted The VirtualBox Web Service cannot be contacted The VDI 3 installer runs a check to be sure that the Apache 2 packages are installed on the Solaris platform If the Apache 2 packag
141. er provider remove host Remove the hosts from the xVM VirtualBox desktop provider provider enable host Enable the hosts for the xVM VirtualBox desktop provider Enabled hosts are used for automated cloning isable the hosts for the xVM VirtualBox desktop provider disable host D provider Disabled hosts are not used for automated C L loning provider list storage ist all storages for the desktop provider 55 Sun Virtual Desktop Infrastructure 3 0 rm provider add storage Add a storage to the xVM VirtualBox desktop provider provider remove storage Remove the storage from the xVM VirtualBox desktop provider provider list templates List the templates for the desktop provider provider list unmanaged List the desktops from the VMware VirtualCenter that are not managed by any desktop provider User Directory Subcommands directory add Add the user directory configuration to the system directory remove Remove the user directory configuration from the system directory getprops List the properties of the user directory directory setprops Edit the properties of the user directory directory show Show the configuration details for the user directory Global Settings Subcommands settings getprops List global settings settings setprops Edit global settings settings resetprops Reset global settings to their default value Job Subcommands job list List the existing jobs job show Show the job detai
142. er used cn SSEARCH_ STRING to search for groups according a search criteria Searches for groups can be done using the user search command or in the web administration console SEARCH_ STRING is the place holder for the search criteria ldap group member attributes List of comma uniquemember separated LDAP attributes on a group object storing the users member of the group ldap group short attributes List of comma empty separated LDAP attributes on a group object storing the information for primary group membership Primary group membership is specific to Active Directory ldap container object filter LDAP filter used objectclass domain objectclass organizationa to identify objects of type container Containers can be selected as root for custom group filters in the web administration console 140 Sun Virtual Desktop Infrastructure 3 0 ldap container search filter LDAP filter used dc SSEARCH_ STRING ou SEARCH_STRING by the web administration console to search for containers according a search criteria when selecting a root for a custom group filter SEARCH_ STRING is the place holder for the search criteria ldap default attributes List of comma dc ou cn uid uniquemember memberof separated LDAP attributes loaded in the cache when looking up an object It should contain all the attributes used in the other filters and attribute lists Recommended Values with O
143. er user name password and potentially the Windows domain 3 Work with the desktop A 192 168 128 197 Remote Desktop IX gt e e Internet c3 My Documents y 2 My Recent Documents gt E mail wr 52 My Pictures a MSN 7 My Music l My Computer Windows Media Player aati JA Control Panel QD o ete Yee windows Messenger Sj y y d e Set Program Access an SY Defaults a Tour Windows xP Ne Printers and Faxes Files and Settings Transfer S Wizard Help and Support Search f Run All Programs gt 6 Windows Security 169 Sun Virtual Desktop Infrastructure 3 0 Once you have successfully logged in you will get your desktop content displayed The behavior is the same as for a standard Windows PC Up One Page Level t Administering Next Page Accessing Desktops with SGD Web Access Accessing Desktops with SGD Web Access Accessing Desktops with SGD Web Access Log into the SGD webtop with URL http lt ssgd_server gt as the user who has been assigned the pool desktop The Windows Application Object that you created see Setting Up Sun Secure Global Desktop Software should appear in the list of applications on the left hand side Clicking the Application Object should ask for user credentials and then launch a Windows session for the user on the assigned desktop m Previous Page Accessing Desktops with a Sun Ray DTU Up One Page Level t Admin
144. erver via SSL or not iv Specify the name of your VDI database which has been specified when configuring your Primary Sun VDI host v Specify the name of the user that has access to the VDI database This is the user you have specified when configuring your Primary Sun VDI host the default is vdadb vi Specify the password for your VDI database user How to Create a Privileged Database User You may want to set up a privileged database user who has among other things the privileges to create databases and other users Use the mysql command line tool to enter the mysql interactive mode as root Then execute the following statements replace lt user gt and lt password gt accordingly GRANT ALL PRIVILEGES ON TO lt user gt localhost IDENTIFIED BY lt password gt WITH GRANT OPTION GRANT ALL PRIVILEGES ON TO lt user gt IDENTIFIED BY lt password gt WITH GRANT OPTION For more information follow the instructions outlined by MySQL in Adding New User Accounts to MySQL Previous Page How to Configure Sun VDI for a Production Environment Up One Page Level t Configuring the VDI Core Next Page E Reconfiguring the VDI MySQL Cluster Reconfiguring the VDI MySQL Cluster Reconfiguring the VDI MySQL Cluster EN The following tips and procedures require a profound knowledge of the VDI configuration in general and the MySQL Cluster database configuration in particular Be sure have have th
145. es are created automatically but they are not made available am getting the error Currently there is no desktop available or assigned to you B What is the difference between Personal and Flexible desktop assignments B How is desktop assignment in VDI 3 different than in VDI 2 How do I make a desktop available to a user at all times in VDI 3 Networking How do I configure DHCP in VDI 3 How do I use VMware virtual machines with multiple network adapters B Why does my VMware virtual machine have an invalid IP address or cannot be pinged B am unable to get a MS RDC connection on my VMware virtual machine B The window displaying the VMware hosted virtual desktop is freezing vda command reports that VDI is not running although cacaoadm and vda db status say it is RDP and SGD Do Sun Secure Global Desktop Software perpetual licenses include support with my purchase B If purchase support with my Sun Virtual Desktop Infrastructure Software licenses do also get support for Sun Secure Global Desktop Software E If purchase Sun Secure Global Desktop Software licenses and support am entitled to support for Sun Virtual Desktop Infrastructure Software VDI support B Is Sun Secure Global Desktop Software included with my purchase of Sun Virtual Desktop Infrastructure Software B Can install a full Demo without user directory integration B What are the conditions of the VDI 3 0 concurrent users license for Sun Ray and
146. es are not installed and the check does not notify you the VirtualBox web service cannot be contacted and you will not be able to continue with installation In this case you should install the Apache 2 packages and try the VirtualBox installation again The VMware virtual machine cloning process is not operating as expected The VMware virtual machine cloning process is not operating as expected To determine whether a new virtual machine is ready for use the VDI Core tries to open an RDP connection to it In certain cases especially if you use a customized VM template for Vista RDP can become available before the build process has completed however a virtual machine made available before the build process has completed cannot be used The following procedure describes how to set up a customized virtual machine template VMware customization specs to correct this problem It requires that RDP is disabled in the virtual machine template and that RDP is not blocked by a firewall when cloning is completed Preparations for manual Sysprep for Windows XP Step 3 and Vista VMs Step 4 are also included 1 Disable RDP by making sure the Remote Desktop checkbox on the Remote section of the System Preference dialog on the Windows Control Panel is unchecked 0 If you are using the Windows Firewall make sure that the Remote Desktop item is checked under Firewall Exceptions 2 Create a registry file called enableRdp reg at C with the follo
147. es to be removed from the Active Directory when cloned desktops are deleted by the VDI Core When a Windows desktop cloned by VDI joins a domain through Sysprep this will typically create a new computer entry in the Active Directory Configuring VDI with Kerberos Authentication will allow VDI to remove the computer entries from the Active Directory when deleting unused desktops This avoids having computer entries piling up in the Active Directory while the matching desktops have long been destroyed Active Directory integration requires additional configuration Kerberos configuration and time synchronization on the VDI host If you just want to quickly set up a demo with an Active Directory it should be more straight forward to use LDAP Integration Kerberos Authentication Kerberos Authentication is the typical choice when integrating with Microsoft Active Directory How to Set up Kerberos Authentication Public Key Authentication Public Key authentication should be used to integrate with Microsoft Active Directory when the domain controller requires LDAP signing http support microsoft com kb 935834 How to Set up Public Key Authentication Up One Page Level t How to Set Up a User Directory Next Page gt LDAP Integration How to Set up Kerberos Authentication 128 Sun Virtual Desktop Infrastructure 3 0 How to Set up Kerberos Authentication Follow the steps below to configure Kerberos Authentication for
148. esktopl gt lt desktop2 gt lt tokenId1 gt lt tokenId2 gt Y help Print this help list Options p lt pooll gt lt poolz gt pool lt pooll gt lt pool2 gt The name of the pools the tokens should be unassigned from d lt desktopl gt lt desktop2 gt desktop lt desktop1 gt lt desktop2 gt I The id of the desktops the token should be unassigned i from i Operand 1 lt Cokenidl gt lt tckenldz gt The id of the tokens to unassign 1 denotes mandatory parameters I pool pool list List all pools Usage I vda pool list x parseable help Print this help list l Options x parseable Display output suitable for programmatic parsing l x denotes mandatory parameters i pool create 78 Sun Virtual Desktop Infrastructure 3 0 Create a new pool with the specified properties Usage vda pool create p lt prop1 gt lt valuel gt lt prop2 gt lt value2 gt properties lt prop1 gt lt valuel gt lt prop2 gt lt value2 gt gt help Print this help list Options p lt propl gt lt valuel gt lt prop2 gt lt value2 gt properties lt propl gt lt valuel gt lt prop2 gt lt value2 gt The list of properties that define the pool Properties name lt name gt The name to identify the pool provider lt provider gt The name of the desktop provider for this pool comment lt comment gt The comment for the pool template lt template gt The
149. f VDI only supports VirtualBox version 2 0 8 What type of privileged access to the user directory is required What type of privileged access to the user directory is required For LDAP type of authentication 0 Read access to the entire users and groups base so that Sun VDI is able to look up for users and resolve the desktops assigned to the users that log in if using Active Directory with a single domain this is typically under CN Users DC my DC domain DC com e If using Active Directory read access to the CN Configuration DC my DC domain DC com location This is used by Sun VDI to pre populate the domain field of the login dialog for end users with the domain or the list of subdomains This is not mandatory if no such access is given to Sun VDI the domain field of the login dialog will be left empty For Active Directory type of authentication Read access to the entire users and groups base so that Sun VDI is able to look up for users and resolve the desktops assigned to the users that log in If using Active Directory with a single domain this is typically under CN Users DC my DC domain DC com Read access to the CN Configuration DC my DC domain DC com location This is used by Sun VDI to pre populate the domain field of the login dialog for end users with the domain or the list of subdomains This is not mandatory if no such access is given to Sun VDI the domain field of the login dialog will be left empty e Wr
150. for the user For example super user or super user my company com 6 Enter the password for the user 7 Click Next to review your choices before completing the configuration a Previous Page How to Set Up Anonymous Authentication Up One Page Level t LDAP Integration Next Page E gt How to Set Up Secure Authentication How to Set Up Secure Authentication How to Set Up Secure Authentication Use the steps below to set up secure authentication 133 Sun Virtual Desktop Infrastructure 3 0 It is necessary to provide the credentials of a user that has read access to the user directory This user will be used to read user information from the directory Steps In the Admin GUI go to the Settings category and User Directory subcategory and click Add User Directory to launch the User Directory wizard 1 Select LDAP Type and click Next 2 Select Secure Authentication 3 Enter the hostname or IP address and port number of the LDAP server 636 is the default port number used by most SSL secured LDAP servers 4 Enter the base DN of the LDAP server Specifying a base DN is optional It allows you to restrict the part of the LDAP directory used to search for users For example cn Users dc my dc company dc com 5 Enter the user name It must be the fully distinguished name DN of a user that has sufficient privileges to search the LDAP directory For example cn super user cn Users dc my dc company d
151. ge the security level if additional hosts have been defined see Adding 147 Sun Virtual Desktop Infrastructure 3 0 Fallback Hosts Changing the Credentials When using Kerberos Simple or Secure authentication it is possible to update the credentials used for opening the connection to the user directory go to the LDAP or Active Directory tab depending on the user directory type Click the Edit button for the Security Level to launch the wizard edit the username and the password as necessary Click Next to review your choices before completing the configuration update AA U Ne Updating the Server SSL Certificates When using Public Key or Secure authentication if the SSL certificate for the server has been changed you need VDI to use the new certificate go to the LDAP or Active Directory tab depending on the user directory type Click the Edit button for the Security Level to launch the wizard do not change any of the existing settings if you only want to update the server certificates the following step shows the SSL certificates of the servers Click Next to permanently accept the certificates Click Next to review your choices before completing the configuration update Mm Aa WU Na Adding Fallback Hosts When using the LDAP type of connection it is possible to have additional LDAP hosts that would be used as a fallback in the case the connection to the main host is failing The additional L
152. ger SSH to the box The following error is seen Caused by com jcraft jsch JSchException Algorithm negotiation fail at com jcraft jsch Session receive_kexinit Session java 510 at com jcraft jsch Session connect Session java 285 at com sun vda service vbox SshServer executeCommand SshServer java 331 40 more Normal SSH via the command line continues to work fine Cause Changes have been made to how the sshd negotiates the ciphers between version 101b and 108 of OSOL Solution We require the customer to use the release version of OSOL 2008 11 101b Any upgrades are not supported and need to get clearance from us first A fix in this particular case is to activate the Ciphers line in etc ssh sshd_config and to restart the ssh service vb install script fails to install xVM VirtualBox package Bug ID 6814023 If you uninstall xVM VirtualBox and want to reinstall it the installation may fail Cause Some xVM VirtualBox processes may still remain even after removal Solution Reboot the xVM VirtualBox host to kill any remaining processes Cloned virtual machines have lower resolution than the xVM VirtualBox virtual machine templates Bug ID 6815380 The cloned VM has a blurry desktop image because it has a lower 8 bit resolution compared to the original 32 bit virtual machine Migrating large numbers of pools from VDI 2 0 to 3 0 fails Bug ID 6819562 Sometimes when migrating two or more pools from VDI 2 0
153. ght choice Find details on the remote database configuration below Steps 1 Configure the Primary Sun VDI Host a Follow Steps 1 3 under Configure the Primary Sun VDI Host on the Configuring a Production Environment page b Choose 2 Remote Database Vi Vil viii Specify the DNS name of your MySQL server Specify the port on which your MySQL server is listening Specify a privileged database administrator This user needs to have the privileges to create databases and add users If you do not have such a user yet follow the instructions below How to Create a Privileged Database User in order to add one Specify the password for the database administrator that you have specified Specify whether you want to connect to your MySQL server via SSL or not Specify the name of the VDI database that will be created or just accept the default vda Specify the name of a user that will be associated with and used to access the VDI database Alternatively you can simply accept the default vdadb Specify a password for the VDI database user 35 Sun Virtual Desktop Infrastructure 3 0 2 Configure the Secondary Sun VDI Hosts a Follow Steps 1 5 under Configure the Secondary Sun VDI Hosts on the Configuring a Production Environment page b Choose 2 Remote Database i Specify the DNS name of your MySQL server li Specify the port on which your MySQL server is listening iii Specify whether you want to connect to your MySQL s
154. gt help Print this help list Options D lt prop1 gt lt prop2 gt properties lt propl gt lt prop2 gt l The list of properties to get Properties auth type The type of authentication to be used Possible values i are anonymous simple secure kerberos and publickey hosts The host name or 1P address and port number of the LDAP server separated by a colon May be a semi colon separated list of hosts i basedn The base DN to restrict the part of the directory used to search for users Valid only with anonymous simple and secure authentication addomain The Active Directory domain name Valid only for l kerberos and publickey authentication username The username to authenticate to the user directory directory setprops 99 Sun Virtual Desktop Infrastructure 3 0 Edit the properties of the user directory Usage vda directory setprops p lt propl gt lt prop2 gt properties lt propl gt lt prop2 gt help Print this help list Options p lt propl gt propZ gt properties lt propl gt lt propz gt The list of properties to set Properties auth type lt auth type gt The type of authentication to be used Possible values are anonymous simple secure kerberos and publickey hosts lt hosts1 gt lt hosts2 gt The host name or IP address and port number of the LDAP server separated by a colon The port number may be omitted
155. h criteria Searches for users can be done using the user search command or in the web administration console SEARCH_ STRING is the place holder for the search criteria List of comma separated uid LDAP attributes storing the userid value for user objects This is used to find a user given its userid List of comma separated memberof LDAP attributes on a user object storing the groups the user is a member of LDAP filter used to objectclass groupofnames identify objects of type group 143 Sun Virtual Desktop Infrastructure 3 0 ldap group search filter LDAP filter used to cn SEARCH_STRING search for groups according a search criteria Searches for groups can be done using the user search command or in the web administration console SEARCH_ STRING is the place holder for the search criteria ldap group member attributes List of comma separated member LDAP attributes on a group object storing the users member of the group ldap group short attributes List of comma separated empty LDAP attributes on a group object storing the information for primary group membership Primary group membership is specific to Active Directory ldap container object filter LDAP filter used to identify objects of type container Containers can be selected as root for custom group filters in the web administration console ldap container search filter LDAP filter used by the web administration console to
156. h Sun Ray s hosted by Sun s recently released desktop virtualization product Sun VDI 3 VDI Virtual Desktop Infrastructure and Sun s Unified Storage platform Introduction The JavaOne conference expects each year about 7000 participants Each participant has the opportunity to access the internet through the public conference WiFi or through terminals at various spots around the conference These terminals are actually Sun s Ultra Thin Clients called Sun Rays Each participant simply needs to use his conference badge and inserts it into one of the 198 Sun Virtual Desktop Infrastructure 3 0 terminals in order to obtain a session with internet access This has been the common practice since years This year the underlying technology is different as the participants get access to a variety of different desktops such as OpenSolaris 2009 06 Windows 7 RC and Ubuntu 8 10 During the whole conference week participants will own this selection of desktops Each desktop is completely isolated and acts as a Virtual PC Every time the user inserts his card he gets access to the same selection of desktops that has been assigned at first use Based on the card information participants will get also access to personalized information such as their conference schedule So a level of customization is applied to each desktop Participants are also able to switch between desktops In total the trade show group has to manage about 21000 desktops This is a
157. he Admin password that you have chosen during the installation for a multi host setup or just hit enter for an evaluation setup Kerberos authentication to Active Directory works for a while and then stops Kerberos authentication to Active Directory works for a while and then stops A temporary solution for this issue is to run the following on each VDI server 188 Sun Virtual Desktop Infrastructure 3 0 gt H D H ct lt 0 Q 3 H D H nN ct 5 0 O 5 E lt K J O Ea D H Z Troubleshooting This might be 1 A time synchronization issue Make sure the domain controllers and the VDI servers are connecting to the same NTP server 2 A Kerberos configuration issue Make sure the Kerberos configuration file etc krb5 krb5 conf contains the libdefaults section and sets the default_realm and default_checksum as in the following example libdefaults default_realm MY COMPANY COM default_checksum rsa md 5 realms MY COMPANY COM kdc my windows host domain_realm my company com MY COMPANY lt COM my company com MY COMPANY COM There is an error when add a VirtualBox host to a desktop provider There is an error when add a VirtualBox host to a desktop provider Several errors can occur when adding a VirtualBox host and will result in possible error alerts on either the Specify Host or Verify Certificate wizard steps Specify Host Step After entering
158. he user and group entries retrieved by VDI are cached Entries in the LDAP cache time out after 10 minutes It is not possible at the moment to change the LDAP cache timeout neither to flush the cache 43 Previous Page LDAP Integration Up One Page Level t How to Set Up a User Directory Next Page Ep User Directory Settings User Directory Settings User Directory Settings User directory settings are configured in the Admin Web Ul in the Settings category and User Directory subcategory Defining the User Directory The instructions to define the user directory are described in Active Directory Integration and LDAP Integration Only one user directory can be defined Changing the Security Level It is possible to change the security level for the connections to the user directory 1 go to the LDAP or Active Directory tab depending on the user directory type 2 click the Edit button for the Security Level to launch the wizard 3 switch to another security level and modify the other settings if necessary such as the port the username and the password 4 click Next to review your choices before completing the configuration update It is only possible to switch to a security level within the same type of user directory LDAP or Active Directory If you want to switch between LDAP and Active Directory you have to remove the user directory and add it again In the case of LDAP connection type it is not possible chan
159. hines are not created automatically You have not defined a template for the pool Make sure that your pool configuration points to a virtual machine or template e There is not enough disk space available to create copies of the template have free memory on my ZFS storage host but my VirtualBox virtual machines will not start due to a lack of memory have free memory on my ZFS storage host but my VirtualBox virtual machines will not start due to a lack of memory The ZFS ARC cache is eating up the memory See the Release Notes for information about limiting the ARC cache usage In my VMware desktop pool new virtual machines are created automatically but they are not made available In my VMware desktop pool new virtual machines are created automatically but they are not made available 1 Verify that you still have enough disk space for your virtual machines Depending on the recycle policy settings for your pool before a newly created virtual machine is made available for users a Snapshot Is taken This operation requires sufficient disk space 2 Verify that the RDP port typically 3389 of the Windows guest OS instance is open Before a newly created virtual machine is made available the Virtual Desktop Connector verifies whether RDP communication can be established to the virtual machine The following issues might prevent a successful test e The virtual machine is on a private network and cannot be accessed by the Virtual
160. hysical copying is done here The VM will not be altered in any way Steps 1 In the Admin GUI open the Pools tab then select the previously created empty pool 2 Select the Desktops tab and click Import An import dialog will be displayed 3 The dialog will display the available VMs in the VirtualCenter hierarchy you can select individual VMs or folders In the latter case all the VMs under this folder will be selected for the import 4 Click on OK to import the VMs into the VDI Core database VMs which are already imported into the VDI Core cannot be selected for import Templates can also not be imported as they will be handled specially see the next section dealing with desktop cloning 124 Sun Virtual Desktop Infrastructure 3 0 After the virtual machine s has been imported successfully it will show up in the Desktops tab of the Pool page a page refresh might be necessary a Previous Page How to Import Virtual Machines for an xVM VirtualBox Platform Up One Page Level t Importing Virtual Machines How to Enable Cloning in Pools How to Enable Cloning in Pools Filling a desktop pool manually is cumbersome and inefficient for large desktop numbers Thus Sun VDI 3 0 can also clone desktops as needed from a template or golden master Fea Tasagion Pegaer For each pool you can specify Bre aih rrit Preferred Size The initial number of desktops that should be cloned PE Free desktops How many deskto
161. iated or registered on any VirtualBox host This allows VDI to select the best suited host on every start of a desktop This helps ensure a spread of desktops across available VirtualBox hosts minimizing resource usage on each In some rare circumstances a desktop maybe left registered and powered off on a VirtualBox host Desktops in this state for more than a couple of minutes can safely be deleted from the VirtualBox host if necessary as the configuration is stored in the VDI database and all data on a storage host When manually unregistering a desktop from VirtualBox ensure that you also unregister the desktops disk image Running Desktops Running desktops are registered and started on a single VirtualBox host The VirtualBox host that a desktop is running on can be determined using the Desktop Summary page in the VDI UI A running desktop is connected directly to the storage host Up One Page Level t How to Enable Cloning in Pools Next Page E gt How to Enable Cloning for a VMware Infrastructure Platform How to Enable Cloning for a VMware Infrastructure Platform How to Enable Cloning for a VMware Infrastructure Platform Cloning is the fastest and most efficient way to populate a pool Use the steps below to enable cloning in a pool Steps 1 In the Admin GUI open the Pools tab then select the previously created pool or any other empty pool 2 Select the Resources tab 126 Sun Virtual Desktop Infrastructure 3 0 3
162. ic does NOT include email or telephone support An upgrade to Standard or higher support level is required for email or telephone support End users are not able to log into their Windows desktop End users are not able to log into their VMware provided Windows desktop Verify that the users are configured for remote access and are allowed to perform a remote access End users cannot access their virtual machines End users cannot access their virtual machines 1 On a terminal trigger the following command opt SUNWvda lib vda client p cat tmp vdaservice port m lt test user gt 2 If things work as expected then the vda client will trigger the startup of the corresponding Virtual Machine and should return an IP e g 10 16 46 208 or DNS name e g argus load5 ham for accessing the user s desktop If the RDP port differs from the default then it will be appended to the IP DNS name e g 10 16 46 208 49259 or argus load5 ham 49259 3 With that information it should now be possible to establish an RDP connection to the desktop 4 If no IP or DNS name is returned by vda client VDI might have some trouble resolving the user ID in the user directory To check that change the log level of cacao to ALL as described in the cacao troubleshooting 5 in the cacao log file var cacao instances default logs cacao 0 look for entries of the type FINEST userld lt test user gt gt DN lt dn gt 6 if lt dn gt is null that me
163. id of the template to use to automatically populate this pool name pattern lt name pattern gt The naming pattern to use for new cloned desktops The pattern is composed of a prefix and a 0 for each digit of the sequential number system preparation lt system preparation gt The system prepartion to use for cloned desktops For VMware VirtualCenter pools specify a custom spec name For xVM VirtualBox pools specify a filepath to a Sysprep file preferred size lt preferred size gt The desired number of desktops in the pool free size lt free size gt The minimum number of available desktops in the pool max s1ize lt max size gt The maximum number of desktops the pool can contain power state lt power state gt The power state of a desktop after cloning or recycling Default is off Possible values are on off suspended assignment type lt assignment type gt The assignment policy for this pool Default is flexible Possible values are personal and flexible idle timeout lt idle timeout gt The time a machine remains suspended before being made available in minutes Default is 120 minutes synchronous cloning lt synchronous cloning gt The maximum number of parallel desktop cloning jobs Default is 5 recycle policy lt recycle policy gt The action to take when recycling desktops Default is snapshot Possible values are snapshot reuse delete network interface lt network interface gt The ty
164. ilter SSEARCH_STRING is the placeholder for the search criteria ldap default attributes List of LDAP separated attributes loaded in the cache when looking up an object denotes mandatory parameters job list 103 Sun Virtual Desktop Infrastructure 3 0 List the existing jobs Usage vda job list x parseable help Print this help list Options X parseable Display output suitable for programmatic parsing denotes mandatory parameters Show the job details Usage vda job show x parseable lt job gt 9 help Print this help list X parseable Display output suitable for programmatic parsing Operand x lt job gt The id of the jobs denotes mandatory parameters 1 Options i Wait until the job ends Usage vda job wait t lt timeout gt timeout lt timeout gt lt job gt help Print this help list Options t lt timeout gt timeout lt timeout gt Timeout in seconds to wait Operand x lt job gt The id of the job denotes mandatory parameters The vda webadmin Command Command opt SUNWvda sbin vda webadmin Usage 104 Sun Virtual Desktop Infrastructure 3 0 Usage vda webadmin SUBCOMMAND or vda webadmin OPTIONS Manages the Web server hosting the Sun Virtual Desktop Infrastructure Web Administration The accepted values for SUBCOMMAND are start Starts the server stop Stops the server restart Stop followed
165. ing the userid value for user objects This is used to find a user given its userid 137 ldap user member attributes ldap group object filter ldap group search filter ldap group member attributes ldap group short attributes ldap container object filter Sun Virtual Desktop Infrastructure 3 0 List of comma separated LDAP attributes on a user object storing the groups the user is a member of memberof primaryGroupID LDAP filter used to identify objects of type group objectclass group LDAP filter used to search for groups according a search criteria Searches for groups can be done using the user search command or in the web administration console SEARCH_ STRING is the place holder for the search criteria cn SEARCH_STRING List of comma member separated LDAP attributes on a group object storing the users member of the group List of comma separated LDAP attributes on a group object storing the information for primary group membership Primary group membership is specific to Active Directory primaryGroupToken LDAP filter used to identify objects of type container Containers can be selected as root for custom group filters in the web administration console objectclass container 138 ldap container search filter ldap default attributes Sun Virtual Desktop Infrastructure 3 0 LDAP filter used by the web administration console to search for co
166. ings If you want to adapt the default locale of login desktop selection dialog put in the desired locale in the Locale input field of the Kiosk settings Perform a Cold Restart The new settings will become active for every newly created Kiosk session If you want to enforce the settings for existing sessions also then you can perform a cold Sun Ray services restart This will terminate all existing sessions and will create new Kiosk sessions as necessary 161 Sun Virtual Desktop Infrastructure 3 0 Users will notice an outage and will also be forced to re login into their desktop sessions again if you perform a cold Sun Ray services restart Steps Switch to the Servers tab Select all servers in your Sun VDI environment Click on Cold Restart to initiate the Sun Ray services restart This operation can take up to several minutes Aa U Ne t Previous Page Sun Ray Administration GUI Up One Page Level t Adapting Sun Ray Software Next Page E Disabling Client Authentication Setting Up Sun Secure Global Desktop Software Setting Up Sun Secure Global Desktop Software Sun VDI can be also used with Sun Secure Global Desktop software SGD 4 41 Steps 1 Install SGD 4 41 or SGD 4 5 For detailed instructions see the Sun Secure Global Desktop Software 4 41 Collection The mechanism for accessing desktops via Sun Secure Global Desktop has changed since Sun VDI 2 The My Desktop Application
167. is could be made to work on OpenSolaris but it would require a lot of manual adaptations That s why for the moment we require Solaris 10 for the VDI 3 installation and do not support OpenSolaris for installing the core VDI parts Solaris 10 Update 7 is required because several fixes in the ISCSI area went into this update The limitation to 64 bit is caused by the MySQL cluster database version shipped with VDI 3 we only include the 64 bit version of the MySQL cluster in VDI 3 Can use PKI instead of Kerberos for authentication to an Active Directory Can use PKI instead of Kerberos for authentication to an Active Directory You can certainly use PKI authentication and it should offer the same features including removing computers from the Active Directory as Kerberos authentication Can use wild cards in token names to represent a group of DTUs in order to assign these DTUs to a pool Can use wild cards in token names to represent a group of DTUs in order to assign these DTUs to a pool No tokens in VDI don t allow wild cards Instead you can create tokens in bulk and have them associated to users by using the vda CLI as described on the How to Associate Tokens to Users page Then you can make pool assignments based on existing groups of users in your user directory or groups you would define especially for VDI using Custom Groups Does the MySQL database store all SRS related configuration Does the MySQL database s
168. is level of knowledge before continuing Familiarize yourself with MySQL Cluster Detailed information can be found in the official MySQL documentation MySQL Cluster Overview Failures made when executing the following procedures may seriously spoil your VDI installation or make it completely unusable When the MySQL Cluster database option has been chosen during the VDI configuration a MySQL Cluster database will be installed under the hood It has been mentioned already that for this option at least three physical hosts are required each of which will assume a different role from the perspective of the MySQL Cluster database A detailed overview about MySQL Cluster node types and core concepts can be found here MySQL Cluster Core Concepts In particular there will exist A Primary hosts which runs the MySQL Cluster Management node The 1st Secondary which runs the first MySQL Cluster data node as well as a SQL node The 2nd Secondary which runs the second MySQL Cluster data node as well as a SQL node Further Secondaries which will run a SQL node each Aa WU Ne This is a rather static MySQL Cluster configuration consisting always only of one Management node two Data nodes and up to 99 SQL nodes Besides that several compromises have been made favoring ease of installation and configuration over absolute 36 Sun Virtual Desktop Infrastructure 3 0 security Find detailed information about security related aspects in conjunction with MyS
169. is the possibility to select between multiple desktops This behavior can be configured see Using Sun Ray Software Steps 164 Sun Virtual Desktop Infrastructure 3 0 1 Log into Sun VDI Desktop Login User Name johnd Password Domain VDATEST GERMANY SUN COM v Language v Quit Insert a smart card token that has been assigned to a pool or a desktop directly as described before into a Sun Ray DTU that is connected to a Sun VDI host It should display a login screen after a short while You must provide your user name and password and optionally a Windows domain 0 Sun VDI 3 does not require the usage of smart cards Per default desktop access is enabled for smart card and non smart card usage 2 Select a desktop or pool 165 Sun Virtual Desktop Infrastructure 3 0 Available Desktops You are logged in as ohnd A desktop in pool WindowsXP A desktop in pool Ubuntu Language v Quit After successful authentication the system will determine the desktops and pools assigned to you If multiple desktops are available you will get a desktop selection dialog The selection screen will be skipped if there is only one desktop available to you You will be automatically logged out if you do not select a desktop within three minutes the default timeout 3 Work with the desktop 166 Sun Virtual Desktop Infrastructure 3 0 gt a a 192 168 128 197 Remote
170. istering Next Page E Accessing Desktops with Microsoft RDC Accessing Desktops with Microsoft RDC Accessing Desktops with Microsoft RDC Sun VDI 3 includes a built in RDP broker that allows easy desktop access leveraging the Remote Desktop Protocol RDP This way users can take advantage of existing Windows PCs for accessing desktops There is typically no need to install any additional software on your PC Both Windows XP and Windows Vista provide out of the box the necessary functionality The following screenshots illustrate how to access a desktop from an end user perspective using Windows XP Steps 1 Open a remote desktop connection a Click on Start gt All Programs gt Accessories gt Remote Desktop Connection b In the dialog specify as Computer the name or IP address of the host running Sun VDI 3 c Specify the user name and optionally Windows domain Click Connect d A popup dialog will come up asking for the user password Enter the password and click OK e After a while the desktop should be displayed and be ready to use 170 Sun Virtual Desktop Infrastructure 3 0 0 The remote desktop connection on your computer might be configured for performance optimization Thus certain elements like desktop background theming menu and window animations might not be displayed in your setup You can easily adapt these settings see Experience tab of the remote desktop connection to meet your personal requirements
171. ite access to the computers location This is typically under CN Computers DC my DC domain DC com when a Windows host joins to the my domain com domain Write access to the computers location is used by Sun VDI to delete the corresponding computer entry from the AD when a cloned desktop VM gets destroyed The computer entry Is automatically created by AD when the cloned Windows desktop joins the domain which is generally instructed in the Sysprep Write access is not mandatory if you provide a user which has no such access Sun VDI won t be able to delete computers entries from the AD and you ll be left with a growing number of computer entries in your AD this will only happen in the case you are using the cloning of Windows desktops When start a desktop get this error No suitable hosts to start a desktop for Desktop Provider XYZ When start a desktop get this error No suitable hosts to start a desktop for Desktop Provider lt ProviderName gt 197 Sun Virtual Desktop Infrastructure 3 0 The error No suitable hosts to start a desktop for Desktop Provider lt ProviderName gt indicates that there were no hosts with sufficient memory in your desktop provider 1 Check the available memory on your hosts using the VDI Admin GUI under the Desktop Provider gt Hosts tab 2 If host memory usage is higher than expected it s possible that ZFS is consuming the memory for cache See the Release Notes for information about limiting th
172. ject storing the information for primary group membership Primary group membership is specific to Active Directory ldap container object filter LDAP filter used objectclass domain objectclass organizationa to identify objects of type container Containers can be selected as root for custom group filters in the web administration console 142 ldap container search filter ldap default attributes Sun Virtual Desktop Infrastructure 3 0 LDAP filter used dc SSEARCH_ STRING ou SEARCH_STRING by the web administration console to search for containers according a search criteria when selecting a root for a custom group filter SEARCH_ STRING is the place holder for the search criteria List of comma dc ou cn uid uniquemember memberof separated LDAP attributes loaded in the cache when looking up an object It should contain all the attributes used in the other filters and attribute lists Recommended Values with Open LDAP Global Setting Name ldap user object filter ldap user search filter ldap userid attributes ldap user member attributes ldap group object filter Description Recommended Value with Open LDAP LDAP filter used to It is mandatory to remove identify objects of type objectclass computer from the default filter user Recommended is objectclass person LDAP filter used to cn SSEARCH_STRING uid SEARCH_STRING search for users according a searc
173. k Next to permanently accept the certificates e Click Next to review your choices before completing the configuration Ep Previous Page How to Set up Kerberos Authentication Up One Page Level t Active Directory Integration LDAP Integration LDAP Integration LDAP Integration allows to integrate with one Active Directory server or one LDAP server in a straight forward way without the need for extra configuration The users from the Active Directory or LDAP server can be used for desktop and pool assignments and will be able to access desktops from VDI LDAP Integration offers three security levels for authentication anonymous simple and secure Anonymous Authentication Anonymous Authentication is useful for demo when the directory supports it It is offered to enable you to set up a quick integration with an LDAP server for demo purposes Anonymous Authentication may only be chosen if your LDAP server supports anonymous authentication It is not recommended to select Anonymous Authentication on production platforms Active Directory does not support Anonymous Authentication How to Set Up Anonymous Authentication 131 Sun Virtual Desktop Infrastructure 3 0 Simple Authentication Simple Authentication is the demo solution for Active Directory and the typical choice for other LDAP directories Simple Authentication is the recommended choice for production platforms integrating with LDAP directories other
174. ktop Software If purchase support with my Sun Virtual Desktop Infrastructure Software licenses do also get support for Sun Secure Global Desktop Software Yes However support services are limited to the boundaries of the restricted Right To Use RTU license included with your Sun VDI Software license For Standard support levels or higher this means support services will provide support for all features and functionality of Sun Secure Global Desktop Software within context and usage solely for the purpose of using with Sun VDI Software and accessing one 1 fullscreen desktop per user Additional features and or functionality Sun Secure Global Desktop Software provides that are not related to this purpose are not supported by Sun support services get a blank screen after successfully logging into the Admin GUI get a blank screen after successfully logging into the Admin GUI This is most likely an issue with the MySQL database 1 Try restarting the service opt SUNWvda sbin vda service restart 2 If problem persists you need to troubleshoot the MySQL database If you are using the VDI MySQL Cluster database it is important to know that MySQL Cluster is quite demanding regarding physical resources this specifically concerns CPU power RAM and network bandwidth The MySQL Cluster data nodes need to be connected via at least 100Mbps networks preferable Gbps The first thing to check is always if the network connectivity is provid
175. le Output one line with the following values separated by a colon Value Data Format Server string Datacenters comma separated strings Pool Names comma separated strings followed by a list of lines with the following values separated by a colon Value Data Format Host Name string CPU Usage xx x x GHz MHz Memory Usage xx x x GB MB provider list hosts List all hosts for the xVM VirtualBox desktop provider Parseable Output list of lines with the following values separated by a colon 154 Sun Virtual Desktop Infrastructure 3 0 Value Data Format Host Name string Status Enabled Disabled CPU Usage XxX X X GHz MHz Memory Usage xx x x GB MB Number of Desktops integer provider list storage List all storage servers for the desktop provider Parseable Output list of lines with the following values separated by a colon Value Data Format Storage Name string ZFS Pool string Capacity XXX X GB Usage xx x GB Number of Desktops integer provider list templates List the templates for the desktop provider Parseable Output list of lines with the following values separated by a colon Value Data Format Template Name string Template Id long provider list unmanaged List the desktops from the VMware VirtualCenter that are not managed by any desktop provider Parseable Output list of lines with the following values separated by a colon Value Da
176. le desktop assignments e Personal Assignment Desktops which have been personally assigned to users are owned by these users similar to the personal computers under their desks Thus they will never be recycled and will never become available for other users However an administrator can explicitly remove the assignment and re assign a desktop to a different user o Flexible Assignment Desktops which have been flexibly assigned are temporarily owned by users Once users log out of their desktops or their desktops are no longer in use they will be recycled and become available for other users As part of the recycle process the desktop assignment will be removed Personal assignments are created when you select a specific desktop in the VDI Admin GUI and assign it explicitly to a user If you assign a user or a group of users to a pool the desktop assignments are created on demand the first time the user requests a desktop or connects to a desktop The type of assignment personal or flexible depends on the pool settings You can configure this individually for each pool on the Pool Settings subcategory see the Desktop Assignment section In addition to the assignment type you can also specify how each pool is filled with desktops Here you have the choice to manually import desktops or to clone desktops automatically from a specified template see the Cloning subcategory When you create a new pool we provide default settings for
177. ler and follow the prompts to complete installation The default target location for the VDI Tools on Windows is C Program Files Sun Virtual Desktop Access Tools The VM services list should now contain a new service named Sun VDI Tools running and set to start automatically 5 Configure power management An unused virtual desktop is treated like a laptop that is unplugged to save power it is suspended automatically to release all its CPU and memory consumption Suspending virtual machines also affects how they are recycled A virtual machine will be recycled if it is has been suspended for longer than the recycling idle timeout period even if the user has not logged out of the machine The Power Options for Microsoft Windows XP play an important role in the suspend behavior of the VM The timeout before a virtual machine goes into standby should be set to an appropriate value a Select the desired virtual machine and open the console Log into the virtual machine Goto Start gt Control Panel Open Power Options Set the System Standby time to the desired value Verify that the guest OS actually enters standby as configured 4 0 Aan Open the Virtual Infrastructure Client Virtual machines should be configured to be suspended when the OS goes into standby This is enabled in VMware vCenter Open the Virtual Infrastructure Client Right click on the desired virtual machine and go to Edit Settings Go to Op
178. lowing the steps outlined here Installing the VDI Core and Configuring the VDI Core From Primary Management to Non VDI host 1 Un configure your Primary Management host 2 Configure a new Primary Management host using the instructions above From Primary Management to Secondary Data host 1 Convert the Primary Management host to a Non VDI host using the instructions above 2 Now configure the host to run as a Secondary Data host following these instructions From Primary Management to Secondary SQL host 1 Convert the management node to a nothing node using the instructions above 2 Now configure the host to run an SQL node using these instructions From Secondary Data to Non VDI host 1 Un configure the Secondary Data host by executing opt SUNWvda sbin vda config u 2 Setup a new Secondary Data host using the instructions above From Secondary Data to Primary Management host Un configure the Secondary Data by executing opt SUNWvda sbin vda config u Setup a new Secondary Data host follow the instructions above Un configure your existing Primary Management host following these instructions Reconfigure your former Secondary Data host as a Primary Management hosts following these instructions Aa WwW Ne From Secondary Data to Secondary SQL host 1 Unconfigure the data node by executing opt SUNWvda sbin vda config u 2 Set up a new data node using these instructions 3 Convert the new data node into an
179. ls job wait Wait until the job ends Each subcommand has its specific options and arguments Specify help after the 56 Sun Virtual Desktop Infrastructure 3 0 ee subcommand name to display its usage vda Command Usage Examples vda Command Usage Examples Topic Jump List Creating a Desktop Provider Creating a Pool Configuring the User Directory Assigning Pools and Desktops to Users Listing the Desktops and Pools Assigned to a User Creating a Desktop Provider The following example creates a VMware VirtualCenter desktop provider example opt SUNWvda sbin vda provider vc create p name VC provider host my vc com username Administrator The following example creates a xVM VirtualBox desktop provider with two hosts and one storage example opt SUNWvda sbin vda provider vb create p name VB provider example opt SUNWvda sbin vda provider add host p host my first vb com port 443 username root VB provider example opt SUNWvda sbin vda provider add host p host my second vb com port 443 username root VB provider example opt SUNWvda sbin vda provider add storage p host my zfs com username root zfspool vda_zfspool VB provider Creating a Pool The following example creates a pool for storing xVM VirtualBox templates example opt SUNWvda sbin vda pool create p name Templates provider VB provider assignment type personal example opt SUNWvda sbin vda pool vb import p vdi image templa
180. lue2 gt properties lt propl1 gt lt valuel gt lt prop2 gt lt value2 gt lt provider gt e ip Print this help list Options p lt propl gt lt valuel gt lt prop2 gt lt value2 gt properties lt propl gt lt valuel gt lt prop2 gt lt value2 gt The list of properties to edit for the desktop provider Properties name lt name gt The name for the desktop provider host lt host gt The hostname of the VMware VirtualCenter host port lt port gt The port to connect to the VMware VirtualCenter host The default is 443 username lt username gt The username to authenticate to the VMware VirtualCenter host password lt password gt The password to authenticate to the VMware VirtualCenter host password prompt Prompt for the password to authenticate to the VMware VirtualCenter host certificate lt certificate gt Indicate to update the certificate for the VMware VirtualCenter host Possible value is update comment lt comment gt The comment for the desktop provider If a property value contains a comma use the double quoting syntax for the value such as lt prop gt lt value gt single quote followed by double quote to open double quote followed by single quote to close Operand lt provider gt The name of the desktop provider denotes mandatory parameters 92 Sun Virtual Desktop Infrastructure 3 0 meee provider show Show detailed information about the desk
181. ly improves the performance of desktop deployment As a first step you must import the desktop to the storage If you plan to use desktop cloning described in the next section then the virtual machine should have been prepared with Sysprep before importing Strictly spoken the Sysprep step can be omitted depending on how you finally deploy your guest Operating Systems running inside your virtual machines but you will almost certainly require Sysprep if you have a Microsoft Active Directory based network and want your Windows machines to join successfully Copy the XML config file and VDI disk image file of an existing xVM VirtualBox machine to the var tmp directory on the host where Sun VDI has been executed VDI host AB Importing snapshots of virtual machines is not supported Steps 123 Sun Virtual Desktop Infrastructure 3 0 The following examples use the xVM VirtualBox default paths 1 Shut down your virtual machine 2 Copy the XML file un Q KO 2 gt lt lt H K E a w ke td O X SS ES 0 Q D H D D u 5s A lt cs D 0 3 D V N A lt ES D mM 3 D V x 3 ke K O O i A lt J Q D O u ce V gt lt 0 K gt ct 3 O un Q jo 2 gt lt H K E G w ke td O X N lt U H N A lt ES D w 3 D V g Q H K O O 53 A lt U Q T O 09 ct V TS lt 0 K N ct 3 FO If you have insufficient space in var tmp yo
182. m Secondary SQL to to Non VDI host Primary Management Secondary Data host host From Non VDI to Primary Management host AB This reconfiguration implies a complete outage of the system 1 Prepare your new Primary Management host by Installing the VDI Core and configuring it as Primary VDI host according to Configuring the VDI Core 2 Prepare your two Secondary Data hosts a Stop the vdadb core service by executing svcadm disable svc application database vdadb core Stop the vdadb sql service by executing svcadm disable svc application database vdadb sql If your original Primary Management host is still running un configure it now by executing opt SUNWvda sbin vda config u On both Secondary Data hosts edit etc opt SUNWvda my cnf exchange the ip address of the original Primary Management host with that of your new one Edit etc opt SUNWvda vdadbconnection properties and exchange the ip address of the original Primary Management host with that of your new one On both Secondary Data hosts change the svc application database vdadb core SMF configuration by executing svccfg s svc application database vdadb core setprop config ndbd_connectstring astring lt management host gt Refresh the svc application database vdadb core SMF service description svcadm refresh svc application database vdadb core Check that your svc application database vdadb sql SMF service is in disabled state Start it
183. meters group list 70 Sun Virtual Desktop Infrastructure 3 0 i List all custom groups i Usage vda group list x parseable help Print this help list Options X parseable Display output suitable for programmatic parsing denotes mandatory parameters group create Create a new local group with the specified properties Usage vda group create p lt prop1 gt lt valuel gt lt prop2 gt lt value2 gt property lt prop1 gt lt valuel gt lt prop2 gt lt value2 gt help Prant this help list Options p lt propl gt lt value1 gt lt prop2 gt lt value2 gt property lt propl gt lt valuel gt lt prop2 gt lt value2 gt The list of properties that define the group Properties i 1 name lt name gt The name of the custom group comment lt comment gt The comment for the custom group search filter lt search filter gt i i The LDAP search filter which defines the users in this i group If a property value contains a comma use the double quoting syntax for the value such as lt prop gt lt value gt single quote followed by double quote to open double quote followed by single quote to close denotes mandatory parameters i group delete Delete the custom group Usage vda group delete lt group namel gt lt group name2 gt p help Print this help list Operand i lt group namel gt l
184. n vda migrate 1M NAME vda migrate Sun Virtual Desktop Infrastructure Settings and data migration utility SYNOPSIS opt SUNWvda sbin vda migrate opt SUNWvda sbin vda migrate e lt path to directory gt opt SUNWvda sbin vda migrate i lt path to directory gt opt SUNWvda sbin vda migrate h DESCRIPTION The Sun Virtual Desktop Infrastructure migration utility provides a way to export and import data and settings from a previous version to a current version of Sun Virtual Desktop Infrastructure OPTIONS e lt path to directory gt Exports data from an older version of Sun Virtual Desktop Infrastructure This option should only be executed while the old version is still installed and configured The exported data is stored in the given directory if no directory is supplied var opt SUNWvda backup is used This is the default option i lt path to directory gt Imports data to Sun Virtual Desktop Infrastructure from an older version This option should onle be executed after the new version is installed and con figured The imported data is read from a the sup plied directory h Print a usage message ATTRIBUTES See attributes 5 for descriptions of the following attri butes Attribute Type Attribute Value Availability SUNWvda db status Interface Stability Uncommitted Sun VDI 3 0 Last change 03 11 09 1 Sun Virtual Desktop Infrastructure Administration vda migrate 1M
185. n Virtual Desktop Infrastructure Software A restricted Right To Use RTU license is included with Sun VDI Software licenses The RTU for Sun Secure Global Desktop Software restricts usage to providing access to one 1 fullscreen desktop per user There are no limitations as to what type of operating system e g Windows Linux etc Is the Demo configuration a supported configuration Is the Demo configuration a supported configuration The VDI Demo configuration cannot be supported as a production environment VDI deployment because the embedded database configuration does not comply with MySQL standards We do however encourage customers to try VDI Demo configuration to evaluate the new features before committing to a larger deployment See the Getting Started VDI Demo page for step by step information about installing and configuring a Demo setup If you run into any problems you can always consult the VDI Forum or check the Troubleshooting and FAQs For information about supported VDI configurations for a production environment see the Supported Configurations page 187 Sun Virtual Desktop Infrastructure 3 0 Is there a way to modify the cacao logging behavior so that a long history can be maintained Is there a way to modify the cacao logging behavior so that a longer history can be maintained The default cacao logging properties may be insufficient for heavily active VDI implementations or when increasing the logging le
186. n ees 195 6 57 What are the conditions of the VDI 3 0 concurrent users license for Sun Ray and SGD 005 195 6 58 What are the differences between SRS in VDI 2 and VDI 3 6 een e nn ees 195 6 59 What are the requirements for High Availability in a VirtualBox backend ee ene 196 6 60 What happens when the Primary VDI Core host fails 20 eee eee nnn eens 196 6 61 What is the difference between Personal and Flexible desktop assignments 00 c cece eee ee ees 196 6 62 What is the support target for VirtualBox 3 0 0 2 cent een eee eens 197 6 63 What type of privileged access to the user directory is required 0 0 een eee nes 197 6 64 When start a desktop get this error No suitable hosts to start a desktop for Desktop Provider XYZ 197 6 65 Which versions of JRE are supported 0 ee eeror 198 6 66 Why does my VMware virtual machine have an invalid IP address or cannot be pinged 198 7 JavaOne and VDI SUCCESS TO A RA ARA Bae A A E dc Ai 198 9 Desktop and Virtual Machine States iras a A A Ae A REE OE AAA 4 eee kee awd 200 O USERDIFGEMIO a e o e 202 Sun Virtual Desktop Infrastructure 3 0 About VDI gt About VDI Features of VDI 3 Sun VDI 3 0 now includes the following features Support for a wide variety of virtual desktop operating systems XP Vista 2000 OpenSolaris Ubuntu Built in virtualization Sun xVM VirtualBox for VDI or VMwar
187. n file for a domain containing just one server libdefaults default_realm MY COMPANY COM default_checksum rsa mdb5 realms MY COMPANY COM kdc my windows host domain_realm My company com MY COMPANY COM my company c m MY COMPANY COM 5 You can check that Kerberos works fine by using nslookup and kinit For example nslookup query any _gc _tcp my company com must resolve the domain 0 kinit V super user MY COMPANY COM must succeed 6 Restart the Common Agent Container cacaoadm stop force cacaoadm start 7 In the Admin GUI go to the Settings category and User Directory subcategory and click Add User Directory to launch the User Directory wizard a Select Active Directory Type and click Next b Select Kerberos Authentication c Enter the domain for the Active Directory For example my company com d Enter the user principal name of a user that has sufficient privileges to write into the Active Directory For example super user Or super user my company com e Enter the password for that user f Click Next to review your choices before completing the configuration 129 Sun Virtual Desktop Infrastructure 3 0 Up One Page Level t Active Directory Integration Next Page gt How to Set Up Public Key Authentication How to Set Up Public Key Authentication How to Set Up Public Key Authentication Public Key Authentication requires some specific configuration on th
188. n overview of the configuration actions which occur during VDI configuration via script vda config Actions are shown according to VDI component and the used command lines 0 The configuration actions shown here don t necessarily happen in chronological order Sun Ray Server Software SRSS 156 Sun Virtual Desktop Infrastructure 3 0 m Configures basic SRSS settings e O FO eE un G Z G gt u o H D G Q O D Hh H Q Administrator password o Server for a FOG FOG s signature Configures SRSS Web Administration opt SUNWut lib support_lib srwa_config update e Tomcat s home directory http ports 1660 1661 o Webservice s user name utwww O Remote access enabled Configures Kiosk user accounts O Ze N u Z wv H O N o H 5 N a H O 0 c 0 O H w Q 3 Q H 0 w ct D ke c an be Q c s H O 0 ee H w O T Q opt SUNWut lib utremd n opt SUNWut sbin utreplica p a opt SUNWut sbin utreplica s opt SUNWut sbin utadminuser a root opt SUNWut sbin utadminuser d admin opt SUNWut sbin utpolicy a g z both k both m Sun Ray Windows Connector SRWC Enables SRWC if the Kiosk and LAN settings succeed opt SUNWuttsc sbin uttscadm c VDI Core 157 Sun Virtual Desktop Infrastructure 3 0 Creates RDP Broker SMF service 0 lt Q Se w O O H Q w ct H O D
189. naged job list job show user search Search for users groups in the user directory that match the specified search criteria Parseable Output list of lines with the following values separated by a colon Value Data Format Name of the user group string Kind of object User Group DN of the user group string user show Show the desktops available for the user Parseable Output in the case of a user list of lines with the following values separated by a colon Value Data Format Pool Name string Desktop Name string Desktop Id integer Kind of Assignment User Token lt token gt Group lt group_name gt Custom Group lt group_name gt Parseable Output in the case of a group list of lines with the following values separated by a colon Value Data Format 151 Sun Virtual Desktop Infrastructure 3 0 OOOO 2 els _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ __ _ _ A A Pool Name string user desktops Show the desktops assigned to the user Parseable Output list of lines with the following values separated by a colon Value Data Format Desktop Name string Desktop Id integer Pool Name string Type of Assignment flexible personal Is Default Desktop true false group list Lists all custom groups Parseable Output li
190. nd can start a virtual machine from the VirtualBox GUI but it will not start from the VDI Admin GUI B How do configure the audio for VirtualBox hosted virtual machines The VirtualBox Web Service cannot be contacted The VirtualBox software never finishes installing due to an error Are all VirtualBox versions compatible with VDI 3 B When start a desktop get this error No suitable hosts to start a desktop for Desktop Provider XYZ B There is an error when I add a VirtualBox host to a desktop provider B The VirtualBox host is crashing unexpectedly B have free memory on my ZFS storage host but my VirtualBox virtual machines will not start due to a lack of memory Does the VirtualBox swap space really have to be the same as the memory What is the support target for VirtualBox 3 0 0 B can see my VirtualBox hosted desktop but it will not start Virtual Machines The VMware virtual machine cloning process is not operating as expected How do configure the audio for VirtualBox hosted virtual machines How do use VMware virtual machines with multiple network adapters Why does my VMware virtual machine have an invalid IP address or cannot be pinged Unused VMware virtual machines are not being recycled B am unable to get a MS RDC connection on my VMware virtual machine End users cannot access their virtual machines can see my VirtualBox hosted desktop but it will not start VMware Virtualization Platform
191. nd services from third parties Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third party content products and services Oracle Corporation and its affiliates will not be responsible for any loss costs or damages incurred due to your access to or use of third party content products or services I ADOUCVDN ri AS eRe ONS 6 2Getting Started VDIDeMmo 4 trestles Gee Reus Feo eee ee te CR woes Dees ee eas A we Sess Sows Fea 7 SP lanai They MISEAUALION A E oe ae a eh ee Be Se ee ee eae 11 31 Release NOTES taa is dl we onde eestor a ie ey ol Oe aaa na ee eS ia Ao Dti 16 SUD PatCMheS dscun sete can ieee Oe ae woe ena asirio teeta AS ea ease Do 22 3 2 gt UPported CONTIGUOS dl BR ee ees 23 3 3 Deployment Guide td A A ds heels A eee eee 26 se ss ced earn hide iaed eae hee aw II ee EEEE STEEN 29 4 1 Testing the VMware Infrastructure Setup 0 0 0 ee nee nee ee eee eee een e eens 30 AZ stalling tne VDL COE 2 2 oe tke NR ee aaa ee 31 AS CONJURA ADAC a as a a al dele a eared 32 4 3 1 How to Configure Sun VDI for an Evaluation Environment o o o ooooooconooro ooo moon 33 4 3 2 How to Configure Sun VDI for a Production Environment 0 0 ccc ce eee eens 33 4 3 3 How to Configure a Remote MySQL Database ce eee eee n eee nes 35 4 3 4 Reconfiguring the VDI MySQL Cluster 0 0 0 ee a 36 4 3 4 1 How to do a Rolling Restart of Your MyS
192. nded before being made available in minutes synchronous cloning The maximum number of parallel desktop cloning jobs preferred storage The list of storages used when the pool creates new desktops Valid only for VMware VirtualCenter pools m network interface The type of network interface for xVM VirtualBox pool NAT or Host Interface Possible values are nat or host Valid only for xVM VirtualBox pools desktop protocol The type of desktop protocol for xVM VirtualBox pools only valid if the network interface is Host Interface Possible values are virtualbox or windows rdp connector Valid only for xVM VirtualBox pools Operand lt name gt The name of the pool denotes mandatory parameters pool setprops 81 Sun Virtual Desktop Infrastructure 3 0 OOOO 2 TT T mu elehee_e _ _ w w ee eo Edit the properties of the pool Usage vda pool setprops p lt prop1 gt lt valuel gt lt prop2 gt lt value2 gt properties lt prop1 gt lt valuel gt lt prop2 gt lt value2 gt lt name gt help Print this help list Options p lt propl gt lt valuel gt lt prop2 gt lt value2 gt properties lt propl gt lt valuel gt lt prop2 gt lt value2 gt The list of properties to set Properties name lt name gt The name to identify the pool comment lt comment gt The comment about the pool assignment type lt assignment type gt The assignment policy for this pool Possi
193. ndows RDP port Thus the RDP broker needs to hand back both the IP and the RDP port information For details of the routing token encoding see the Routing Token Format section of Session Directory and Load Balancing Using Terminal Server Finally this RDP redirection packet is sent back to the RDP client and the client will redirect accordingly Supported RDP Clients RDP clients that support all the above mentioned mechanism and that have been tested with Sun VDI are the Microsoft terminal services client aka remote desktop connection as included in Windows XP and Windows Vista e the Sun Ray Connector for Windows OS aka uttsc the SGD terminal services client aka ttatsc using the updated version delivered as part of Sun VDI Other clients may work but have not been tested by QA Security Considerations Sun VDI 3 now authenticates users each time they sign into their desktop If you would prefer to disable this feature please see Disabling Client Authentication Previous Page Setting Up Sun Secure Global Desktop Software Up One Page Level t Administering Accessing Desktops with a Sun Ray DTU Accessing Desktops with a Sun Ray DTU The following screenshots illustrate how to access a desktop from an end user perspective using Sun Ray thin clients DTUs Using the Desktop Login Selector Dialog Starting with Sun VDI 3 all users must authenticate themselves before getting access to any desktops Also new
194. nfigurations 23 Sun Virtual Desktop Infrastructure 3 0 The following information outlines the supported and unsupported configurations for a Sun VDI 3 deployment in a production environment For more information about supported software versions please refer to the Release Notes Supported Configurations for Sun Virtualbox Virtualization Platforms Configuration Type Minimum No of Machines Standard VirtualBox Configuration 5 Single Host Configuration 1 VirtualBox on Primary Host Configuration 4 Supported Configurations for VMware Infrastructure Virtualization Platforms Configuration Type Minimum No of Machines Standard VMware Configuration 6 Primary Host Virtualized Configuration 5 0 Sun VDI Support Information e Some VDI configurations are Explicitly Unsupported Configurations e In order to download the VDI 3 Patches you must have at minimum a Sun Basic Service support plan For more information about Sun Service support plans see the Sun Services site VMware software is not included as part of the Sun VDI Software 3 package therefore a Sun Support contract will not cover VMware related issues For VMware coverage you will need an additional Support plan For more information about Sun Service plans for VMware see the Sun Services for VMware site Single Host Configuration In the Single Host Configuration everything VDI connection broker VirtualBox virtualization platform and storage run on one ph
195. nified Storage 7000 Series X 2009 Q2 1 0 Sun Unified Storage 7000 Series X 2009 Q2 0 0 Sun Unified Storage 7000 Series X 2008 Q4 2 3 Sun Unified Storage 7000 Series X 2008 Q4 2 2 Sun Unified Storage 7000 Series X 2008 Q4 2 1 Sun Unified Storage 7000 Series X 2008 Q4 2 0 Sun Unified Storage 7000 Series X 2008 Q4 1 1 Sun Unified Storage 7000 Series X 2008 Q4 1 0 Sun Unified Storage 7000 Series X 2008 Q4 0 1 Sun Unified Storage 7000 Series X 2008 Q4 0 0 Qualified by VMware X With the 2009 Q3 0 0 release a new SCSI stack COMSTAR has been introduced to the Unified Storage 7000 Series which is incompatible with VDI 3 0 and the upcoming VDI 3 1 releases COMSTAR will be supported by VDI 3 1 1 which will be released ASAP after the 3 1 release d Tip For more information about the Sun Unified Storage 7000 Series see the Fishworks Documentation Desktop Guest Systems Software VirtualBox Virtualization VMware Infrastructure Virtualization Not Platform Platform Supported Windows XP SP2 and X X higher Windows Vista Enterprise X X Windows 2000 X Ubuntu 8 10 X OpenSolaris 2008 11 X SLED 11 X 19 Sun Virtual Desktop Infrastructure 3 0 Known Issues and Limitations Solaris hosts must have adequate swap space Bug ID 1225025 Solaris hosts running xVM VirtualBox must have swap space equal to or greater than the host s physical memory size For example 16GB physical memory would require at least 16
196. ntainers according a search criteria when selecting a root for a custom group filter SEARCH_ STRING is the place holder for the search criteria List of comma separated LDAP attributes loaded in the cache when looking up an object It should contain all the attributes used in the other filters and attribute lists Recommended Values with Sun Directory Server Global Setting Name ldap user object filter ldap user search filter ldap userid attributes Description LDAP filter used to identify objects of type user LDAP filter used to search for users according a search criteria Searches for users can be done using the user search command or in the web administration console SEARCH_ STRING is the place holder for the search criteria List of comma separated LDAP attributes storing the userid value for user objects This is used to find a user given its userid cn SEARCH_STRING cn member memberof sAMAccountName primaryGroupTol Recommended Value with Sun Directory Server objectclass person cn SSEARCH_STRING uid SSEARCH_STRING uid 139 Sun Virtual Desktop Infrastructure 3 0 ldap user member attributes List of comma memberof separated LDAP attributes on a user object storing the groups the user is a member of ldap group object filter LDAP filter used objectclass groupofuniquenames to identify objects of type group ldap group search filter LDAP filt
197. nteger Desktop Provider Name string pool show Show detailed information about the pool Parseable Output one line with the following values separated by a colon Value Data Format Assignment Status Enabled Disabled Type of Desktop Assignment Personal Flexible Desktop Provider Name string Cloning Status Enabled Disabled Template None string Number of Cloning Jobs integer Number of Available Desktops integer Number of Assigned Desktops integer Total Number of Desktops integer pool desktops List all desktops from the pool 153 Sun Virtual Desktop Infrastructure 3 0 Parseable Output list of lines with the following values separated by a colon Value Desktop Name Desktop Id Machine State Desktop State Name of Assigned User DN of Assigned User Is Ita Template displayed only for Virtual Box pools provider list List all desktop providers Data Format string long Running Powered Off Suspended Unknown Available Used Idle Unresponsive Reserved Template string string yes no Parseable Output list of lines with the following values separated by a colon Value Data Format Desktop Provider Name string Total Number of Desktops integer Number of Used Desktops integer CPU Usage XxX x x GHz MHz Memory Usage xx x x GB MB Storage Usage xx x x GB MB provider show Show detailed information about the desktop provider Parseab
198. ntegration To be used when integrating with Microsoft Active Directory e LDAP Integration To be used when integrating with other types of LDAP directories or to quickly set up a demo with Active Directory If you need to install your own directory you may choose OpenDS Some directions to set it up for VDI can be found here If you have an expert understanding of user directory integration and would like to optimize VDI for your user directory please refer to the sections below e Customizing the LDAP Filters and Attributes e User Directory Settings 127 Sun Virtual Desktop Infrastructure 3 0 T Previous Page How to Enable Cloning in Pools Up One Page Level t Administering Next Page gt How to Add Users to Pools Active Directory Integration Active Directory Integration Active Directory integration is the recommended choice for production platforms integrating with Microsoft Active Directory The users from the Active Directory can be used for desktop and pool assignments and will be able to access desktops from VDI On top of this basic feature Active Directory integration offers the following functionalities 1 Active Directory integration allows to access all the users from a forest and use those users for desktop and pool assignments This means that the users from the different sub domains of the forest will be able to access desktops from VDI 2 Active Directory integration allows computer entri
199. o to PermitRootLogin yes e Restart the SSHD service to implement the changes you made to the sshd_config file 3 Create a ZFS pool Creating a pool is an optional action The OpenSolaris Solaris installer has already created a pool named rpool This pool contains the OpenSolaris Solaris file systems and can also be used by Sun VDI 3 0 Creating a dedicated pool is recommended to separate the Sun VDI 3 0 data from the OpenSolaris Solaris file systems To create a ZFS pool use the following command pra N O O O Q K D 0 ct D A O O O D 0 D V A Q H 0 a V A Q H 69 a N V A Q H 69 a WwW V 4 Install the iSCSI packages Install the iSCSI packages on the storage server You can add the packages from the command line of the storage server Internet connectivity is required pkg install SUNWiscsi pkg install SUNWiscsitgt 5 Enable iSCSI access Execute the following CLI command as root on the Solaris storage server Previous Page How to Set Up a Sun Storage 7000 Unified Storage System Up One Page Level t Setting Up a Storage Server How to Set Up a Sun Storage 7000 Unified Storage System How to Set Up a Sun Storage 7000 Unified Storage System Sun VDI 3 supports the Sun Storage 7110 7210 and 7410 Unified Storage Systems A Sun Unified Storage System requires the following preparation Steps 108 Sun Virtual Desktop Infrastructure 3 0 1 Set up the
200. objectclass cont of type container Containers can be selected as root for custom group filters in the web administration console 136 Sun Virtual Desktop Infrastructure 3 0 ldap container search filter LDAP filter used cn SEARCH_ STRING dc SEARCH_ STRING ou SEAE by the web administration console to search for containers according a search criteria when selecting a root for a custom group filter SEARCH_ STRING is the place holder for the search criteria ldap default attributes List of comma dec o ou cn uid mail member uniquemember memberof separated LDAP sAMAccountName primaryGroupToken primaryGroupID attributes loaded in the cache when looking up an object It should contain all the attributes used in the other filters and attribute lists Recommended Values with Active Directory Global Setting Name Description Recommended Value with Active Directory ldap user object filter LDAP filter used amp objectalass user objectclass computer to identify objects of type user ldap user search filter LDAP filter used cn SEARCH_ STRING sAMAccountName SSEARCH_STRI to search for users according a search criteria Searches for users can be done using the user search command or in the web administration console SEARCH_ STRING is the place holder for the search criteria ldap userid attributes List of comma sAMAccountName userPrincipalName separated LDAP attributes stor
201. ommand yda settings setprops p ldap userid attributes uid sAMAccountName userPrincipalName i You need to include both sAMAccountName and userPrincipleName in this order This is because the user ID attributes are both used for looking up the DN and for authentication So userPrincipalName is used to look up the DN and sAMAccountName Is used internally for authentication This also requires VDI 3 Patch 1 to be installed Users do not show up in the Admin GUI in the Users and Groups section Users do not show up in the Admin GUI in the Users and Groups section It might be necessary to customize the LDAP filters 1dap user object filter and ldap user search filter as described in Customizing the LDAP Filters and Attributes especially if the user directory is OpenLDAP or Novell eDirectory vda command reports that VDI is not running although cacaoadm and vda db status say it Is vda command reports that VDI is not running although cacaoadm and vda db status say it is If you run the opt SUNWvda sbin vda command and 1 You are getting the error message This command cannot be used because Sun Virtual Desktop Infrastructure is not running on this server 2 cacaoadm and vda db status show that VDI is running fine look in your etc hosts file to see if you have an IPv6 localhost 1 localhost there Comment that out and try to run the vda command again 194 Sun Virtual Desktop Infrastructure 3 0 VDI database
202. operating systems virtualization platforms storage servers desktop guest systems For more about VDI Support see Supported Configurations VDI Core Host Operating Systems Software VDI 3 Solaris 10 Update 6 SPARC and x86 64 bit X Solaris 10 Update 7 SPARC and x86 64 bit X Virtualization Platforms Software VirtualBox Virtualization VMware Infrastructure Virtualization Not Platform Platform Supported Sun VirtualBox for VDI VirtualBox X 2 0 10 Sun VirtualBox for VDI VirtualBox X 2 0 8 All other VirtualBox Versions X VMware VirtualCenter 2 5 Update 1 2 X 3 4 5 VMware ESX server 3 5 Update 1 2 3 X 4 VMware vSphere ESX server 4 0 X Storage Servers Software VirtualBox Virtualization VMware Infrastructure Virtualization Not Platform Platform Supported Solaris 10 Update 7 X OpenSolaris 2008 11 X OpenSolaris 2009 06 X Sun Unified Storage 7000 Series X 2009 Q3 2 0 Sun Unified Storage 7000 Series x 2009 Q3 1 0 Sun Unified Storage 7000 Series X 2009 Q3 0 0 Sun Unified Storage 7000 Series X 2009 Q2 5 1 Sun Unified Storage 7000 Series X 2009 Q2 5 0 Sun Unified Storage 7000 Series X 2009 Q2 4 0 Sun Unified Storage 7000 Series X 2009 Q2 3 1 Sun Unified Storage 7000 Series X 2009 Q2 3 0 Sun Virtual Desktop Infrastructure 3 0 Sun Unified Storage 7000 Series X 2009 Q2 2 1 Sun Unified Storage 7000 Series X 2009 Q2 2 0 Sun Unified Storage 7000 Series X 2009 Q2 1 1 Sun U
203. or custom group filters in the web administration console ldap container search filter lt ldap container search filter gt LDAP filter used by the web administration console to search for containers according a search criteria when selecting a root for a custom group filter SSEARCH_STRING is the placeholder for the search criteria ldap default attributes lt ldap default attributes gt List of LDAP separated attributes loaded in the cache when looking up an object If a property value contains a comma use the double quoting syntax for the value such as lt prop gt lt value gt single quote followed by double quote to open double quote followed by single quote to close denotes mandatory parameters tds 102 Sun Virtual Desktop Infrastructure 3 0 mee settings resetprops Reset global settings to their default value Usage vda settings resetprops p lt propl gt lt prop2 gt property lt propl gt lt prop2 gt help Print this help list Options p lt prop1 gt lt prop2 gt property lt propl gt lt prop2 gt The list of global settings to reset Properties clientauthentication Determines whether clients are authenticated vbox connect timeout Connection timeout to the xVM VirtualBox web service in milliseconds vbox request timeout Request timeout to the xVM VirtualBox web service in milliseconds ldap user object filter LDAP filter used to identify objects of type
204. orm How to Create Desktop Providers for a VMware Infrastructure Platform 3 Create Desktop Pools 4 Import Virtual Machines How to Import Virtual Machines for an xVM VirtualBox Platform How to Import Virtual Machines for a VMware Infrastructure Platform 5 Enable Cloning in Pools How to Enable Cloning for an xVM VirtualBox Platform How to Enable Cloning for a VMware Infrastructure Platform 6 Set Up a User Directory e Active Directory Integration How to Set up Kerberos Authentication How to Set Up Public Key Authentication e LDAP Integration How to Set Up Anonymous Authentication How to Set Up Simple Authentication How to Set Up Secure Authentication e Customizing the LDAP Filters and Attributes e User Directory Settings 7 Add Users to Pools 8 Associate Tokens to Users w How to Create Automated Administration Scripts Desktop and Virtual Machine States 2 Set Up Virtual Desktop Access Software VDI 3 0 enables you to set up one or more client access method Choose Sun Ray Software Sun Secure Global Desktop Software or Microsoft Remote Desktop Connection or a combination Sun Ray Software e Adapting Sun Ray Software e Sun Ray Administration GUI sun Ray Computing Model e Sun Ray Kiosk Session 119 Sun Virtual Desktop Infrastructure 3 0 VDI Default Configuration Sun Secure Global Desktop Software e Setting Up Sun Secure Global Desktop Software Microsoft Remote Desktop Connection
205. ost to a desktop provider 0 0 ccc cece eee eee eee 189 6 43 The Sun Ray DTU is cycling and cannot connect to a virtual machine 0 0 cc eens 190 6 44 The system is not reacting as expected ooooooororrrrr teen eee ene eee e ee nnees 190 6 45 The VDI logs are not showing me any useful information Can adjust the logging level 190 6 46 The VirtualBox host is crashing unexpectedly 0 0 ccc cc ee eee eee eee eee enees 191 6 47 The VirtualBox software never finishes installing due to an error 2 0 eee eens 191 6 48 The VirtualBox Web Service cannot be contacted cc eee ee een eee enas 192 6 49 The VMware virtual machine cloning process is not operating as expected cee eens 192 6 50 The window displaying the VMware hosted virtual desktop is freezing cece eee eens 193 6 51 Unused VMware virtual machines are not being recycled ccc cee eens 193 6 52 Users cannot log into their desktops using their User Principal Name UPN or email address 194 6 53 Users do not show up in the Admin GUI in the Users and Groups section 0 eens 194 6 54 vda command reports that VDI is not running although cacaoadm and vda db status say it is 194 6 55 VDI database doesn t start during an Evaluation configuration 0 0 ccc eee eee eee eens 194 6 56 What are the conditions of the RTU license for SGD ce ent ne en
206. p2 gt lt value2 gt lt tokenId gt i help Print this help list Options l p lt prop1 gt lt valuel gt lt prop2 gt lt value2 gt properties lt propl gt lt valuel gt lt prop2 gt lt value2 gt The list of properties to set Properties user lt user gt The DN or userid of the user associated to the token i comment lt comment gt The comment for the token token id lt token id gt A new token id for the token Iita property value contains a comma use the double quoting syntax for 1 the value such as lt prop gt lt value gt single quote followed by double quote to open double quote followed by single quote to close Operand lt tokenId gt The id of the token denotes mandatory parameters token unsetprops Remove the properties of the token Usage vda token unsetprops p lt propl gt lt prop2 gt properties lt propl gt lt prop2 gt lt tokenId gt 7 help Print this help list Options p lt propl gt lt prop2 gt properties lt propl gt lt prop2 gt The list of properties to unset i Properties user The user associated to the token comment The comment for the token Operand lt tokenId gt The id of the token denotes mandatory parameters token show 76 Sun Virtual Desktop Infrastructure 3 0 Show the desktops available for the token Usage vda token show x parseable lt tokenId gt h
207. pe of network interface for xVM VirtualBox pool NAT or Host Interface Possible values are nat or host Valid only for xVM VirtualBox pools desktop protocol lt desktop protocol gt The type of desktop protocol for xVM VirtualBox pools only valid if the network interface is Host Interface Possible values are virtualbox or windows rdp connector Valid only for xVM VirtualBox pools If a property value contains a comma use the double quoting syntax for the value such as lt prop gt lt value gt single quote followed by double quote to open double quote followed by single quote to close denotes mandatory parameters pool delete 79 Sun Virtual Desktop Infrastructure 3 0 OOOO 2 TT T mu elehee_e _ _ w w ee eo Delete the pools and their desktops Usage vda pool delete f force d delete desktops lt pooll gt lt pool2 gt help Print this help list Options f force Delete the pool even if one of the desktops templates are in use d delete desktops Delete the desktops also from backend Operand x lt pooll gt poslz gt The name of the pools to be deleted denotes mandatory parameters PSS eB BB ey pool getprops 80 Sun Virtual Desktop Infrastructure 3 0 List the properties of the pool Usage vda pool getprops p lt propl gt lt prop2 gt properties lt propl1 gt lt prop2 gt lt name gt help Print this help list Op
208. pear misplaced on the screen Place your custom image s in the Kiosk session directory under etc opt SUNWkio sessions vda ensure that file permissions readable for everyone are correct The file names must be dialog_background png and company_logo png respectively For the start you might want to download the sample background image below and make the desired modifications there Either quit the existing Sun Ray Kiosk session click on quit button or perform a cold restart of Sun Ray services to enforce the creation of new Kiosk sessions The images should now appear in the VDI login desktop selection screen The other more complex alternative for customers using VDI 3 is to replace the default VDI kiosk session with an adapted version The vda client CLI offers all the functionality needed to communicate with the VDI service for retrieving a list of assigned desktops starting desktops etc Customers can create their own GUI login screen desktop selector around this CLI However this obviously requires a bit more programming effort Please also keep in mind that the vda client CLI is not a public stable API and is still evolving Future product versions might introduce incompatible changes here that require adaptations again on your custom implementation Is Sun Secure Global Desktop Software included with my purchase of Sun Virtual Desktop Infrastructure Software Is Sun Secure Global Desktop Software included with my purchase of Su
209. penDS Global Setting Name Description Recommended Value with OpenDS ldap user object filter LDAP filter used objectclass person to identify objects of type user ldap user search filter LDAP filter used cn SSEARCH_ STRING uid SSEARCH_STRING to search for users according a search criteria Searches for users can be done using the user search command or in the web administration console SEARCH_ STRING is the place holder for the search criteria ldap userid attributes List of comma uid separated LDAP attributes storing the userid value for user objects This is used to find a user given its userid 141 Sun Virtual Desktop Infrastructure 3 0 ldap user member attributes List of comma memberof separated LDAP attributes on a user object storing the groups the user is a member of ldap group object filter LDAP filter used objectclass groupofuniquenames to identify objects of type group ldap group search filter LDAP filter used cn SSEARCH_ STRING to search for groups according a search criteria Searches for groups can be done using the user search command or in the web administration console SEARCH_ STRING is the place holder for the search criteria ldap group member attributes List of comma uniquemember separated LDAP attributes on a group object storing the users member of the group ldap group short attributes List of comma empty separated LDAP attributes on a group ob
210. plicit application host isn t specified a However if you need to create a host object use the following command opt tarantella bin tarantella object new host name i _ens o appservers cn hostname address hostname domain com For more information refer to the SGD documentation b To assign the host object to an application object opt tarantella bin tarantella object add_host name _ens o applications cn Sun VDI Desktop host _ens o appservers cn hostname For more information refer to the SGD documentation 5 Assign the new Application Object to the users that need to access a Sun VDI Desktop By default all the users are assigned to the Applications group so an easy way to do so is to add the newly created application object to the Applications group opt tarantella bin tarantella object add_member name _ens o applications cn Applications member _ens o applications cn Sun VDI Desktop 0 Creating the Application Object and adding the object to the Applications group can also be done via the SGD Administration Console Please see the SGD documentation for more details on adding Application Objects to SGD Security Considerations Sun VDI 3 now authenticates users each time they sign into their desktop If you would prefer to disable this feature please see Disabling Client Authentication a Previous Page Adapting Sun Ray Software Up One Page Level t Adminis
211. pool Usage i vda pool show x parseable lt pool gt help Print this help list Options x parseable Display output suitable for programmatic parsing Operand l lt pooaL gt The name of the pool denotes mandatory parameters pool desktops List all desktops from the pool Usage i vda pool desktops x parseable lt pool gt i help Print this help list Options x parseable Display output suitable for programmatic parsing Operand x lt pool gt The name of the pool l denotes mandatory parameters pool vb import 84 Sun Virtual Desktop Infrastructure 3 0 Import xVM VirtualBox desktops into the pool Usage vda pool vb import p lt propl gt lt valuel gt lt prop2 gt lt value2 gt properties lt propl1 gt lt valuel gt lt prop2 gt lt value2 gt lt pool gt help Print this help list Options l i p lt propl gt lt valuel gt lt prop2 gt lt value2 gt properties lt prop1 gt lt valuel gt lt prop2 gt lt value2 gt The list of properties that define the desktop Properties i vdi image lt vdi image gt The name of the disk image file for this desktop The i file must be in var tmp 1 xml configuration lt xml configuration gt The name of the XML configuration file for this desktop The file must be in var tmp If a property value contains a comma use the double quoting syntax for
212. provides guidelines for the design of the hardware architecture for VDI 3 deployments with VirtualBox The information provided here is derived from a sizing test with 1000 desktops which were running a script to simulate an office workload for closer details see the Appendix chapter The workload is different for every single installation and relatively small changes in the usage patterns can have noticeable effects on the hardware requirements Therefore it is a good practice to size every deployment individually This guide provides cornerstones for such efforts 26 Sun Virtual Desktop Infrastructure 3 0 The hardware environment for a VDI 3 deployment typically looks like this VDI Core Servers ELUMUAI y Primary Secondary i lino mi bs e Sd hi l AA AAA AMAIA NANA sd NARRA AAAAAAIARAAA fee ai lc a eed k k l lea les dei le ke bm ke km m ie lll lll dll eee AA AA sl ASAS dd ie ea es ka a de iim him ls i IA xVM VirtualBox Servers Every production deployment consists of one primary VDI core server and at least two secondary VDI core servers to provide redundancy The VDI core servers host a clustered MySQL database for the VDI data optional remote databases are supported route information between clients and desktops and provide the broker functionality which delivers the desktops to the clients The VirtualBox servers run the virtual machines which provide the desktops The stor
213. ps must be available unassigned for other users EA 4 the system will clone new desktops if necessary to keep enough desktops available for new users Maximum Size The maximum number of desktops Hespcivd Dandi Power State The desired state of the desktop after cloning has completed or after a desktop has been recycled given the recycle policy is not Delete Desktop Recycle Policy What should happen if the desktop is no longer in use by the assigned user Reset to Snapshot The desktop will be reverted to its initial state before becoming available to another user Reuse Desktop The desktop will be handed over as is to the next user Delete Desktop The desktop will be destroyed it is used one time only e How to Enable Cloning for an xVM VirtualBox Platform e How to Enable Cloning for a VMware Infrastructure Platform a Previous Page Importing Virtual Machines Up One Page Level t Administering Next Page i gt How to Set Up a User Directory How to Enable Cloning for an xVM VirtualBox Platform How to Enable Cloning for an xVM VirtualBox Platform 125 Sun Virtual Desktop Infrastructure 3 0 Cloning is the fastest and most efficient way to populate a pool Use the steps below to enable cloning in a pool Steps 1 In the Admin GUI open the Pools tab then select the previously created pool 2 Select the Desktop tab 3 Select the imported virtual machine that you want to use as the template From the
214. r Windows XP serial number The Include Server License Information item should be left 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 Sun VDI 3 0 After completing the wizard and saving your customization specification close the Customization Specification Manager For additional details see Chapter 14 Customizing Guest Operating System in VMware Basic System Administration 115 Sun Virtual Desktop Infrastructure 3 0 Previous Page Setting Up a VMware vCenter Server Up One Page Level t Installing Next Page E Testing the VMware Infrastructure Setup Upgrading aj Upgrading Configured settings from Sun VDI 2 0 including a VMware vCenter and its corresponding virtual machines and pools can be stored and used once again after Sun VDI 3 0 has been installed and configured Sun VDI 3 0 provides a command line tool to preserve the data and settings from Sun VDI 2 0 A Sun VDI 2 0 Sun VDC 1 0 Sun VDI 2 0 is also known as Sun VDC 1 0 this can cause confusion VDI refers to the complete layered software solution while VDC refers to only the management software component If you are currently running the Sun VDI 2 0 software release in March 2008 you can upgrade to VDI 3 0 using the following procedure Steps 1 Extract data and settings from Sun VDI 2 0 If Sun VDI 2 0 is still installed an
215. r in the VDI Admin GUI You can now view the provider details including CPU and memory utilization and it is possible to add or remove additional xVM VirtualBox hosts or storage servers as needed Up One Page Level t How to Create Desktop Providers Next Page E How to Create Desktop Providers for a VMware Infrastructure Platform How to Create Desktop Providers for a VMware Infrastructure Platform How to Create Desktop Providers for a VMware Infrastructure Platform Follow the steps below to set up a VMware Infrastrucure desktop provider Steps Select the Desktop Providers category in the left sidebar Select New in the VMware VirtualCenter Desktop Providers overview This will activate the New Desktop Provider for VMware VirtualCenter wizard Enter the name or IP address and administrator credentials for the VMware vCenter 121 Sun Virtual Desktop Infrastructure 3 0 4 Verify or change the Desktop Provider name and add comments in Step 4 5 Once you click Finish the new desktop provider will appear in the Admin GUI You can now view the VMware vCenter resource details including datacenters VMware clusters and datastores 0 In Sun VDI 2 0 it was possible to limit the used VMware vCenter resources to specific VMware datacenters This kind of resource restriction will now happen as part of the pool configuration a Previous Page How to Create Desktop Providers for an xVM VirtualBox Platform Up One Pag
216. r you want to connect to your MySQL server via SSL or not Specify the name of the VDI database that will be created or just accept the default vda Specify the name of a user that will be associated with and used to access the VDI database Alternatively you can simply accept the default vdadb h Specify a password for the VDI database user Specify the maximum number of users to be hosted j Specify the user ID range start This information is useful to avoid user ID conflicts and to comply with company regulations regarding user IDs O 4 oan ow At the end of the configuration script you will be given a path of the configuration log file Or on Solaris platforms you can find it at var adm log vda config lt date and time gt log 118 Sun Virtual Desktop Infrastructure 3 0 Up One Page Level t Configuring the VDI Core Next Page E How to Configure Sun VDI for a Production Environment Administering 8 Administering 1 Manage Virtual Desktops Using the VDI Web Administration or Using the CLI The Sun VDI Web Administration Admin GUI provides an interface for managing virtual machine assignments in the VDI Core and monitoring the state of the hypervisor in the virtualization layer The Sun VDI Core can also be controlled via a command line interface CLI see Using the CLI for more information md Access the Admin GUI Create Desktop Providers How to Create Desktop Providers for an xVM VirtualBox Platf
217. rameters If everything works then the CLI will return the name or IP of the user s desktop virtual machine optionally followed by a colon and the number of the RDP port If that does not work the CLI reports an error then you should again take a look into the logs Jun 26 2009 12 25 14 PM com sun vda service client ClientRequestWorker run FINEST Received request from vda client 127 0 0 1 start user username Jun 26 2009 12 25 18 PM com sun vda service client ClientRequestWorker run FINEST Sent response to vda client servername 49281 Again the log entries between the request received and sent response should give you some insights about any issues here One typical issue is that no suitable host to startup the desktop has been found In that case you should first check the memory available for running the desktop virtual machine am unable to get a MS RDC connection on my VMware virtual machine am unable to get a MS RDC connection on my VMware virtual machine 1 Verify that it has been enabled in the Remote tab of the System Properties dialog If this is enabled the issue probably has to do with your network settings 2 Verify that the virtual machine s subnet can be reached from the Windows machine from which you run the Remote Desktop Connection client If you have set up a private network for your virtual machines it might not be accessible from a machine not on that network cannot log into the Admin GUI
218. re Infrastructure Virtualization Platform VMware Infrastructure Virtualization Platform Not Supported Not Supported XA X X Sun Virtual Desktop Infrastructure 3 0 Sun Unified Storage 7000 Series X 2008 Q4 2 3 Sun Unified Storage 7000 Series X 2008 Q4 2 2 Sun Unified Storage 7000 Series X 2008 Q4 2 1 Sun Unified Storage 7000 Series X 2008 Q4 2 0 Sun Unified Storage 7000 Series X 2008 Q4 1 1 Sun Unified Storage 7000 Series X 2008 Q4 1 0 Sun Unified Storage 7000 Series X 2008 Q4 0 1 Sun Unified Storage 7000 Series X 2008 Q4 0 0 Qualified by VMware X With the 2009 Q3 0 0 release a new SCSI stack COMSTAR has been introduced to the Unified Storage 7000 Series which is incompatible with VDI 3 0 and the upcoming VDI 3 1 releases COMSTAR will be supported by VDI 3 1 1 which will be released ASAP after the 3 1 release g Tip For more information about the Sun Unified Storage 7000 Series see the Fishworks Documentation Desktop Guest Systems Software VirtualBox Virtualization VMware Infrastructure Virtualization Not Platform Platform Supported Windows XP SP2 and X X higher Windows Vista Enterprise X X Windows 2000 X Ubuntu 8 10 X OpenSolaris 2008 11 X SLED 11 X Release Notes Contents Package Software Patches Third Party Software Supported Software VDI Core Host Operating Systems e Virtualization Platforms o Storage Servers Sun Virtual Desktop Infrastru
219. re licenses do also get support for Sun Secure Global Desktop SOWIE oros a aia eee 185 6 30 get a blank screen after successfully logging into the Admin GUI oooooocoooooornorooooooo 185 6 31 have created a new pool in my VMware desktop provider and virtual machines are not created automatically 186 6 32 have free memory on my ZFS storage host but my VirtualBox virtual machines will not start due to a lack of MEMO a e dd as di dde 186 6 33 In my VMware desktop pool new virtual machines are created automatically but they are not made available 186 6 34 Is it possible to assign MS Terminal Server to users o oooooooooooorrrorrrrorr eee eee eeeees 186 6 35 Is it possible to customize the desktop login screen 0 eee nent eens 187 6 36 Is Sun Secure Global Desktop Software included with my purchase of Sun Virtual Desktop Infrastructure Software 187 6 37 Is the Demo configuration a supported configuration 0 0 ccc ee teen eee ees 187 6 38 Is there a way to modify the cacao logging behavior so that a long history can be maintained 188 6 39 Is VMware ESXi a supported virtualization platform 2 0 0 ce eee tenn eens 188 6 40 Jobs don t finish even after canceling them using the Admin GUI 0 0 ee eens 188 6 41 Kerberos authentication to Active Directory works for a while and then stops ooooooooooooo 188 6 42 There is an error when add a VirtualBox h
220. recent session is displayed While the session continues to reside on the server it appears to follow the user from one DTU to another This functionality called hotdesking or session mobility enables users to access their desktops from different locations using any DTU on their network More information around Sun Ray can be found in the Sun Ray Software documentation 159 Sun Virtual Desktop Infrastructure 3 0 Up One Page Level t Adapting Sun Ray Software Next Page Sun Ray Administration GUI Sun Ray Kiosk Session Sun Ray Kiosk Session Sun Ray Software is typically used to serve standard UNIX desktop sessions However other session types can be easily supported taking advantage of the Sun Ray Kiosk mode Sun VDI 3 comes with a predefined Kiosk session called Sun Virtual Desktop Access VDA that uses the Sun Ray Windows Connector to establish a remote desktop protocol RDP connection to a virtual machine A Sun Ray Kiosk session is initiated when a user inserts a smart card into a Sun Ray DTU The new session will first bring up a login dialog asking for user name and password and optionally a Windows domain This type of authentication can be disabled if required see Disabling Client Authentication Sun VDI 3 does not require the usage of smart cards Per default the Kiosk session is enabled for smart card and non smart card access After successful authentication the system will contact the Sun VDI servic
221. ree to use for you c A desktop has been picked up for you but it is in an unusable state typically the startup of the desktop has failed for whatever reasons To further nail down the root cause recommend the following steps 1 Increase the logging level in your setup so that you can follow on what the system is doing Execute as root cacaoadm set filter p com sun vda service ALL cacaoadm stop f cacaoadm start i Log messages will appear in the log file at var cacao instances default logs cacao 0 Messages at SEVERE and WARNING level will also be forwarded to syslog 2 Asa next step you should check that your desktop pool assignments are correctly recognized by your system The Sun VDI Kiosk login takes advantage of an internal CLI vda client to retrieve that information You can manually trigger this CLI from a terminal root privileges are not necessary opt SUNWvda lib vda client a query u lt username gt Password XXXXX Windows 7 Windows7000003 8 User The CLI will ask for the user s password So you have to enter the same credential information as on the Kiosk session login screen if authentication is disabled on your system the vda client CLI will still prompt for a password but you can leave this blank then your input is not validated in this case If everything works then you should get a CSV list of desktop pool assignments The format is something like lt pool name gt lt desktop name gt
222. rently no possibility to take advantage of local system accounts Unix accounts As a consequence a demo setup normally requires a user directory This allows to test the full VDI 3 functionality for accessing desktops for example using an RDP client or using Sun Ray DTUs The Sun Ray functionality also supports the usage of smart cards You can assign desktops to specific smart cards tokens and you can configure the system to display a desktop by just inserting a smart card into a Sun Ray DTU without asking for any user name In such a setup a user directory is no longer mandatory However keep in mind that this limits you to test the Sun Ray 177 Sun Virtual Desktop Infrastructure 3 0 functionality only You will not be able to access desktops from an RDP client If you want to test the RDP broker functionality included in Sun VDI 3 then you must assign desktops to users and therefore must take advantage of LDAP or Active Directory This means that you have to configure an LDAP server afterwards search for the user in the Sun VDI Admin tools and then assign either a pool or a desktop to this user Desktops pools are internally assigned to LDAP user DNs If you are using an RDP client you must specify a user name and potentially a corresponding password Sun VDI translates this user name into a user DN and will then bring up the corresponding desktop Full Background 1 The RDP client contacts the VDI RDP broker and passes over any
223. roperties name lt name gt The new name for the desktop provider i comment lt comment gt The comment for the desktop provider i KE property value contains a comma use the double quoting syntax for the value such as lt prop gt lt value gt single quote followed by double quote to open double quote followed by single quote to close Operand i lt provider The name of the desktop provider i denotes mandatory parameters provider vc getprops 91 Sun Virtual Desktop Infrastructure 3 0 List the properties of the VMware VirtualCenter desktop provider Usage vda provider vc getprops p lt propl gt lt prop2 gt properties lt propl gt lt prop2 gt lt provider gt help Print this help list Options p lt propl gt lt prop2 gt properties lt propl gt lt prop2 gt The list of properties to read from the desktop provider Properties host The hostname of the VMware VirtualCenter host port The port to connect to the VMware VirtualCenter host username The username to authenticate to the VMware VirtualCenter host certificate The certificate for the VMware VirtualCenter server comment The comment for the desktop provider Operand lt provider gt The name of the provider denotes mandatory parameters Edit the properties of the VMware VirtualCenter desktop provider Usage vda provider vc setprops p lt propl gt lt valuel gt lt prop2 gt lt va
224. ropriate hard disk and RAM space for the desired configuration 4 GB hard disk and 384 MB RAM are recommended For more information about virtual machine system requirements refer to Chapter 3 Starting out with xVM VirtualBox in the Sun xVM VirtualBox User Manual 2 Install an operating system in the virtual machine At this point you have an empty virtual machine equivalent to a PC without an OS installed The next step is to choose the boot medium for the OS and install it Select the newly created virtual machine and click Settings Open the Advanced tab in the Settings GUI Ensure that CD DVD ROM is set as the first boot device Select the CD DVD ROM option in the left panel of the Settings dialog Check the Mount CD DVD Drive checkbox mm Pb W N gt Sun Virtual Desktop Infrastructure 3 0 a Select the Host CD DVD Drive radio button to install the OS from the CD ROM drive b Select the ISO Image File radio button with the appropriate path to install the OS from a previously downloaded ISO file 6 Click OK to save the changes and close the Settings GUI At this point the new virtual machine must be started to trigger the OS installation 7 Select the new virtual machine and click Start 8 Follow the installation prompts or seek further installation details from the OS manufacturer 3 Install the VirtualBox Guest Additions After the OS is installed the Sun VirtualBox Guest Additions must be installed 1
225. rt of the LDAP directory used to search for users For example cn Users dc my dc company dc com 5 Click Next to review your choices before completing the configuration 132 Sun Virtual Desktop Infrastructure 3 0 Up One Page Level t LDAP Integration Next Page E How to Set Up Simple Authentication How to Set Up Simple Authentication How to Set Up Simple Authentication Use the steps below to set up simple authentication It is necessary to provide the credentials of a user that has read access to the user directory This user will be used to read user information from the directory Steps In the Admin GUI go to the Settings category and User Directory subcategory and click Add User Directory to launch the User Directory wizard 1 Select LDAP Type and click Next 2 Select Simple Authentication 3 Enter the hostname or IP address and port number of the LDAP server 389 is the default port number used by most LDAP servers 4 Enter the base DN of the LDAP server Specifying a base DN is optional It allows you to restrict the part of the LDAP directory used to search for users For example cn Users dc my dc company dc com 5 Enter the user name It must be the fully distinguished name DN of a user that has sufficient privileges to search the LDAP directory For example cn super user cn Users dc my dc company dc com If integrating with an Active Directory you may use the user principal name
226. ructure Client with your virtual machine still powered on and logged in then follow these steps a Open a console for the VM b In the console click the virtual machine s Start button c Right click on My Computer in the start menu and select Properties d In the System Properties window select the Remote tab e Under Remote Desktop check the box marked Enable Remote Desktop on this computer so that this item Is selected Make sure that the desired users have been granted remote access rights g Click OK to save the settings and close the dialog Before you try to connect to a virtual desktop remotely ensure that no firewall blocks the remote access Make sure that port 3389 is enabled in any firewall that may be active on the system ah 4 Install the Sun VDI Tools Sun VDI 3 0 has a tools component notifies the VDI service when a desktop is in use and handles RDP connections when the guest OS initiates Standby The VDI Tools must be installed on the guest operating system for recycling to work 114 Sun Virtual Desktop Infrastructure 3 0 correctly and so that the RDP connection is correctly closed when the virtual machine goes into Standby or Suspend mode a Locate the vda tools msi installer file in the directory where you unzipped the VDI archive The vda tools msi Is located in the image vda_3 0 Windows Packages subdirectory Copy the installer to the desired VM Within the VM s console double click the instal
227. ry These servers will run VirtualBox hosting the virtual desktops Each of these virtualization hosts will be able to handle about 100 desktops 199 Sun Virtual Desktop Infrastructure 3 0 And finally we are using 3 7210 Unified Storage servers From the capacity point of view each server can handle more than thousand desktops However for the conference we need a maximum of throughput as desktops will be started and suspended very frequently which is not a common usage pattern for an enterprise customer Therefore we have added more headroom on the storage side The solution has been built to provide a good level of availability Both the session and the virtualization layer can tolerate host failures A failure of a storage host will lead into a loss of the virtual desktop image The user would get a new image ona different storage host This is acceptable for a conference But for an enterprise deployment you would need to cluster the storage backend A solution with a clustered 7410 Unified Storage system is more appropriate in this case If you want to find out more about how to deploy and size Sun VDI 3 please have a look into our deployment guide Summary The Sun VDI deployment for JavaOne demonstrates the capabilities of a highly integrated and flexible virtual desktop management system It leverages at it s best the power of the underlying hardware and focuses on the administration and configuration of the backend The clients ar
228. ry host you are configuring f Choose whether to use the MySQL database of the Sun VDI cluster or connect to a remote MySQL database This selection must be the same as for the primary host If you choose a remote MySQL database you will need to provide some additional information about the database host and users a Previous Page How to Configure Sun VDI for a Single Host Setup Up One Page Level t Configuring the VDI Core Next Page gt How to Configure a Remote MySQL Database How to Configure a Remote MySQL Database How to Configure a Remote MySQL Database As an alternative to the VDI MySQL Cluster database it is possible to use a remote MySQL database This needs to be a MySQL version 5 0 or higher or a MySQL Cluster version 6 2 15 or higher You can use either the 32 bit or the 64 bit version It is important that a transactional storage engine Is available which will usually be InnoDB or NDB VDI MySQL Cluster database vs Remote MySQL Database Sun VDI allows you to either make use of the MySQL Cluster database that is bundle with the software or is able to integrate into an existing MySQL database The first option requires almost no knowledge of SQL databases in general and MySQL in particular It is well suited for small to medium deployments For larger deployments if a MySQL database exist already or if specific security related requirements exist choosing the remote MySQL database option more likely the ri
229. s of type group Ldap eGroup lt searchs filter LDAP filter used 222 to search for groups according a search criteria Searches for groups can be done using the user search command or in the web administration console SEARCH_STRING is the place holder for the search criteria ldap group member attributes List of comma member uniquemember separated LDAP attributes on a group object storing the users member of the group 145 Sun Virtual Desktop Infrastructure 3 0 ldap group short attributes List of comma empty separated LDAP attributes on a group object storing the information for primary group membership Primary group membership is specific to Active Directory ldap container object filter LDAP filter used objectclass organizationalUnit to identify objects of type container Containers can be selected as root for custom group filters in the web administration console ldap container search filter LDAP filter used 22 by the web administration console to search for containers according a search criteria when selecting a root for a custom group filter SEARCH_STRING is the place holder for the search criteria ldap default attributes List of comma cn uid givenName groupmembership member uniquemer separated LDAP attributes loaded in the cache when looking up an object It should contain all the attributes used in the other filters and attribute lists How the LDAP Filters are
230. s blog entry 1 Select the Settings category in the left sidebar 2 Then select the User Directory subcategory 3 Click Add User Directory to launch the User Directory wizard Continue depending on your directory type LDAP directory that supports Anonymous Authentication Note Active Directory does not support Anonymous Authentication 1 Select LDAP Type and click Next 2 Select Anonymous Authentication 3 Enter the hostname or IP address and port number of the LDAP server 389 is the default port number used by most LDAP servers 4 Enter the base DN of the LDAP server Specifying a base DN is optional It allows you to restrict the part of the LDAP directory used to search for the users In most cases it is not necessary to provide the base DN For example cn Users dc my dc company dc com 5 Click Next to review your choices before completing the configuration Active Directory or other type of LDAP directory that does not support Anonymous Authentication 1 Select LDAP Type and click Next 202 Sun Virtual Desktop Infrastructure 3 0 Select Simple Authentication Enter the hostname or IP address and port number of the LDAP server 389 is the default port number used by most LDAP servers Enter the base DN of the LDAP server Specifying a base DN is optional It allows you to restrict the part of the LDAP directory used to search for the users In most cases it is not necessary to provide the
231. s guest OS The system Is not reacting as expected The system is not reacting as expected A restart of the vda service is recommended Restart the Common Agent Container I I I I I l cacaoadm stop force E I cacaoadm start I I I 190 Sun Virtual Desktop Infrastructure 3 0 The VDI logs are not showing me any useful information Can adjust the logging level The VDI logs are not showing me any useful information Can adjust the logging level Yes you can increase the detail that is shown in the logs To increase the logging level perform the following as root cacaoadm stop f cacaoadm start i Then try to recreate the problem and check the logs again To decrease the logging level cacaoadm stop f i cacaoadm start i The VirtualBox host is crashing unexpectedly The VirtualBox host is crashing unexpectedly The host may have run out of memory the threshold for the crash is determined by the amount of swap space configured Solaris hosts running VirtualBox must have swap space equal to or greater than the host s physical memory size For example 16GB physical memory would require at least 16GB swap This can be configured during a Solaris 10 install by choosing a custom install and changing the default partitions For existing Solaris 10 installs you will need to create a swap image file on the local filesystem and mount it The swap file image size should be Physical M
232. search filter gt LDAP filter used to search for users according a search criteria Searches for users can be done using the user search command or in the web administration console SSEARCH_STRING is the placeholder for the search criteria ldap user member attributes lt ldap user member attributes gt List of comma separated LDAP attributes on a user object storing the groups the user is a member of ldap userid attributes lt ldap userid attributes gt List of comma separated LDAP attributes storing the userid value for user objects This is used to find a user given its userid ldap group object filter lt ldap group object filter gt LDAP filter used to identify objects of type group ldap group search filter lt ldap group search filter gt LDAP filter used to search for groups according a search criteria Searches for groups can be done using the user search command or in the web administration console SSEARCH_STRING is the placeholder for the search criteria ldap group member attributes lt ldap group member attributes gt List of comma separated LDAP attributes on a group object storing the users member of the group ldap group short attributes lt ldap group short attributes gt List of comma separated LDAP attributes on a group object storing the information for short membership ldap container object filter lt ldap container object filter gt LDAP filter used to identify objects of type container Containers can be selected as root f
233. search for containers according a search criteria when selecting a root for a custom group filter SEARCH_STRING is the place holder for the search criteria ldap default attributes List of comma separated cn uid member memberof LDAP attributes loaded in the cache when looking up an object It should contain all the attributes used in the other filters and attribute lists Recommended Values with Novell eDirectory Global Setting Name Description Recommended Value with Novell eDirectory ldap user object filter LDAP filter used It is mandatory to remove objectclass computer from to identify objects objectclass Person of type user 144 Sun Virtual Desktop Infrastructure 3 0 ldap user search filter LDAP filter used cn SEARCH_STRING uid SEARCH_STRING givenNe to search for users according a search criteria Searches for users can be done using the user search command or in the web administration console SEARCH_ STRING is the place holder for the search criteria ldap userid attributes List of comma givenName cn uid separated LDAP attributes storing the userid value for user objects This is used to find a user given its userid ldap user member attributes List of comma groupMembership separated LDAP attributes on a user object storing the groups the user is a member of ldap group object filter LDAP filter used objectclass group objectclass groupofnames to identify object
234. sktop Infrastructure 3 0 To configure VDI 3 for a production environment you need to set up a minimum of one physical Primary Host and two physical Secondary Hosts Before you Begin 0 If your VDI installation will consist of more than 20 secondary hosts add more MYSQLD sections to the end of the file etc opt SUNWvda config clustered ini Steps 1 Configure the Primary Sun VDI Host a Go to the installation directory Q Q DNS O O N 9p G Z lt Q w DS u O H D N lt Q i Q O D Fh H O Read VDI Default Configuration for more information about the configuration script c Choose the 1 Primary Sun VDI Host configuration type d Specify an administrator password This is the password that will be used to secure the MySQL database e Specify a cluster signature This password will be used to encrypt messages that will be exchanged among the Sun Ray hosts forming a Fail Over Group FOG This password must be the same on all hosts that will be added to the multi host group It needs to be at least 8 characters long f Choose whether to use the MySQL Cluster database bundled with VDI 3 0 or connect to a remote MySQL database If you choose to use the MySQL Cluster you must specify the DNS names of your first two secondary hosts which will also run the MySQL Cluster data nodes e If you choose to connect to a remote MySQL database the remote database must be MySQL 5 0 or higher with InnoDB
235. sktop Infrastructure configura ti n to l SYNOPSIS opt SUNWvda sbin vda config u w h DESCRIPTION The vda config command line tool will be used to configure or unconfigure the Sun Virtual Desktop Infrastructure If no OPTIONS are specified the command will configure the Sun Virtual Desktop Infrastructure OPTIONS Unconfigure Sun Virtual Desktop Infrastructure W Configures only the web administration user interface of the Sun Virtual Desktop Infrastructure h Prints a usage message for this command EXIT STATUS The following exit values are returned 0 Success 1 Failure ATTRIBUTES See attributes 5 for descriptions of the following attri butes Attribute Type Attribute Value Availability SUNWvda service Interface Stability Uncommitted SEE ALSO Sun VDI 3 0 Last change 03 11 09 1 The vda db status Command Command opt SUNWvda sbin vda db status Usage 60 Sun Virtual Desktop Infrastructure 3 0 Usage vda db status OPTIONS Shows a detailed status of the Sun Virtual Desktop Infrastructure Database service The accepted values for OPTIONS are h Display this help list 5S Displays a short version of the status X Displays the status without headers 1 Displays information about the current configuration Man Page 61 Sun Virtual Desktop Infrastructure 3 0 Sun Virtual Desktop Infrastructure Administration vda db status 1M NAME vda db status Sun Virtu
236. st of lines with the following values separated by a colon Value Data Format Custom Group Name string group show Show the pools assigned to the custom group Parseable Output list of lines with the following values separated by a colon Value Data Format Pool Name string token search Search for tokens that match the search criteria Parseable Output list of lines with the following values separated by a colon Value Data Format Token string Name of the Associated User string DN of the Associated User string token show Show the desktops available for the token Parseable Output list of lines with the following values separated by a colon Value Data Format Pool Name string Desktop Name string 152 Sun Virtual Desktop Infrastructure 3 0 Desktop Id integer Kind of Assignment User Token Group lt group_name gt Custom Group lt group_name gt token desktops Show the desktops assigned to the token Parseable Output list of lines with the following values separated by a colon Value Data Format Desktop Name string Desktop Id integer Pool Name string Type of Assignment flexible personal Is Default Desktop true false pool list List all pools Parseable Output list of lines with the following values separated by a colon Value Data Format Pool Name string Type of Desktop Assignment Personal Flexible Number of Desktops i
237. st page click Submit a certificate request by using a base 64 encoded CMC or PKCS 10 file or submit a renewal request by using a base 64 encoded PKCS 7 file On the Submit a Certificate Request or Renewal Request page paste the contents of the CSR into the Saved Request text box or browse to the CSR file e Select an appropriate template from the Certificate Templates list Administrator is recommended e Click Submit e On the Certificate Issued page ensure Base 64 encoded is selected and click Download certificate chain 0 Save the certificate file d Importing the certificate on the VDI host Copy the certificate file to the VDI host Import the certificate into the VDI keystore 130 Sun Virtual Desktop Infrastructure 3 0 A usr java jre bin keytool import keystore etc opt SUNWvda sslkeystore storepass changeit keypass changeit trustcacerts file certificate file gt alias lt your_alias gt 3 Restart the Common Agent Container cacaoadm stop force cacaoadm start 4 Configuring the user directory in VDI Admin GUI In the Admin GUI go to the Settings category and User Directory subcategory and click Add User Directory to launch the User Directory wizard a Select Active Directory Type and click Next b Select Public Key Authentication c Enter the domain for the Active Directory For example my company com d The following step shows the SSL certificates of the Active Directory servers Clic
238. t h lt host1 gt lt host2 gt host lt hostl gt lt host2 gt lt provider gt help Print this help list Options h host 1 gt lt hostZ gt nost lt host1 gt lt host2 gt The list of hosts to disable Operand lt provider gt The name of the desktop provider denotes mandatory parameters l List all storages for the desktop provider Usage vda provider list storage x parseable lt provider gt so help Print this help list i Options x parseable Display output suitable for programmatic parsing Operand l lt provider gt The name of the desktop provider denotes mandatory parameters provider add storage 95 Sun Virtual Desktop Infrastructure 3 0 Add a storage to the xVM VirtualBox desktop provider Usage vda provider add storage p lt prop1 gt lt valuel gt lt prop2 gt lt value2 gt properties lt propl1 gt lt valuel gt lt prop2 gt lt value2 gt lt provider gt help Print this help list Options p lt propl gt lt valuel gt lt prop2 gt lt value2 gt properties lt propl gt lt valuel gt lt prop2 gt lt value2 gt The list of properties that define the storage Properties host lt host gt The hostname of the storage server port lt port gt The port to connect to the storage Default is 22 xusername lt username gt The username to authenticate to the storage password lt password gt The password
239. t Load a massive presentation and browse the slides Close PowerPoint Start Word Type a small document Close Word NOU BWN gt Installing Y Installing 1 Review the System Requirements Check the VDI System Requirements to determine what equipment you will need 2 Obtain the Sun VDI Software To download a copy of the Sun VDI software go to sun com To download VDI 3 Patch 3 go to SunSolve 3 Set Up a Virtualization Platform 29 Sun Virtual Desktop Infrastructure 3 0 VDI 3 enables you to set up one or more virtualization platforms You can set up VirtualBox or VMware Infrastructure platforms or both Sun VirtualBox 1 Set Up a Storage Server How to Set Up a Solaris Storage Server How to Set Up an OpenSolaris Storage Server How to Set Up a Sun Storage 7000 Unified Storage System 2 Set Up a Sun xVM VirtualBox Server 3 Define Virtual Machine Templates VMware Infrastructure Set Up a VMware ESX Server Set Up a VMware vCenter Server Define Virtual Machine Templates Test the VMware Infrastructure Setup Aa W N 4 Install and Configure the VDI Core The VDI Core is the central management layer between the virtualization platform and the desktop access clients 1 Install the VDI Core 2 Configure the VDI Core How to Configure Sun VDI for a Single Host Setup How to Configure Sun VDI for a Production Environment How to Configure a Remote MySQL Database Reconfiguring the VD
240. t desktopl gt lt desktop2 gt The id of the desktops to convert f denotes mandatory parameters desktop start Start the desktops Usage vda desktop start lt desktopl gt lt desktop2 gt help Print this help list Operand lt desktopl gt lt desktop2 gt The id of the desktops to start denotes mandatory parameters desktop stop 88 Sun Virtual Desktop Infrastructure 3 0 Stop the desktops Usage vda desktop stop lt desktopl gt lt desktop2 gt help Print this help list Operand lt desktopl gt lt desktop2 gt The id of the desktops to stop denotes mandatory parameters provider provider list List all desktop providers Usage vda provider list x parseable help Print this help list Options X parseable Display output suitable for programmatic parsing denotes mandatory parameters Create a new xVM VirtualBox desktop provider Usage vda provider vb create p lt prop1 gt lt valuel gt lt prop2 gt lt value2 gt properties lt prop1 gt lt valuel gt lt prop2 gt lt value2 gt The list of properties that define the desktop provider Properties name lt name gt The name for the desktop provider comment lt comment gt The comment for the desktop provider If a property value contains a comma use the double quoting syntax for the value such as lt prop gt lt value gt single quote followed
241. t group name2 gt The name of the custom group to delete denotes mandatory parameters ass group getprops 71 Sun Virtual Desktop Infrastructure 3 0 EE _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ eeEeEeEEEEEEmnmnaAn ncnnO0N0NnNDNnDnBBWnnnn00 w 0 crc rlD T List the properties of the custom group Usage vda group getprops p lt propl gt lt prop2 gt properties lt prop1l gt lt prop2 gt lt group name gt help Print this help list Options p lt propl gt lt prop2 gt properties lt propl gt lt prop2 gt The list of properties to get Properties comment The comment for the custom group search filter The LDAP search filter which defines the users in this group Operand lt group name gt The name of the custom group denotes mandatory parameters td group setprops Edit the properties of the custom group Usage vda group setprops p lt propl gt lt prop2 gt properties lt propl gt lt prop2 gt lt group name gt help Print this help list Options p lt propl gt lt prop2 gt properties lt propl gt lt prop2 gt The list of properties to set Properties name lt name gt The new name for the custom group comment lt comment gt The comment for the custom group search filter lt search filter gt The LDAP search filter which d
242. t it again Execute svcadm enable svc application database vdadb core and wait until it has been started again this might take a couple of minutes Verify that the service has been started by executing svcs svcC application database vdadb core You should see output similar to this one STATE STIME FMRI online Dez_09 svc application database vdadb core 5 Repeat the last two steps on your second Secondary host 6 Stop the SQL node on every secondary host Execute svcadm disable svc application database vdadb sql Verify that is has been stopped by executing svcs svc application database vdadb sql this can take a couple of minutes STATE STIME FMRI i disabled Dez_09 svc application database vdadb sql 7 Start the SQL node on every secondary host Execute svcadm enable svc application database vdadb sql Verify that is has been started by executing svcs svc application database vdadb sql this can take a couple of minutes STATE STIME FMRI online Dez_09 svc application database vdadb sql Up One Page Level t Reconfiguring the VDI MySQL Cluster Next Page m MySQL Cluster Reconfiguration Scenarios How to Prevent Unrestricted SQL Node Joins 38 Sun Virtual Desktop Infrastructure 3 0 How to Prevent Unrestricted SQL Node Joins The default MySQL Cluster configuration allows up to 20 SQL nodes joining the MySQI Cluster In security sensitive environment however one might want to prevent unrestrict
243. t the Users tab and Users and Groups entry in the left sidebar Search for a known user in the User Directory you can specify user name or user ID Click on the user s name and then select the Assignment tab in their profile In the Pool Assignments space click the Add button Highlight the desired pool s and click OK to assign the user aS WND m Previous Page How to Set Up a User Directory Up One Page Level t Administering Next Page E How to Associate Tokens to Users How to Associate Tokens to Users How to Associate Tokens to Users In a Sun Ray environment users will take advantage of smart cards tokens to initiate a session on a Sun Ray thin client DTU With VDI 3 you can associate a token to a user it is also possible to assign desktops directly to specific tokens Once tokens have been created they can be assigned to Pools and Desktops How to Associate Tokens Using the Admin GUI Select the Users tab and Users and Groups entry in the left sidebar Search for a known user in the User Directory Click on the user s name and then select the Token tab in their profile In the Tokens table click the New button It is possible to manage create search delete tokens by using the Tokens entry in the Users tab 5 Enter the ID of the new token e g Payflex 500d9b8900130200 and if desired an additional comment in the pop up window and click OK Aa WwW Ne 0 Token IDs can be copied directly from
244. t user gt The DN or userid of the user associated to the token comment lt comment gt The comment for the token If a property value contains a comma use the double quoting syntax for the value such as lt prop gt lt value gt single quote followed by double quote to open double quote followed by single quote to close denotes mandatory parameters token remove 74 Sun Virtual Desktop Infrastructure 3 0 Remove the specified tokens from the system Usage vda token remove lt tokenIdl gt lt tokenId2 gt help Print this help list i Operand lt tokenIdl gt lt tokenId2 gt The id of the tokens to remove denotes mandatory parameters token getprops List the properties of the token Usage vda token getprops p lt propl gt lt prop2 gt properties lt propl gt lt prop2 gt lt tokenId gt help Prant this help last Options i p lt propl gt lt prop2 gt properties lt propl gt lt prop2 gt The list of properties to get Properties user The user associated to the token comment The comment for the token Operand i lt tokenld gt The id of the token denotes mandatory parameters token setprops 75 Sun Virtual Desktop Infrastructure 3 0 Edit the properties of the token Usage vda token setprops p lt propl gt lt valuel gt lt prop2 gt lt value2 gt properties lt propl1 gt lt valuel gt lt pro
245. ta Format Desktop Name string Desktop Id long job list List the existing jobs Parseable Output list of lines with the following values separated by a colon Value Data Format Job Cloning Desktop lt desktop_name gt Recycling Desktop lt desktop_name gt Starting Desktop Title lt desktop_name gt Powering Off Desktop lt desktop_name gt Shutting Down Desktop lt desktop_name gt Restarting Desktop lt desktop_name gt Deleting Pool lt pool_name gt etc 155 Sun Virtual Desktop Infrastructure 3 0 EE Target string of the Job Status Queued Running Completed Failed Cancelling Cancelled of the Job ld of integer the Job job show Show the job details Parseable Output one line with the following values separated by a colon Value Data Format Job Cloning Desktop lt desktop_name gt Recycling Desktop lt desktop_name gt Starting Desktop Title lt desktop_name gt Powering Off Desktop lt desktop_name gt Shutting Down Desktop lt desktop_name gt Restarting Desktop lt desktop_name gt Deleting Pool lt pool_name gt etc Target string of the Job Status Queued Running Completed Failed Cancelling Cancelled of the Job Start hh mm ss Time End hh mm ss Time Job string Details m Previous Page How to Associate Tokens to Users Up One Page Level t Administering VDI Default Configuration VDI Default Configuration This is a
246. te Desktop Providers for an xVM VirtualBox Platform 120 Sun Virtual Desktop Infrastructure 3 0 e How to Create Desktop Providers for a VMware Infrastructure Platform w Previous Page How to Access the Admin GUI Up One Page Level t Administering Next Page E How to Create Desktop Pools How to Create Desktop Providers for an xVM VirtualBox Platform How to Create Desktop Providers for an xVM VirtualBox Platform Follow the steps below to set up an xVM VirtualBox desktop provider Steps Select the Desktop Providers category in the left sidebar Select New in the Sun xVM VirtualBox Desktop Providers overview This will activate the New Desktop Provider for Sun xVM VirtualBox wizard that allows you to add multiple xVM VirtualBox hosts as well as multiple xVM VirtualBox storage servers Enter the host name or IP address and administrator credentials for the xVM VirtualBox host server 4 Select the Select Existing Hosts option in Step 2 when you are finished In Step 3 enter the host name or IP address and administrator credentials for the xVM VirtualBox storage server a host running the recommended OpenSolaris version Again it is possible to configure multiple xVM VirtualBox storage servers Select the Select Existing Storage option in Step 3 when you are finished Verify or change the desktop provider name and add comments in Step 4 Once you click Finish the new desktop provider will appea
247. te vdi xml configuration golden master xml Templates The following example creates a pool for cloning 30 desktops from VMware VirtualCenter First list the templates from the VirtualCenter and select one of them example opt SUNWvda sbin vda provider list templates VC provider NAME ID PATH XP Template vm 134 Datacenters ADatacenter vm XPClone vm 629 Datacenters ADatacenter vm example opt SUNWvda sbin vda pool create p name VC pool provider VC provider template vm 134 preferred size 30 free size 5 max size 35 power state on assignment type flexible recycle policy reuse idle opt SUNWvda sbin vda pool start VC pool Configuring the User Directory 57 Sun Virtual Desktop Infrastructure 3 0 The following example configures a LDAP directory using simple authentication the default 389 port a fallback LDAP server and no restriction on the base DN example opt SUNWvda sbin vda directory add p auth type simple hosts my ldap com secondary ldap com A username cn Administrator ou people dc my dc company dc com The following example configures an Active Directory using Kerberos authentication example opt SUNWvda sbin vda directory add p auth type kerberos addomain my company com username Administrator Assigning Pools and Desktops to Users The following example assigns the user John Smith to the pool VC pool Once complete John Smith will be dynamically assigned a desktop from the
248. tering Next Page gt Understanding the RDP Broker Understanding the RDP Broker Understanding RDP Broker Sun VDI 3 includes a built in RDP broker that allows easy desktop access leveraging the Remote Desktop Protocol RDP This way users can take advantage of existing RDP clients for example the remote desktop connection in Windows XP for accessing 163 Sun Virtual Desktop Infrastructure 3 0 desktops How Does it Work 1 The RDP client first contacts the Sun VDI RDP broker passing over any information like username password etc 2 The RDP broker will then contact the VDI service on behalf of the client and will ask to startup the desired desktop 3 The VDI service will first verify the username password combination if client authentication is enabled on the VDI service side that is the default see Disabling Client Authentication 4 If authentication succeeds the corresponding desktop will be started up and the VDI service returns the IP and optionally RDP port of the virtual machine VM running the desktop 5 This information is used by the RDP broker to construct an RDP Server Redirection Packet containing either the VM host IP address as the server to redirect to if using Windows RDP as done for VMware Infrastructure 3 or a routing token containing encoded IP address and RDP port information if using the VirtualBox RDP aka VRDP The latter is necessary because VRDP does not use the standard Wi
249. than Active Directory Simple Authentication also allows you to set up a quick integration with an Active Directory server for demo purposes If integrating with Active Directory it is not recommended to select Simple Authentication on production platforms as a better integration can be achieved using Kerberos Authentication How to Set Up Simple Authentication Secure Authentication Use Secure Authentication to secure connections over SSL when the directory supports it Choose Secure Authentication to integrate with an LDAP directory secured by SSL It is not possible to integrate with an Active Directory using Secure Authentication How to Set Up Secure Authentication Previous Page Active Directory Integration Up One Page Level t How to Set Up a User Directory Next Page Ep Customizing the LDAP Filters and Attributes How to Set Up Anonymous Authentication How to Set Up Anonymous Authentication Use the steps below to set up anonymous authentication Steps In the Admin GUI go to the Settings category and User Directory subcategory and click Add User Directory to launch the User Directory wizard 1 Select LDAP Type and click Next 2 Select Anonymous Authentication 3 Enter the hostname or IP address and port number of the LDAP server 389 is the default port number used by most LDAP servers 4 Enter the base DN of the LDAP server Specifying a base DN is optional It allows you to restrict the pa
250. the assignment and cloning configurations For convenience the pool wizard offer Manual Dynamic and Growing pool types which only differ in their default settings You can change the pool settings at any point The pool type is not stored anywhere it just defines the initial pool settings and is offered as a 196 Sun Virtual Desktop Infrastructure 3 0 shortcut The main differences in the pool types are as follows Dynamic pool Desktops are cloned from a template Flexible desktop assignment is the default Growing pool Desktops are cloned from a template Personal desktop assignment is the default Manual pool Cloning disabled you have to manually fill this pool via importing desktops Personal desktop assignment is the default Recycling of desktops will only happen for flexibly assigned desktops This is independent from the desktop provider For the moment recycling only works when Windows is used as the guest operating system for the desktop Non Windows guests such as Ubuntu or OpenSolaris are supported by VirtualBox but not recycled The VirtualBox Guest Additions for these platforms do not provide the functionality needed for recycling the information about logged in out users This will be addressed in the next release of VDI What is the support target for VirtualBox 3 0 0 What is the support target for VirtualBox 3 0 0 The next release of VDI will is the support target for VirtualBox 3 0 0 Version 3 o
251. the server configuration is honored E window attribute Enable window attributes from the defined set The available set of options which can be enabled are wallpaper fullwindowdrag menuanimations theming cursorshadow cursorsettings Keeping these attributes disabled improves display performance especially over lower bandwidth networks Multiple E options can be specified for more than one attribute I I I I I I I I I I I I I I I I I I I I I I I I I LI I I I I I I I I I I I I I I I I I I I I I I I I I I I I LI I I LI I I I I I I I I I I I I I I I I I I I I I I I I I I I I I Li I I I I I I i configuration in which case i I I I I I I I I I I I I I I I I I I I I I I I LI I I I I I I I I I I I I I I I LI I I I I I I I I I I I I I I I I I I I I I I I LI I I I I I I I I I I I I I I I I I I 1 i 1 if required I I I I I I Adapting Kiosk Session Kiosk session settings can be easily adapted via the Sun Ray Admin GUI Steps Login to the Sun Ray Admin GUI Switch to the Advanced tab Afterwards select the Kiosk Mode sub tab Click on Edit to modify the configuration settings Enter the desired settings in the Arguments field For example M A WN J O lt O w a Y U pie Ld gt E U K gt ul w lt w OY al w ke ke Ee w Ee 0 K al ct o O H 5 Q 6 Click on OK to save the new sett
252. the value such as lt prop gt lt value gt single quote followed by double quote to open double quote followed by single quote to close i Operand lt pool gt The name of the pool where desktops are imported o denotes mandatory parameters pool vc import Import VMware VirtualCenter desktops into the pool Usage vda pool vc import d lt desktop1 gt lt desktop2 gt desktop lt desktop1 gt lt desktop2 gt lt pool gt help Print this help list Options d lt desktopl gt lt desktop2 gt desktop lt desktop1 gt lt desktop2 gt The UUID if the desktops to import Operand i lt pool gt The name of the pool where desktops are imported i i denotes mandatory parameters pool start 85 Sun Virtual Desktop Infrastructure 3 0 Start automatic cloning of desktops for the pools Usage vda pool start lt namel gt lt name2 gt help Print this help list Operand lt namel gt lt name2 gt The name of the pools denotes mandatory parameters pool stop Stop automatic cloning of desktops for the pools Usage vda pool stop lt namel gt lt name2 gt 9 help Print this help list Operand lt namel gt lt name2 gt The name of the pools denotes mandatory parameters pool enable Enable users to connect to flexible desktops from the pools Usage i vda pool enable lt namel gt lt name2 gt
253. ther the virtual machine is suspended or the guest OS went into standby VirtualCenter option keep VM running on guest OS standby e Used The active state A desktop enters the Used state as soon as as user has logged in to the desktop The desktop stays in this state while the user logins in uses the desktop and logs out Reserved The maintenance state A desktop is Reserved when it is being worked on by the VDI Core This desktop state usually occurs when the desktop is the source of a manual copy operation or the desktop is recycled The desktop will become Available after leaving the Reserved state e Unresponsive The quarantine state The desktop enters the Unresponsive state whenever the VDI core determines a severe problem with the desktop An unresponsive desktop is outside of the desktop life cycle and needs attention of the administrator The administrator may either fix the problem and apply the Activate action to the desktop which puts the desktop back in the life cycle or the administrator may choose to delete the desktop Virtual Machine States Virtual machine states are defined by the hypervisor For VDI 3 you have the choice of using a Sun VirtualBox or VMware Infrastructure virtualization platform Sun VirtualBox e Powered Off Powered off desktops reside in two places in the VDI environment the database and the storage The VDI database contains all desktop configuration information to register the desktop on
254. thin client or the RDP server is utilized to remotely access it As a result using SGD to access a virtual desktop is done by connecting to the integrated Microsoft RDP server within Sun VDI Software Thus the SGD license key that is shipped with the purchase of a Sun VDI Software license is a Windows RDP license What are the conditions of the VDI 3 0 concurrent users license for Sun Ray and SGD What are the conditions of the VDI 3 0 concurrent users license for Sun Ray and SGD The VDI license is per concurrent user For a VDI configuration using both Sun Ray and SGD use the following guidelines e Will the Sun Rays DTUs be used simultaneously If yes you need at least as many VDI licenses as DTUs No extra Sun Ray licenses are necessary e Will your users access their desktops through SGD and Sun Ray If yes you will need VDI licenses for maximum users concurrently accessing their desktop independent of the device e Will SGD be used to access multiple desktops and or applications If yes you need additional SGD licenses for each of the SGD users What are the differences between SRS in VDI 2 and VDI 3 What are the differences between SRS in VDI 2 and VDI 3 The main change between SRS in VDI 2 and VDI 3 is the installation configuration experience In VDI 2 you had to manually install and configure the various pieces of software SRSS SRWC and VDC and the whole process was complex and error prone at least for customers
255. tings of a particular VM to bring up the Virtual Machine Properties page b Click the Options tab c Select VMware Tools This is where you can modify the behavior of the Power Controls Start Stop Suspend and Reset d Next to the Power Off switch red rectangle select Shut Down Guest This allows the guest OS to shut down gracefully when the Power Control button is pressed e In the Run VMware Tools Scripts panel check the Before Powering Off checkbox 2 Repeat steps a through e above to configure the Run VMware Tools Scripts panel on the guest OS 3 Modify the poweroff vm default bat script on the guest OS The install location on the guest OS typically c Program Files VMware VMware Tools contains the following default scripts poweroff vm default bat resume vm default bat i poweron vm default bat i suspend vm default bat 4 Add tsdiscon exe to the poweroff vm default bat script The poweroff vm default bat script is the first to execute when the VM is powered off from the VMware Infrastructure Client It now calls tsdiscon exe which closes all open RDP connections Unused VMware virtual machines are not being recycled Unused VMware virtual machines are not being recycled 1 Verify that the Power Options on the Windows guest OS have been configured to go into standby when it is idle 2 Verify that the VMware Tools and the Virtual Desktop Connector Tools are installed and running on the Windows guest OS Ch
256. tions 0 lt prop1l gt lt prop2 gt properties lt propl gt lt prop2 gt The list of properties to get Properties comment The comment about the pool assignment status Whether desktop assignments from the pool are enabled or disabled Possible values are enabled and disabled assignment type The assignment policy for this pool Possible values are personal and flexible cloning status Whether desktop cloning is for this pool is enabled or disabled Possible values are enabled and disabled template The name of the template used to automatically populate this pool system preparation status Whether system preparation is applied to cloned desktops for this pool system preparation The system prepartion used for cloned desktops For VMware VirtualCenter pools a custom spec name For xVM VirtualBox pools a Sysprep file power state The power state of a desktop after cloning or recycling Possible values are on off suspended name pattern The naming pattern to use for new cloned desktops The pattern is composed of a prefix and a 0 for each digit of the sequential number preferred size The desired number of desktops in the pool free size The minimum number of available desktops in the pool max size The maximum number of desktops the pool can contain recycle policy The action to take when recycling desktops Possible values are snapshot reuse delete idle timeout The time a machine remains suspe
257. tions gt Power Management select Suspend the Virtual Machine 6 Create a virtual machine template You can clone additional virtual machines manually or let Sun VDI clone them automatically from a template Any existing virtual machine can be converted into a template a b C Q 0 Q Open the Virtual Infrastructure Client Right click the desired virtual machine and power down the machine From the commands area or the pop up menu click Convert to Template For additional details see Chapter 13 Working with Templates and Clones in VMware Basic System Administration There is typically the need to customize the identity and network settings of the Windows XP after a clone has been create from a template This can be achieved using a Customization Specification Open the Virtual Infrastructure Client Click Edit from the menu above the tool bar and select Customization Specifications Click the New icon in the Customization Specification Manager to start the wizard 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 the 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 e Windows License Enter you
258. to do a Rolling Restart of Your MySQL Cluster How to do a Rolling Restart of Your MySQL Cluster Be sure to comply with the MySQL Cluster rules regarding reconfiguration as published here Performing Rolling Restart of MySQL Cluster Steps 1 Stop the vdadb core service on the Primary host Execute svcadm disable vda application database vdadb core Verify that it has been stopped by executing svcs svc application database vdadb core this can take a couple of minutes You should see an output similar to this one STATE STIME FMRI i 1 disabled Dez_09 svc application database vdadb core i 2 Start the vdadb core service again on the Primary host Execute svcadm enable svc application database vdadb core This makes the new MySQL Cluster configuration effective Verify that the service has been started by executing svcs svc application database vdadb core again this may take a couple of minutes You should see an output similar to this one 37 Sun Virtual Desktop Infrastructure 3 0 STATE STIME FMRI i online Dez_09 svc application database vdadb core i 3 Stop your first data node Execute svcadm disable svc application database vdadb core on your first Secondary host Verify that is has been stopped by executing svcs svc application database vdadb core this can take a couple of minutes i STATE STIME FMRI i disabled Dez_09 svc application database vdadb core i 4 Once the data node has been stopped star
259. top as an End User There are three VDI compatible options for desktop access software Sun Ray Software Sun Secure Global Desktop Software and Microsoft RDC Software Sun Ray software is automatically installed with the VDI Core installation and is covered under the VDI demo licensing To read more about how to adapt Sun Ray software and access a desktop as and end user with a Sun Ray DTU use the following links Adapting Sun Ray Software Accessing Desktops with a Sun Ray DTU For desktop SGD and MS RDC information refer to Steps 2 3 of Administering Congratulations You should have a fully functional VDI Demo If you have run into problems setting up VDI please look for answers in some of the following places e Troubleshooting and FAQs e The VDI Forum Planning the Installation 11 Sun Virtual Desktop Infrastructure 3 0 Standard System Requirements This section outlines the minimum requirements for a standard VDI 3 configuration We recommend that you read the following pages for more information about supported software and VDI deployment options e Release Notes e Supported Configurations e Deployment Guide Sun Virtual Desktop Infrastructure 3 0 A standard minimum VDI VirtualBox setup for a production environment requires three VDI hosts one VirtualBox host and one storage host The Sun VDI 3 0 Software is installed on the VDI hosts and Sun VirtualBox for VDI is installed on the
260. top provider Usage vda provider show lt provider gt 7 help Print this help list Operand lt provider gt The name of the desktop provider denotes mandatory parameters List all hosts for the xVM VirtualBox desktop provider Usage vda provider list hosts x parseable lt provider gt f help Print this help list x parseable Display output suitable for programmatic parsing Operand lt provider gt The name of the desktop provider denotes mandatory parameters Options provider add host 93 Sun Virtual Desktop Infrastructure 3 0 Add a host to the xVM VirtualBox desktop provider Usage vda provider add host p lt propl gt lt valuel gt lt prop2 gt lt value2 gt properties lt prop1 gt lt valuel gt lt prop2 gt lt value2 gt lt provider gt help Print this help list Options p lt propl gt lt valuel gt lt prop2 gt lt value2 gt properties lt propl gt lt valuel gt lt prop2 gt lt value2 gt The list of properties that define the host Properties xh host lt host gt The hostname port lt port gt The port for the SSL connection to the host Default is 443 sshport lt sshport gt The port for the SSH connection to the host Default is 22 username lt username gt The username to authenticate to the host password lt password gt The password to authenticate to the host If a property value contains a comma
261. tor gt lt any other uttsc specific settings gt r disk lt drive name gt lt path gt How do use VMware virtual machines with multiple network 181 Sun Virtual Desktop Infrastructure 3 0 adapters How do use VMware virtual machines with multiple network adapters See Sun VDI How to use virtual machines with multiple network adapters How is desktop assignment in VDI 3 different than in VDI 2 How is desktop assignment in VDI 3 different than in VDI 2 The previous release of VDI Sun VDI 2 VDC 1 uses a slightly different terminology A desktop with static assignment is owned by a user similar to personal in Sun VDI 3 A dynamic or temporary desktop is only temporarily owned by the user similar to flexible in Sun VDI 3 In VDI 2 all desktops that are part of a pool must be dynamic and static desktops are not part of a pool In VDI 3 you can choose if the pool is filled with personal or flexible desktops For more about desktop assignment and pool types in VDI 3 see What is the difference between Personal and Flexible desktop assignments am getting the error Currently there is no desktop available or assigned to you am getting the error Currently there is no desktop available or assigned to you Sun VDI 3 typically returns the above message for the following reasons a There are no desktops directly assigned to you b There is a pool assigned to you but no desktops in the pool are available f
262. torage VDI 3 supports any Sun Storage 7000 Unified Storage System and any server running the OpenSolaris 2008 11 operating system The recommended disk layout is RAID 10 mirrored sets in a striped set ZFS stripes the data automatically between multiple sets It is called Mirrored by the 7000 series While this disk layout uses 50 of the available disk capacity for redundancy it is faster than RAID 5 for intense small random read writes which is the typical access characteristic for iSCSI The storages provide the virtual disks which are accessed by VirtualBox via iSCSI iSCSI is a CPU intensive protocol therefore the number of cores of the storage are a decisive factor for its performance which makes the x7410 the best suited solution for heavy duty installations as it can be equipped with up to 16 cores Other important factors are the memory size cache the number of disks and the available network bandwidth The network bandwidth is very volatile and determined by the relation of desktops starting up peak network bandwidth and desktops that have cached the application s in use avarage network bandwidth Starting a VM creates a network load of 150 MB which needs to be satisfied in 30 seconds If many desktops are started at the same point in time the requested network bandwidth may exceed 1 Gb s if the CPUs of the storage can handle the load created by the iSCSI traffic This senario is typical for shift work companies In such a case it
263. tore all SRS related configuration No all SRS related configuration is stored in the LDAP based SRS datastore Does the VirtualBox swap space really have to be the same as the memory Does the VirtualBox swap space really have to be the same as the memory Yes because of a long standing Solaris bug all the memory that the VirtualBox virtual machines use is double accounted but not actually used This means that if you stay with 64GB of swap on your system as soon as you start enough virtual machines to consume 64 1GB of memory Solaris will think it has no memory left and stop forking processes causing it to hang or crash See the Release Notes for more information Do need to configure SRS separately in VDI 3 179 Sun Virtual Desktop Infrastructure 3 0 Do need to configure SRS separately in VDI 3 A separate installation of SRS is not necessary in VDI 3 In fact we require that SRSS and SRWC are NOT installed configured when starting the VDI 3 installation The SRSS SRWC parts are automatically setup as part of the VDI 3 install configuration script Do Sun Secure Global Desktop Software perpetual licenses include support with my purchase Do Sun Secure Global Desktop Software perpetual licenses include support with my purchase Yes Sun Secure Global Desktop Software perpetual licenses include 1year of Basic support which only provides access to Sun Knowledge Base alerts notifications and software updates Bas
264. tualBox web service in milliseconds vbox request timeout Request timeout to the xVM VirtualBox web service in milliseconds ldap user object filter LDAP filter used to identify objects of type user ldap user search filter LDAP filter used to search for users according a search criteria Searches for users can be done using the user search command or in the web administration console SSEARCH_STRING is the placeholder for the search criteria ldap user member attributes List of comma separated LDAP attributes on a user object storing the groups the user is a member of ldap userid attributes List of comma separated LDAP attributes storing the userid value for user objects This is used to finda user given its userid ldap group object filter LDAP filter used to identify objects of type group ldap group search filter LDAP filter used to search for groups according a search criteria Searches for groups Can be done using the user search command or in the web administration console SSEARCH_STRING is the placeholder for the search criteria ldap group member attributes List of comma separated LDAP attributes on a group object storing the users member of the group ldap group short attributes List of comma separated LDAP attributes on a group object storing the information for short membership ldap container object filter LDAP filter used to identify objects of type container Containers can be selected as root for custom group filters in the we
265. u can copy both files to another location on the host and create a symbolic link ke D u TS AN Q gt ct O Fh H a ke D u V gt A lt ES a Q 3 D V x 3 ke gt q Q K gt ct 3 FO gt ke D u N AN FO YQ ae D gt ct O Fh H ke D 09 V gt A lt ES D YQ 3 D V lt Q H gt lt Q K N ct 3 FO N In the Admin GUI open the Pools tab then select the previously created empty pool Select the Desktops tab and click Import An import dialog will be displayed Select the correct XML and VDI files and click OK The virtual machine will be imported as a background job Imports can take long periods of time gt 10minutes so please be patient NOD UW Js After the virtual machine has been imported successfully it will show up in the Desktops tab of the Pools page a page refresh might be necessary Up One Page Level t Importing Virtual Machines Next Page my How to Import Virtual Machines for a VMware Infrastructure Platform How to Import Virtual Machines for a VMware Infrastructure Platform How to Import Virtual Machines for a VMware Infrastructure Platform VMware vCenter manages the virtual machines VM that have been executed on the configured VMware ESX server You can use any existing VM and import it into the previously created pool The VDI Core will just create a corresponding entry for the VM in its database no p
266. u choose the Growing Pool type the desktops in the pool will be permanently assigned to users the user can log in and out without losing their desktop settings The desktops are not recycled Manual pools are initially empty They are filled manually by importing personal desktops The Manual Pool type should be used if cloned desktop assignment is not an option 4 In Step 3 select None as template 5 In Step 4 specify a name for the pool 6 Once you click the Finish a new empty pool will appear in the Pools overview 122 Sun Virtual Desktop Infrastructure 3 0 Previous Page How to Create Desktop Providers Up One Page Level t Administering Next Page Importing Virtual Machines Importing Virtual Machines Importing Virtual Machines A pool will be empty has no desktops after initial creation You can now manually add existing desktops virtual machines to your pool using the VDI Admin GUI The procedure will differ depending on the virtualization platform e How to Import Virtual Machines for an xVM VirtualBox Platform e How to Import Virtual Machines for a VMware Infrastructure Platform da Previous Page How to Create Desktop Pools Up One Page Level t Administering Next Page EP How to Enable Cloning in Pools How to Import Virtual Machines for an xVM VirtualBox Platform How to Import Virtual Machines for an xVM VirtualBox Platform Sun VDI takes advantage of the ZFS file system which vast
267. udes support tables for VDI Core host operating systems virtualization platforms storage servers desktop guest systems For more about VDI Support see Supported Configurations VDI Core Host Operating Systems Software VDI 3 Solaris 10 Update 6 SPARC and x86 64 bit X Solaris 10 Update 7 SPARC and x86 64 bit X Virtualization Platforms Sun Virtual Desktop Infrastructure 3 0 Software VirtualBox Virtualization Platform Sun VirtualBox for VDI VirtualBox X 2 0 10 Sun VirtualBox for VDI VirtualBox X 2 0 8 All other VirtualBox Versions VMware VirtualCenter 2 5 Update 1 2 3 4 5 VMware ESX server 3 5 Update 1 2 3 4 VMware vSphere ESX server 4 0 Storage Servers Software VirtualBox Virtualization Platform Solaris 10 Update 7 X OpenSolaris 2008 11 X OpenSolaris 2009 06 X Sun Unified Storage 7000 Series 2009 Q3 2 0 Sun Unified Storage 7000 Series 2009 Q3 1 0 Sun Unified Storage 7000 Series 2009 Q3 0 0 Sun Unified Storage 7000 Series X 2009 Q2 5 1 Sun Unified Storage 7000 Series X 2009 Q2 5 0 Sun Unified Storage 7000 Series X 2009 Q2 4 0 Sun Unified Storage 7000 Series X 2009 Q2 3 1 Sun Unified Storage 7000 Series 2009 Q2 3 0 Sun Unified Storage 7000 Series 2009 Q2 2 1 Sun Unified Storage 7000 Series 2009 Q2 2 0 Sun Unified Storage 7000 Series X 2009 Q2 1 1 Sun Unified Storage 7000 Series X 2009 Q2 1 0 Sun Unified Storage 7000 Series X 2009 Q2 0 0 15 VMwa
268. us Sun VDI versions If you disable the desktop login selector dialog users have no possibility to enter their password prior to accessing a desktop Thus to make this setup work you must also disable the Sun VDI client authentication see Disabling Client Authentication Steps 1 Start the desktop 167 Sun Virtual Desktop Infrastructure 3 0 Payflex 500d9b8900130200 lt gt VDI Service Insert a smart card token that has been assigned to a pool or a desktop directly as described before into a Sun Ray DTU that is connected to a Sun VDI host Sun VDI will determine the assigned default desktop and will start it up if necessary During that time a wait screen is displayed Sun VDI 3 does not require the usage of smart cards Per default desktop access is enabled for smart card and non smart card usage 2 Log into the desktop 168 Sun Virtual Desktop Infrastructure 3 0 eo _ o o o T o o _ _ _ _ __ _ _ _ _ _ __ ____ _ _ User name johnd Password e Cancel Options gt gt It is good practice if desktops are configured to always present their own login screen before displaying the actual desktop content This way authentication is still required but it is now performed on the guest OS level In this example you will get the standard Windows login screen Depending on your guest OS configuration you must ent
269. user name credentials and domain information if specified 2 The RDP broker triggers an internal VDA client CLI called vda client This CLI encapsulates the communication of any client with the VDA service The vda client will request the start of a desktop for the provided user name if authentication is enabled the provided credential information will be verified first The VDA service will look up the LDAP DN for the provided user name It will then figure out the desktop assignments for this user DN Based on determined information one desktop will be picked up and started The IP and RDP port of the virtual machine is handed back to the vda client CLI The RDP broker uses this information to redirect the RDP client to the IP RDP port of the virtual machine The RDP client connects to the virtual machine ON AU DB Ww Can install the VDI Demo tn a virtual machine Can install the VDI Demo in a virtual machine No the Demo setup described on the Getting Started VDI Demo page must be installed on a physical machine Can set up a Demo of VDI 3 on one machine Can set up a Demo of VDI 3 on one machine Yes We encourage new users to set up a VDI demo to get comfortable with the software before installing a production environment setup See Getting Started VDI Demo for VDI demo system requirements and step by step installation and configuration instructions Can try out MySQL or set up an evaluation
270. using the vda subcommands Examples Examples of vda command usage Man Page The man page for the vda command Information about creating bulks of tokens with and creating automated administration scripts is available in Administering VDI 3 0 vda Command Usage vda Command Usage Command opt SUNWvda sbin vda Sun Virtual Desktop Infrastructure Administration Usage vda lt subcommand gt help Print this help list V Version Display the version User Subcommands user search Search for users groups in the user directory that match the specified search criteria user show Show the desktops available for the user user desktops Show the desktops assigned to the user user unassign Unassign users from pools or desktops If no pool or desktop is specified all assignments are removed from the users user defaultdesktop Make the desktop the default desktop for the user user personaldesktop Make the desktop a personal desktop for the user Custom Groups Subcommands group list List all custom groups group create Create a new local group with the specified properties group delete Delete the custom group group getprops List the properties of the custom group group setprops Edit the properties of the custom group group show Show the pools assigned to the custom group user assign Assign users to pools or desktops 54 Sun Virtual Desktop Infrastructure 3 0 oO nn eeeEEEEEEeeenmDnNNmnmEEonNnDO O
271. uth type simple hosts my ldap com secondary ldap com username cn Administrator ou people dc The following example configures an Active Directory using Kerberos authentication example opt SUNWvda sbin vda directory add p auth type kerberos addomain my company com username Administrator Example 4 Assigning Pools and Desktops to Users The following example assigns the user John Smith to the pool VC pool Once complete John Smith will be dynami cally assigned a desktop from the VC pool each time he logs Iris example opt SUNWvda sbin vda user assign p VC pool cn John Smith ou people The following example lists the desktops in the pool Static pool and permanently assigns one of them to the user Mary O Leary Each time Mary O Leary logs in she will get the same desktop example opt SUNWvda sbin vda pool desktops Static pool NAME ID MACHINE STATE STATUS DN WindowsXP0001 80 Running Used cn John Smith ou people WindowsXP0002 81 Powered Off Available Sun Virtual Desktop InLasttchange 03 11 09ration 6 Sun VDE 3 0 vda 1M 52 Sun Virtual Desktop Infrastructure 3 0 N n D O y O U O Oo Nn O y Ay D Q 0 x la Nn 00 ES O O O O G A O p 10 gt H O U o Q gt Oo Q y oO DO O a4 0 Ci n n N m O Y oO 0O O H e oa E Y ol p 0 n ES E Yn U y O y 10 O G O G O 0 1 O bd n H E Ay y G y O y gt 5 0 O oO N n E 0 10 mM
272. vel to debug an issue with VDI services If needed the default fie size before a file is rotated can be increased as well as the number of rotated backup files kept before the logging history is deleted from the server Edit the following properties in the etc cacao instances default private cacao properties file to obtain the desired logging behavior Cacao log file log file limit 1000000 log file count 3 perra The log file limit property is measured in bytes with a maximum configuration limit of 2147483647 bytes The cacao service needs to be restarted for changes to become effective usr lib cacao bin cacaoadm stop force usr lib cacao bin cacaoadm start i Is VMware ESXi a supported virtualization platform Is VMware ESXi a supported virtualization platform Yes VMware ESXi is a supported virtualization platform but if problems occur they need to be verified first on bare ESX Jobs don t finish even after canceling them using the Admin GUI Jobs don t finish even after canceling them using the Admin GUI You can force to abort all active jobs 1 Verify that the vda service is running 2 Enter the following command in the shell opt SUNWvda mysql bin mysql defaults file etc opt SUNWvda my cnf D vda u root p e UPDATE t_job SET status CANCELED endtime NOW WHERE status IN RUNNING QUEUED CANCELLING AND type lt gt DESTROY_POOL porro 3 If asked for a password either enter t
273. version for VDI 3 The second revision of the VDI Patch supports VirtualBox 2 0 10 Can convert a VDI Demo into a clustered VDI Production environment Can convert a VDI Demo into a clustered VDI Production environment Yes While configuring the multi host Production setup run vda config on all hosts one Primary and two Secondaries On one of the Secondary hosts you may restore the data Back up the database On the Demo or Evaluation host execute a O FO e ep Z lt Q Q a 3 kK u Q ma ay H m a D Q o 3 Q 3 N D ye H wW D Q x a tJ Check if a directory BACKUP was created at the location var opt SUNWvda mysql cluster Do a restore into the cluster Perform vda config u it should ask for restoring this backup Run vda config on all hosts one Primary and two Secondaries Save the backup as var opt SUNWvda mysql cluster BACKUP on the Secondary server Execute the following command on the same host opt SUNWvda mysql bin ndb_restore b lt backup gt n lt nodeid gt r backup_path lt path gt For further reference see the Backing Up the VDI Configuration page Can install a full Demo without user directory integration Can install a full Demo without user directory integration Sun VDI 3 allows to assign desktops to users and or tokens smart cards The user information must always come from an LDAP or Active Directory server There is cur
274. w to Set Up a Solaris Storage Server Up One Page Level t Installing Next Page E Setting Up a Sun xVM VirtualBox Server How to Set Up an OpenSolaris Storage Server How to Set Up an OpenSolaris Storage Server Each virtual disk is represented by a ZFS volume The ZFS volumes are stored in a ZFS pool and accessed by xVM VirtualBox via iSCSI The management of the ZFS volumes is done by Sun VDI 3 0 and requires ssh root access to the ZFS storage server and a ZFS pool on that ZFS storage server The ZFS storage host must be an x86 platform running OpenSolaris 2008 11 64 bit The ZFS server requires the following preparation Steps 1 Install the operating system Install OpenSolaris 2008 11 We highly recommend to install the release version 101b The OpenSolaris installer offers you the option to create a user It is important to create such a user during the installation process otherwise several steps of the configuration will fail 2 Enable root access To enable root access a Log into the ZFS storage host If you are working remotely use the newly created user account V n n S A E n D K 5 0 3 D V e A N Hj E Y O H w Q e an O U at Vv 107 Sun Virtual Desktop Infrastructure 3 0 b Become superuser PES UN U jar 5 O D O Q A ct Ke Je D Il D O K z w 5 O O ct d Edit the file etc ssh sshd_config and change the line PermitRootLogin n
275. which reduces the access time Average Network bandwidth Mb s number of virtual disks in use 0 032 Mb s Example A x7210 storage with one Gigabit Ethernet interface can serve up to 1000 0 032 31250 virtual disks Peak Network bandwidth Mb s number of virtual disks in use 40 Mb s Example A x7210 storage with one Gigabit Ethernet interface can serve up to 1000 40 25 virtual disks Disk space GB number of desktops size of the virtual disk GB Example A x7210 storage with a capacity of 46 TB can support 46 1024 GB 2 8 GB 2944 8 GB disks in a RAID 10 configuration Helpful Hints e The graphic performance of desktops is better without background images Avoid processes which generate constant or even worse burst disk I O as for example the indexing service of MS Windows or virus scanners with a scheduled scan every Friday at 9 pm Appendix The script used during the sizing tests starts a sequence of applications generating a workload which is aligned with the heavy worker workload as defined in VMware s VDI server sizing and scaling Start PowerPoint Load a massive presentation and browse the slides Close PowerPoint Start Internet Explorer Browse three different Web pages Close Internet Explorer Start Command Prompt Do a directory listing Start PowerPoint Load a massive presentation and browse the slides Close PowerPoint Start Excel Open an Excel sheet Close Excel Start PowerPoin
276. wing content REGEDIT4 HKEY_ LOCAL MACHINE SYSTEM CurrentControlSet Control TerminalServer fDenyTSConnections dword 00000000 192 Sun Virtual Desktop Infrastructure 3 0 The enableRdp reg file is used at the end of the Sysprep process to enable RDP in the Windows registry 3 For Windows XP manual Sysprep include the following under Additional Commands in the Setup Manager tool The Setup Manager tool is used to create answer files for Sysprep 4 For Windows Vista manual Sysprep and customization specs create a batch file called SetupComplete cmd in the SWINDIR Setup Scripts directory with the following content Windows Vista looks for 3WINDIR Setup Scripts SetupComplete cmd and executes it at the end of every setup process including Sysprep The default setting for SWINDIRS is C Windows The window displaying the VMware hosted virtual desktop is freezing The window displaying the VMware hosted virtual desktop is freezing If you suspend or power down your virtual machine without first closing the RDP connection the guest OS dies but the RDP connection remains active The result is a non responsive window displaying the last known state of your Windows session The following steps show how to set the Run VMware Tools Scripts panel on both the Virtual Infrastructure Client and the guest OS to avoid this problem 1 Configure the Run VMware Tools Scripts panel on the Virtual Infrastructure Client a Select Edit Set
277. ysical host Please note that the requirement for this deployment option is to run Solaris 10 Update 7 on this host with the latest patch installed Concerning the database you would have a locally installed MySQL Server with an InnoDB engine and connect to it selecting the remote database option during VDI 3 configuration This kind of deployment offers zero redundancy meaning it is one big Single Point of Failure The VDI support contracts only cover a VDI configuration with an embedded MySQL database The Single Host Configuration uses a locally installed MySQL database with a InnoDB engine which must be configured as a remote database Therefore if you want support service for the database component of the Single Host Configuration you must purchase an additional MySQL service contract For more information see the MySQL Support page 24 Sun Virtual Desktop Infrastructure 3 0 Sun VirtualBox YOI Service VirtualBox on Primary Host Configuration In the VirtualBox on Primary Host Configuration the Sun VDI 3 Primary node and one of your VirtualBox hosts share one physical machine Make sure the shared host has enough capacity to deal with these two roles at the same time For more information about sizing VirtualBox configurations see the Deployment Guide WD Primary Primary Host Virtualized Configuration In the Primary Host Virtualized Configuration the Sun VDI 3 Primary node runs in a virtual machine
Download Pdf Manuals
Related Search
Related Contents
PARTS & SERVICE MANUAL Copyright © All rights reserved.
Failed to retrieve file