Wednesday Jul 15, 2009

Sun VDI 3.0 Demo Installation 2 2/3

Hi,

short update on the demo installation. The directory server is successfully installed.
Here is what I did to install and configure the ldap server:

Install Directory Server 6.3
=============================

Installation instructions
--------------------------
http://docs.sun.com/doc/820-2761
http://docs.sun.com/doc/819-2191

Document collection
--------------------
http://docs.sun.com/coll/1224.4

So, after downloading the tarball, gunzip and extract the files ( tar xf ).
Read the README.txt and open the installation instructions. Following it, we do:

Install the DS Server
----------------------
Change your current directory to the download directory and change to the install dir of DS 6.3.
bash-3.2# cd DSEE_ZIP_Distribution/
bash-3.2#
bash-3.2# ls
dsee_data dsee_deploy idsktune

run
bash-3.2# ./dsee_deploy install -i /local -p 11169
:
:
:
Unzipping sun-ldap-console-gui-l10n.zip ...
Unzipping sun-ldap-console-gui-help-l10n.zip ...
Creating WAR file for Console

Configuring Cacao at /local/dsee6/cacao_2
Setting Cacao parameter jdmk-home with default value [/local/dsee6/private]
Setting Cacao parameter java-home with default value [/local/jre]
Setting Cacao parameter nss-lib-home with default value [/local/dsee6/private/lib]
Setting Cacao parameter nss-tools-home with default value [/local/dsee6/bin]
Setting Cacao parameter jmxmp-connector-port with value [11169]
Registering DSCC agent into cacao
Starting Cacao if necessary
Registering JESMF agent into Cacao
Making a copy of dsee_deploy
Making a copy of listrunnings64
You can now start your Directory Server Instances
You can now start your Directory Proxy Server Instances
bash-3.2#

Now we need to configure the directory server.
----------------------------------------------

1. Create an instance
The working directory is /local/ds6/bin

bash-3.2# ./dsadm create -p 389 -P 636 /local/ds
Choose the Directory Manager password:
Confirm the Directory Manager password:
Use 'dsadm start '/local/ds'' to start the instance
bash-3.2#

2. start the instance

bash-3.2# ./dsadm start /local/ds
Directory Server instance '/local/ds' started: pid=10880
bash-3.2#

3. verify if you can read the root DSA Specific Entry ( DSE ) of your instance

bash-3.2# ldapsearch -h gandalf -p 389 -b "" -s base "(objectclass=\*)"
version: 1
dn:
objectClass: top
supportedExtension: 2.16.840.1.113730.3.5.7
supportedExtension: 2.16.840.1.113730.3.5.8
supportedExtension: 1.3.6.1.4.1.4203.1.11.1
supportedExtension: 2.16.840.1.113730.3.5.3
supportedExtension: 2.16.840.1.113730.3.5.5
supportedExtension: 2.16.840.1.113730.3.5.6

Fine! Now configure the DS Server:
----------------------------------

1. create an suffix dc=demo, dc=com; NOTE: if you use dc=example, dc=com you can import the /local/ds6/ldif/Example.ldif afterwards!

bash-3.2# ./dsconf create-suffix -h gandalf -p 389 dc=demo,dc=com
Certificate "CN=gandalf, CN=636, CN=Directory Server, O=Sun Microsystems" presented by the server is not trusted.
Type "Y" to accept, "y" to accept just once, "n" to refuse, "d" for more details: Y
Enter "cn=Directory Manager" password:

2. check it

bash-3.2# ldapsearch -h gandalf -p 389 -b "" -s base "(objectclass=\*)"
version: 1
dn:
objectClass: top
namingContexts: dc=demo,dc=com

hurrah... finished.

Now we can continue our VDI configuration, finally:
Go to
http://server_name:1800 or http://localhost:1800

and setup your Desktop Pools, how we do this, I will describe later.
But, meanwhile, you can try it yourself http://wikis.sun.com/display/VDI3/Getting+Started+-+VDI+Demo.

