Top Banner
http://mohamedazar.com | [email protected] Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed Azar Database Administrator
54

Step by Step Siebel 15.0 Industry Applications ... · PDF file | [email protected] Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

Feb 18, 2018

Download

Documents

truongthien
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 1

Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed Azar Database Administrator

Page 2: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 2

This deployment is based on single server. So I have installed the Database, Siebel 8.15 Application, Gateway and HTTP server also on this same server. If you want to install on multi tier, you have to install Gateway, Siebel enterprise, Web Server over there Software Requirement: Siebel Software 8.15 Linux 64 bit You can download from http://edelivery.oracle.com

Oracle Database 12c (12.1.0.2) 64bit : http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html Oracle Client 11gR2 (11.2.0.4) 32bit : Download Patch : Doc ID 1923424.1 p13390677_112040_LINUX_4of7.zip 613M

Java Package 64bit : jdk-6u26-linux-x64-rpm.bin http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html#jdk-6u26-oth-JPR Oracle HTTP Server 11.1.1.9.0 Linux 32bit http://www.oracle.com/technetwork/middleware/webtier/downloads/index-jsp-156711.html Hardware Requirement: My environment: (Please note, Below noted RAM & Processor size is my environment, You can decrease or increase your RAM and Processor size according to your requirement But minimum 4 Gb is better for your installation).

Page 3: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 3

Operating System : Redhat Linux 6.2 64bit RAM : 4 GB Processor : 2 HDD : 100 GB Prerequisite : If you’re going to deploy Siebel & database on the single server means, If you’re done prerequisite of Oracle database 12c , No need to do any prerequisite configuration for Siebel installation like rpm..etc.) In case If you want to do Siebel installation on separate server, you have to install below rpm packages on those servers. Database Prerequisite: Kernel : # Controls the maximum shared segment size, in bytes kernel.shmmax = 68719476736 # Controls the maximum number of shared memory segments, in pages kernel.shmall = 4294967296 fs.aio-max-nr = 1048576 fs.file-max = 6815744 kernel.shmmni = 4096 # semaphores: semmsl, semmns, semopm, semmni kernel.sem = 250 32000 100 128 net.ipv4.ip_local_port_range = 9000 65500 net.core.rmem_default=4194304 net.core.rmem_max=4194304 net.core.wmem_default=1048576 net.core.wmem_max=1048576 [root@premiadb ~]# /sbin/sysctl –p Security Limits : Add the below lines in end of the file /etc/security/limits.conf oracle soft nproc 16384 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536 oracle soft stack 10240 oracle hard stack 32768 siebel soft nofile 65536 siebel hard nofile 65536 Security or Firewall is disabled : [root@premiadb ~]# cat /etc/selinux/config # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values:

Page 4: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 4

# enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - SELinux is fully disabled. SELINUX=disabled # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted Firewall stop [root@premiadb ~]# service iptables stop [root@premiadb ~]# chkconfig iptables off [root@premiadb ~]# service iptables status Firewall is stopped. [root@premiadb ~]# Database Rpm package : Dependency rpm may be required for below rpm package installation, So try to install using like yum install gcc.( i686,x86_64} Please check after installed rpm packages rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" | grep glibc binutils-2.20.51.0.2-5.11.el6 (x86_64) compat-libcap1-1.10-1 (x86_64) compat-libstdc++-33-3.2.3-69.el6 (x86_64) compat-libstdc++-33-3.2.3-69.el6 (i686) compat-db(i686) -- Siebel Required rpm, database not required compat-db(x86_64) -- Siebel Required rpm, database not required gcc-4.4.4-13.el6 (x86_64) gcc-c++-4.4.4-13.el6 (x86_64) glibc-2.12-1.7.el6 (i686) glibc-2.12-1.7.el6 (x86_64) glibc-devel-2.12-1.7.el6 (x86_64) glibc-devel-2.12-1.7.el6 (i686) gdbm- 1.8.0-36.el6 (i686) – Database not required, Web server & siebel Required gdbm- 1.8.0-36.el6 (x86_64) – Database not required, Web server & siebel Required ksh libgcc-4.4.4-13.el6 (i686) libgcc-4.4.4-13.el6 (x86_64) libstdc++-4.4.4-13.el6 (x86_64) libstdc++-4.4.4-13.el6 (i686) libstdc++-devel-4.4.4-13.el6 (x86_64) libstdc++-devel-4.4.4-13.el6 (i686) libaio-0.3.107-10.el6 (x86_64) libaio-0.3.107-10.el6 (i686) libaio-devel-0.3.107-10.el6 (x86_64)

