TSM:Preinstall Tasks for Linux: Difference between revisions

From Wiki
(New page: Follow the next steps '''carefully''' for install Tivoli Storage Manager for Linux == Hardware == '''Have at least 1 GB of RAM for installation''' In my installation, i had problems w...)
 
 
(6 intermediate revisions by the same user not shown)
Line 33: Line 33:




== Alterando as suas váriaveis de Ambiente para a IBM JVM ==
== Setting your environment for IBM JVM 1.4.2==
Edite o arquivo '''/etc/profile''' e adicione as seguintes variaveis de ambiente
Modify your '''/etc/profile''' file, adding the following entries:


  PATH=$PATH:/opt/IBMJava2-142/jre/bin  
  PATH=$PATH:/opt/IBMJava2-142/jre/bin  
Line 40: Line 40:
  export PATH JAVA_HOME
  export PATH JAVA_HOME


e salve o arquivo.  
save and quit.  


Faça o logoff e o logon, após isso verifique a versão instalada da JVM da seguinte maneira:
Logoff and Logon again, after verify you JVM installed throw this command:


  > java -version
  > java -version


que no meu caso é
In my case:


  java version "1.4.2"
  java version "1.4.2"
  Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
  Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
  Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia32142-20070708 (SR9) (JIT enabled: jitc))
  Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia32142-20070708 (SR9) (JIT enabled: jitc))


== Crie o diretório de update do Portal e altere o PATH ==
== Create the update Portal directory and change the PATH ==




=== Criando o Diretório de update do Portal ===
=== Create the update Portal Directory ===