Good luck,
claudia

Monday Jul 13, 2009

Sun VDI 3.0 Demo Installation 2 1/2

Hi folks,

I started to go further with my demo setup and whoops, ran into the first obstacles.I have to realize that we must go through some painfull tasks.\*smile\*

There is NO WAY continuing to set up desktop providers and to configure VDI as long as we do not have installed LDAP ( or you can use AD )!
So, right now, I am downloading Sun Directory Server Enterprise Edition.

Meanwile you can check this and also download and setup the LDAP Server.

The tasks are:
The easiest ones are to check if all services are up and running and some if some parameters were set:
1. enable iscsi target SMF service
# svcadm enable svc:/system/iscsitgt:default

2. the webpage recommends to limit the ARC cache of ZFS, for example to 2 GB
set zfs:zfs_arc_max = 2147483648

3.check and - eventually - enable ssh:
bash-3.2# svcs svc:/network/ssh:default
STATE STIME FMRI
online 16:53:45 svc:/network/ssh:default

4. check your http service:
bash-3.2# svcs svc:/network/http:apache22
STATE STIME FMRI
online 16:53:49 svc:/network/http:apache22
bash-3.2#

5. check if the webservice for VirtualBox is enabled:
bash-3.2# svcs svc:/application/virtualbox/webservice:default
STATE STIME FMRI
disabled 16:53:25 svc:/application/virtualbox/webservice:default
bash-3.2#

If the service is not enabled, as in this case, enable it by using svcadm:
bash-3.2# svcadm enable svc:/application/virtualbox/webservice:default

check the state afterwards:
bash-3.2# svcs svc:/application/virtualbox/webservice:default
STATE STIME FMRI
online 17:24:02 svc:/application/virtualbox/webservice:default
bash-3.2#

and finally, we need to setup LDAP.
1. Get the Directory Server here at no cost, no kidding, as the webpage tells you:
http://www.sun.com/software/products/directory_srvr_ee/get.jsp
Select Directory Server Enterprise Edition
Select Version 6.3.1
Select Compressed Archive ( zip )
Select Solaris 10 64x86, if you use an x86 box, like me.

and download the full version of 384 MB................. and configure the Directory Server.
Installation instructions are:
http://docs.sun.com/app/docs/doc/820-2761/
http://docs.sun.com/app/docs/coll/1224.4

cu tomorrow!
claudia

Tuesday Jun 02, 2009

Sun VDI 3.0 .. to be continued

Still I have to continue my VDI 3.0 demo setup, and I will do as soon as I can and have time, I promise!
Meanwhile I like to point to this blog. It answers the question: Why you need 3 VDI hosts and what you can do about that?

So here are the advices from Tino Rachui, the responsible engineer for the MySQL database integration, for a production setup.

http://blogs.sun.com/tinor/

To setup a demo, it is possible to install all three components, VDI, VirtualBox and storage on the same system.

cu,
claudia

Tuesday Apr 28, 2009

VDI 3.0 Demo Installation

Recently I bought a mini pc, an Acer Aspire X1700 and I set up a VDI 3.0 showcase.The Acer Aspire X1700 is so small and light weight, you can put it in a small business suitcase or a larger bag and take it to customer visits.

In this first part I share my experiences with the installation and configuration of VDI 3.0.
In a second part I will explain how I setup desktop pools, provide storage for the VMs and so on.

The VDI 3.0 Installation instructions by Stephanie Lewellen were very helpful.

Systems Configuration
check system requirements

My Equipment:
Acer Aspire X1700, Mini PC
CPU: Intel Core 2 Quad 8200
RAM: 4 GB
Disk space: 1 TB
onboard LAN: RTL8211b
LAN: e1000g0 ( I ordered an Intel Pro NIC, because the onboard chip RTL8211b was not recognized by Solaris Express ).
View the prtconf file.

I used Solaris Express Build112.
For the Sun Ray Service it is important to use a static IP Address.


