Friday, June 10, 2005
Symphony Experience
You can find the Symphony Taiga release package under:
/pcc/release/work/sym/taiga/RC1_0429/
/* I am using following documents to guide the my exercise */
\symphony\docs\2.1\sym2.1_suite_install.pdf
\symphony\docs\2.1\sym2.1_admin.pdf
--------------
(0) Preparation
--------------
(1) install j2sdk1.4.1_01 to /home/puliu
(2) add lines to .login file
setenv CVSROOT :pserver:puliu@cvssrv:/cvs/CVS
setenv JAVA_HOME /home/puliu/j2sdk1.4.1_01
setenv JAVACMD $JAVA_HOME/bin/java
(3) cvs -co symphony
(4) copy the appropriate Make.def file from /home/puliu/symphony/config to its parent directory /home/puliu/symphony. For the cluster in Linux, we used Make.def.linux2.4-gcc3.2-x86 as Make.def
/* It was when I tried command "Make" that I was advised to install JDK */
------------
(1) Compile & Make distribution trees and tars
------------
(1) login into qa4 as root
/* qa4 happened to have all the neccessary files for compilation */
(2) run "make"
/* actually got error message for not installing JDK which failed the ANT compilation. So I returned to install JDK and set the appropriate environment variables in .login file */
(3) run "make help" to get the make options
(4) run the following commands
make brelease_symphony - main distrib tree
make brel_symphony_tar - main dustrib tar
make brel_cli_tar - CLI pacakge
make brel_symphony_setup - installer
make brelease_GUI - GUI distrib tree
make brel_GUI_tar - GUI tar file
and generate the following tar files and correspondent directories
sym2.2_cli_linux2.4-gcc3.2-x86.tar.Z
sym2.2_install.tar.Z
sym2.2_gui_linux2.4-gcc3.2-x86.tar.Z
sym2.2_linux2.4-gcc3.2-x86.tar.Z
/* It takes time for me to figure out what components I need to make when I tried to run sym2.2_install. It stopped many times to warn me that I am missing some tar files */
(5) get into directory sym2.2_install and modify install.conf file as follows:
SYM_TOP="/scratch/dev5/puliu/symphony"
SYM_ADMINS="puliu"
SYM_MASTER_HOST="qa5"
SYM_MASTER_FAILOVER_HOSTS="qa4"
SYM_GUI_HOST="qa4"
SYM_SSM_HOSTS="qa2"
SYM_COMPUTE_HOSTS="qa1"
SYM_LOCAL_TOP="/home/puliu/usr/Symphony"
/*
When I tried to install symphony in my home directory, I met with the disk quota full error. Thanks to Jun Zhu who told me to install it to /scratch/dev5. /scratch/dev5 is a NFS directory, and under it we created the directory puliu/symphony. It is strange that we need to "ls dev5" to see it.
*/
(6) prepare license file
copy /pcc/lsfqa-trusted/Standard_Code/license/license.dat.sym.new to
/home/puliu/symphony/license.dat
/* Thanks to Jun Zhu who got the license file to me*/
(7) in direcrory sym2.2_install
run "syminstall"
/*At the first try, one of the host failed (qa3 as SSM), is there any easy way to re-deploy symphony without re-installation? I had to remove the installed package and repeated installation again after making the change in config file*/
---------------
(3) Run addHost on each hosts
---------------
[root@qa5 puliu]# . /scratch/dev5/puliu/symphony/conf/profile.lsf
[root@qa5 puliu]# addHost
Logging installation sequence in /scratch/dev5/puliu/symphony/2.2/install/Install.log
Adding Symphony init file ...
Adding Symphony Console init file ...
Copying /etc/rc.d/init.d/symconsole, /etc/rc.d/rc3.d/S95symconsole and /etc/rc.d/rc2.d/K05symconsole
... Symphony host setup is done.
Host qa5 already exists in the cluster configuration
file lsf.cluster.symphony.
Staying with previous configuration ...
[root@qa4 puliu]# . /scratch/dev5/puliu/symphony/conf/profile.lsf
[root@qa4 puliu]# addHost
Logging installation sequence in /scratch/dev5/puliu/symphony/2.2/install/Install.log
Adding Symphony init file ...
Adding Symphony Console init file ...
Copying /etc/rc.d/init.d/symconsole, /etc/rc.d/rc3.d/S95symconsole and /etc/rc.d/rc2.d/K05symconsole
... Symphony host setup is done.
Host qa4 already exists in the cluster configuration
file lsf.cluster.symphony.
Staying with previous configuration ...
[root@qa2 puliu]# . /scratch/dev5/puliu/symphony/conf/profile.lsf
[root@qa2 puliu]# addHost
Logging installation sequence in /scratch/dev5/puliu/symphony/2.2/install/Install.log
Adding Symphony init file ...
Adding Symphony Console init file ...
Copying /etc/rc.d/init.d/symconsole, /etc/rc.d/rc3.d/S95symconsole and /etc/rc.d/rc2.d/K05symconsole
... Symphony host setup is done.
Host qa2 already exists in the cluster configuration
file lsf.cluster.symphony.
Staying with previous configuration ...
[root@qa1 puliu]# . /scratch/dev5/puliu/symphony/conf/profile.lsf
[root@qa1 puliu]# addHost
Logging installation sequence in /scratch/dev5/puliu/symphony/2.2/install/Install.log
Adding Symphony init file ...
Adding Symphony Console init file ...
Copying /etc/rc.d/init.d/symconsole, /etc/rc.d/rc3.d/S95symconsole and /etc/rc.d/rc2.d/K05symconsole
... Symphony host setup is done.
Host qa1 already exists in the cluster configuration
file lsf.cluster.symphony.
Staying with previous configuration ...
------------------
(4) Start Platform Symphony
------------------
puliu@qa5-8: source /scratch/dev5/puliu/symphony/conf/cshrc.lsf
puliu@qa5-9: symstartup -all
Starting up LIMs on all ...
Start up LIM on
Start up LIM on
Start up LIM on
Start up LIM on
Starting up RESes on all ...
Start up RES on
Start up RES on
Start up RES on
Start up RES on
Starting up slave daemons on all LSBATCH hosts ...
Start up slave batch daemon on
Start up slave batch daemon on
Start up slave batch daemon on
Start up slave batch daemon on
Done starting up Symphony daemons on the local cluster ...
---------------------
(5) Start the Management Console
---------------------
puliu@qa4-2: source /scratch/dev5/puliu/symphony/conf/cshrc.lsf
puliu@qa4-3: symguistartup
Failed to start the Tomcat web server. Port(s) 8005 is(are) already in use.
The Symphony Management Console uses the port(s). Change the port number in /scratch/dev5/puliu/symphony/2.2/gui/jakarta-tomcat-4.0.4/conf/server.xml
and tyr it again.
puliu@qa4-4: vi /scratch/dev5/puliu/symphony/2.2/gui/jakarta-tomcat-4.0.4/conf/server.xml
#####################
Edit
==>
#####################
puliu@qa4-5: symguistartup
Using CATALINA_BASE: /scratch/dev5/puliu/symphony/2.2/gui/jakarta-tomcat-4.0.4
Using CATALINA_HOME: /scratch/dev5/puliu/symphony/2.2/gui/jakarta-tomcat-4.0.4
Using CATALINA_TMPDIR: /scratch/dev5/puliu/symphony/2.2/gui/jakarta-tomcat-4.0.4/temp
Using JAVA_HOME: /scratch/dev5/puliu/symphony/2.2/gui/j2sdk_1_4_1_01/linux_i586
-------------------------
(6) Log on to the Management Console
-------------------------
use browser to open url
http://qa4.lsf.platform.com:8080/Platform/login/Login.jsp
use userID: Administrator and Password: Administrator
automatically redirected to change password : 666666
Got the following info
1. Platform Symphony Client Port: http://qa5.lsf.platform.com:6883
(7)
./runJavaClient SampleClient -w http://qa5.lsf.platform.com:6883 -q Sample
./sampleAPI -w http://qa5.lsf.platform.com:6883 -q Sample -u sampleOperator -p sampleOperator
Code <2>: Failed to get the address for Session manager from the soapserver. Check specified soapserver URL. Reason