Gordon Welling Admin Group

Manager Technnical Support Services
Joined: 11-December-2003 Location: Canada Posts: 550
|
| Posted: 04-September-2008 at 3:20pm
|
|
|
Riva Enterprise for Linux: Admin Guide
This document includes:
- Steps to install Riva Enterprise on Linux - Managing the Riva CRM Agent Service - Uninstall the Riva CRM Agent Service - Uninstall and Remove Riva Enterprise - Upgrade Riva Enterprise
NOTE - before proceeding, read How-to Install Riva Enterprise on Linux
STEPS TO INSTALL RIVA ON LINUX
Phase 1: Create Users and Groups
- Open Yast > User and Group Management
- Create a group called 'omni'
- Create a user called 'riva' and make sure it is a member of the 'users' and 'omni' groups
- Close Yast.
- Logout
- Login as user riva
Phase 2: Install Mono 1.9.1 or 2.0 (if required)
Installing Mono 1.9.1 (or 2.0)
For Mono 1.9.1 visit http://www.go-mono.com/mono-downloads/download.html and download the package for either openSUSE or SLES/SLED as appropriate. Add the 'Mono' package repository to Yast appropriate for your system.
Ensure the following packages are installed on your system: * mono-extras * mono-core * mono-locale-extras * mono-winforms * mono-web
Phase 3: Install Riva (note # and > shows the prompt)
- Open terminal
- > su (login with root password)
- # cd /opt
- # mkdir omni
- Using file browser or at the terminal, copy the riva-latest.zip file into the /opt/omni folder
- # cd omni
- # unzip riva-latest.zip
- # chown -R riva:omni Riva
- # chmod -R ug+rwxs,o-w,o+rx Riva
- # exit
- > cd /opt/omni/Riva/Resources/Linux
- > sudo ./riva-install.sh
NOTE: Ensure that you: - use the user name that you created in Phase 1. - answer NO for running Mono 2.0 or higher You should see the following prompt on the console:
Quote:
Run the CRM service under what user? riva Are you running Mono 2.0 or greater? (y or n) : n Configuring for Mono 1.9.1 To change your settings, edit /etc/riva.conf |
|
|
- > sudo ./riva-service-install.sh
You should see the following text on the console:
Quote:
| Riva CrmAgent will now automatically start on system startup. |
|
|
- IMPORTANT - If you have received a license file, save a copy of the Riva .license file to the /opt/omni/Riva/Licenses folder
- > cd ../.. -or- cd /opt/omni/Riva
- > ./runriva.sh (this will open the Riva application)
Phase 4: Create and configure connections as per your requirements.
Refer to: Phase 5: Create and configure policies as per your requirements.
Refer to:
Phase 6: Run Riva CRM Agent
- > su
- # cd /opt/omni/Riva
- # rcriva start
Note - you should see the following on the console: service is Crm Agent
Quote:
path is /opt/omni/Riva/Application/Base/Omni.Riva.CrmAgent.exe dir is /opt/omni/Riva/Application/Base filename is Omni.Riva.CrmAgent.exe user is riva disable is NO Starting Crm Agent done |
|
|
- # exit
You can check the logs Riva created:
- > cd /opt/omni/Riva/Logs
- > l
Note - you should see something like the following on the console:
Quote:
total 40 drwsrwsr-x 2 riva omni 4096 2008-08-21 12:24 ./ drwsrwxr-x 10 riva omni 4096 2008-08-21 12:24 ../ -rw-r--r-- 1 riva omni 15549 2008-08-21 12:24 log (2008-8-21)-1.txt -rw-r--r-- 1 riva omni 14576 2008-08-21 12:18 log (2008-8-21).txt |
|
|
- > gedit "log (2008-8-21)-1.txt"
Phase 7: Run Riva Monitor
- Ensure that you are in /opt/omni/Riva folder
- > ./monitor.sh
Note - you should see the following on the console:
Quote:
Initializing Logger Omni Riva Collaboration Integration Engine (Enterprise Edition) [Version: ] Copyright (c) 2008 Omni Technologies Solutions, Inc. All rights reserved. |
|
|
You should see the Riva Monitor interface open and it will dynamically refresh each time the Riva CRM Agent Service performs a synchronization.
MANAGING THE RIVA CRM AGENT SERVICE:
After being run the first time, the Riva CRM Agent (rcriva) will autostart as a service.
To manage the service, open a new terminal window:
- > su
- # cd /opt/omni/Riva
- # rcriva stop (stops the service)
- # rcriva start (starts the service)
- # rcriva restart (restarts the service)
UNINSTALL THE RIVA CRM AGENT SERVICE:
You can uninstall the CRM Agent service which disables the Riva CRM Agent service from running at system startup. This does not uninstall Riva. You can still run the Riva application to manage the Riva policies.
To uninstall the Riva CRM Agent service, open a new terminal window:
- > su
- # cd /opt/omni/Riva
- # rcriva stop
- # ./riva-service-uninstall.sh
NOTE: You should see the following in your console: (Answer 'y' to uninstall the service)
Quote:
You are about to uninstall the Riva Service. This will prevent the CrmAgent from automatically starting at system startup.
Are you sure you want to continue? (y or n) : y |
|
|
- # exit
UNINSTALL AND REMOVE RIVA ENTERPRISE:
You can uninstall Riva which disables the Riva CRM Agent service from running at system startup. This removes all Riva and all files associated with it.
To uninstall, open a new terminal window:
- > su
- # cd /opt/omni/Riva
- # rcriva stop
- # ./riva-uninstall.sh
NOTE: You should see the following in your console: (Answer 'y' to uninstall Riva)
Quote:
You are about to uninstall Riva. This will deactivate all services and remove them from the system. All Riva application files will also be removed.
Are you sure you want to continue? (y or n) : y |
|
|
- # exit
UPGRADE RIVA ENTERPRISE:
Riva on Linux does not include a "Check for Updates" feature. You need to:
- stop the Riva CRM Agent service
- uninstall the Riva CRM Agent service ONLY
NOTE: Do not run the riva-uninstall.sh file as this will remove the /opt/omni/Riva folder and you will lose all your connection settings, CRM Integration policy and license files. You have to manually perform the following steps to upgrade Riva to a new release:
- Close any open Riva or Monitor application interfaces
- Download and save the latest riva-latest.zip to /opt/omni
- > su
- # cd /opt/omni/Riva
- # rcriva stop
- IMPORTANT - Make a backup copy of the /opt/omni/riva folder
- # ./riva-service-uninstall.sh
- # cd /opt/omni
- # unzip -o riva-latest.zip
- # chown -R riva:omni Riva
- # chmod -R ug+rwxs,o-w,o+rx Riva
- # exit
- > cd /opt/omni/Riva/Resources/Linux
- > sudo ./riva-install.sh
You should see the following on the console:
Quote:
Run the CRM service under what user? riva Are you running Mono 2.0 or greater? (y or n) : n Configuring for Mono 1.9.1 ln: creating symbolic link `/sbin/rcriva': File exists To change your settings, edit /etc/riva.conf |
|
|
- > sudo ./riva-service-install.sh
You should see the following on the console:
Quote:
| Riva CrmAgent will now automatically start on system startup. |
|
|
- > cd /opt/omni/Riva
- > su
- # rcriva start
- # exit
- > ./runriva.sh
- > ./monitor.sh
- > su
- # rcriva restart
- Watch the Riva Monitor application and confirm that the CRM synchronization occurs.
Edited by Aldo Zanoni on 10-November-2008 at 6:02pm
|