bash-3.2# uname -a
SunOS gandalf 5.11 snv_112 i86pc i386 i86pc
bash-3.2#

I set up following disk partitions:


bash-3.2# format
Searching for disks...done

AVAILABLE DISK SELECTIONS:
0. c1t0d0
/pci@0,0/pci1025,158@e/disk@0,0

Specify disk (enter its number): 0
partition> p
Current partition table (original):
Total disk cylinders available: 60797 + 2 (reserved cylinders)

Part Tag Flag Cylinders Size Blocks
0 root wm 1 - 1913 29.31GB (1913/0/0) 61464690
1 unassigned wm 1914 - 3826 29.31GB (1913/0/0) 61464690
2 backup wm 0 - 60796 931.46GB (60797/0/0) 1953407610
3 unassigned wm 3827 - 4336 7.81GB (510/0/0) 16386300
4 home wm 4337 - 16813 191.16GB (12477/0/0) 400886010
5 unassigned wm 16814 - 31474 224.62GB (14661/0/0) 471057930
6 unassigned wm 31475 - 46135 224.62GB (14661/0/0) 471057930
7 unassigned wm 46136 - 60796 224.62GB (14661/0/0) 471057930
8 boot wu 0 - 0 15.69MB (1/0/0) 32130
9 unassigned wm 0 0 (0/0/0) 0

Slice 0 is the root partion, of course.
Slice 1 is for future purpose to upgrade the BE with Live upgrade and this partition will be used as ABE.
Slice 3 is the /swap partition. This partition should be twice the size of the amount of physical memory. So in my case it is 8GB.
Slice 4 is used for /export/home.
Slice 5, 6 and 7 is used for ZFS. Later you'll see that I use these slices as zpools and to provide one of the zpools as storage for the VMs via iSCSI.

Download Software

For the VDI 3.0 installation you need:
1. SUN VDI Software 3.0 for Solaris ( 90 days trial )

2. additionally get VirtualBox to create VMs
The latest release to use with Sun VDI 3.0 is VirtualBox version 2.0.8

3. OpenSolaris 2008.11 to provide ISCSI storage as VM via Sun xVM VirtualBox.

4.and finally, but not necessarily
Sun Secure Global Desktop Software
to provide access to centralized Windows, Linux, Unix applications ( 30 days trial ), if you so wish.

Installation and Configuration
Links:
http://wikis.sun.com/display/VDI3/Home
http://wikis.sun.com/display/VDI3/Installing Setup VDI 3.0 with Sun xVM VirtualBox
http://wikis.sun.com/display/VDI3/How+to+Set+Up+an+OpenSolaris+Storage+Server How to Set Up an OpenSolaris Storage Server

1. Set Up and prepare an OpenSolaris Storage Server

create zpools
I used slices c1t0d0s5, c1t0d0s6 and c1t0d0s7 as explained above.
Run the following comamnds as root:

# zpool create pool1 c1t0d0s5
# zpool create pool2 c1t0d0s6
# zpool create pool3 c1t0d0s7

Check the zpool status:

bash-3.2# zpool status
pool: pool1
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
pool1 ONLINE 0 0 0
c1t0d0s5 ONLINE 0 0 0

errors: No known data errors

pool: pool2
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
pool2 ONLINE 0 0 0
c1t0d0s6 ONLINE 0 0 0

errors: No known data errors

pool: pool3
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
pool3 ONLINE 0 0 0
c1t0d0s7 ONLINE 0 0 0

errors: No known data errors
bash-3.2#

use pool1 for VDI
create a ZFS filesystem for the Virtual machines/operatingsystems.

bash-3.2# zfs create pool1/VDI

create ZFS Volumes as VM storage. Later, I will sahre them via iSCSI.

bash-3.2# zfs create -V 1g pool1/vmhome1
bash-3.2# zfs create -V 1g pool1/vmhome2
bash-3.2# zfs create -V 1g pool1/vmhome3
bash-3.2# zfs create -V 1g pool1/vmhome4

setup a /swap ZFS Volume used by VirtualBox ( twice the size of phys. RAM ).

bash-3.2# zfs create -v 8g pool1/swap

list the zfs filesystems.

bash-3.2# zfs list
NAME USED AVAIL REFER MOUNTPOINT
pool1 30.0G 190G 21K /pool1
pool1/VDI 18.0G 190G 18.0G /pool1/VDI
pool1/swap 8G 198G 16K -
pool1/vmhome1 1G 191G 16K -
pool1/vmhome2 1G 191G 16K -
pool1/vmhome3 1G 191G 16K -
pool1/vmhome4 1G 191G 16K -
pool2 70K 220G 19K /pool2
pool3 70K 220G 19K /pool3
bash-3.2#

list the zfs volumes, only.

bash-3.2# zfs list -t volume
NAME USED AVAIL REFER MOUNTPOINT
pool1/swap 8G 198G 16K -
pool1/vmhome1 1G 191G 16K -
pool1/vmhome2 1G 191G 16K -
pool1/vmhome3 1G 191G 16K -
pool1/vmhome4 1G 191G 16K -

and list zfs filesystems, only.

bash-3.2# zfs list -t filesystem
NAME USED AVAIL REFER MOUNTPOINT
pool1 30.0G 190G 21K /pool1
pool1/VDI 18.0G 190G 18.0G /pool1/VDI
pool2 70K 220G 19K /pool2
pool3 70K 220G 19K /pool3
bash-3.2#

check the content of the zpools simply by changing the directory and list the contents.

bash-3.2# cd /
bash-3.2# ls
bin export media pool1 root usr
boot home mnt pool2 sbin var
dev kernel net pool3 swap
devices lib opt proc system
etc lost+found platform rmdisk tmp
bash-3.2#
bash-3.2# cd pool1
bash-3.2# ls
VDI
bash-3.2# cd VDI
bash-3.2# ls
Opensolaris200811.vdi Windows2003.vdi

Well, this is done. Next step is to install VirtualBox to create and maintain VMs.

2. Install VirtualBox
Change to the directory were you stored the VirtualBox download files. I stored it the directory "Downloads" in roots homedirectory. First, the .gz file must be unpacked, then the .tar file must be unpacked and finally the package is installed.

bash-3.2# cd /root
bash-3.2# ls
Desktop Documents Downloads Public core
bash-3.2# cd Downloads
bash-3.2# ls
VirtualBox-2.0.8-44071-SunOS_amd64.tar.gz
vbox_2.0.zip
vda_3.0_amd64.zip
bash-3.2#
bash-3.2# gunzip VirtualBox-2.0.8-44071-SunOS_amd64.tar.gz
bash-3.2# tar xf VirtualBox-2.0.8-44071-SunOS_amd64.tar
bash-3.2#
bash-3.2# pkgadd -d VirtualBoxKern-2.0.8-SunOS-r44071.pkg

The following packages are available:
1 SUNWvboxkern Sun xVM VirtualBox Kernel Interface Module
(i386) 2.0.8,REV=2009.03.09.22.19

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:

Processing package instance from

## Installing part 1 of 1.
/platform/i86pc/kernel/misc/amd64/vbi
/platform/i86pc/kernel/misc/vbi
[ verifying class ]

Installation of was successful.
bash-3.2#
bash-3.2# pkgadd -d VirtualBox-2.0.8-SunOS-amd64-r44071.pkg

The following packages are available:
1 SUNWvbox Sun xVM VirtualBox
(i386) 2.0.8,REV=r44071.2009.03.09.22.19

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:

Processing package instance from

Sun xVM VirtualBox(i386) 2.0.8,REV=r44071.2009.03.09.22.19
VirtualBox Personal Use and Evaluation License (PUEL)

License version 7, September 10, 2008

