0% found this document useful (0 votes)
110 views8 pages

Fixpack3 Updated

The document provides instructions for installing a DB2 fix pack on a system. It involves stopping processes, taking backups, installing the fix pack files with the installFixPack command, running post-installation scripts to update the database, and updating the global directory. Key steps include running db6_update_db.sh and db6_update_client.sh scripts to apply changes to the database and client.

Uploaded by

Jaya Chandra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
110 views8 pages

Fixpack3 Updated

The document provides instructions for installing a DB2 fix pack on a system. It involves stopping processes, taking backups, installing the fix pack files with the installFixPack command, running post-installation scripts to update the database, and updating the global directory. Key steps include running db6_update_db.sh and db6_update_client.sh scripts to apply changes to the database and client.

Uploaded by

Jaya Chandra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 8

Xandria off:

root>: /syslink/lyceus/bin/lyceus -off SapSystem=<SB1>


root>: /syslink/lyceus/bin/lyceus -off server=<SERVER> -cascade
STOP BACKUP SCHEDULAR:
stopsrc -s dsmc_<B02>
the db2iupdt command overwrites the db2profile and db2cshrc scripts. so take bac
kup in the path /db2/db2b02/sqllib
take backup of /db2/db2b02/db2_10.1_fp2
________________________________________________________________________________
________________________________
root@abd00022:/db2/db2b02 # su - db2b02
abd00022:db2b02 1> db2level
DB21085I This instance or install (instance name, where applicable: "db2b02")
uses "64" bits and DB2 code release "SQL10012" with level identifier
"0203010E".
Informational tokens are "DB2 v10.1.0.2", "s121127", "IP23387", and Fix Pack
"2".
Product is installed at "/db2/db2b02/db2_10.1_fp2".
________________________________________________________________________________
________________________________
Stop the system:
<b02>adm>: stopsap
If db2 not stopped properly...please go with below steps
db2<b02>: db2stop force
Stop the db2 process
db2<b02>: db2 terminate
Stop smdagents
<daa>adm>: stopsap
Stop sap process
<sb1>adm>: cleanipc <no> remove
root>: /usr/sbin/slibclean
Kill all process
root>: ps -eaf|grep <db2>
root>: ps -eaf|grep <sap>
root>: ps -eaf|grep <<SB1>>
root>: Kill -9 <PID>
Stop the admin instance if exists only.
cd /db2/db2b01/db2_10.1_fp2/das/bin

db2admin stop
________________________________________________________________________________
________________________________
Install fix pack:root user
***SCREEN mode****
root: cd /sds/abb/INERPTEAM/UK_PLT_23Oct/db2_Fixpack3/DB2_LUW_10.1_FP3SAP_RDBMS_
AIX_HP_SOL_/AIX_64/ESE/disk1
root: ./installFixPack -b /db2/db2a05/db2_software
OUTPUT:
root@abd00022:/sds/abb/INERPTEAM/UK_PLT_23Oct/db2_Fixpack3/DB2_LUW_10.1_FP3SAP_R
DBMS_AIX_HP_SOL_/AIX_64/ESE/disk1 # ./installFixPack -b /db2/db2b02/db2_10.1_fp2
-p /db2/db2b02/db2_10.1_fp3
DBI1017I installFixPack is updating the DB2 product(s) installed in
location /db2/db2b02/db2_10.1_fp2.
DB2 installation is being initialized.
Total number of tasks to be performed: 33
Total estimated time for all tasks to be performed: 2155 second(s)
Task #1 start
Description: Preparing the system
Estimated time 120 second(s)
Task #1 end
Task #2 start
Description: Base Client Support for installation with root privileges
Estimated time 4 second(s)
Task #2 end
Task #3 start
Description: Product Messages - English
Estimated time 13 second(s)
Task #3 end
Task #4 start
Description: Base client support
Estimated time 383 second(s)
Task #4 end
Task #5 start
Description: Java Runtime Support
Estimated time 3 second(s)
Task #5 end
Task #6 start
Description: Java Help (HTML) - English
Estimated time 7 second(s)
Task #6 end
Task #7 start
Description: Base server support for installation with root privileges
Estimated time 7 second(s)
Task #7 end