'''Obs.:''' Na minha instalação estou utilizando o diretório '''/opt/IBM/ISC/''' ao invés de '''/opt/IBM/ISC601/'''.
'''Obs.:''' In this article, i'm using the '''/opt/IBM/ISC/''' directory instead of  '''/opt/IBM/ISC601/'''.


Crie o diretório '''/opt/IBM/ISC/PortalServer/update''' através do seguinte comando
Create the '''/opt/IBM/ISC/PortalServer/update''' directory through the follow command


  mkdir -p /opt/IBM/ISC/PortalServer/update
  mkdir -p /opt/IBM/ISC/PortalServer/update
Line 66: Line 65:




=== Altere o PATH ===
=== Changing PATH ===


Edite o arquivo '''/etc/profile''' e adicione as seguintes variaveis de ambiente
Modify the '''/etc/profile''' follow, updating the PATH variable:


  PATH=$PATH:/opt/IBM/ISC/PortalServer/update  
  PATH=$PATH:/opt/IBM/ISC/PortalServer/update  
  export PATH
  export PATH


e salve o arquivo.
save and quit


Faça o logoff e o logon, após isso verifique como ficou o PATH
Logoff and Logon, and check the PATH


  > echo $PATH
  > echo $PATH




'''Obs.:''' Pode parecer estranho este passo, mas após algumas tentativas, verifiquei que durante a instalação um script fazia o seguinte comando: "''cd /opt/IBM/ISC/PortalServer/update;updatePortal.sh''" sendo que o correto seria
'''Obs.:'''  
"''cd /opt/IBM/ISC/PortalServer/update;'''''./'''''updatePortal.sh''". O que resolvemos adicionando no PATH.
This step can seem strange, but after some attempts, I verified that during installation one script made the following command: "''cd /opt/IBM/ISC/PortalServer/update; updatePortal.sh''", being that the correct one would be "''cd /opt/IBM/ISC/PortalServer/update;'''''./'''''updatePortal.sh''". What we decide adding in the PATH.


== Setting the hostname as FQDN ==


Check that the hostname is full hostname (Full Qualified Domain Name).


== Confirme o hostname seja FQDN ==
Example: tsmserver.mycompany.com


Confirme que o nome do host esteja na forma completa (Full Qualified Domain Name).Exemplo: tsmserver.minhaempresa.com.br
Another Example:  


Outro exemplo:
  > cat /etc/hosts
  > cat /etc/hosts
  127.0.0.1              localhost.localdomain            localhost
  127.0.0.1              localhost.localdomain            localhost
  192.168.1.15          tsmserver.minhaempresa.com.br    tsmserver
  192.168.1.15          tsmserver.mycompany.com     tsmserver
 
 


== Altere o /etc/issue - Somente CentOS ==
== Updating the /etc/issue file - Only for CentOS ==


O InstallShield verifica pelo sistema operacional instalado para saber se o mesmo é compatível ou não.
InstallShield checks for Operation System installed to know for it's compatibility or not.
Podemos mascarar isso alterando o arquivo '''/etc/issue''' para que o mesmo pense que estamos instalando no Red Hat.
We can avoid/mask this check change the '''/etc/issue''' file. So the same thinks this OS is a trully Red Hat Enterprise




O original é o seguinte:  
The original is the following one:  


  CentOS release 5 (Final)
  CentOS release 5 (Final)
  Kernel \r on an \m
  Kernel \r on an \m


altere para:
Update to:




Line 113: Line 111:
  Kernel \r on an \m
  Kernel \r on an \m
   
   
Efetue um logoff e logon novamente.
Logoff and Logon again.
 
== Ver também ==
 
*[[Instalando o Tivoli Storage Manager no Linux]]
*[[Install Tivoli Storage Manager on Linux]]
*[[TSM: Removendo um Volume|Removendo um Volume]]
*[[TSM:Instalando o IBM Integrated Solution Console]]
 
 
* [[Tivoli Storage Manager|  Mais Artigos sobre IBM Tivoli Storage Manager]]
 
[[Category: Tivoli Storage Manager]]
[[Category: TSM]]

Latest revision as of 23:42, 5 February 2013

Follow the next steps carefully for install Tivoli Storage Manager for Linux


Hardware

Have at least 1 GB of RAM for installation

In my installation, i had problems when my Virtual Machine (VM) has only 512MB of memory, ao give more memory, about 1 GB, the install happens without problems. When installer apply the required patchs, the ISC is startup and stopped many times, what generate many error in the all process.


Installing requireds RPM packages

Install the following RPM packages in you Linux OS:

 - compat-libstdc++-33
 - compat-libstdc++-296
 - libXp

if you are using yum, make as follow:

> yum -y install compat-libstdc++-33 compat-libstdc++-296 libXp



Install IBM Java Virtual Machine

Download IBM Java 2 SDK version 1.4.2 and install in you system:

> rpm -ivh IBMJava2-142-ia32-SDK-1.4.2-9.0.i386.rpm



Setting your environment for IBM JVM 1.4.2

Modify your /etc/profile file, adding the following entries:

PATH=$PATH:/opt/IBMJava2-142/jre/bin 
JAVA_HOME=/opt/IBMJava2-142/jre
export PATH JAVA_HOME

save and quit.

Logoff and Logon again, after verify you JVM installed throw this command:

> java -version

In my case:

java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia32142-20070708 (SR9) (JIT enabled: jitc))

Create the update Portal directory and change the PATH

Create the update Portal Directory

Obs.: In this article, i'm using the /opt/IBM/ISC/ directory instead of /opt/IBM/ISC601/.

Create the /opt/IBM/ISC/PortalServer/update directory through the follow command

mkdir -p /opt/IBM/ISC/PortalServer/update


Changing PATH

Modify the /etc/profile follow, updating the PATH variable:

PATH=$PATH:/opt/IBM/ISC/PortalServer/update 
export PATH

save and quit

Logoff and Logon, and check the PATH

> echo $PATH


Obs.: This step can seem strange, but after some attempts, I verified that during installation one script made the following command: "cd /opt/IBM/ISC/PortalServer/update; updatePortal.sh", being that the correct one would be "cd /opt/IBM/ISC/PortalServer/update;./updatePortal.sh". What we decide adding in the PATH.

Setting the hostname as FQDN

Check that the hostname is full hostname (Full Qualified Domain Name).

Example: tsmserver.mycompany.com

Another Example:

> cat /etc/hosts
127.0.0.1              localhost.localdomain            localhost
192.168.1.15           tsmserver.mycompany.com      tsmserver

Updating the /etc/issue file - Only for CentOS

InstallShield checks for Operation System installed to know for it's compatibility or not. We can avoid/mask this check change the /etc/issue file. So the same thinks this OS is a trully Red Hat Enterprise


The original is the following one:

CentOS release 5 (Final)
Kernel \r on an \m

Update to:


Red Hat Enterprise Linux ES release 4 (Nahant Update 1)
Kernel \r on an \m

Logoff and Logon again.

Ver também