The following files are being installed with setuid and/or setgid
permissions:
/opt/VirtualBox/VBoxBFE
/opt/VirtualBox/VBoxHeadless
/opt/VirtualBox/VBoxSDL
/opt/VirtualBox/VirtualBox

Do you want to install these as setuid/setgid files [y,n,?,q] y

This package contains scripts which will be executed with super-user
permission during the process of installing this package.

Do you want to continue with the installation of [y,n,?] y

Installing Sun xVM VirtualBox as

## Executing postinstall script.
Configuring VirtualBox kernel modules...
VirtualBox Host kernel module loaded.
VirtualBox NetFilter kernel module loaded.
Creating links...
Done.

Installation of was successful.
bash-3.2#

3. Start VirtualBox and lauch the GUI

Now that the package was installed successfully, we go further to create VMs, which we later can use as templates for additional VMs.
Open a terminal and start VirtualBox

bash-3.2# /opt/VirtualBox/VirtualBox &


Note: Please ignore the message that there is a new version of VirtualBox, the installed Version 2.0.8 is a special version for VDI 3.0.

In the GUI
a. click New
b. give it a name, e.g "Opensolaris2008.11"
c. choose OS Type OpenSolaris and click Next
d. Base Memory Size should be 1G and click Next
e. for the Boot Hard Disk click New then Next chosse Fixed-size image and follow the instructions ( Image File Name = OpenSolaris2008.11, Image Size = 16.00GB ), click Next and then Finish
alternately you can use an existing vdi image, then click on Existing, click Add and Browse to the Image File e.g. /pool1/VDI/Opensolaris200811.vdi, click Select, click Next and Finish
f. go to Settings in the GUI and choose CD/DVD-ROM, activate the check box Mount CD/DVD Drive, automatically the check box Host CD/DVD Drive and the appropriate drive will be enabled. Note: if you choose an already existing File image deactivate the Mount CD/DVD Drive check box. You can later mount the CD/DVD Drive in the VM Menu Devices.
g. Go to Network and Enable Network Adapter, if not already done. Click OK.
h. Start the VM by clicking Start in the GUI and the installation starts from CD or altenately the VM starts from the existing Hard Disk Image
i. Install the Guest Additions via VM Menu Devices Install Guest Additions

Install additional VMs

