小型機環境停機備份操作步驟
完整停機備份操作步驟:
1、 註釋掉zjop01(oraywzkr使用者)、zjop02(oracwyy使用者)、zjapp01(root使用者)、zjapp02(root、weblogic使用者)上的crontab定時任務的執行,從執行schedule中去掉所有當天的DP備份任務,使得當天不執行定時備份任務。
zjop01(oraywzkr)
#10 0 * * * /data1/dbbackup/rmanbackup/sh/startrman.sh > /dev/null 2>&1
#0 22 * * * /data1/dbbackup/sh/backup_daily.sh > /data1/dbbackup/cron.out
zjop01(root)
#0 2 * * * /data1/dbbackup/tarsh/tar.sh > /dev/null 2>&1
zjop02(oracwyy使用者)
#10 0 * * * /cwyy_arch/dbbackup/rmanbackup/sh/startrman.sh > /dev/null 2>&1
#0 22 * * * /cwyy_arch/dbbackup/sh/backup_daily.sh > /cwyy_arch/dbbackup/cron.out
zjop02(root)
#0 1 * * * /cwyy_arch/dbbackup/tarsh/tar.sh > /dev/null 2>&1
zjapp01(root使用者)
#10 0 * * * /usr/local/appbackup/sh/apptar.sh
zjapp02(root使用者)
#10 0 * * * /image/appbackup/sh/apptar.sh
zjapp02(weblogic使用者)
#10 0 * * * sh /usr/local/webapps/crontab/auto/drawCode.sh
#25 0 * * * sh /usr/local/webapps/crontab/auto/drawAnaReport.sh
#30 0 * * * sh /usr/local/webapps/crontab/auto/drawPolicy.sh
#35 0 * * * sh /usr/local/webapps/crontab/auto/drawNewClaim.sh
#40 0 * * * sh /usr/local/webapps/crontab/auto/drawFailure.sh
#45 0 * * * sh /usr/local/webapps/crontab/auto/FxqInfDataCreator.sh
#0 0,7,9,11,13,15,18,21 * * * sh /usr/local/webapps/crontab/auto/transAccount.sh
2、 停止業務系統應用
a) 登入zjapp02
zjapp02#[/]su – weblogic
zjapp02$[/home/weblogic] sh stopAll.sh
b) 登入zj-jy01
[root@zj-jy01 ~]# su – weblogic
[weblogic@zj-jy01 ~]$ cd /home/weblogic/bea/user_projects/domains/jydomain/bin
[weblogic@zj-jy01 bin]$ sh stopWebLogic.sh
c) 登入zj-zkrapp01
[root@zj-zkrapp01 ~]# su – weblogic
[weblogic@zj-zkrapp01 ~]$ cd /home/weblogic/bea/user_projects/domains/marine_domain/bin
[weblogic@zj-zkrapp01 bin]$ sh stopWebLogic.sh
[weblogic@zj-zkrapp01 bin]$ cd /home/weblogic/bea/user_projects/domains/query_domain/bin
[weblogic@zj-zkrapp01 bin]$ sh stopWebLogic.sh
3、 停止財務系統應用
a) 登入zjapp01
login root ;
cd /home/ufida; . ./.profile ; cd ncv5 ;. ./env.sh ;sh stop.sh
4、 停止業務系統資料庫
a) 登入zjop01
zjop01#[/]su – oraywzkr
lsnrctl stop lsnrywzkr
$ sqlplus / as sysdba
shutdown immediate
5、 停止財務系統資料庫
a) 登入zjop02
zjop02#[/]su – oracwyy
lsnrctl stop LISTENER_CWYY
$ sqlplus / as sysdba
shutdown immediate
6、 進行備份操作第1、2步(DP備份,make_tape_recovery)
7、 停止zjop01上的虛擬機器
a) 登入zjapp01
zjop01#[/]hpvmstatus -P guest1
[Virtual Machine Details]
Virtual Machine Name VM # OS Type State
==================== ===== ======= ========
guest1 2 HPUX On (OS)
[Authorized Administrators]
Oper Groups:
Admin Groups:
Oper Users:
Admin Users:
[Virtual CPU Details]
#vCPUs Entitlement Maximum
====== =========== =======
4 10.0% 100.0%
[Memory Details]
Total Reserved
Memory Memory
======= ========
12 GB 64 MB
[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
disk scsi 0 1 0 1 0 lv /dev/vg01/rlv_bootdisk
[Network Interface Details]
Interface Adaptor Name/Num PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================
vswitch lan vmlan1 1 0 0 0 52-80-65-6e-69-57
[Misc Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
serial com1 tty console
shutdown –h –y 0
zjop01#[/]hpvmstatus -P guest1
[Virtual Machine Details]
Virtual Machine Name VM # OS Type State
==================== ===== ======= ========
guest1 2 HPUX Off
[Authorized Administrators]
Oper Groups:
Admin Groups:
Oper Users:
Admin Users:
[Virtual CPU Details]
#vCPUs Entitlement Maximum
====== =========== =======
4 10.0% 100.0%
[Memory Details]
Total Reserved
Memory Memory
======= ========
12 GB 64 MB
[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
disk scsi 0 1 0 1 0 lv /dev/vg01/rlv_bootdisk
[Network Interface Details]
Interface Adaptor Name/Num PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================
vswitch lan vmlan1 1 0 0 0 52-80-65-6e-69-57
[Misc Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
serial com1 tty console
8、 停止zjop02上的虛擬機器
a) 登入zjapp02
zjop02#[/tmp]hpvmstatus -P guest2
[Virtual Machine Details]
Virtual Machine Name VM # OS Type State
==================== ===== ======= ========
guest2 8 HPUX On (OS)
[Authorized Administrators]
Oper Groups:
Admin Groups:
Oper Users:
Admin Users:
[Virtual CPU Details]
#vCPUs Entitlement Maximum
====== =========== =======
4 10.0% 100.0%
[Memory Details]
Total Reserved
Memory Memory
======= ========
20 GB 64 MB
[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
disk scsi 0 1 0 0 0 lv /dev/vg01/rlv_bootdisk
disk scsi 0 1 0 1 0 lv /dev/vgapp/rlvapp
[Network Interface Details]
Interface Adaptor Name/Num PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================
vswitch lan vmlan1 1 0 0 0 42-bc-f9-7c-14-bc
[Misc Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
serial com1 tty console
shutdown –h –y 0
zjop02#[/tmp]hpvmstatus -P guest2
[Virtual Machine Details]
Virtual Machine Name VM # OS Type State
==================== ===== ======= ========
guest2 8 HPUX Off
[Authorized Administrators]
Oper Groups:
Admin Groups:
Oper Users:
Admin Users:
[Virtual CPU Details]
#vCPUs Entitlement Maximum
====== =========== =======
4 10.0% 100.0%
[Memory Details]
Total Reserved
Memory Memory
======= ========
20 GB 64 MB
[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
disk scsi 0 1 0 0 0 lv /dev/vg01/rlv_bootdisk
disk scsi 0 1 0 1 0 lv /dev/vgapp/rlvapp
[Network Interface Details]
Interface Adaptor Name/Num PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================
vswitch lan vmlan1 1 0 0 0 42-bc-f9-7c-14-bc
[Misc Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
serial com1 tty console
9、 進行備份操作第3步(dd備份)
10、 停止cluster
a) 登入zjop01
zjop01#[/]cmviewcl
CLUSTER STATUS
cluster_zjop up
NODE STATUS STATE
zjop01 up running
PACKAGE STATUS STATE AUTO_RUN NODE
ywzkrpkg up running enabled zjop01
NODE STATUS STATE
zjop02 up running
PACKAGE STATUS STATE AUTO_RUN NODE
cwyypkg up running disabled zjop02
cmhaltcl –f –v
zjop01#[/]cmviewcl
CLUSTER STATUS
cluster_zjop down
NODE STATUS STATE
zjop01 down unknown
zjop02 down unknown
UNOWNED_PACKAGES
PACKAGE STATUS STATE AUTO_RUN NODE
ywzkrpkg down halted enabled unowned
cwyypkg down halted enabled unowned
完整啟動操作步驟:
1、 啟動zjop01上的虛擬機器
a) 登入zjop01
hpvmstart -P guest1
2、 啟動zjop02上的虛擬機器
a) 登入zjop02
hpvmstart -P guest2
3、 啟動cluster,啟動node,package
a) 登入zjop01
cmruncl –f –v
zjop01#[/]cmviewcl
CLUSTER STATUS
cluster_zjop up
NODE STATUS STATE
zjop01 up running
PACKAGE STATUS STATE AUTO_RUN NODE
ywzkrpkg up running enabled zjop01
NODE STATUS STATE
zjop02 up running
PACKAGE STATUS STATE AUTO_RUN NODE
cwyypkg up running enabled zjop02
(cmruncl –v –n zjop01 –n zjop02
cmrunnode –v zjop01
cmrunnode –v zjop02
cmrunpkg –v –n zjop01 ywzkrpkg
cmrunpkg –v –n zjop02 cwyypkg)
4、 啟動業務系統資料庫(確認資料庫是否已經啟動)
a) 登入zjop01
zjop01#[/]su – oraywzkr
$ sqlplus / as sysdba
startup
$ lsnrctl start lsnrywzkr
5、 啟動財務系統資料庫(確認資料庫是否已經啟動)
a) 登入zjop02
zjop02#[/]su – oracwyy
$ sqlplus / as sysdba
startup
lsnrctl start LISTENER_CWYY
6、 啟動業務系統應用
a) 登入zjapp02
zjapp02#[/]su – weblogic
zjapp02$[/home/weblogic] ./startAll.sh
b) 登入zj-jy01
[root@zj-jy01 ~]# su – weblogic
[weblogic@zj-jy01 ~]$ cd /home/weblogic/bea/user_projects/domains/jydomain
[weblogic@zj-jy01 jydomain]$ nohup sh startWebLogic.sh &
c) 登入zj-zkrapp01
[root@zj-zkrapp01 ~]# su – weblogic
[weblogic@zj-zkrapp01 ~]$ cd /home/weblogic/bea/user_projects/domains/marine_domain
[weblogic@zj-zkrapp01 marine_domain]$ nohup sh startWebLogic.sh &
[weblogic@zj-zkrapp01 bin]$ cd /home/weblogic/bea/user_projects/domains/query_domain
[weblogic@zj-zkrapp01 query_domain]$ nohup sh startWebLogic.sh &
7、 啟動財務系統應用
a) 登入zjapp01
login root ;
cd /home/ufida; . ./.profile ; cd ncv5 ;. ./env.sh ;nohup sh startup.sh &
8、 取消註釋zjop01(oraywzkr使用者)、zjop02(oracwyy使用者)、zjapp01(root使用者)、zjapp02(root、weblogic使用者)上的crontab定時任務,使得定時備份任務正常執行。
zjop01(oraywzkr)
10 0 * * * /data1/dbbackup/rmanbackup/sh/startrman.sh > /dev/null 2>&1
0 22 * * * /data1/dbbackup/sh/backup_daily.sh > /data1/dbbackup/cron.out
zjop01(root)
0 2 * * * /data1/dbbackup/tarsh/tar.sh > /dev/null 2>&1
zjop02(oracwyy使用者)
10 0 * * * /cwyy_arch/dbbackup/rmanbackup/sh/startrman.sh > /dev/null 2>&1
0 22 * * * /cwyy_arch/dbbackup/sh/backup_daily.sh > /cwyy_arch/dbbackup/cron.out
zjop02(root)
0 1 * * * /cwyy_arch/dbbackup/tarsh/tar.sh > /dev/null 2>&1
zjapp01(root使用者)
10 0 * * * /usr/local/appbackup/sh/apptar.sh
zjapp02(root使用者)
10 0 * * * /image/appbackup/sh/apptar.sh
zjapp02(weblogic使用者)
10 0 * * * sh /usr/local/webapps/crontab/auto/drawCode.sh
25 0 * * * sh /usr/local/webapps/crontab/auto/drawAnaReport.sh
30 0 * * * sh /usr/local/webapps/crontab/auto/drawPolicy.sh
35 0 * * * sh /usr/local/webapps/crontab/auto/drawNewClaim.sh
40 0 * * * sh /usr/local/webapps/crontab/auto/drawFailure.sh
45 0 * * * sh /usr/local/webapps/crontab/auto/FxqInfDataCreator.sh
0 0,7,9,11,13,15,18,21 * * * sh /usr/local/webapps/crontab/auto/transAccount.sh
9、 系統測試(軟體開發室協助)
1、 註釋掉zjop01(oraywzkr使用者)、zjop02(oracwyy使用者)、zjapp01(root使用者)、zjapp02(root、weblogic使用者)上的crontab定時任務的執行,從執行schedule中去掉所有當天的DP備份任務,使得當天不執行定時備份任務。
zjop01(oraywzkr)
#10 0 * * * /data1/dbbackup/rmanbackup/sh/startrman.sh > /dev/null 2>&1
#0 22 * * * /data1/dbbackup/sh/backup_daily.sh > /data1/dbbackup/cron.out
zjop01(root)
#0 2 * * * /data1/dbbackup/tarsh/tar.sh > /dev/null 2>&1
zjop02(oracwyy使用者)
#10 0 * * * /cwyy_arch/dbbackup/rmanbackup/sh/startrman.sh > /dev/null 2>&1
#0 22 * * * /cwyy_arch/dbbackup/sh/backup_daily.sh > /cwyy_arch/dbbackup/cron.out
zjop02(root)
#0 1 * * * /cwyy_arch/dbbackup/tarsh/tar.sh > /dev/null 2>&1
zjapp01(root使用者)
#10 0 * * * /usr/local/appbackup/sh/apptar.sh
zjapp02(root使用者)
#10 0 * * * /image/appbackup/sh/apptar.sh
zjapp02(weblogic使用者)
#10 0 * * * sh /usr/local/webapps/crontab/auto/drawCode.sh
#25 0 * * * sh /usr/local/webapps/crontab/auto/drawAnaReport.sh
#30 0 * * * sh /usr/local/webapps/crontab/auto/drawPolicy.sh
#35 0 * * * sh /usr/local/webapps/crontab/auto/drawNewClaim.sh
#40 0 * * * sh /usr/local/webapps/crontab/auto/drawFailure.sh
#45 0 * * * sh /usr/local/webapps/crontab/auto/FxqInfDataCreator.sh
#0 0,7,9,11,13,15,18,21 * * * sh /usr/local/webapps/crontab/auto/transAccount.sh
2、 停止業務系統應用
a) 登入zjapp02
zjapp02#[/]su – weblogic
zjapp02$[/home/weblogic] sh stopAll.sh
b) 登入zj-jy01
[root@zj-jy01 ~]# su – weblogic
[weblogic@zj-jy01 ~]$ cd /home/weblogic/bea/user_projects/domains/jydomain/bin
[weblogic@zj-jy01 bin]$ sh stopWebLogic.sh
c) 登入zj-zkrapp01
[root@zj-zkrapp01 ~]# su – weblogic
[weblogic@zj-zkrapp01 ~]$ cd /home/weblogic/bea/user_projects/domains/marine_domain/bin
[weblogic@zj-zkrapp01 bin]$ sh stopWebLogic.sh
[weblogic@zj-zkrapp01 bin]$ cd /home/weblogic/bea/user_projects/domains/query_domain/bin
[weblogic@zj-zkrapp01 bin]$ sh stopWebLogic.sh
3、 停止財務系統應用
a) 登入zjapp01
login root ;
cd /home/ufida; . ./.profile ; cd ncv5 ;. ./env.sh ;sh stop.sh
4、 停止業務系統資料庫
a) 登入zjop01
zjop01#[/]su – oraywzkr
lsnrctl stop lsnrywzkr
$ sqlplus / as sysdba
shutdown immediate
5、 停止財務系統資料庫
a) 登入zjop02
zjop02#[/]su – oracwyy
lsnrctl stop LISTENER_CWYY
$ sqlplus / as sysdba
shutdown immediate
6、 進行備份操作第1、2步(DP備份,make_tape_recovery)
7、 停止zjop01上的虛擬機器
a) 登入zjapp01
zjop01#[/]hpvmstatus -P guest1
[Virtual Machine Details]
Virtual Machine Name VM # OS Type State
==================== ===== ======= ========
guest1 2 HPUX On (OS)
[Authorized Administrators]
Oper Groups:
Admin Groups:
Oper Users:
Admin Users:
[Virtual CPU Details]
#vCPUs Entitlement Maximum
====== =========== =======
4 10.0% 100.0%
[Memory Details]
Total Reserved
Memory Memory
======= ========
12 GB 64 MB
[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
disk scsi 0 1 0 1 0 lv /dev/vg01/rlv_bootdisk
[Network Interface Details]
Interface Adaptor Name/Num PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================
vswitch lan vmlan1 1 0 0 0 52-80-65-6e-69-57
[Misc Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
serial com1 tty console
shutdown –h –y 0
zjop01#[/]hpvmstatus -P guest1
[Virtual Machine Details]
Virtual Machine Name VM # OS Type State
==================== ===== ======= ========
guest1 2 HPUX Off
[Authorized Administrators]
Oper Groups:
Admin Groups:
Oper Users:
Admin Users:
[Virtual CPU Details]
#vCPUs Entitlement Maximum
====== =========== =======
4 10.0% 100.0%
[Memory Details]
Total Reserved
Memory Memory
======= ========
12 GB 64 MB
[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
disk scsi 0 1 0 1 0 lv /dev/vg01/rlv_bootdisk
[Network Interface Details]
Interface Adaptor Name/Num PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================
vswitch lan vmlan1 1 0 0 0 52-80-65-6e-69-57
[Misc Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
serial com1 tty console
8、 停止zjop02上的虛擬機器
a) 登入zjapp02
zjop02#[/tmp]hpvmstatus -P guest2
[Virtual Machine Details]
Virtual Machine Name VM # OS Type State
==================== ===== ======= ========
guest2 8 HPUX On (OS)
[Authorized Administrators]
Oper Groups:
Admin Groups:
Oper Users:
Admin Users:
[Virtual CPU Details]
#vCPUs Entitlement Maximum
====== =========== =======
4 10.0% 100.0%
[Memory Details]
Total Reserved
Memory Memory
======= ========
20 GB 64 MB
[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
disk scsi 0 1 0 0 0 lv /dev/vg01/rlv_bootdisk
disk scsi 0 1 0 1 0 lv /dev/vgapp/rlvapp
[Network Interface Details]
Interface Adaptor Name/Num PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================
vswitch lan vmlan1 1 0 0 0 42-bc-f9-7c-14-bc
[Misc Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
serial com1 tty console
shutdown –h –y 0
zjop02#[/tmp]hpvmstatus -P guest2
[Virtual Machine Details]
Virtual Machine Name VM # OS Type State
==================== ===== ======= ========
guest2 8 HPUX Off
[Authorized Administrators]
Oper Groups:
Admin Groups:
Oper Users:
Admin Users:
[Virtual CPU Details]
#vCPUs Entitlement Maximum
====== =========== =======
4 10.0% 100.0%
[Memory Details]
Total Reserved
Memory Memory
======= ========
20 GB 64 MB
[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
disk scsi 0 1 0 0 0 lv /dev/vg01/rlv_bootdisk
disk scsi 0 1 0 1 0 lv /dev/vgapp/rlvapp
[Network Interface Details]
Interface Adaptor Name/Num PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================
vswitch lan vmlan1 1 0 0 0 42-bc-f9-7c-14-bc
[Misc Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
serial com1 tty console
9、 進行備份操作第3步(dd備份)
10、 停止cluster
a) 登入zjop01
zjop01#[/]cmviewcl
CLUSTER STATUS
cluster_zjop up
NODE STATUS STATE
zjop01 up running
PACKAGE STATUS STATE AUTO_RUN NODE
ywzkrpkg up running enabled zjop01
NODE STATUS STATE
zjop02 up running
PACKAGE STATUS STATE AUTO_RUN NODE
cwyypkg up running disabled zjop02
cmhaltcl –f –v
zjop01#[/]cmviewcl
CLUSTER STATUS
cluster_zjop down
NODE STATUS STATE
zjop01 down unknown
zjop02 down unknown
UNOWNED_PACKAGES
PACKAGE STATUS STATE AUTO_RUN NODE
ywzkrpkg down halted enabled unowned
cwyypkg down halted enabled unowned
完整啟動操作步驟:
1、 啟動zjop01上的虛擬機器
a) 登入zjop01
hpvmstart -P guest1
2、 啟動zjop02上的虛擬機器
a) 登入zjop02
hpvmstart -P guest2
3、 啟動cluster,啟動node,package
a) 登入zjop01
cmruncl –f –v
zjop01#[/]cmviewcl
CLUSTER STATUS
cluster_zjop up
NODE STATUS STATE
zjop01 up running
PACKAGE STATUS STATE AUTO_RUN NODE
ywzkrpkg up running enabled zjop01
NODE STATUS STATE
zjop02 up running
PACKAGE STATUS STATE AUTO_RUN NODE
cwyypkg up running enabled zjop02
(cmruncl –v –n zjop01 –n zjop02
cmrunnode –v zjop01
cmrunnode –v zjop02
cmrunpkg –v –n zjop01 ywzkrpkg
cmrunpkg –v –n zjop02 cwyypkg)
4、 啟動業務系統資料庫(確認資料庫是否已經啟動)
a) 登入zjop01
zjop01#[/]su – oraywzkr
$ sqlplus / as sysdba
startup
$ lsnrctl start lsnrywzkr
5、 啟動財務系統資料庫(確認資料庫是否已經啟動)
a) 登入zjop02
zjop02#[/]su – oracwyy
$ sqlplus / as sysdba
startup
lsnrctl start LISTENER_CWYY
6、 啟動業務系統應用
a) 登入zjapp02
zjapp02#[/]su – weblogic
zjapp02$[/home/weblogic] ./startAll.sh
b) 登入zj-jy01
[root@zj-jy01 ~]# su – weblogic
[weblogic@zj-jy01 ~]$ cd /home/weblogic/bea/user_projects/domains/jydomain
[weblogic@zj-jy01 jydomain]$ nohup sh startWebLogic.sh &
c) 登入zj-zkrapp01
[root@zj-zkrapp01 ~]# su – weblogic
[weblogic@zj-zkrapp01 ~]$ cd /home/weblogic/bea/user_projects/domains/marine_domain
[weblogic@zj-zkrapp01 marine_domain]$ nohup sh startWebLogic.sh &
[weblogic@zj-zkrapp01 bin]$ cd /home/weblogic/bea/user_projects/domains/query_domain
[weblogic@zj-zkrapp01 query_domain]$ nohup sh startWebLogic.sh &
7、 啟動財務系統應用
a) 登入zjapp01
login root ;
cd /home/ufida; . ./.profile ; cd ncv5 ;. ./env.sh ;nohup sh startup.sh &
8、 取消註釋zjop01(oraywzkr使用者)、zjop02(oracwyy使用者)、zjapp01(root使用者)、zjapp02(root、weblogic使用者)上的crontab定時任務,使得定時備份任務正常執行。
zjop01(oraywzkr)
10 0 * * * /data1/dbbackup/rmanbackup/sh/startrman.sh > /dev/null 2>&1
0 22 * * * /data1/dbbackup/sh/backup_daily.sh > /data1/dbbackup/cron.out
zjop01(root)
0 2 * * * /data1/dbbackup/tarsh/tar.sh > /dev/null 2>&1
zjop02(oracwyy使用者)
10 0 * * * /cwyy_arch/dbbackup/rmanbackup/sh/startrman.sh > /dev/null 2>&1
0 22 * * * /cwyy_arch/dbbackup/sh/backup_daily.sh > /cwyy_arch/dbbackup/cron.out
zjop02(root)
0 1 * * * /cwyy_arch/dbbackup/tarsh/tar.sh > /dev/null 2>&1
zjapp01(root使用者)
10 0 * * * /usr/local/appbackup/sh/apptar.sh
zjapp02(root使用者)
10 0 * * * /image/appbackup/sh/apptar.sh
zjapp02(weblogic使用者)
10 0 * * * sh /usr/local/webapps/crontab/auto/drawCode.sh
25 0 * * * sh /usr/local/webapps/crontab/auto/drawAnaReport.sh
30 0 * * * sh /usr/local/webapps/crontab/auto/drawPolicy.sh
35 0 * * * sh /usr/local/webapps/crontab/auto/drawNewClaim.sh
40 0 * * * sh /usr/local/webapps/crontab/auto/drawFailure.sh
45 0 * * * sh /usr/local/webapps/crontab/auto/FxqInfDataCreator.sh
0 0,7,9,11,13,15,18,21 * * * sh /usr/local/webapps/crontab/auto/transAccount.sh
9、 系統測試(軟體開發室協助)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/11411056/viewspace-734386/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- SVN服務備份操作步驟
- 第4篇 虛擬機器搭建gitlab環境步驟虛擬機Gitlab
- Linux環境下MySQL安裝部署操作步驟LinuxMySql
- 流機制環境準備
- 歸檔模式下聯機熱備份某個表空間步驟模式
- 完整的SMT貼片機操作步驟流程
- Oracle備份與恢復系列 (二)停機一致性備份Oracle
- Oracle冷備份的通常步驟Oracle
- vmware虛擬機器環境下配置centos為靜態IP的步驟虛擬機CentOS
- pip換源和製作虛擬環境操作步驟講解
- 聯想印表機怎麼清零 聯想印表機清零操作步驟
- TSM備份軟體實施步驟
- 混合app打包步驟(本地+雲端)HybirdApp本地環境配置步驟APP
- jafka環境搭建步驟--例項可用
- ssh整合步驟之一(搭建環境)
- SQL Server 2000非域環境下資料庫異機備份SQLServer資料庫
- LINUX下ORACLE增量備份的步驟LinuxOracle
- 操作步驟
- RAC DATABASE關機步驟Database
- Oracle DB 因宿主機(Linux 虛擬機器)意外關停,重啟資料庫步驟OracleLinux虛擬機資料庫
- 5個步驟搞定protoc環境安裝
- linux環境下安裝nginx步驟LinuxNginx
- redhat 部署多套tomcat環境步驟RedhatTomcat
- 轉:DB2離線和線上全備、增量備份及恢復的操作步驟DB2
- AIX作業系統下的用磁帶進行備份操作步驟AI作業系統
- hacmp環境下的rman備份ACM
- HP UNIX雙機常見操作步驟和相關命令
- win10怎麼備份還原win8_win10備份還原win8的操作步驟Win10
- 【新夢想幹貨】RobotFramework環境搭建步驟Framework
- DKhadoop環境安裝配置步驟詳解Hadoop
- AJAX 操作步驟
- linux 主機掛接EVA 4000儲存的操作步驟Linux
- OPPO手機備份
- RMAN備份恢復——RAC環境資料庫的備份(zt)資料庫
- RMAN備份恢復--RAC環境資料庫的備份(十)資料庫
- RMAN備份恢復——RAC環境資料庫的備份(一)資料庫
- solaris 主機修改主機名 ip地址 步驟
- 怎麼用手機重灌電腦系統?手機裝電腦系統操作步驟