Siebel Installations >  Siebel Patch Installation on Solaris Part 2

Once the installer image has been created, we need to copy over the software.
cd into the folders, there will be a lot of them.
Inside Solaris->Server , the patch would look like this.

/your/folder/for/patch/Solaris/Server> ls -l
total 32
drwxr-xr-x 3 root root 4096 Jan 21 2011 Siebel_Enterprise_Server
drwxr-xr-x 2 root root 4096 Jan 21 2011 Siebel_Management_Agent
drwxr-xr-x 3 root root 4096 Jan 21 2011 Siebel_Strong_Encryption
drwxr-xr-x 2 root root 4096 Jan 21 2011 Siebel_Web_Server_Extension

We need to copy over Siebel_Enterprise_Server to the servers where we have Siebel Server installed.
Copy the entire folder structure over. i.e. Solaris/Server/Siebel_Enterprise_Server/*

For every siebel server that we have copy this folder over there. We need to install this several times.
If we have 3 Siebel servers, we would have to install this 3 times.

We also need to copy the Solaris/Server/Siebel_Web_Server_Extension/* to each web server that
we have. And we have to install this in each web server.

The other two folders, I have not installed so far. Siebel_Management_Agent is needed to manage automatic deployment tools
like Application Deployment Manager (ADM) and Siebel Diagnostic Tools.If you have these tools, consider installing this part also.

If you require an encryption level greater than 56-bit RC2 encryption, the Siebel Strong Encryption Pack is used.
This provides more secure encryption alternatives for your Siebel Enterprise. In this case you should consider installing
Siebel_Strong_Encryption. SSL web servers do not need this.

After the folders are copied over, change their permissions to siebel
Use the chown command.

Make sure that siebel user has write permissions on /var/adm/siebel
Copy and take a backup of vpd.properties file. This will be inside /var/adm/siebel

Now we should log in as siebel or as superuser/root, preferably siebel.

We should stop processes in this order

1) Web Server
2) Siebel Server
4) Gateway Server


Web server stopping:
Log into the webserver. If you have ssl, you will need to stop both the servers separately.
The non-ssl one will be running on port 80 and the ssl one on port 443. These are the default ports.

cd /installation_folder/sjs/sjs_http_6.1/https-ta-sfa
./stop
You should get a message on the command prompt that the webserver has been stopped.

To check the status of web servers –
netstat -an | grep 80
netstat -an | grep 443

If the processes do not stop, and you have to kill these processes, type
ps -ef | grep webservd
kill processid

there will be 3 instances of ssl and 3 processes of non-ssl if nothing has been stopped.
After this log out of these servers


Siebel Server Stopping
Log into Siebel servers
load siebenv.sh from /app_folder/siebel/8.1/siebsrvr folder( use command . ./siebenv.sh)
cd to /app_folder/siebel/8.1/siebsrvr/bin
and then
./stop_server -r /app_folder/siebel/8.1/siebsrvr -e ENTSERVERNAME SIEBELSERVERNAME

ENTSERVERNAME = Replace this with the name of your enterprise server
SIEBELSERVERNAME = Replace this with the name of your siebel server

after that type prstat and check if Siebel processes have stopped. Siebel chart services can continue running.

You need to stop every siebel server.

Gateway server stopping:
Go to the gateway server folder e.g.

cd /app_folder/siebel/8.1/gtwysrvr/
. ./siebenv.sh
cd bin
stop_ns
To check status, type ps -ef | grep siebsvc
The command above should show both the gateway and Siebel servers


Actual patch installation:
After this, make sure you log out of all terminals. We cannot install the patch if we have loaded any Siebel environment variables.
Patches need to be installed in every server. If one server has both web and siebel server, install the web patch and then the siebel patch for this server.
This means you install twice, the order should not matter.

Log in as user Siebel and type set.
This should show all variables set for the user. If any Siebel related variables are loaded, edit the .bashrc and comment out these variables. Log out and log back in.
Otherwise try the UNSET command to remove loaded variables.

Go to folder - /patch_folder/Solaris/Server/Siebel_Enterprise_Server
The folders could be like this
-rw-r--r-- 1 siebel sse_role 8396 Feb 7 00:00 cksum.jar
-rw-r--r-- 1 siebel sse_role 4227 Feb 7 00:01 crc.txt
drwxr-xr-x 2 siebel sse_role 4096 Apr 2 13:45 csy
drwxr-xr-x 2 siebel sse_role 4096 Apr 2 13:45 enu
-rw-r--r-- 1 siebel sse_role 12 Feb 7 00:00 media.inf
drwxr-xr-x 3 siebel sse_role 4096 Apr 2 13:44 setup
-rw-r--r-- 1 siebel sse_role 4165986 Feb 7 00:00 setup.jar
-rw-r--r-- 1 siebel sse_role 41135112 Feb 7 00:00 setupsol
-rw-r--r-- 1 siebel sse_role 58385 Feb 7 00:00 siebel.ini

Chmod 0755 all files in this directory
And then type ./setupsol –console

Then for every option we should press enter (do not select any numbers unless you want to exit)
The output should be like this

/patch_folder/Solaris/8.1.1.3.qf03bn/Solaris/Server/Siebel_Enterprise_Server> ./setupsol -console
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
..............................InstallShield Wizard

Initializing InstallShield Wizard...

Preparing Java(tm) Virtual Machine...
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
...................................
........................
Running InstallShield Wizard...


|-----------|-----------|-----------|------------|
0% 25% 50% 75% 100%
||||||||||||||||||||||||||||||||||||||||||||||||||
-------------------------------------------------------------------------------
Welcome to the InstallShield Wizard for Siebel Enterprise Server

The InstallShield Wizard will install Siebel Enterprise Server on your
computer.
To continue, choose Next.

Siebel Enterprise Server
Siebel Systems

 

Press 1 for Next, 3 to Cancel or 4 to Redisplay [1]

-------------------------------------------------------------------------------
Please select the instance you wish to patch.
Note: Once a patch is applied to an instance, a sub-component associated with a
product cannot be added to the patched products $Siebel_Root directory.
However, after patch installation, new sub-components for the product can be
installed in a new root directory and patched accordingly. This applies only
for Siebel Enterprise Server subcomponents. Click on Next to continue.


[X] 1 - Patch Siebel Enterprise Servers in /app_folder/siebel/8.1

To select an item enter its number, or 0 when you are finished: [0]


Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1]

1. Yes
2. No

The Siebel Server and/or other dependent processes are currently running. Would
you like the Siebel Installer to stop these processes and continue the
installation? If you choose NO, setup will exit. [1]


Configuring uninstallers. Please wait...


|-----------|-----------|-----------|------------|
0% 25% 50% 75% 100%
||||||||||||||||||||||||||||||||||||||||||||||||

Configuring features. Please wait...

-------------------------------------------------------------------------------
Siebel Enterprise Server will be installed in the following location:

/app_folder/siebel/8.1

with the following features:

Gateway
Gateway\SRVRCOMMON
Gateway\COMMON
Gateway\GTWYSRVR
Gateway\INSTALL
Gateway\MISC
Gateway\CONFIG
Gateway\CONFIG_SIA
Gateway\MISC_SIA
Gateway\COMMON_SIA
Siebel
Siebel\COMMON
Siebel\CFG
Siebel\SISNAPI

Press ENTER to read the text [Type q to quit]

Siebel\TPIVODBCDM
Siebel\TPIVODBCORA
Siebel\SXMLEXAMPLES
Siebel\CLASSES
Siebel\SRVRCOMMON
Siebel\UNIXUTILS
Siebel\SRVRINFRA
Siebel\SRVR
Siebel\SRVRCOMPS
Siebel\SIEBREMOTE
Siebel\SIEBSRVR
Siebel\FIELDSVC
Siebel\SDQCONNECTOR
Siebel\XMLP
Siebel\INSTALL
Siebel\AGENT
Siebel\CONFIG
Siebel\XSLT
Siebel\COMMON_SIA
Siebel\SRVRCOMMON_SIA

Press ENTER to read the text [Type q to quit]

Siebel\CLASSES_SIA
Siebel\UNIXUTILS_SIA
Siebel\SIEBSRVR_SIA
Siebel\INSTALL_SIA
Siebel\CONFIG_SIA
Siebel\XSLT_SIA
Siebel\XMLP_SIA
Db
Db\ORACLE
Db\DB2UDB
Db\DB2390
Db\ALWAYS
Db\COMMON
Db\LOCALE
Db\FILES
Db\ALWAYS_SIA
Db\FILES_SIA
Db\COMMON_SIA
Db\ORACLE_SIA
Db\DB2UDB_SIA

Press ENTER to read the text [Type q to quit]

Db\DB2390_SIA
Eai
Eai\ALWAYS
Eai\ORACLE107
Eai\ORACLE11I


for a total size:

449.1 MB

Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1]

Installing Siebel Enterprise Server. Please wait...


|-----------|-----------|-----------|------------|
0% 25% 50% 75% 100%
|||||||||||||||||||||||||||||||||||||||||||||||||

Installing selected language packs. Please wait...

At this point, we have to wait, maybe up to 45 minutes. Once it is finished, you will get some more options. Keep pressing enter and the process will exit.
Once the installation is over, we have to go to the folder /app_folder/siebel/8.1 and then type
Cat upgrade.txt
The last line should show that the patch has been installed.
e.g. INSTALLED : 8.1.1.3 : QF03BN : Wed Nov 23 17:53:46 MET 2011
Check part three to continue