Task #8 start
Description: Global Secure ToolKit
Estimated time 83 second(s)
Task #8 end
Task #9 start
Description: Java support
Estimated time 12 second(s)
Task #9 end
Task #10 start
Description: SQL procedures
Estimated time 3 second(s)
Task #10 end
Task #11 start
Description: ICU Utilities
Estimated time 42 second(s)
Task #11 end
Task #12 start
Description: Java Common files
Estimated time 18 second(s)
Task #12 end
Task #13 start
Description: Base server support
Estimated time 500 second(s)
Task #13 end
Task #14 start
Description: Connect support
Estimated time 3 second(s)
Task #14 end
Task #15 start
Description: DB2 data source support
Estimated time 13 second(s)
Task #15 end
Task #16 start
Description: IBM Software Development Kit (SDK) for Java(TM)
Estimated time 288 second(s)
Task #16 end
Task #17 start
Description: DB2 LDAP support
Estimated time 4 second(s)
Task #17 end
Task #18 start
Description: DB2 Instance Setup wizard
Estimated time 19 second(s)
Task #18 end
Task #19 start
Description: Integrated Flash Copy Support
Estimated time 489 second(s)
Task #19 end

Task #20 start


Description: Communication support - TCP/IP
Estimated time 3 second(s)
Task #20 end
Task #21 start
Description: DB2 Update Service
Estimated time 4 second(s)
Task #21 end
Task #22 start
Description: Parallel Extension
Estimated time 3 second(s)
Task #22 end
Task #23 start
Description: EnterpriseDB code
Estimated time 4 second(s)
Task #23 end
Task #24 start
Description: Replication tools
Estimated time 62 second(s)
Task #24 end
Task #25 start
Description: Sample database source
Estimated time 4 second(s)
Task #25 end
Task #26 start
Description: itlm
Estimated time 3 second(s)
Task #26 end
Task #27 start
Description: Command Line Processor Plus
Estimated time 6 second(s)
Task #27 end
Task #28 start
Description: First Steps
Estimated time 3 second(s)
Task #28 end
Task #29 start
Description: Product Signature for DB2 Enterprise Server Edition
Estimated time 6 second(s)
Task #29 end
Task #30 start
Description: Setting DB2 library path
Estimated time 180 second(s)
Task #30 end
Task #31 start
Description: Executing control tasks
Estimated time 20 second(s)
Task #31 end

Task #32 start


Description: Updating global registry
Estimated time 20 second(s)
Task #32 end
Task #33 start
Description: Updating the db2ls link
Estimated time 1 second(s)
Task #33 end
Task #34 start
Description: Registering DB2 licenses
Estimated time 5 second(s)
Task #34 end
The execution completed successfully.
For more information see the DB2 installation log at
"/tmp/installFixPack.log.9961718".
------------------------------------------------------------------------------POST PROCESSING:
db2<sb1>: db2start
*****************************************************************
UNIX:
db6_update_db.sh -m -d <DBSID> (after an upgrade)
db6_update_db.sh -d <DBSID> (after a Fix Pack installation)
run db6_update_db.sh to create update script(s)
*****************************************************************
root>: cd
root>: cp
root>: cp
db2<sb1>:

/db2/B04/sapdata1/scripts
-Rp /sds/abb/INERPTEAM/UK_PLT_23Oct/db2_Fixpack3/SAPCAR .
-Rp /sds/abb/INERPTEAM/UK_PLT_23Oct/db2_Fixpack3/db6_update_db.SAR .
cd /db2/SB1/sapdata1/scripts

abd00028:db2<sb1>: SAPCAR -xvf db6_update_db.SAR


SAPCAR: processing archive db6_update_db.SAR (version 2.00)
x db6_update_db.bat
x db6_update_db.jar
x db6_update_db.sh
SAPCAR: 3 file(s) extracted
db2<sb1>: ./db6_update_db.sh -d <SB1>
OUTPUT:
SQL: db2 -x "SELECT RTRIM(CHAR(FIXPACK_NUM)) FROM SYSIBMADM.ENV_INST_INFO"
OS RETURN CODE: 0
Result: 3
Executing SQL Command :
SQL: db2 -x "select count(*) from syscat.tables where tabname='E070' or tabname
='J2EE_CONFIG'"
OS RETURN CODE: 0
Result:
1
###########
###########

