[TFS 4.1 ADVANCED GUIDE]



Similar documents
Table of Contents. Requirements and Options 1. Checklist for Server Installation 5. Checklist for Importing from CyberAudit

insync Installation Guide

Enterprise Manager. Version 6.2. Installation Guide

MID-TIER DEPLOYMENT KB

JAMF Software Server Installation Guide for Linux. Version 8.6

Upgrading Your Web Server from ClientBase Browser Version 2.0 or Above to Version 2.1.1

NetIQ Access Manager 4.1

This document uses the following conventions for items that may need to be modified:

Installation Notes for Outpost Network Security (ONS) version 3.2

Desktop Surveillance Help



SMART Vantage. Installation guide

Setting Up a Unisphere Management Station for the VNX Series P/N Revision A01 January 5, 2010

Apache and Tomcat Clustering Configuration Table of Contents

OnCommand Performance Manager 1.1

Getting Started with Attunity CloudBeam for Azure SQL Data Warehouse BYOL

Sharp Remote Device Manager (SRDM) Server Software Setup Guide

NSi Mobile Installation Guide. Version 6.2

Sophos Mobile Control Installation guide. Product version: 3.5

JAMF Software Server Installation Guide for Windows. Version 8.6

RHEV 2.2: REST API INSTALLATION

Introduction to Mobile Access Gateway Installation

JAMF Software Server Installation and Configuration Guide for Linux. Version 9.2

C-Series How to configure SSL

Table of Contents INTRODUCTION... 2 SYSTEM REQUIREMENTS... 3 SERVICEDESK PLUS - MSP EDITIONS... 5 INSTALL SERVICEDESK PLUS - MSP...

Webthority 6.6. Best Practice Guide

Vidyo Network Configuration Guide Windows XP and Vista

JAMF Software Server Installation and Configuration Guide for Windows. Version 9.3

Revolution R Enterprise DeployR 7.1 Installation Guide for Windows

Ekran System Help File

System Administration Training Guide. S100 Installation and Site Management

Installing and Configuring vcloud Connector

Oracle Product Data Quality

Installation Guide. SAP Control Center 3.3

JAMF Software Server Installation and Configuration Guide for Linux. Version 9.0

JAMF Software Server Installation and Configuration Guide for OS X. Version 9.0

Online Backup Client User Manual Linux

24x7 Scheduler Multi-platform Edition 5.2

RBackup Server Installation and Setup Instructions and Worksheet. Read and comply with Installation Prerequisites (In this document)

Application Servers - BEA WebLogic. Installing the Application Server

JAMF Software Server Installation and Configuration Guide for OS X. Version 9.2

Installation Guide for Pulse on Windows Server 2012

Enterprise Manager. Version 6.2. Administrator s Guide

WhatsUp Gold v16.3 Installation and Configuration Guide

Release Date May 10, Adeptia Inc. 443 North Clark Ave, Suite 350 Chicago, IL 60654, USA

Installation Guide for Pulse on Windows Server 2008R2

User Manual. Onsight Management Suite Version 5.1. Another Innovation by Librestream

StoreGrid Backup Server With MySQL As Backend Database:

Configuring Secure Socket Layer (SSL) for use with BPM 7.5.x

Verax Service Desk Installation Guide for UNIX and Windows

QuickStart Guide for Managing Computers. Version 9.2

Quick Start Guide for Parallels Virtuozzo

RecoveryVault Express Client User Manual

13.1 Backup virtual machines running on VMware ESXi / ESX Server

XenClient Enterprise Synchronizer Installation Guide

Sophos Mobile Control Installation guide. Product version: 3

Rally Installation Guide

Scoreboard 2.5/2.7 Installation Guide. For Apache Tomcat 7.0 On Windows 2003/2008 Server, 64-bit

Installing The SysAidTM Server Locally

Kony MobileFabric. Sync Windows Installation Manual - WebSphere. On-Premises. Release 6.5. Document Relevance and Accuracy

1. Product Information

Sophos Mobile Control Installation guide. Product version: 3.6

ManageEngine IT360. Professional Edition Installation Guide.

Online Backup Linux Client User Manual

EQUELLA. Clustering Configuration Guide. Version 6.0

Lepide Active Directory Self Service. Configuration Guide. Follow the simple steps given in this document to start working with

WA1826 Designing Cloud Computing Solutions. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Online Backup Client User Manual

Media Server Installation & Administration Guide

Table of Contents INTRODUCTION... 2 SYSTEM REQUIREMENTS... 3 SERVICEDESK PLUS EDITIONS... 4 INSTALL SERVICEDESK PLUS... 5

Rev 7 06-OCT Site Manager Installation Guide

White paper version: 1.2 Date: 29th April 2011 AUTHORS: Vijeth R. Rajoli Krishna Chalamasandra

VMware Identity Manager Connector Installation and Configuration

Decision Support System Software Asset Management (SAM)

Ahsay Offsite Backup Server v5.5. High Availability Option Setup Guide. Ahsay TM Online Backup - Development Department

Ocularis Media Server Installation & Administration Guide

Silk Central Installation Help

Enterprise Remote Control 5.6 Manual

Setting Up SSL on IIS6 for MEGA Advisor

Oracle Fusion Middleware 11gR2: Forms, and Reports ( ) Certification with SUSE Linux Enterprise Server 11 SP2 (GM) x86_64

DOCSVAULT Document Management System for everyone

Synchronizer Installation

FileMaker Server 11. FileMaker Server Help

3. Installation and Configuration. 3.1 Java Development Kit (JDK)

RSM Web Gateway RSM Web Client INSTALLATION AND ADMINISTRATION GUIDE

Online Backup Client User Manual

Troubleshooting AVAYA Meeting Exchange

Sample copy. Introduction To WebLogic Server Property of Web 10.3 Age Solutions Inc.

HOW TO CONFIGURE PASS-THRU PROXY FOR ORACLE APPLICATIONS

Magaya Software Installation Guide

Installation and Deployment

DS License Server. Installation and Configuration Guide. 3DEXPERIENCE R2014x

Fuse ESB Enterprise Installation Guide

FileMaker Server 13. FileMaker Server Help

CA Spectrum and CA Service Desk

JD Edwards EnterpriseOne 9.1 Clustering Best Practices with Oracle WebLogic Server

FileMaker Server 11. Getting Started Guide

ComTrader Technical Requirements. version 1.6

FileMaker Server 14. FileMaker Server Help

Transcription:

2011 HANCOM, INC. Cloud Solution Team [TFS 4.1 ADVANCED GUIDE] To administrator for installation/upgrade/management

Contents Section Subject page Installation Server hardware specification and server topology How to install TFS on Linux without GUI(X-window) How to install TFS as a service on Windows 32/64bit 64bit Debian/Ubuntu issue Tomcat basic configuration MySQL basic configuration How to change service port number 3 4 5 8 9 10 12 Advanced Installation Load Balancer Check SSL Handshake Failure How to solve established connection release issue 14 17 19 Management How to change HTTPS certificate Code signing certificate Change storage tag name How to backup How to print out the adapter log 21 23 24 25 26 Customization & Troubleshooting How to solve JRE installation issues Launcher Rebranding 28 30 33 1

INSTALLATION 2

Server hardware specification and server topology The recommend server hardware specification is shown in the table below. CPU RAM x86 architecture 1 Quad-core, 2Ghz or Higher 4 GB or higher Application server hardware OS Hard disk Linux or Windows 2003 server or later 40 GB or higher Network Bandwidth LAN : 768kbps or higher WAN : 1.5Mbps or higher The following table shows the general recommended server topology for various workloads. Note that the measurement was conducted on normal office usage after the initial applet download (around 15MB). The results will vary according to the specific customer system environment. Number of daily visitors Concurrent users Server count 5000 200 1 EA 12000 500 2 EA and Load-balancer, DBMS 25000 1000 3 EA and Load-balancer, DBMS 3

How to install TFS on Linux without GUI(X-window) TFS supports command line installation because X-window is often not running on Linux systems due to high resource requirements. #./[TFS-linux-installer] q dir [target directory name] After executing the above command, the port number is assigned to 80 and TFSI will be installed to the designated target directory automatically. Note that since the listening port is below 1024, you must have root permission. After the successful execution, you may continue the installation using the web browser configuration wizard. Finally, a more detailed description is available in the silent mode installation section of the admin guide. 4

How to install TFS as a service on Windows 32/64bit TFS installer builds a package for 32 bit machines by default. Some additional work is needed to install TFS as a service on the Windows server platform. 1. Download apache-tomcat-6.0.32-windows-x86 from http://tomcat.apache.org 2. Decompress downloaded file and copy service.bat, tomcat6.exe to {TFS_HOME}/bin directory. 3. Edit service.bat file if you want to change the displayed SERVICE_NAME. set SERVICE_NAME=TFSI4 set PR_DISPLAYNAME=TFSI4 4. Go to {TFS_HOME}/bin using the console and type Service install.. 5. Check the registry value using the regedit command. In particular, you should make sure that the Jvm parameter is showing the proper location of the Jvm.dll file. 5

For example, Jvm.dll file path shown as below: C:\Program Files(x86)\Thinkfree Server\jre\bin\server\jvm.dll 6. Execute the net start TFSI4 command in the console. If the service starts successfully, you will see TFSI4 in the services panel. You may wish to change the default startup type or recovery policy. 6

7. If you want to remove the TFS service later, use the command Service remove TFSI4. Troubleshooting If NET HELPMSG 4373 or similar error message appears when you execute the net start TFSI4 command then you need to check the following: 1. 64bit/32bit tomcat6.exe: There are two tomcat.exe (64bit and 32bit), make sure you are using the appropriate exe for your OS. 2. TFS installation finished and works well: Check that TFS runs well after installation before attempting to run TFS as a service. 3. Service.bat and tomcat6.exe: Ensure that both files are in the correct location. 4. Service registration: Check that the service registered properly. 5. Jvm.dll path: Check to make sure the Jvm.dll is in the searchable path. 6. Duplicate service: Make sure there are no duplicate services. 7

64bit Debian/Ubuntu issue Unlike Fedora / RHEL, the 64bit Debian/Ubuntu OS installer does not include 32bit packages by default. Since TFS installation requires the 32bit packages, an error message as shown below will appear: thinkfree:~#./tfs-standard-4.0.0130-release.sh -q dir /usr/local/tfs Unpacking JRE... Starting Installer..../TFS-Standard-4.0.0130-release.sh: line 393: /root/tfs-standard-4.0.0130-release.sh.19921.dir/jre/bin/java: No such file or directory We suggest the following workaround: 1. Install TFS on 32bit Ubuntu/Debian OS. 2. Copy the TFS directory on 32bit system and its contents to the 64bit Debian/Ubuntu OS. 3. Next, remove the 32bit {TFS_HOME}/jre directory and then replace with the 64bit jre directory contents. 4. You can use the startup.sh/shutdown.sh to start and stop the TFS as usual. 8

Tomcat basic configuration TFS uses tomcat as the default web server. The table below shows some common configuration parameters: Item Description File Path OS: linux Increase Open files limit /etc/security/limits.conf Tomcat:maxthread Tomcat:JAVA_OPT * hard nproc 16384 * soft nofile 2048 * hard nofile 65536 Increase maxthreads limit An appropriate setting is 800 when using 4GB physical RAM <Connector server="thinkfree Server".maxThreads="800". Increase Vm size according to the physical RAM size. A typical setting of 2 GB is appropriate for 4GB of physical RAM. It s also possible to add a GC option here. JAVA_OPTS=-Xmx2048m {TFS_HOME}/conf/server.xml {TFS_HOME}/bin/catalina.sh Please refer to the following URL for more details. http://tomcat.apache.org/tomcat-6.0-doc/index.html 9

MySQL basic configuration TFS supports both Derby(http://db.apache.org/derby/) and MySQL(http://www.mysql.com/) DBMS by default. Derby can be installed easily in embedded mode. However, if you decide to install MySQL, you will need to perform some additional administrative tasks. For example, if you have a system environment like below: TFS server IP address : 172.30.0.18 Mysql Server IP address : 172.30.0.15 Database name : newmysqldb Account : test1 Password : testpwd mysql> CREATE DATABASE newmysqldb; mysql> GRANT ALL PRIVILEGES ON newmysqldb.* TO "test1"@"172.30.0.18" IDENTIFIED BY "testpwd"; mysql> GRANT ALL ON newmysqldb.* TO test1@'172.30.0.18' IDENTIFIED BY 'testpwd'; mysql> FLUSH PRIVILEGES; mysql> EXIT Select MySQL when you set up TFS during the web browser setup wizard. The setup wizard requires you to fill out the database parameters next. 10

If you want to change the IP address, please refer to command below. You can also change to an IP address range if you use the % instead of a specific IP address. mysql> update db set Host='10.10.10.1" where Db='newmysqldb'; mysql> update user set Host='10.10.10.1' where user='test1'; Please refer to the following URL for more details on this matter. http://www.mysql.com/ 11

How to change service port number You can change service port number on the GUI mode using the initial setup wizard. After that, if you want to change the service port number, you may edit the tomcat configuration file. Open {TFSI_HOME}/conf/server.xml and revise below lines: Note: Before making any changes, you should back server.xml file up to another directory. Otherwise, any entry errors may cause TFS to fail to run. For example, if you want to change HTTP port number from 80 to 8080 and HTTPS port number from 443 to 9443, edit port numbers as shown below in red. <Connector server="thinkfree Server" port="8080" protocol="http/1.1" connectiontimeout="10000" maxsparethreads="75" maxthreads="512" minsparethreads="25" enablelookups="false" redirectport="9443" URIEncoding="UTF-8"/> <Connector server="thinkfree Server" acceptcount="100" clientauth="false" disableuploadtimeout="true" enablelookups="true" maxhttpheadersize="8192" maxsparethreads="75" maxthreads="800" minsparethreads="25" port="9443" scheme="https" secure="true" sslprotocol="tls" 12

ADVANCED INSTALLATION 13

Load Balancer Load balancing system is usually used in order to minimize response time and avoid excessive server load. When building a TFSI web cluster using a load balancer, it is important to maintain session persistence to avoid unmatched sessions. The main problem originates from the session handling method and can be solved by using a session persistence parameter. [Multiple Server Installation for TFSI] 1. Commercial application switch Commercial application switch will distribute workload from client request to multi node using hash metric For example, if there are 2 servers and a virtual IP address assigned to a load balancer. Here is the configuration for example environment. /c/slb/real 1 ena rip 10.10.10.1 /c/slb/real 2 ena rip 10.10.10.2 /c/slb/group 1 metric hash health http add 1 add 2 /c/slb/virt 1 14

ena ipver v4 vip 10.10.10.10 /c/slb/virt 1/service http group 1 /c/slb/virt 1/service https group 1 Configuration file for POUND Service BackEnd Address 10.10.10.2 Port 80 End BackEnd Address 10.10.10.3 Port 80 End Session Type IP End TTL 180 End Configuration file for LVS -A -t 10.10.10.1:80 -s sh -a -t 10.10.10.1:80 -r 10.10.10.2:80 -g -a -t 10.10.10.1:80 -r 10.10.10.3:80 -g http://www.austintek.com/lvs/lvs-howto/howto/lvs- HOWTO.ipvsadm.html#scheduler Configuration File for TFSI 15

Server.Properties file (PATH={TFSI_HOME}/webapps/ROOT/WEB- INF/classes/server.properties) is created after TFSI installation is completed. The file contents are shown below. All TFSI within the web cluster must have the same settings in order for the session persistence fail-over to function properly. #Database Settings #Fri Dec 17 21:29:06 KST 2010 url=jdbc:mysql://10.10.10.9:3306/?autoreconnect=true&autoreconnectforpools= true&useunicode=true&characterencoding=utf8&zerodatetimebehavior=conver ttonull schema_name=tfs-database //database name port=3306 dbms=mysql file_root=/usr/local/tfs username=root // installation path // mysql account conversion_image=true password=[password] // mysql password image_width=1024 driver=com.mysql.jdbc.driver host=10.10.10.9 // mysql host Note: Adapter JAR file is being uploaded to {TFSI_HOME}/webapps/ROOT/adapter directory. You should check that all server machines have the same Adapter JAR file in each adapter directory. 16

Check SSL handshake failure If you can see the message below, then the certificate doesn t match between the integrated target system and TFSI. Caused by: javax.naming.communicationexception: simple bind failed: [TFSI SERVER] [Root exception is javax.net.ssl.sslhandshakeexception: sun.security.validator.validatorexception: PKIX path building failed You can check generated log from the java console in debug mode. 1. Please open the Control Panel -> Java settings panel as shown below: 2. Please set the Java console setting in the Advanced tab to "Show console": 17

3. Under Java tab, Java Runtime Environment Settings, input the runtime parameter "- Dtfo.debug=true" and press OK. 4. Try to open the file in the web office applet. Copy and paste the log contents from the console and send the contents to technical support. 18

How to solve established connection release issue A problem in releasing an established connection may occur when using an apache, mod_jk and MySQL integration with TFSI. We suggest the following workaround: 1. Environment We assumed the following modules are being : apache 2.2.9 mod_jk 1.2.26 tomcat 5.5 Mysql 5.1 2. Monitoring Method 1) TFSI : #watch "netstat -nap --tcp grep ESTA" 2) MySQL : #watch "echo 'show full processlist' mysql -utest -ptest" 3. Requirement Change the connection timeout parameter (in red) to your desired value 1) {TFSI_HOME}/conf/server.xml : connectiontimeout //add connectiontimeout value <Connector URIEncoding="UTF-8" enablelookups="false" maxsparethreads="75" maxthreads="512" minsparethreads="25" port="8009" protocol="ajp/1.3" redirectport="443" connectiontimeout="30000"/> 2) /etc/mysql.cnf : wait_timeout = 600 //add wait_timeout value 4. Results 3-1), 3-2) The above settings would result in a report that all established connections are released on the server after 10 minutes. 5. The report may differ according to the particular service environment on the customer side. If the problem persists, contact the technical support team. 19

MANAGEMENT 20

How to change HTTPS certificate Starting from the TFS 4.1 release, the administrator can change the HTTPS certificate on the admin page. * If you want to change the HTTPS certificate for prior TFS versions, please contact technical support. 1. The HTTPS certificate needs to support the HTTPS connection protocol for enhanced security. 2. TFS can support SUN java keystore Type (JKS) only. Please refer to below URL if you want more information on the JKS type of HTTPS certificate. https://knowledge.verisign.com/support/ssl-certificatessupport/index?page=content&id=ar278&actp=search&viewlocale=en_us&searchid=13107087 74044 http://www.crosscert.com/service_global/pages/sslinfo.htm 3. A HTTPS certificate signed by authentification service company like Verisign can be applied to TFS. You must enter a keystore file, password and alias name on the server page. 4. Afterwards, you need to check SSL enable on the admin page. Note that ThinkFree Server Enterprise version is designed to support both HTTP and HTTPS protocol automatically when adding a new HTTPS certificate. 21

[check SSL enable] You are able to see the HTTPS connection on the web browser after the configuration is finished. 22

Code signing certificate A code signing certificate ensures that the code has not been altered or corrupted since it was signed by a certificate authority such as VeriSign and GoDaddy. HANCOM.INC. will appear as the publisher name in the code signing certificate when the applet runs on the web browser. 23

Change storage tag name After installing ThinkFree Server Integrator, and applying the adapter, a storage tag name shown in the file dialog below will be shown. You may change the default storage tag name using the following steps. 1. Edit {TFSI_HOME}/webapps/ROOT/WEB-INF/classes/server.properties on the server. 2. You can change the storage tag by adding a parameter (see red text). #Database Settings driver=com.mysql.jdbc.driver host=10.10.10.1 storage_tag =changeit 3. After saving the changes, restart the server. 24

How to backup You should backup the entire {TFSI_HOME} directory and its subdirectories. If you use MySQL as a DBMS, please refer to following the URL: http://dev.mysql.com/doc/refman/5.1/en/backup-and-recovery.html Note that TFSE (ThinkFree Server for Enterprise) contains additional subdirectories that are described below: 1. DB: contains derby data file. 2. files: origin of document storage 3. converted: storage for HTML conversion results for documents 4. Indexes: storage for internal search indexing file 25

How to print out the adapter log All log files are recorded according to the tomcat policy by default. However, you are able to configure the adapter log recording on the admin page to avoid unnecessary logging. If you want to enable the adapter log, then select enabled. The log file is recorded under the Log Dir (notice that you can t change to designated path). 26

Customizing & Troubleshooting 27

How to solve JRE installation issues ThinkFree Office uses SUN JAVA technology thus you need to install the JRE (Java Runtime Environment). TFS sets up the JRE automatically however some client PC experience problems related to running JAVA and may display a blank web browser window as shown below. It occurred when without JRE installation or some file corrupted regardless OS type. In the Linux, it might be occurred due to browser plug-in not installed. 1. First of all, go to http://www.java.com/en/download/testjava.jsp and check if the applet runs correctly. If you see a screen similar below, then no JRE is installed or an older version is in use. Also it is possible that a 32bit JRE is installed on the 64bit OS. Therefore you need to check following list to ensure the JRE is installed and configured properly. 1. Enable Java through your Web browser 28

2. Enable Java through the "Java Plug-in Control Panel" 3. Clearing your Web Browser Cache 4. Firefox 3.6 and above requires Java 6 Update 10 or above 5. Java and Google Chrome Browser 6. Supported System Configurations 7. Check if another JDK such as Open JDK is installed. ThinkFree Office applet requires SUN JDK to run properly. 2. For example, install SUN JDK on the Ubuntu 10.10 : root@ubuntu10:~#add-apt-repository ppa:sun-java-community-team/sun-java6 root@ubuntu10:~#apt-get update root@ubuntu10:~#apt-get install sun-java6-jdk root@ubuntu10:~#update-java-alternatives -s java-6-sun 3. For example, install SUN JDK on the Ubuntu 10.4 : root@ubuntu10:~#add-apt-repository "deb http://archive.canonical.com/ lucid partner" root@ubuntu10:~#aptitude update root@ubuntu10:~#aptitude install sun-java6-jdk root@ubuntu10:~#update-java-alternatives -s java-6-sun Refer to http://christiansons.net/mike/blog/2010/07/sun-java-6-on-ubuntu-10-04-10-10- and-later/. If you still encounter JRE installation problems, please refer to the official JAVA forum or technical resources. http://forums.oracle.com/forums/category.jspa?categoryid=285 29

Launcher TFS provides a desktop application (launcher) that ensures continuity of office productivity even when offline. Note that TFS must running when you are installing launcher initially. You can download and install the launcher on the local PC. After you accept the license and choose the language, the setup wizard will display the dialog below. Enter your server s IP address or domain. 30

The current install will now proceed. If you keep the default setting, shortcuts will be created on the Desktop. After setup wizard is finished, the launcher will check for available updates. Click yes. 31

After checking for updates, you may see the below screen. If the launcher is not the latest version, the latest version will be downloaded. When update finishes, you will be able to run launcher on the local PC. 32

Rebranding You may replace some TFS images and logo in the red areas shown below. perform further customizations, please contact technical support. If you need to 33