Instalando o Lotus Sametime Gateway 8.5 no Linux

From Wiki

ARTIGO ATUALIZADO PARA A VERSÃO 8.5.1

RESUMO

Nesta série de artigos estarei mostrando como instalar o IBM Lotus Sametime Gateway 8.5.1 no Linux.

Pacotes Necessários Software

  • CZII5ML - IBM Lotus Sametime Gateway Server 8.5.1 AIX Linux Solaris Multilingual
  • CZA6UML - WebSphere Application Server Network Deployment V7.0.0.3 Customized Installation Package Linux x86 for Sametime 8.5.1 Multilingual


Pré-requisitos

Informações do LDAP

  • Todos os nomes de servidores devem ser resolvidos via DNS (or via arquivo HOSTS)
  • Tenhas em mãos as seguintes informações do LDAP
    • LDAP Hostname
    • LDAP Port
    • LDAP Bind User
    • LDAP Bind User Password
    • LDAP BaseDN

Instalando os pacotes Necessários

Instale os seguintes pacotes ao seu linux:

 - rpm
 - rpm-build
 - popt

se você estiver utilizando o yum faça o seguinte:

> yum -y install rpm rpm-build popt

Passos para a Instalação

Criando a base no DB2

Com o usuário root desempacto os arquivos de instalação dentro do diretório do db2admin ou db2inst1

# cd /home/db2admin
# mkdir gw
# cd gw
# tar -xvf /root/CZII5ML.tar
# cd ..
# chown -R db2admin.db2admin gw

Faça o login com o usuário db2admin e execute a criação da base

# su - db2admin
$ cd /home/db2admin/gw/database/db2
$ db2 -tvf createDb.sql

Instalando o Sametime Gateway 8.5.1

Extrair o arquivo

# mkdir STGW
# cd STGW
# tar -xvf /root/CZII5ML.tar]

Verificando o resultado

# ls
database  HTML         installi5OS.bat      install.sh dist      install.bat  installresponse.txt

Iniciando a instalação

# ./install.sh -console
OCO Source Materials
L-KBIM-82KJG5
(c) Copyright IBM Corp. 2010
The source code for this program is not published or other-
wise divested of its trade secrets, irrespective of what has
been deposited with the U.S. Copyright Office.
Reminder: Attempting to use the console interface to install directly from the CD-ROM can cause the CD drive to become unmountable.
To avoid this problem, copy the CD locally and run it from there.
See the IBM Lotus Sametime Gateway Information Center for more details.

Escolha o idioma

          Initializing Wizard........
          Launching InstallShield Wizard........


-------------------------------------------------------------------------------
Select a language to be used for this wizard.

[X] 1  - English
[ ] 2  - French
[ ] 3  - German
[ ] 4  - Italian
[ ] 5  - Japanese
[ ] 6  - Korean
[ ] 7  - Portuguese (Brazil)
[ ] 8  - Simplified Chinese
[ ] 9  - Spanish
[ ] 10 - Traditional Chinese

To select an item enter its number, or 0 when you are finished: [0]

Tecle Enter

Aceite a licença

To select an item enter its number, or 0 when you are finished: [0]

   International License Agreement for Non-Warranted Programs

... 
Press Enter to continue viewing the license agreement, or, Enter "1"
to accept the agreement, "2" to decline it or "99" to go back to the
previous screen, "4" Read Non-IBM Terms.

Tecle 1 e Enter

Selecione o Tipo de instalação, no nosso caso Standalone

-------------------------------------------------------------------------------
Installation for IBM Lotus Sametime Gateway 8.5.1

Select the type of installation.

  1. Standalone server

  2. Primary node

  3. Deployment Manager

  4. Secondary node

  5. SIP and XMPP proxy servers

Select the type of installation.

[1]
Tecle Enter

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]

Tecle Enter

Informe o diretório dos arquivos do WASND

-------------------------------------------------------------------------------
Installation for IBM Lotus Sametime Gateway 8.5.1

Enter the root path to the installation files for WebSphere Application Server.


Installation files: [] /root/WASND

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]

Tecle Enter

Aceite o diretório de instalação do WAS

-------------------------------------------------------------------------------
Installation for IBM Lotus Sametime Gateway 8.5.1

To install WebSphere Application Server in this location, choose Enter.  To install WebSphere Application Server to a different location, enter
the new location and choose Enter.  Space required: 1 GB.


Install location:  [/opt/IBM/WebSphere/AppServer]

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]

Tecle Enter

Informe o Nome do Node,Cell,hostname ou aceite o default

-------------------------------------------------------------------------------
Installation for IBM Lotus Sametime Gateway 8.5.1

Enter the properties for the profile to create for this Sametime Gateway server.

Node and cell names must be unique. Do not use the same cell name for each node
in a cluster. Do not use a localhost or loopback address.

