How to Install HRMS Legislative Data
How to apply Oracle Hrglobal Legislative Patch
HRMS Global Steps
- Stop Apps Services
- Set Apps environment and enable
Maintenance Mode.
. ./apps/apps_st/appl/TEST_paytest.en
. ./apps/apps_st/appl/TEST_paytest.en
Let's configure Oracle 13c OMS that is running with the following details:-
Operating System Oracle Linux 6.10 (el6uek.x86_64)
Database SID testdb
Database Version Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
Oracle 13c OMS Ver Oracle Enterprise Manager Cloud Control 13c Release 3
Following is the script for taking weekly cold backup for 13c OMS Server in a Linux environment
Create a script with cold.sh as per my sample script
Script
echo
echo
date
echo
echo "Shutting Down OMS Services of 13c Monitoring Cloud Control for Cold Backup ......."
echo
echo
echo
export ORACLE_HOME=/u01/db/dbhome_1
export ORACLE_SID=testdb
export OMS_HOME=/u01/cloud/middleware
export AGENT_HOME=/u01/cloud/agent/agent_13.3.0.0.0
$OMS_HOME/bin/emctl stop oms -all
/u01/cloud/agent/agent_13.3.0.0.0/bin/emctl stop agent
echo "Shutting Down Database and Listener Services of 13c Monitoring Cloud Control for Cold Backup ......."
echo
echo
echo
#$ORACLE_HOME/bin/sqlplus "/ as sysdba" <<EOF1
#shutdown immediate;
#EOF1
#sqlplus "/ as sysdba" <<EOF1
#shutdown immediate;
#EOF1
#$ORACLE_HOME/bin/lsnrctl stop
date
echo
sleep 10;
date
echo "All Services are down for 13c Monitoring Cloud Control Cold Backup ......."
echo
echo
echo
date
echo "Starting Tar Backup for 13c Monitoring Cloud Control with Database"
echo
echo
echo
AS1=Oracle13c-OMS-TAR_$(date +%d-%m-%Y).tgz
#AS2=Oracle13c-DB-TAR_$(date +%d-%m-%Y).tgz
#AS3=Oracle13c-DBInventory-TAR_$(date +%d-%m-%Y).tgz
echo
/bin/tar -cvzf /u01/backup/cold/$AS1 /u01/cloud
#/bin/tar -cvzf /u01/backup/cold/$AS2 /u01/db
#/bin/tar -cvzf /u01/backup/cold/$AS3 /u01/oraInventory
echo
echo
date
echo
echo "Backup Successfully Completed for 13c Monitoring Cloud Control"
echo "Starting 13c Monitoring Cloud Control Services ......."
$ORACLE_HOME/bin/lsnrctl start
$ORACLE_HOME/bin/sqlplus "/ as sysdba" <<EOF1
startup;
EOF1
$OMS_HOME/bin/emctl start oms
/u01/cloud/agent/agent_13.3.0.0.0/bin/emctl start agent
date
echo "All Services are Up after 13c Monitoring Cloud Control Cold Backup Completion ......."
echo
echo
Create a crontab schedule job for running the above script on a weekly basis
01 00 * * 6 /home/oracle/backup/scripts/cold.sh > /home/oracle/backup/logs/cold.log
This script will run at 00:01 on Saturday Night, you may change it accordingly as per your desired time.
Here I am going to share with you how we can rename WebLogic 11g
Instance for cloning purposes or as per any other requirement.
Example
We have 2 x Linux Servers
Server 1 = prodserver.domain.com
Server 2 = testserver.domain.com
Step 1
Edit file vi
/oracle/domains/FRDomain/config/fmwconfig/servers/AdminServer/applications/em/META-INF/emoms.properties
And change
1. oracle.sysman.emSDK.svlt.ConsoleServerHost=
2. oracle.sysman.emSDK.svlt.ConsoleServerName=testserver.domain.com:7001_Management_Service
Step 2
Open file
/oracle/domains/FRDomain/servers/WLS_REPORTS/tmp/_WL_user/reports_11.1.2/uxabaw/configuration/rwservlet.properties
and change host name entry.
Step 3
Edit Start and Stop Web logic scripts
Open file /oracle/domains/FRDomain/bin/startWebLogic.sh and edit
host name entry.
Open file /oracle/domains/FRDomain/bin/stopWebLogic.sh and edit
host name entry.
Open file /oracle/domains/FRDomain/bin/startManagedWebLogic.sh and
edit host name entry.
Open file /oracle/domains/FRDomain/bin/stopManagedWebLogic.sh and
change host name entry.
Step 4
Verify both scripts
1) Start
Weblogic using script and Form and Report Services.
2) Stop Weblogic
using script and Form and Report Services.
Conclusion
In this way, we can make a Test Server for Weblogic Forms and Reports environment.
Oracle Hot Backup Restore steps |
Hello everyone, My name is Muhammad Kamran . I'm always keen to share my best of knowledge with all concerned audience with best wishes and prayers for their career groom.
Learn More →