repeat the steps from 3. for all other VMs you wish to install.
If you install Windows XP you finally install the System Preparation file ( sysprep file ) to be able to create clones of your Windows XP VM template and to automatically customize neccessary identy and domain settings.
In the GUI
a. click New
b. give it a name, e.g WindowsXP
c. choose OS Type Windows XP and click Next
d. Base Memory Size should be 1G and click Next
e. for the Boot Hard Disk click New then Next chosse Fixed-size image and follow the instructions ( Image File Name = WindowsXP, Image Size = 10.00GB ), click Next and then Finish
f. go to Settings in the GUI and choose CD/DVD-ROM, activate the check box Mount CD/DVD Drive, atumatically the check box Host CD/DVD Drive and the appropriate drive will be enabled.
g. Go to Network and Enable Network Adapter, if not already done. Click OK.
h. Start the VM by clicking Start in the GUI and the Installation starts
i. Install the Guest Additions via VM Menu Devices Install Guest Additions
j. After successfully installed Windows XP start the internet Explorer and get the cab files
k. Install the System Preparaton file by unpacking it in C:/Sysprep. You can download the files here:
Windows XP Service Pack 2 Deployment Tools
http://www.microsoft.com/downloads/details.aspx?FamilyId=3E90DC91-AC56-4665-949B-BEDA3080E0F6&displaylang=en
Windows XP Service Pack 3 Deployment Tools
http://www.microsoft.com/downloads/details.aspx?FamilyID=673a1019-8e3e-4be0-ac31-70dd21b5afa7&displaylang=en
Copy the deploy.cab in C:/, create a new directory called Sysprep, then double-click on the deploy.cab icon, and copy all files to C:/Sysprep.
l. Activate the sysprep file
change directory to Sysprep and run sysprep by double-clicking
activate reseal button to generate SIDs ( security identifiers on next reboot; and activate the mini-prep.
or run
# C:\\Sysprep\\sysprep.exe \\-mini \\-reseal \\-quiet \\-activated
After this the Windows XP VM will be shut off. Restart it in VirtualBox GUI with Start.
m. Windows XP restarts

Repeat the steps for any other OS and enter an appropriate name in step b. and in step c. choose the according OS type.

4. Installation of VDI 3.0

Now it is time to install the VDI 3.0 package.
Go to the directory where you stored the downloaded files, unpack it and folow the installation steps followed:

bash-3.2# unzip vda_3.0_amd64.zip
bash-3.2# cd image
bash-3.2# ls
Copyright
FR_Copyright
Legal
README.html
README.txt
Supplemental
mysql-cluster-com-6.3.20-solaris10-x86_64.tar.gz
srss_4.1
srwc_2.1
vda-install
vda_3.0
bash-3.2#

Start the installtion by running that script:

bash-3.2# ./vda-install
Please contact Sun Microsystems, Inc. 4150 Network Circle, Santa Clara, Califor
nia 95054 if you have questions.
Do you accept the license agreement? (y/n) y
Sun VDI 3.0 Installation
+ Installing Sun Ray Server Software...
VDI 3.0 installs
- Sun Ray Server Software...
- Sun Ray Connector for Windows Operating Systems...
- Sun VDI Core...
- MySQL Database...
- Installing Web Administration...
- Installing Apache Tomcat...
- Installing RDP Broker...
- Installing Sun Ray Client...

Sun VDI 3.0 was succesfully installed!
A log file is available at '/var/sadm/install/logs/vda-install.2009_04_17_20:19:14.log'.

It is necessary to reboot the server now. Please do not use 'reboot', but 'init 6'. 'init 6' forces the system to shutdown properly and to run necessary scripts to make changes to the system, which reboot doesn't.

5. Configuration of SUN VDI 3.0

After that you can continue to configure Sun VDI 3.0 with '/opt/SUNWvda/sbin/vda-config'.
Run

bash-3.2#/opt/SUNWvda/sbin/vda-config

to configure the VDI including the Sunray Services,Kiosk Session configurations, and Windows Connector.

bash-3.2# cd /opt/SUNWvda/sbin
bash-3.2# ./vda-config

Sun Virtual Desktop Infrastructure 3.0 Configuration

A high available VDI environment requires at least 3 servers or access to a remote database.

If you want to create a Sun VDI database cluster configure the Primary Sun VDI Host first. During the configuration you will be asked to enter the DNS names of two unconfigured Secondary Sun VDI Hosts.
If this is the configuration of a Secondary Sun VDI Host then you will be asked to enter the DNS name of the configured Primary Sun VDI Host.

If you decide to use a remote database, then configure the Primary Sun VDI Host first. A Secondary Sun VDI Host is recommended to host the Sun Ray sessions.

An Evaluation Sun VDI Host configures all necessary components on one server.

1 Primary Sun VDI Host
2 Secondary Sun VDI Host
0 Evaluation Sun VDI Host

Select (1/2/0): 0

for an evaluation installation

Sun Ray Server Software Configuration
+ Providing configuration data...
+ Loading Sun Ray data store...
+ Populating Sun Ray data store...
+ Creating Sun Ray core services configuration...
+ Restarting Sun Ray data store daemon...
+ Configuring Sun Ray Server Software Web Administration...
+ Adding 10 user accounts for Sun Ray sessions...

Sun Ray Client Configuration
+ Setting Kiosk Mode Session Type to 'vda'...
+ Enabling Kiosk Mode Policy for All Card and Non-Card Users...
+ Enabling LAN Connections...
+ Configuring Sun Ray Connector for Windows Operating Systems...

and then the process stuck and I stopped the the install script.
Looking into the log file /var/adm/log vda-config.date_time.log, I could see, the script wanted me to confirm the location of libcrypto.so.0.9.8.

Adding user root ...
User(s) added successfully!
Deleting user admin ...
User(s) deleted successfully!
+ Configuring Sun Ray Connector for Windows Operating Systems...
Enter complete location for libcrypto.so.0.9.7 [/usr/sfw/lib/libcrypto.so.0.9.8]
:
Invalid filename /usr/sfw/lib/libcrypto.so.0.9.8
Enter complete location for libcrypto.so.0.9.7 [/usr/sfw/lib/libcrypto.so.0.9.8]
:
Invalid filename /usr/sfw/lib/libcrypto.so.0.9.8
Enter complete location for libcrypto.so.0.9.7 [/usr/sfw/lib/libcrypto.so.0.9.8]
:
bash-3.2#

The workaround is to create a softlink in /usr/sfw/lib to the existing libcrypto.so.0.9.8 in /lib:

bash-3.2# cd /usr/sfw/lib
bash-3.2# ln -s /lib/libcrypto.so.0.9.8
bash-3.2# ls libcr\*
libcrypto.so.0.9.8

If you stopped the script, like I did, you have to unconfigure VDI 3.0, before you can restart the configuration. For this run:

bash-3.2# cd /opt/SUNWvda/sbin
bash-3.2# ls
vda vda-db-status vda-migrate vda-webadmin
vda-config vda-install vda-service
bash-3.2# ./vda-config -u

Sun Virtual Desktop Infrastructure 3.0 Configuration

Do you want to unconfigure? (y/[n]) y
The unconfiguration of Sun VDI 3.0 has completed.
A log file is available at '/var/adm/log/vda-config.2009_04_17_20:56:43.log'.
bash-3.2#

and then start the configuration, again.

bash-3.2# pwd
/opt/SUNWvda/sbin
bash-3.2# ./vda-config

Sun Virtual Desktop Infrastructure 3.0 Configuration

A high available VDI environment requires at least 3 servers or access to a remote database.

An Evaluation Sun VDI Host configures all necessary components on one server.

1 Primary Sun VDI Host
2 Secondary Sun VDI Host
0 Evaluation Sun VDI Host

Select (1/2/0): 0

Sun Ray Server Software Configuration
+ Providing configuration data...
+ Loading Sun Ray data store...
+ Populating Sun Ray data store...
+ Creating Sun Ray core services configuration...
+ Restarting Sun Ray data store daemon...
+ Configuring Sun Ray Server Software Web Administration...
+ Adding 10 user accounts for Sun Ray sessions...

Sun Ray Client Configuration
+ Setting Kiosk Mode Session Type to 'vda'...
+ Enabling Kiosk Mode Policy for All Card and Non-Card Users...
+ Enabling LAN Connections...
+ Configuring Sun Ray Connector for Windows Operating Systems...

This is the point where I stuck before.
Press to confirm the path you can not see on the screen yet.
And the install script proceeds:

+ Restarting Sun Ray Server Software...

MySQL Database Configuration
+ Creating MySQL group (vdadb)...
+ Creating MySQL user (vdadb)...
+ Setting up MySQL directory...
+ Setting up MySQL cluster directory...
+ Initializing database...
+ Starting Sun VDI database (MySQL)...

Be patient, this takes some time.....

+ Setting user rights...
+ Creating database tables...

this takes some time too .....

+ Configuring database connection...

Sun VDI Web Administration Configuration
+ Enabling Sun VDI web administration...
+ Restarting Sun VDI web administration...

RDP Broker Configuration
+ Starting RDP broker...

Common Agent Container Configuration
+ Restarting Common Agent Container service...
+ Enabling Common Agent Container Service default instance at system boot...

The configuration of Sun VDI 3.0 has completed.
A log file is available at '/var/adm/log/vda-config.2009_04_17_20:58:31.log'.

The command line tools are located at '/opt/SUNWvda/sbin'.
You can access the Sun VDI web administration at http://gandalf:1800
bash-3.2#

finally we made it.

check the log file to view the configuration logs:

bash-3.2# less vda-config.date_new_time.log
bash-3.2#

Note: 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/mysqladmin --defaults-file=/etc/opt/SUNWvda/my.cnf password .

The installation is finished.
The next steps are to create and administrate desktop pools and VMs.
These steps and my expereinces I am going to decribe in part two,soon.

You can access the Sun VDI web administration UI at http://servername:1800
A helpful instuction how to go further is here http://wikis.sun.com/display/VDI3/Administering .

claudia

Wednesday Apr 08, 2009

VDI 3.0 Presentation ( in german )

Last week I presented our Sun Ray architecture, and the benefits and features of VDI 3.0.

Here is the presentation ( in german ).

Tuesday Feb 17, 2009

Desktop Virtualisierung VDI 3.0

[Read More]

Tuesday Oct 02, 2007

I was asked for the cookbook "VDA Installation"

Yes, there is a cookbook about how to install the VDA kit and setup VMware etc. and I forgot to add the link in my previous blog entry.

But here it is:

The cookbook was created by Dirk Grobler, HAM02.

http://www.sun.com/bigadmin/features/articles/vda_kit_demo.jsp

 

which guides you to reference links listed at the end of the document.

And, there is a blueprint available also written by Dirk Grobler and Warren Ponder. You can find it here:

 http://www.sun.com/blueprints/0307/820-1325.html

And Dirk Groblers wiki page: 

 http://wiki.sun-rays.org/index.php/VDA_Cookbook

 Have fun.


 

Monday Sep 24, 2007

Last week in Munich

Last week, I participated the "PTE Workshop VDA kit" in Munich initiated by my dear colleagues Thomas Assum, Thomas Spandoeck and Carsten Thalheimer. 18 participants and Sun partners came together to setup virtual desktops with VMs on an ESX 3.0.1 Server, Sun Secure Global Desktop Software and Sun Ray Software 4. This was fun!

We hastened through the cookbook: installation of the Virtual Infrastructure Software, installation of a Solaris10, a Windows 2003 Server and finally XP VM; installation and configuration of SSGD and finally setting up virtual desktops using the VDA kit.

I was really impressed how easy it ws to configure the software and to setup the components.

Now, on 11th of September 2007 Sun announced Sun Virtual Desktop Infrastructure Software 1.0 (Sun VDI).

Installed on Solaris 10 and in combination of VMWare Infrastructure 3 Software it enables you to setup virtual desktops and to consolidate them onto datacenter servers. This way users can own their  dedicated desktop evironment, customized to their needs and isolated from other users.

Virtual desktops can be cloned, copied, updated and maintained centralized. Critical data is kept in the datacenter and can be backuped and administrated by your IT Administrators easily.

Data is safe of lost and theft.

Virtual desktops replaces your traditional PCs such as Windows or Mac OS and makes the administration easier. Thin clients from Sun or other vendors can be used as well.

Organizations are able to create many desktop environments on one single Sun Fire x64 system and VMware ESX Server.

If you are interested in more details, have a look here: 

http://www.sun.com/datacenter/consolidation/virtualization/desktop/


http://www.sun.com/aboutsun/pr/2007-09/sunflash.20070911.1.xml?printFriendly=true


http://infobahn.central/DE/trainings/pte/index.html


http://www.sun.com/software/products/sgd/index.jsp


http://www.sun.com/software/sunray/index.jsp


http://www.sun.com/tryandbuy/vmware.jsp


http://www.vmware.com/pdf/vi3_esx_quickstart.pdf


About

Claudia Hildebrandt \* Sytems Engineer \* Sun Microsystems GmbH \* Berlin \*

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
Bookmarks
VMware
Misc
VirtualBox
xVM Products
Storage
Solaris
Sun Ray
claudia@Web 2.0
Visualization
Server