Node:  [stgw01Node]
Cell:  [stgw01Cell]
Host name:  [stgw01.empresax.com.br] 
Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]

Tecle Enter

Informe o Administrador e Senha

-------------------------------------------------------------------------------
Installation for IBM Lotus Sametime Gateway 8.5.1

Create the administrative user ID and password for the WebSphere Application
Server. The administrative user name must not exist in your LDAP directory.
This user ID is only used to access WebSphere Application Server. The user ID
is not related to any user name used to access the operating system itself.
User ID: [stgwadmin]
Password:
Confirm Password:

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]

Tecle Enter

Informe o Local de instalação do Sametime Gateway

-------------------------------------------------------------------------------
Installation for IBM Lotus Sametime Gateway 8.5.1

To install Sametime Gateway in this location, choose Enter.  To install Sametime Gateway to a different location, enter the new location
and  choose Enter.  Space required: 250 MB.

Install location:  [/opt/IBM/WebSphere/STgateway]

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]

Tecle Enter

Informe as propriedades do DB2

-------------------------------------------------------------------------------
Installation for IBM Lotus Sametime Gateway 8.5.1

DB2 Properties:

Specify the DB2 database properties. The installer uses this information to
create the JDBC provider and connect to the database for Sametime Gateway.

Host name:  [stgw01.empresax.com.br] db2server.empresax.com.br
Port: [50000]
Database name: [stGW]
Application user ID: [] db2admin
Application password:
Schema user ID: [] db2admin
Schema password:

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]

Tecle Enter

Configurando o acesso ao LDAP parte 1

-------------------------------------------------------------------------------
Installation for IBM Lotus Sametime Gateway 8.5.1

LDAP Configuration

Sametime Gateway uses LDAP to identify users and groups that have access to
Sametime Gateway. This wizard configures a non-SSL connection to an LDAP
server. If your LDAP requires an SSL connection or you choose to configure your
LDAP after the installation, use the Integrated Solutions Console.

  1. Configure LDAP now

  2. Configure LDAP after the installation

[1]

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]

Tecle Enter

Configurando o acesso ao LDAP parte 2

-------------------------------------------------------------------------------
Installation for IBM Lotus Sametime Gateway 8.5.1

LDAP Server Connection

Specify the LDAP host name and port to enable Sametime Gateway to connect to
LDAP. You can choose the host name and port from the registered list or enter
them separately.

Host name: [] ldap.empresax.com.br
Port: [389]

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]

Tecle Enter

Configurando o acesso ao LDAP parte 3

-------------------------------------------------------------------------------
Installation for IBM Lotus Sametime Gateway 8.5.1

LDAP Authenticated Bind Required

Enter the the bind distinguished name and password to authenticate the Sametime
Gateway server with LDAP.
Example for bind distinguished name:
cn=John Smith, ou=Product Development, o=Acme, st=Minnesota, c=US

Bind distinguished name (DN): [] CN=LDAPUSER,O=EmpresaX
Bind password:

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]

Tecle Enter

Confirmando os dados

-------------------------------------------------------------------------------
Installation for IBM Lotus Sametime Gateway 8.5.1

IBM Lotus Sametime Gateway is ready to install. To change any settings, choose
Previous. If you are satisfied with the settings, choose Next to begin copying
files.

Products to install:
WebSphere Application Server       7.0.0.3       (1 GB)
           /opt/IBM/WebSphere/AppServer
Sametime Gateway       8.5.1       (250 MB)
           /opt/IBM/WebSphere/STgateway

Installation details:
Installation type:            Standalone server

WebSphere Application Server settings:
Cell: stgw01Cell
Node: stgw01Node
Host name: stgw01.empresax.com.br
Profile name: RTCGW_Profile
Server name: RTCGWServer
User ID: stgwadmin

DB2 Properties:
Host name: db2server.empresax.com.br
Port: 50000
Database name: stGW
Application user ID: db2admin
Schema user ID: db2admin

LDAP settings:
LDAP type: DOMINO73
LDAP realm: o=LDAPRealm
LDAP repository: LDAPRepository

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]

Tecle Enter

-------------------------------------------------------------------------------
Installation for IBM Lotus Sametime Gateway 8.5.1

Installing IBM Lotus Sametime Gateway 8.5.1. Please wait...

|-----------|-----------|-----------|------------|
0%         25%         50%         75%        100%
||||||||||||||||||||||||||||||||||||||||||||||||||

Creating profile ...

Installing IBM Lotus Sametime Gateway 8.5.1. Please wait...

Configuring Sametime Gateway ...

Configuring database ...

Installing IBM Lotus Sametime Gateway 8.5.1. Please wait...

Configuring LDAP ...

Installing IBM Lotus Sametime Gateway 8.5.1. Please wait...

Creating uninstaller...