Thursday, December 10, 2009

Bit Of Siebel…an install case study

Siebel Enterprise Server (SES) Installation Instructions
Navigate to < Installers_Location>/root/newdisk/Siebel_Enterprise_Server
Launch ./setuplinux from console mode
Follow on-screen instructions using the Installation Parameters table below
The whole thing should be done by a non-root user.
Please talk about the eapps.cfg
Parameter Parameter Value Default Comments
Directory Name /Siebel8
Select Products Minimal selection:
Gateway Server
Siebel Server
Database Configuration Utilities
Setup Type Custom x
Language enu-English (American) x
Configure Gateway
Gateway name server TCPIP Port 2320 x
Configure Gateway Name Server services to automatically start Yes x
Start the Gateway Name Server now Yes x
Gateway Name Server Host Name testServer10 Name of the local host.
Gateway Name Server Listening Port 2320
Siebel Enterprise Name siebel
Siebel File System /Siebel8/siebelfs
Siebel Database Platform Oracle Database 9i or 10g Enterprise edition
Database User Account SADMIN
Database user Account Password SADMIN
Schema Qualifier/Table Owner oraperf
SQL Connect String Sebeldb siebeldb
Select the s/w your Siebel installation will use for data matching None
Char server Connect String nill
Chart Image format PNG opt
Register External Oracle DB ODBC Driver False
Enterprise Description Siebel Enterprise
Port Number Assigned to Siebel SCBrocker Component 2321
Compression Type None
Guest Session Time out Value 300 X
Session Timeout value 900 X
HTTP Port number 8081(Default 80)
HTTPS Port number 443
Employee’s Anonymous Login Name sadmin
Employee’s Anonymous Login Password sadmin
Contact Login User Name sadmin
Contact Login User Password sadmin
Siebel Enterprise Security token siebel
Configure Siebel Enterprise SSL False
Encryption Type None
Load Balancing configuration Siebel Siebel Server In Enterprise(If there is no load balancing)
AppServerHostName testServer10 Name of the local host.
Port Number Assigned to Siebel SCBrocker Component 2321 x
Siebel Server/Web Server profile name testServer10 Name of the local host.
Verification Steps
Verify the following before proceeding farther:
1. Verify that /Siebel8/dbsrvr exists and contains files.
If files exist then what does that signify?
If not then what?
2. Verify that /Siebel8/gtwysrvr exists and contains files.
3. Verify that /Siebel8/siebsrvr exists and contains files.
Siebel Server Configuration
Parameter Parameter Value Default Comments
Name Server Host Name testServer10
Gateway Name Server Listening Port 2320
Enterprise for this Siebel siebel
Configure as Search Server false
Remote Search Server Host Name nill
Remote Search Server Port Number 2048
Siebel Server Profile name testServer10 Name of the local host.
Siebel Server Name testServer10 Name of the local host.
Siebel Server Description Siebel Server testServer10.cup.hp.com Siebel Server < Name of the local host.>
Override Synchronization Manager Port false
Siebel Server service to start automatically True
Start the Siebel service now True
Configure Siebel server SSL False
Siebel Management Agent Configuration
Siebel User Account sadmin
Siebel User Account Password sadmin
JRE Home Location /usr/java/jre1.6.0_14 Needs Sun Jdk to be installed. Linux’s default GNU JDK would not work.
Please describe the process of a) Installing SunJava
a) Disabling the GNU Java
RC2 encryption for Siebel AccountPassword False
RMI Register port 1199
Select the Authentication type None
SSL False
Siebel Web server Extension Installation Instructions
Parameter Parameter Value Default Comments
Directory /Siebel8/siebelswe
Language enu-English (American)
Profile Location /Siebel8/gateway servr/webserver
Web server Instance /home/oracle/oracle/OracleAS/ohs Where web-server is installed, here it is Oracle http Server.
Restart Webserver False
Once completed the installation of Web Server Extension has been completed without any error message , check whether components are running or not by running the following command:
For running this command how to set the path?
srvrmgr /e siebel /g testServer10 /u sadmin /p sadmin
e -> Enterprise Server Name
g ->
Issue 1: Apache server wasn’t finding one of the Siebel module shareables (libstcaswpi.so) to address this issue, we need to modify the /etc/ld.so.conf.d and add an oracle.conf file.
How to:
Go to the “/etc/ld.so.conf.d” location and create an oracle.conf file
Then open the oracle.conf file and add the Siebel webserver installed location till bin folder i.e “ /Siebel8/siebelswe/bin”
Example:
[oracle@testServer10 ld.so.conf.d]$ pwd
/etc/ld.so.conf.d
[oracle@testServer10 ld.so.conf.d]$ ls
oracle.conf qt-i386.conf
[oracle@testServer10 ld.so.conf.d]$ cat oracle.conf
/Siebel8/siebelswe/bin [ this is the path for the file : libstcaswpi.so that is : /Siebel8/siebelswe/bin/libstcaswpi.so
Issue 2: To fix up the httpd.conf file for the alias issue, for this perform the post installation task (editing httpd.conf file) after successful SWSE Install :
How to:
Modify the httpd.conf file and set the new Alias parameters.
Go to following location “/home/oracle/oracle/OracleAS/ohs/conf” and open the httpd.conf file and modify with “Alias /custappsvcs_enu /Siebel8/siebelswe/public/enu” under below parameter tag
LoadModule swe_module modules/libmod_swe.so
<IfModule mod_swe.cpp>
AddHandler swe_service .swe .swef
SWEConfigFile eapps.cfg
SiebelHome /Siebel8/siebelswe
/*here you have to add the following value*/
Alias /custappsvcs_enu /Siebel8/siebelswe/public/enu
Then we will be noticed that it won’t run on port 80 (because it is no longer being run as a privileged user). You'll need to move to a higher port (try 8081).
Normally we get the following error message :
Error: permission denied :socket could not find to address 127.0.0.1:80
>> no listening socket is available
To change the listening port to 8081we need to follow the below steps:
1) Go to the “/home/oracle/oracle/OracleAS/ohs/conf” location
2) Open the httpd.conf file and add new port number : Listen 8081
Make a new connection to the database:
Update the .odbc.ini file, this file we can find in application server location.
/Siebel8/siebsrvr/sys/.odbc.ini
Then add the ServerName =siebeldb under [siebsrvr_siebel] section.
And also add the database Siebel.dbf location as Database=/Siebel8/siebsrvr/dbtempl/siebel.dbf
Update .bash_profile file:
Once the database connectivity has been made successfully, then check the environment variable are correctly setup in bash_profile file if not,add the environment variable information in .bash_profile file, this file we can find in “/home/oracle/.bash_profile”location.
Update the TWO_TASK=siamst
update the JAVA_HOME=/usr/lib/jvm/jre location.
Licensing Siebel:
Once every thing is setup correctly, then need to execute the Siebel license i.e license.sql from oracle sysdba oraperf user.
Server restarting steps:
1. Stop :
a. Web Server
b. Application Server
c. Gateway Server
d. Database Server
2. Start :
a. Database Server
b. Gateway Server
c. Application Server
d. WebServer
Restart the services:
Export the following environment variable as below:
a) . . /.bash_profile
b) . . /appserver.sh
c) . . /siebsrvr.sh
d) . . /gateway.sh
Then stop the following services:
1. For application services restart—
· stop –server all
· start-server all
2. For web server services restart—
· ./opmnctl startall
· ./opmnctl stopall
3. For Gateway name server restart—
· stop_ns
· Start_ns
Run the “list comps” command to check the components running status:
Connect to srvrmgr with following parameters:
srvrmgr /e siebel /g testServer10 /u sadmin /p sadmin
Check the odbcsql connectivity through TNS physical connectivity.
Run the “list comps” command, it shows the list of running components information.
Once all the components are running, then need to update the new patch which has been given by Mark.
==========================================================
The http server,here OHS,keeps the info for the WebExtension in :/home/oracle/oracle/OracleAS/ohs/conf/httpd.conf
It contains the line below:
Alias /custappsvcs_enu /Siebel8/siebelswe/public/enu
Sometimes you might not see this entry by default. Then you have to add that under <IfModule mod_swe.cpp> tab.
Now, the “eapps.cfg” file contains parameters used by the Siebel Web Engine to control all Siebel applications’ interactions with the Web Engine.
Location =/Siebel8/siebelswe/bin/eapps.cfg -- master
You could see same file with bit changed data in 2 more locations:
/Siebel8/gtwysrvr/webserver/eapps.cfg
/Siebel8/siebelfs/profile/testServer10/eapps.cfg
Web server runs on : http://15.244.29.146:8083/
Then Siebel app should run on : http://15.244.29.146:8083/fins_enu

No comments:

Post a Comment