RSYNC Commads

RSYNC Commads

Note: Configure the password less SSH connectivity between the source and target servers

rsync -av /erp_appl/oracle/app/apps/apps_st/appl applmgr@standbyhost:/erp_appl/oracle/app/apps/apps_st --rsync-path=/usr/bin/rsync

rsync -av /erp_appl/oracle/app/apps/apps_st/comn
applmgr@standbyhost:/erp_appl/oracle/app/apps/apps_st --rsync-path=/usr/bin/rsync

rsync -av /erp_appl/oracle/app/inst/apps/logs/appl/conc/log applmgr@standbyhost:/erp_appl/oracle/app/inst/apps/logs/appl/conc --rsync-path=/usr/bin/rsync

rsync -av /erp_appl/oracle/app/inst/apps/logs/appl/conc/out applmgr@standbyhost:/erp_appl/oracle/app/inst/apps/logs/appl/conc --rsync-path=/usr/bin/rsync

rsync -av /erp_appl/oracle/app/inst/apps/logs/appl/conc/log applmgr@standbyhost:/erp_appl/oracle/app/inst/apps/logs/appl/conc --rsync-path=/usr/bin/rsync

rsync -av /erp_appl/oracle/app/inst/apps/logs/appl/conc/out applmgr@standbyhost:/erp_appl/oracle/app/inst/apps/logs/appl/conc --rsync-path=/usr/bin/rsync


Example shell scripts for RSYNC Job script

-bash-4.4$ cat /export/home/applprd/dba/bin/standby_appstier_rsyncjob.ksh

echo "#############################################################"
# "Created by Nizamudheen Attiri for Oracle EBS Apps Stanby Tier sync"
echo " "
date
echo "Apps Standby Tier Sync Job Started"
echo "Apps Tier Sync Job Started for APPL_TOP"
rsync -av /erp_appl/oracle/app/apps/apps_st/appl applprd@standbyhostapp1:/erp_appl/oracle/app/apps/apps_st --rsync-path=/usr/bin/rsync
if [ "$?" -eq "0" ]
then
echo "Apps Tier Sync Job Completed for APPL_TOP"
else
echo "Error while running rsync for APPL_TOP"
fi
echo "Apps Tier Sync Job Started for COMMON_TOP"
rsync -av /erp_appl/oracle/app/apps/apps_st/comn applprd@standbyhostapp1:/erp_appl/oracle/app/apps/apps_st --rsync-path=/usr/bin/rsync
if [ "$?" -eq "0" ]
then
echo "Apps Tier Sync Job Completed for COMMON_TOP"
else
echo "Error while running rsync for COMMON_TOP"
fi
echo "Apps Tier Sync Started for Concurrent Request logs in production node1"
rsync -av /erp_appl/oracle/app/inst/apps/ERPDBA_prodnode1/logs/appl/conc/log applprd@standbyhostapp1:/erp_appl/oracle/app/inst/apps/ERPDBA1_standbyhostapp1/logs/appl/conc --rsync-path=/usr/bin/rsync
if [ "$?" -eq "0" ]
then
echo "Apps Tier Sync Job Completed for Concurrent Request logs in production node1"
else
echo "Error while running rsync for Concurrent Request logs in production node1"
fi
echo "Apps Tier Sync Started for Concurrent Request outs in production node1"
rsync -av /erp_appl/oracle/app/inst/apps/ERPDBA_prodnode1/logs/appl/conc/out applprd@standbyhostapp1:/erp_appl/oracle/app/inst/apps/ERPDBA1_standbyhostapp1/logs/appl/conc --rsync-path=/usr/bin/rsync
if [ "$?" -eq "0" ]
then
echo "Apps Tier Sync Job Completed for Concurrent Request outs in production node1"
else
echo "Error while running rsync for Concurrent Request outs in production node1"
fi
echo "Apps Tier Sync Started for Concurrent Request logs in production node2"
rsync -av /erp_appl/oracle/app/inst/apps/ERPDBA_prodnode1/logs/appl/conc/log applprd@standbyhostapp1:/erp_appl/oracle/app/inst/apps/ERPDBA1_standbyhostapp1/logs/appl/conc --rsync-path=/usr/bin/rsync
if [ "$?" -eq "0" ]
then
echo "Apps Tier Sync Job Completed for Concurrent Request logs in production node2"
else
echo "Error while running rsync for Concurrent Request logs in production node2"
fi
echo "Apps Tier Sync Started for Concurrent Request outs in production node2"
rsync -av /erp_appl/oracle/app/inst/apps/ERPDBA_prodnode2/logs/appl/conc/out applprd@standbyhostapp1:/erp_appl/oracle/app/inst/apps/ERPDBA1_standbyhostapp1/logs/appl/conc --rsync-path=/usr/bin/rsync
if [ "$?" -eq "0" ]
then
echo "Apps Tier Sync Job Completed for Concurrent Request outs in production node2"
else
echo "Error while running rsync for Concurrent Request outs in production node2"
fi
echo "Oracle EBS Apps Standby Tier Sync Job Completed"
-bash-4.4$

appsdbahelp

17+ years of experience in Oracle Database, Oracle Cloud Infrastructure(OCI), Oracle EBS on Cloud, Oracle E-Business Suite, DevOps tools, Oracle WebLogic, Oracle Application Server, Oracle Access Manager and various Operating System flavors including Redhat Linux, UNIX (Solaris, HP-UX) and Windows. Expert in Oracle9i/10g/11g/12c/19c database administration, upgrade, configuration and tuning. Experience in Oracle E-Business Suite technological stack, including architecture, installation, configuration, maintenance, tuning, cloning and patching procedures. Expert in Oracle Cloud Infrastructure(OCI), Oracle EBS On Cloud and Oracle EBS Cloud Manager Experience with Oracle Cloud Solution and Expert of Oracle ERP/Oracle HCM Cloud deployment Experience in Terraform, JSON and chef cloud infrastructure automation framework Knowledge of ASM, Data Guard, Real Application Cluster, Exadata and Exalogic Knowledge of Oracle Enterprise Manager(OEM) Grid Control, Oracle WebLogic, Oracle Internet Directory, Oracle Access Manager and Apache Ability to analyze problem, develops solutions and bring program/project execution to completion.

Post a Comment

Previous Post Next Post