Configuring a Two Host System
24
/db2/TS1/log_dir. Loading the data into the database may last several
hours.
For more details about installing an SAP R/3 system please refer to the SAP R/3
Installation Guide.
8. Flash the SAP software to the target disk and system:
a. Create the group dbts1adm and the user ts1adm on the target system
with the same userid and groupid as on the source system.
b. Copy the files from the ts1adm home directory (default:
/home/ts1adm) to the ts1adm home directory on the target system.
Alternatively you can also place the home directory of the ts1adm user on
the ESS disk used for the SAP system and create a link.
c. Make the following changes to the files in the home directory on the target
system:
Y Change the names of the files .dbenv_MACHA.csh and
.sapenv_MACHA.csh to .dbenv_MACHB.csh and
.sapenv_MACHB.csh respectively.
Y Change the names of the scripts used to start and stop the SAP
system: change
startsap_MACHA_00 and
stopsap_MACHA_00 to startsap_MACHB_00 and
stopsap_MACHB_00 respectively.
d. As root user execute the ts1sap FlashCopy task:
/usr/opt/ibm2105cli/rsExecuteTask.sh –v –s ESSCSS
ts1sap
e. Mount the file system /usr/sap on the target system:
mount /usr/sap
f. Modify the SAP system profiles on the target system in the directory
/usr/sap/TS1/SYS/profile as follows:
• Change the names of the profiles
START_DVEBMGS00_MACHA and TS1_DVEBMGS00_MACHA
to START_DVEBMGS00_MACHB and
TS1_DVEBMGS00_MACHB respectively.
•
Edit the profiles DEFAULT.PFL,
START_DVEBMGS00_MACHB
and TS1_DVEBMGS00_MACHB
and change all occurrences of MACHA to MACHB.
9. Create an identical instance db2ts1 on the Backup server. The HOME file
system is not part of a pair and may reside on an internal disk. Ensure the
UID/GID of the instance owner is identical across both machines. The current
example will use db2ts1 as the instance owner. Since there are two separate
copies of the instance directory, ensure that you update database manager
configuration parameters and DB2 profile variables on both instances, if required.
10. After installation the SAP system on the Primary server will be started
automatically.