Wednesday, July 29, 2009

Installazione IBM Director 6.1 su CentOS 5

Scaricare IBM Director. Scompattarlo e lanciare questo script di shell:
# ./dirinstall.server
Se si ottiene:
SELinux installed.  Determining if SELinux is enabled...
SELinux is set to enforcing mode.  IBM Systems Director Server is not
supported on a system with SELinux enabled.

The following components have failed to install successfully.
Please see /var/log/dirinst.log for more information.
    * IBM Director Platform Agent
    * IBM Director Common Agent
    * IBM Director Server
occorre disattivare SELinux sostituendo in /etc/selinux/config la riga:
SELINUX=enforcing
con:
SELINUX=disabled
e riavviando il sistema.

Se si ottiene:
Could not find a supported operating system for IBM Systems Director.

The following components have failed to install successfully.
Please see /var/log/dirinst.log for more information.
    * IBM Director Platform Agent
    * IBM Director Common Agent
    * IBM Director Server
allora occorre modificare la riga del file /etc/redhat-release:
CentOS release 5.3 (Final)
in:
CentOS Red Hat Enterprise Linux release 5.3 (Final)
questo è sufficiente affinché Director creda che stiamo usando RHEL (CentOS è del tutto simile a RHEL).

Se si ottiene:
RHEL 5 Update = 3

********************************************************************************
This program is licensed under the terms of the agreement located in the license
file in the program's installation license folder or in the license folder on
the source media.
By installing, copying, accessing, or using the program, you agree to the terms
of this agreement. If you do not agree to the terms, do not install, copy,
access, or use the program.
********************************************************************************

DNZINS110E: IBM Director Server requires the libstdc++.so.5
            package to be installed. Exiting.

The following components have failed to install successfully.
Please see /var/log/dirinst.log for more information.
    * IBM Director Platform Agent
    * IBM Director Common Agent
    * IBM Director Server
occorre installare le librerie di compatibilità. In CentOS 5 basta fare:
yum install compat-libstdc++-33.i386
Se nei messaggio di installazione si intravede:
In order to deploy agents, you must first install the following rpms.
 * expect
eseguire una tantum:
yum install expect
Alla fine dell'installazione si ottiene un breve aiuto:
You must configure the agent manager prior to starting the server.
To configure the agent manager, run
 /opt/ibm/director/bin/configAgtMgr.sh
To start the server manually, run
 /opt/ibm/director/bin/smstart
Occorre fare:
# /opt/ibm/director/bin/configAgtMgr.sh
Enter the Resource Manager user ID that you would like to set for your Agent Manager:
root
Enter the Resource Manager password to set for your Agent Manager:

Verify the Resource Manager password to set for your Agent Manager:

Enter the Agent Registration password to set for your Agent Manager:

Verify the Agent Registration password to set for your Agent Manager:

Would you like to use an existing Agent Manager (yes or no)?
no
Quindi:
/opt/ibm/director/bin/smstart
attendere un po' finché non si ottiene il seguente responso:
# /opt/ibm/director/bin/smstatus
Attiva
A questo punto si può utilizzare l'interfaccia su:
https://NOME_HOST:8422/ibm/console/

No comments: