You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5.6 KiB
5.6 KiB
IFS Deployment Steps Guide
This guide details the steps for installing a new delivery package in IFS, covering environment setup, database preparation, installation, and final cleanup.
I. Preparation and Access
- Log in to VPN:
- Log in to the IPL - VPN.
- Log in to Management Server:
- Log in to the Management Server (e.g.,
ifsapp).
- Log in to the Management Server (e.g.,
- Check Current Delivery Level:
- Check the current delivery level from the application, specifically using the Delivery Registry.
- Identify Target Delivery:
- The delivery you need to install is the next available delivery.
- Download Delivery Package:
- Download the delivery from the build place.
- Copy Delivery Package:
- Copy the delivery package to the designated delivery installation directory.
II. Environment Configuration (Kube & Middle-Tier)
- Source the Environment with Kube Configuration:
- Run the following commands to configure
kube:.\main.ps1 -resource 'GETKUBECONFIG'copy .\config\kube\config $HOME\.kube\
- Run the following commands to configure
- Verify Namespace and Pods:
- The correct namespace is "IPLUPG".
- Get all namespaces:
kubectl.exe get ns - Verify running Pods in the target namespace:
kubectl.exe get pods -n IPLUPG
- Stop the Middle-Tier:
- Stop the Middle-Tier. The namespace is "IPLUPG".
- Command Example:
<path to delivery installation folder>\mtctl.cmd stop -n IPLUPG
III. Database Preparation
- Log in to Oracle Server:
- Log in to the Oracle Linux server with the username "oracle".
- Connect to the database:
sqlplus / as sysdba
- Source the Instance:
- Set the Oracle environment ID:
. oraenvOR
set oracle_sid=<SID>
- Set the Oracle environment ID:
- Verify Instance and PDB Status:
- Check the status of Pluggable Databases (PDBs):
show PDB
- Check the status of Pluggable Databases (PDBs):
- Check Archive Log Mode:
- Determine if the DB is running in
archive logorno archive logmode:archive log list
- Determine if the DB is running in
- Check DB Recovery Destination:
- Check the recovery file destination and size parameters:
show parameter db_recovery_file_dest_sizeshow parameter db_recovery_file_dest
- Check the recovery file destination and size parameters:
- Create Temporary Directory:
- Create a directory named "TEST" in the
/u02partition:mkdir /u02/TEST
- Create a directory named "TEST" in the
- Configure Recovery Destination (If No Archive Log):
- If the database is in
no archive logmode, configure the destination:db_recovery_file_dest_size=100Gdb_recovery_file_dest=/u02/TEST
- If the database is in
- Set Database to Archive Log Mode:
- Change DB to Archivelog:
shutdown immediatestartup mountalter database archivelog;alter database open; - (The "No Archivelog" commands are provided here for later reference.)
- Change DB to No Archivelog:
*shutdown immediate* *startup mount* *alter database noarchivelog;* *alter database open;*
- Change DB to Archivelog:
- Verify Instance and PDB Status (Post-change):
- Re-verify the status of PDBs:
show PDB
- Re-verify the status of PDBs:
- Configure Restore Point:
- Create a guaranteed restore point before deployment:
create restore point delivery guarantee flashback database; - (To drop the restore point later, use:
drop restore point delivery;)
- Create a guaranteed restore point before deployment:
IV. Delivery Installation and Verification
- Run the Delivery Database Part:
- Execute the database installer part of the delivery:
.\installer.cmd --set action=dbinstaller --values <Path>\ifscloud-values.yaml --values <Path>\solutionset.yaml --set dbInstaller.sysPassword=<DBPassword>
- Execute the database installer part of the delivery:
- Verify the Logs:
- Check for errors and successful completion in the logs located at:
ifsroot\logs\ifscloudinstaller\
- Check for errors and successful completion in the logs located at:
- Run the Delivery Middle-Tier Part:
- Execute the middle-tier installer part:
.\installer.cmd --set action=mtinstaller --values <Path>\ifscloud-values.yaml
- Execute the middle-tier installer part:
- Verify the PODs Status:
- Check the status of the pods to ensure the middle-tier has started successfully:
kubectl.exe get pods -n IPLUPG
- Check the status of the pods to ensure the middle-tier has started successfully:
- Login and Verify Delivery Level:
- Log in to the application and verify that the new delivery level is correctly displayed.
V. Post-Installation Cleanup
- Drop Restore Point (If Successful):
- If the delivery is successful, remove the restore point:
drop restore point delivery;
- If the delivery is successful, remove the restore point:
- Stop Application:
- Stop the application (if necessary).
- Change Database to No Archivelog:
- Revert the database to No Archivelog mode:
shutdown immediate startup mount alter database noarchivelog; alter database open;
- Revert the database to No Archivelog mode:
- Start Application:
- Start the application to bring the system online.