Page 5: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 5

libaio-devel-0.3.107-10.el6 (i686) libXext-1.1 (x86_64) libXext-1.1 (i686) libXtst-1.0.99.2 (x86_64) libXtst-1.0.99.2 (i686) libX11-1.3 (x86_64) libX11-1.3 (i686) libXau-1.0.5 (x86_64) libXau-1.0.5 (i686) libxcb-1.5 (x86_64) libxcb-1.5 (i686) libXi-1.3 (x86_64) libXi-1.3 (i686) make-3.81-19.el6 sysstat-9.0.4-11.el6 (x86_64) unixODBC(i686) unixODBC(x86_64) unixODBC-devel(i686) unixODBC-devel(x86_64) User and group creation for Oracle database install: [root@siebeltrng ~]# groupadd oinstall [root@siebeltrng ~]# groupadd dba [root@siebeltrng ~]# useradd -g oinstall -G dba oracle [root@siebeltrng ~]# passwd oracle Changing password for user oracle. New password: BAD PASSWORD: it is based on a dictionary word BAD PASSWORD: is too simple Retype new password: passwd: all authentication tokens updated successfully. /etc/security/limits.d/90-nproc.conf # Change this * soft nproc 1024 # To this * - nproc 16384 Oracle home directory creation [root@siebeltrng ~]# mkdir -p /u01/app/oracle/product/12.0.2/dbhome_1 [root@siebeltrng ~]# chown -Rf oracle:oinstall /u01/app [root@siebeltrng ~]# chmod -Rf 775 /u01/app User creation for Siebel install [root@siebeltrng ~]# mkdir -p /u01/siebel [root@siebeltrng ~]# groupadd siebapp

Page 6: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 6

[root@siebeltrng ~]# useradd -g siebapp siebel [root@siebeltrng ~]# passwd siebel Changing password for user siebel. New UNIX password: BAD PASSWORD: it is based on a dictionary word Retype new UNIX password: passwd: all authentication tokens updated successfully. [root@siebeltrng ~]# [root@siebeltrng ~]# chown -Rf siebel:siebapp /u01/siebel [root@siebeltrng ~]# chmod -Rf 775 /u01/Siebel 12 Software and database Creation : Note : characterset is Unicode Database Creation as oracle os user: Step 1:

Step 2 :

Step 3:

Page 7: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 7

Step 4:

Step 5:

Step 6:

Page 8: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 8

Step 7:

Step 8:

Step 9:

Page 9: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 9

Step 10:

Step 11:

Step 12:

Step 13 :

Step 14:

Page 10: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 10

Step 15:

Step 16:

Step 17:

Page 11: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 11

Step 18:

Step 19:

Step 19: Run the below script as a root user

Step 20:

Page 12: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 12

Database creation is done. Please make sure Database up and running and listener also [oracle@siebeltrng ~]$ sqlplus / as sysdba SQL*Plus: Release 12.1.0.2.0 Production on Wed Feb 17 12:11:39 2016 Copyright (c) 1982, 2014, Oracle. All rights reserved. Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options SQL> select name from v$database; NAME --------- SIEBTRNG SQL> exit Disconnected from Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options [oracle@siebeltrng ~]$ lsnrctl status LSNRCTL for Linux: Version 12.1.0.2.0 - Production on 17-FEB-2016 12:11:56 Copyright (c) 1991, 2014, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=siebeltrng)(PORT=1521))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 12.1.0.2.0 - Production Start Date 17-FEB-2016 11:53:13 Uptime 0 days 0 hr. 18 min. 43 sec

Page 13: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 13

Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /u01/app/oracle/product/12.1.0.2/dbhome_1/network/admin/listener.ora Listener Log File /u01/app/oracle/diag/tnslsnr/siebeltrng/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=siebeltrng)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=siebeltrng)(PORT=5500))(Security=(my_wallet_directory=/u01/app/oracle/admin/SIEBTRNG/xdb_wallet))(Presentation=HTTP)(Session=RAW)) Services Summary... Service "SIEBTRNG" has 1 instance(s). Instance "SIEBTRNG", status READY, has 1 handler(s) for this service... Service "SIEBTRNGXDB" has 1 instance(s). Instance "SIEBTRNG", status READY, has 1 handler(s) for this service... The command completed successfully [oracle@siebeltrng ~]$ Siebel Installation Part : Create directory :

[root@siebeltrng rpm]# mkdir -p /var/adm/siebel [root@siebeltrng rpm]# chown -Rf siebel:siebapp /var/adm/ [root@siebeltrng rpm]# chmod -Rf 775 /var/adm Extract all the Siebel software in one place /u01/siebel/installables Install oracle 32bit client as Siebel os user: cd /u01/app/oraInventory/ chmod -Rf 777 * Step 1: Change CV_ASSUME_DISTID from oel 4 to oel 6 [siebel@siebeltrng admin]$ pwd /u01/siebel/client/stage/cvu/cv/admin [siebel@siebeltrng admin]$ vi cvu_config Change CV_ASSUME_DISTID from oel 4 to oel 6 And save it [siebel@premiadb client]$ pwd /premia/siebel/32_linux_11gR2_client/client [siebel@premiadb client]$ ./runInstaller

Page 14: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 14

Step 2:

Step 3:

Step 4:

Client installation done. Please add the siebtrng tns string in tnsnames.ora file [siebel@siebeltrng client_1]$ pwd

Page 15: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 15

/u01/siebel/oraclient/db/product/11.2.0/client_1 [siebel@siebeltrng client_1]$ cd network/admin [siebel@siebeltrng admin]$ cat tnsnames.ora # tnsnames.ora Network Configuration File: /u01/siebel/oraclient/db/product/11.2.0/client_1/network/admin/tnsnames.ora # Generated by Oracle configuration tools. SIEBTRNG = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = siebeltrng)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = SIEBTRNG) ) ) Install Java [root@siebeltrng usr]#./jdk-6u26-linux-x64-rpm.bin Set java home path and oracle home path Please set the bash profile environment in Siebel user RESOLV_MULTI=off; export RESOLV_MULTI ORACLE_SID=SIEBELDB; export ORACLE_SID ORACLE_BASE=/u01/siebel/oraclient/db; export ORACLE_BASE ORACLE_HOME=/u01/siebel/oraclient/db/product/11.2.0/client_1; export ORACLE_HOME CLASSPATH=$ORACLE_HOME/jdk/jre:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH JAVA_HOME=/usr/java/jdk1.6.0_26; export JAVA_HOME CLASSPATH=$ORACLE_HOME/jdk/jre:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH ODBCINI=${SIEBEL_ROOT}/sys/.odbc.ini ; export ODBCINI PATH=$PATH:$ORACLE_HOME/bin:/usr/java/jdk1.6.0_26/bin:/usr/sbin; export PATH LD_LIBRARY_PATH= $ORACLE_HOME/lib32 :$ORACLE_HOME/lib:/usr/lib; export LD_LIBRARY_PATH CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH PATH=$ORACLE_HOME/bin:$PATH; export PATH Siebel Image Creation: [siebel@siebeltrng installables]$ pwd /u01/siebel/installables [siebel@siebeltrng installables]$./snic.sh

Page 16: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 16

Step 1:

Step 2 :

Step 3:

Step 4:

Step 5:

Page 17: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 17

Step 6:

Step 7:

Siebel Enterprise configuration [siebel@siebeltrng install]$ pwd /u01/siebel/Siebel_Install_Image/15.0.0.0/Linux/Server/Siebel_Enterprise_Server/Disk1/install [siebel@siebeltrng install]$ ./runInstaller Step 1:

Page 18: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 18

Step 2:

Step 3:

Step 4:

Page 19: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 19

Step 5:

Step 6 :

Step 7:

Page 20: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 20

Step 8:

Siebel Gateway configuration Configure a new gateway Server [siebel@siebeltrng gtwysrvr]$ . ./cfgenv.sh [siebel@siebeltrng config]$ export RESOLV_MULTI=off (Note: better If you add this in bash_profile) [siebel@siebeltrng config]$ pwd /u01/siebel/Siebel/15.0.0.0.0/ses/config [siebel@siebeltrng config]$ ./config.sh -mode enterprise Step 1:

Step 2:

Page 21: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 21

Step 3:

Step 4:

Step 5:

Gateway Service Status : Gateway service is created [siebel@siebeltrng gtwysrvr]$ . ./siebenv.sh [siebel@siebeltrng gtwysrvr]$ list_ns started at Mon Feb 22 14:38:04 2016, pid: 2541, autostart: no Configure a new enterprise in a gateway server

Page 22: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 22

Create File system directory in gateway server location [siebel@siebeltrng gtwysrvr]$ mkdir -p fs [siebel@siebeltrng gtwysrvr]$ chown -Rf siebel:siebapp fs [siebel@siebeltrng gtwysrvr]$ chmod -Rf 775 fs [siebel@siebeltrng gtwysrvr]$ . ./cfgenv.sh [siebel@siebeltrng config]$ export RESOLV_MULTI=off (Note: better If you add this in bash_profile) [siebel@siebeltrng config]$ pwd /u01/siebel/Siebel/15.0.0.0.0/ses/config [siebel@siebeltrng config]$ ./config.sh -mode enterprise Step 1:

Step 2:

Step 3:

Page 23: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 23

Step 4:

Step 5:

Page 24: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 24

Step 6:

Step 7:

Step 8:

Step 9:

Step 10:

Page 25: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 25

Step 11:

Step 12:

Step 13:

Page 26: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 26

Step 14:

Configure a new Siebel web server Extension logical profile [siebel@siebeltrng gtwysrvr]$ . ./cfgenv.sh [siebel@siebeltrng config]$ export RESOLV_MULTI=off (Note: better If you add this in bash_profile) [siebel@siebeltrng config]$ pwd /u01/siebel/Siebel/15.0.0.0.0/ses/config [siebel@siebeltrng config]$ ./config.sh -mode enterprise Step 1:

Step 2:

Page 27: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 27

Step 3:

Step 4:

Step 5:

Page 28: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 28

Step 6:

Step 7:

Step 8:

Page 29: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 29

Step 9:

Step 10:

Step 11:

Page 30: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 30

Step 12: Any name : key

Step 13:

Step 14:

Page 31: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 31

Step 15:

Step 16:

Step 17:

Page 32: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 32

Execute database scripts in database [siebel@siebeltrng oracle]$ pwd /u01/siebel/Siebel/15.0.0.0.0/ses/dbsrvr/oracle [siebel@siebeltrng oracle]$ ls -ltr grantusr.sql -rwxr-xr-x 1 siebel siebapp 4087 Feb 18 14:33 grantusr.sql Tablespace created SQL> Create tablespace siebelts Datafile 'siebelts01.dbf' Size 2G AUTOEXTEND on NEXT 100M MAXSIZE UNLIMITED; Tablespace created. SQL> Create tablespace siebelindexts Datafile 'siebelindexts01.dbf' Size 2G AUTOEXTEND on NEXT 100M MAXSIZE UNLIMITED; Tablespace created. Grantusr.sql rem Create Role sse_role create role sse_role; grant create session to sse_role; rem Create Role tblo_role create role tblo_role; grant ALTER SESSION, CREATE CLUSTER, CREATE DATABASE LINK, CREATE INDEXTYPE, CREATE OPERATOR, CREATE PROCEDURE, CREATE SEQUENCE, CREATE SESSION, CREATE SYNONYM, CREATE TABLE, CREATE TRIGGER, CREATE TYPE, CREATE VIEW, CREATE DIMENSION, CREATE MATERIALIZED VIEW, QUERY REWRITE, ON COMMIT REFRESH to tblo_role;

Page 33: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 33

rem Create SIEBEL user create user SIEBEL identified by SIEBEL; grant tblo_role to SIEBEL; grant sse_role to SIEBEL; alter user SIEBEL quota 0 on SYSTEM quota 0 on SYSAUX; alter user SIEBEL default tablespace &&siebel_tablespace; alter user SIEBEL temporary tablespace &&temp_tablespace; alter user SIEBEL quota unlimited on &&siebel_tablespace; alter user SIEBEL quota unlimited on SIEBELINDEXTS; rem ================================================== rem Create db accounts for Siebel users rem ================================================== create user SADMIN identified by SADMIN; grant sse_role to SADMIN; alter user SADMIN default tablespace &&siebel_tablespace; alter user SADMIN temporary tablespace &&temp_tablespace; alter user SADMIN quota unlimited on &&siebel_tablespace; alter user SADMIN quota unlimited on SIEBELINDEXTS; create user LDAPUSER identified by LDAPUSER; grant sse_role to LDAPUSER; alter user LDAPUSER default tablespace &&siebel_tablespace; alter user LDAPUSER temporary tablespace &&temp_tablespace; create user GUESTERM identified by GUESTERM; grant sse_role to GUESTERM; alter user GUESTERM default tablespace &&siebel_tablespace; alter user GUESTERM temporary tablespace &&temp_tablespace; create user GUESTCST identified by GUESTCST; grant sse_role to GUESTCST; alter user GUESTCST default tablespace &&siebel_tablespace; alter user GUESTCST temporary tablespace &&temp_tablespace; as sysdba SQL> @grantusr.sql Database configuration : Before do database configuration in Siebel, we need to create db enviornment [siebel@siebeltrng install]$ pwd /u01/siebel/Siebel/15.0.0.0.0/ses/siebsrvr/install_script/install [siebel@siebeltrng install]$ ./CreateDbSrvrEnvScript /u01/siebel/Siebel/15.0.0.0.0/ses ENU Oracle Set oracle home 32 bit environment in dbenv.sh

Page 34: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 34

$ORACLE_HOME/lib -- > $LD_LIBRARY_PATH Vi dbenv.sh else LD_LIBRARY_PATH=${SIEBEL_ROOT}/lib:/u01/siebel/oraclient/db/product/11.2.0/client_1/lib:${SIEBEL_ROOT}/lib/odbc/merant:${MWHOME}/lib:${SQLANY}/lib:/usr/lib:${LD_LIBRARY_PATH} It will ask odbc source name, source name should be located in [siebel@siebeltrng sys]$ pwd /u01/siebel/Siebel/15.0.0.0.0/ses/gtwysrvr/sys [siebel@siebeltrng sys]$ ls -ltr .odbc.ini -rw-r--r-- 1 siebel siebapp 784 Feb 18 14:20 .odbc.ini [SiebelEnt_DSN] SiebelEnt_DSN is odbc name Driver=/u01/siebel/Siebel/15.0.0.0.0/ses/gtwysrvr/lib/SEor825.so ColumnSizeAsCharacter=1 ColumnsAsChar=1 ArraySize=160000 ServerName=SIEBTRNG [siebel@siebeltrng siebsrvr]$ . ./dbenv.sh [siebel@siebeltrng config]$ pwd /u01/siebel/Siebel/15.0.0.0.0/ses/config [siebel@siebeltrng config]$ ./config.sh -mode dbsrvr Step 1:

Step 2:

Page 35: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 35

Step 3:

Step 4:

Step 5:

Page 36: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 36

Step 6:

Step 7:

Step 8:

Page 37: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 37

Step 9:

Step 10:

Step 11:

Page 38: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 38

Step 12:

Step 13:

Step 14:

Page 39: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 39

Step 15:

Step 16:

Step 17:

Page 40: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 40

Run the below scripts, It will create Siebel database [siebel@siebeltrng bin]$ pwd /u01/siebel/Siebel/15.0.0.0.0/ses/siebsrvr/bin [siebel@siebeltrng bin]$ srvrupgwwiz /m master_install.ucf Configure the Siebel Server [siebel@siebeltrng siebsrvr]$ pwd /u01/siebel/Siebel/15.0.0.0.0/ses/siebsrvr [siebel@siebeltrng siebsrvr]$ . ./cfgenv.sh [siebel@siebeltrng siebsrvr]$ cd .. [siebel@siebeltrng ses]$ cd config/ [siebel@siebeltrng config]$ ./config.sh -mode siebsrvr Step 1:

Step 2:

Page 41: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 41

Step 3:

Step 4:

Page 42: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 42

Step 5:

Step 6:

Step 7:

Step 8:

Page 43: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 43

Step 9:

Step 10:

Page 44: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 44

Start the Siebel service [siebel@siebeltrng siebsrvr]$ . ./siebenv.sh [siebel@siebeltrng siebsrvr]$ start_server all [siebel@siebeltrng siebsrvr]$ list_server all Siebel Server "SiebelSrvr" (Enterprise "SiebelEnt") started at Mon Feb 22 15:54:05 2016, pid: 4722, autostart: no [siebel@siebeltrng siebsrvr]$ Install HTTP Server 32 bit on 64 bit linux Make sure below rpm packages are installed libXrender.i686 libaio.i686 libuuid.i686 libstdc++.i686 Move the existing /usr/bin/gcc file to /usr/bin/gcc.orig with the mv command: mv /usr/bin/gcc /usr/bin/gcc.orig Using a text editor such as vi, create a new file called gcc41 that contains the following content (the line beginning with exec must be a single line): #!/bin/sh exec /usr/bin/gcc.orig -m32 -static-libgcc -B /usr/lib/gcc/x86_64-redhat-linux/4.4.6/32/ $* Note: The directory usr/lib/gcc/x86_64-redhat-linux/4.4.6/32/ may differ slightly depending on the version of your Linux operating system. Search for the corresponding 32-bit directory under /usr/lib/gcc on your Linux operating system and use that directory in the gcc41 file. Change the file permission for the gcc41 file using the following command:

Page 45: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 45

chmod 755 /usr/bin/gcc41 Create a symbolic link to /usr/bin/gcc with the following command: ln -s -f /usr/bin/gcc41 /usr/bin/gcc Exit as the root user. Add the below line in /etc/security/limits.conf siebel soft nofile 65536 siebel hard nofile 65536 [siebel@siebeltrng siebel]$ linux32 bash [siebel@siebeltrng linux]$ pwd /u01/siebel/Disk1/install/linux [siebel@siebeltrng linux]$ ./runInstaller Step 1:

Step 2:

Step 3:

Page 46: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 46

Step 4:

Step 5:

Page 47: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 47

Step 6:

Step 7:

Install Siebel Web Server [siebel@siebeltrng install]$ pwd /u01/siebel/Siebel_Install_Image/15.0.0.0/Linux/Server/Siebel_Web_Server_Extension/Disk1/install [siebel@siebeltrng install]$ ./runInstaller Step 1:

Page 48: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 48

Step 2:

Step 3:

Step 4:

Page 49: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 49

Step 5:

Step 6:

Before Applying swse logical profile, Please do the following activities for http server

To enable the web server to listen on a privileged port and run as non-privileged user the following the steps need to be done: As a root user chown root .apachectl chmod 6750 .apachectl

Page 50: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 50

As a Siebel User Add the Below line LD_LIBRARY_PATH in apachectl and RESOLV_MULTI /u01/siebel/Siebel/Middleware/Oracle_WT3/ohs/bin/apachectl LD_LIBRARY_PATH=/u01/siebel/Siebel/15.0.0.0.0/ses/eappweb/bin:/u01/siebel/Siebel/15.0.0.0.0/ses/eappweb/bin/enu RESOLV_MULTI=off ; export RESOLV_MULTI Apply swse logical profile [siebel@siebeltrng eappweb]$ pwd /u01/siebel/Siebel/15.0.0.0.0/ses/eappweb [siebel@siebeltrng eappweb]$ . ./cfgenv.sh [siebel@siebeltrng eappweb]$ cd config [siebel@siebeltrng config]$ ./config.sh -mode swse Step 1:

Step 2:

Page 51: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 51

Step 3:

Step 4:

Step 5:

Page 52: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 52

Step 6:

Step 7:

Step 8:

Step 9:

Page 53: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 53

Please make sure the http server are running [siebel@siebeltrng bin]$ pwd /u01/siebel/Siebel/Middleware/Oracle_WT3/instances/instance1/bin [siebel@siebeltrng bin]$ ./opmnctl status Processes in Instance: instance1 ---------------------------------+--------------------+---------+--------- ias-component | process-type | pid | status ---------------------------------+--------------------+---------+--------- ohs1 | OHS | 7052 | Alive [siebel@siebeltrng bin]$ Successfully installed Siebel 15.0 on redhat linux 6.2 Please check the Siebel Application : Login as SADMIN

Page 54: Step by Step Siebel 15.0 Industry Applications ... · PDF file | azar@mohamedazar.com Page 1 Step by Step Siebel 15.0 Industry Applications installation guide on Redhat Linux 6.2 Mohamed

http://mohamedazar.com | [email protected] Page 54