###########
Leaving Function Adapt_eventmonitor_tables
Entering Function Enable Concurrency Threshold
-- Refresh and enable DB2 Concurrency Threshold SYSDEFAULTCONCURRENT
Leaving Function Enable Concurrency Threshold
Entering Function additional_actions_non_netweaver_systems
This is a NETWEAVER system, so no additional steps will be performed
Leaving Function additional_actions_non_netweaver_systems
Executing SQL Command :
SQL: db2 -x "terminate"
OS RETURN CODE: 0
Result: DB20000I The TERMINATE command completed successfully.
<ENTER>
********************************************************************************
**************************************
********************************************************************************
**************************************
The db6_update_db.sh script generates the SQL script db6_update_db_out.sql.
The SQL commands for adjusting the parameter settings are written to the output
script db6_update_db_out.sql.
Check the settings in this script and adjust them if required.
db2<sb1>: db2 -z db6_update_db_out.sql_07Jan2014.log -tvf db6_update_db_out.sql
OUTPUT:
connect to SB1
Database Connection Information
Database server
= DB2/AIX64 10.1.3
SQL authorization ID = DB2SB1
Local database alias = SB1
alter tablespace SAPEVENTMON autoresize yes
DB20000I The SQL command completed successfully.
###########
###########
###########
2014-01-07-19.49.42.254026 End of Processin
4 record(s) selected.
Return Status = 0
terminate
DB20000I The TERMINATE command completed successfully.
<ENTER>
check the log for errors and take necessary actions.
db2<sb1>: more db6_update_db_out.sql_07Jan2014.log
________________________________________________________________________________
________________________________

Updating the Global Directory:


root>: cd /sapmnt/<SB1>/
root>: mkdir client_scripts
root>: cd /sapmnt/<SB1>/client_scripts
root>: cp -Rp /sds/abb/INERPTEAM/UK_PLT_23Oct/db2_Fixpack3/51047436.ZIP .
root>: unzip 51047436.ZIP
*****************************************************************
Start the script "db6_update_client.sh" from this directory.
For ABAP and dual-stack systems use the following ommand: ./db6_update_client.sh
-u
For Java-only systems use the following command: db6_update_client.sh -j
*****************************************************************
<sb1>adm>: cd /sapmnt/<SB1>/client_scripts/CLIENT
<sb1>adm>: ./db6_update_client.sh -u
abd00022:b02adm 6> ./db6_update_client.sh -u
*********************************************************
* this is db6_update_client.sh script version 0008
*
*********************************************************
determined current OS where script is executed: AIX_64
source path: /sapmnt/B02/client_scripts/CLIENT
target path: /usr/sap/B02/SYS/global/db6
#***************************************************************************#
# updating existing CLI drivers
#***************************************************************************#
directory /usr/sap/B02/SYS/global/db6/AIX_64/db6_clidriver does exist, deleting.
..
creating directory /usr/sap/B02/SYS/global/db6/AIX_64/db6_clidriver
copying new CLI driver to /usr/sap/B02/SYS/global/db6/AIX_64/db6_clidriver
#***************************************************************************#
# copying JDBC driver
#***************************************************************************#
directory /usr/sap/B02/SYS/global/db6/jdbc does exist, deleting
creating directory /usr/sap/B02/SYS/global/db6/jdbc
copying new JDBC driver to /usr/sap/B02/SYS/global/db6/jdbc
#***************************************************************************#
# create db2cli.ini
#***************************************************************************#
/usr/sap/B02/SYS/global/db6/db2cli.ini does exist, nothing to do...
skipping creation of /usr/sap/B02/SYS/global/db6/db2cli.ini
#***************************************************************************#
-------------root@abd00022:/usr/sap/B02/SYS/global/db6 # ls -ltr
total 8
-rw-r--r-1 b02adm sapsys
165 Oct 28
drwxr-xr-x
2 b02adm sapsys
256 Oct 29
drwxr-x--3 b02adm sapsys
256 Jan 08
drwxr-xr-x
2 b02adm sapsys
256 Jan 08

18:09
08:37
20:10
20:10

db2cli.ini
db2dump
AIX_64
jdbc

root@abd00022:/usr/sap/B02/SYS/global/db6 # cat db2cli.ini


; Comment lines start with a semi-colon.
[B02]
Database=B02
Protocol=tcpip
Hostname=abd00022
Servicename=20000
[COMMON]
________________________________________________________________________________
_____________________
Start the SAP system:
<sb1>adm>: startsap
<sb1>adm>: /usr/sap/hostctrl/exe/saposcol -l -w60 pf=/usr/sap/hostctrl/exe/host_
profile
start smdagent:
<daa>adm.: startsap
START BACKUP SCHEDULAR:
startsrc -s dsmc_<SB1>
Start Xandria:
root>: /syslink/lyceus/bin/lyceus -on SapSystem=<SB1>
root>: /syslink/lyceus/bin/lyceus -on server=<SERVER> -cascade
check Xandria for green alerts.
==============

===============

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy