Deploy Ulteo 4.0.2 on CentOS 6.7 in multi server setup

Ulteo Open Virtual Desktop (OVD) is a delivery platform that provides on-demand access to virtual desktops and applications from public and private cloud hosted environments. Ulteo OVD supports Windows Remote Desktop Services and Linux hosted desktop and application sessions. Ulteo Website

In this how-to we will be installing Ulteo on CentOS 6.7. We will have 3 vm’s with CentOS 6.7 minimal install. We will install Session Manager, Application Server and Web Portal on Linux CentOS 6.7.

Prerequisites

  1. 3 vm’s running CentOS 6.7 minimal
  2. selinux disabled (this is not recommended for production systems but in our case we do it as proof of concept install  )
  3. disabled firewall on all 4 vm’s ( again this is not recommended)
  4. all networking should be configured and vm’s should be reachable between each other.
  5. All vms have latest patch levels

Session Manager Installation

We must make sure php version is upgraded to 5.4 from 5.3 on session manager. If version upgraded to higher version or left as is it will brake dependencies during install. Session manager will also require LAMP stack installed with mysql database.

 

Install LAMP stack

yum install httpd
service httpd start
chkconfig httpd on
yum install mysql mysql-server
chkconfig mysqld on
service mysqld start
mysqladmin -u root password 'password'
mysql -u root -p -e 'create database ovd'
yum install php php-mysql
service httpd restart
chkconfig httpd on

 

Install wget so we can download necessary packages

yum install wget

Install EPEL repository

wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm && rpm -Uvh epel-release-latest-6.noarch.rpm 
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm && rpm -Uvh remi-release-6*.rpm 

Enable EPEL repository by making sure enable and gpgcheck directives set to 1

vi /etc/yum.repos.d/remi.repo

[remi]
name=Remi's RPM repository for Enterprise Linux 6 - $basearch
baseurl=http://rpms.remirepo.net/enterprise/6/remi/$basearch/
mirrorlist=http://rpms.remirepo.net/enterprise/6/remi/mirror
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi

Check your php version. If it is 5.3.3 we will need to upgrade it

php -v   
yum -y update php*
rpm -qa | grep php

Add Ulteo repository

vi /etc/yum.repos.d/ovd.repo

[ovd-4.0.2]
name=Ulteo OVD 4.0.2
baseurl=http://archive.ulteo.com/ovd/4.0/centos/6.0/
enabled=1
gpgcheck=1
gpgkey=http://archive.ulteo.com/ovd/4.0/centos/6.0/keyring

Install session manager

yum install ulteo-ovd-session-manager ulteo-ovd-administration-console

Launch the configuration tool

sm-config
Admin login: admin
Password: 
Retype password: 
Chroot download url [http://archive.ulteo.com/ovd/4.0.2/subsystem/base.tar.gz]: 
Chroot destination [/var/cache/ulteo/sessionmanager/base.tar.gz]: 

Options:
* chroot download:  yes
* chroot URI:       http://archive.ulteo.com/ovd/4.0.2/subsystem/base.tar.gz
* chroot directory: /var/cache/ulteo/sessionmanager/base.tar.gz

Is this correct? [Y/n]

Launch the Administration Console configuration tool

ovd-administration-console-config
Session Manager address [127.0.0.1]: 

We are done with session manager lets restart httpd service

service httpd restart         

At this point you can login to your session manager http://ip_address/ovd/admin
The first time you log in, the system detects that it is not configured so you are redirected to a basic setup page which will save a default configuration. You will also be prompted to set the MySQL configuration.

Application Server Installation

Setup Ulteo repository

/etc/yum.repos.d/ovd.repo

[ovd-4.0.2]
name=Ulteo OVD 4.0.2
baseurl=http://archive.ulteo.com/ovd/4.0/centos/6.0/
enabled=1
gpgcheck=1
gpgkey=http://archive.ulteo.com/ovd/4.0/centos/6.0/keyring

Now we run install and launch configuration script

yum install ulteo-ovd-subsystem
ovd-subsystem-config
Session Manager address : sm.test.demo
Chroot destination [/opt/ulteo]:
      

Configure and start the Ulteo service

chkconfig ulteo-ovd-subsystem on
service ulteo-ovd-subsystem restart

Installing a Web Portal

Setup Ulteo repository

/etc/yum.repos.d/ovd.repo

[ovd-4.0.2]
name=Ulteo OVD 4.0.2
baseurl=http://archive.ulteo.com/ovd/4.0/centos/6.0/
enabled=1
gpgcheck=1
gpgkey=http://archive.ulteo.com/ovd/4.0/centos/6.0/keyring

Install web portal the packages

yum install ulteo-ovd-web-client ulteo-ovd-web-client-ajaxplorer ulteo-ovd-guacamole   

Launch the configuration tool

ovd-webclient-config
Do you want to link the Web Portal to a specific Session Manager ? ([yes]/no): 
Session Manager address [127.0.0.1]:

Configure and start apache service

chkconfig httpd on
service httpd restart 

Configure and start tomcat 6 service also start guacd service

chkconfig tomcat6 on
service tomcat6 restart
chkconfig guacd on
cd /etc/init.d
./guacd restart

Post Installation

  1. Activate application and file server in session manager
  2. After server is added to application server list, create User Group and Application Group , use publication to connect user group and application group.
  3. Setup necessary shares and assign permissions to shared folders managed via group membership servers – shared folders