日韩黑丝制服一区视频播放|日韩欧美人妻丝袜视频在线观看|九九影院一级蜜桃|亚洲中文在线导航|青草草视频在线观看|婷婷五月色伊人网站|日本一区二区在线|国产AV一二三四区毛片|正在播放久草视频|亚洲色图精品一区

分享

dataware 雙機文檔...

 昵稱90415 2009-02-25
dataware 雙機文檔
 
作者:answer  出處:Unix愛好者家園unix-cd.com  更新時間: 2005年07月23日 
DataWare for informix的安裝 
1. Server A與Server B : vi /etc/hosts 將主機名(hosts name)對應(yīng)的IP地址改為虛擬IP地址。 
2.安裝DataWare軟件產(chǎn)品 
mount /dev/cd0 /mnt 
cd /mnt/SCO5 
CP 
將安裝軟盤上的原始文件拷貝到一個臨時目錄: 
# mkdir /dw 
# cd /dw 
# mount /dev/cd0 /mnt 
# cd /mnt/SCO5 
# copy SCO5.TAR /dw 
#tar xvf SCO5.TAR 

DataWare軟件安裝軟盤內(nèi)容: 
rw-r--r-- 0/3 231 Jun 01 13:39 1998 cfg.a 
rw-r--r-- 0/3 236 Jun 01 13:39 1998 cfg.b 
rw-r--r-- 0/3 313 May 27 12:46 1998 sample.1 
rw-r--r-- 0/3 429 May 30 09:33 1998 sample.2 
rw-r--r-- 0/3 385 Jun 01 13:41 1998 dw.cfg 
rwxr-xr-x 0/3 53218 Jun 01 13:39 1998 dwinst 
rw-r--r-- 0/3 851917 Jun 01 13:39 1998 dwdata 



執(zhí)行結(jié)果: 
# ls -l 
rw-r--r-- 0/3 231 Jun 01 13:39 1998 cfg.a 
rw-r--r-- 0/3 236 Jun 01 13:39 1998 cfg.b →→安裝配置腳本 
rw-r--r-- 0/3 313 May 27 12:46 1998 sample.1 →→安裝配置范例 
rw-r--r-- 0/3 429 May 30 09:33 1998 sample.2 →→安裝配置范例 
rw-r--r-- 0/3 385 Jun 01 13:41 1998 dw.cfg →→正式安裝配置 
rwxr-xr-x 0/3 53218 Jun 01 13:39 1998 dwinst →→執(zhí)行安裝命令 
rw-r--r-- 0/3 851917 Jun 01 13:39 1998 dwdata →→軟件壓縮包 

3.配置初始化文件 
DataWare 軟件安裝過程是以一條執(zhí)行安裝命令執(zhí)行全程安裝,在整個安裝過程中僅需要用戶鍵入一個字母“y”即可完成。所以在開始安裝前。一定要配置安裝腳本配置文件“dw.cfg”。 
l 配置dw.cfg文件 
# cp cfg.a dw.cfg 
# vi dw.cfg 
《1》生產(chǎn)機dw.cfg范例: 
host_id :A 
scsi_device :/dev/rware 
ip_tables :Real_IP1 net0 15.15.15.1 255.255.255.0 15.15.15.255 
@ :Virtual_IP1 net0 15.15.15.99 255.255.255.0 15.15.15.255 
fs_tables :A: /dev/dd2 /dd2 HTFS 
ap_tables :A:city:/shell/start&:/shell/k15 
ctl_ap :A:apprdaemon 
@ :A:oninit 
pager_setup :Disable 
modem_device :/dev/tty2a 
pager_tables : 
reference_ip :A:15.15.15.101 
ts_tables : 

[注釋]: 
host_id :A 設(shè)置本機為A(生產(chǎn)機) 
scsi_device :/dev/rware 設(shè)置磁盤柜握手區(qū)裸設(shè)備名; 
ip_tables :Real_IP1 net0 15.15.15.2 255.255.255.0 15.15.15.255 
設(shè)置本機服務(wù)器網(wǎng)卡實際TCP/IP地址,與netconfig相同 @ :Virtual_IP1 net0 15.15.15.99 255.255.255.0 15.15.15.255 
設(shè)置本機服務(wù)器網(wǎng)卡虛擬TCP/IP地址 
fs_tables :A 
設(shè)置主機預(yù)mount的文件系統(tǒng),格式: 
主機 設(shè)備名 mount目錄 文件系統(tǒng)類型(Dual-Active時有B)ap_tables :A:city:/shell/start&:/shell/k15 
接管應(yīng)用格式:A:自定義名稱:啟動應(yīng)用shell路徑:停止shell路徑 
(Dual-Active時有B) 
ctl_ap : 監(jiān)控應(yīng)用格式:A:某一應(yīng)用進程名 
B) 
pager_setup :Disable 傳呼機設(shè)置(默認封閉) 
modem_device :/dev/tty2a modem設(shè)置(默認設(shè)備名為com2) 
pager_tables : 傳呼機設(shè)置參數(shù)表 
reference_ip :A:15.15.15.101 設(shè)置網(wǎng)絡(luò)參考點(一般為Router地址) 
需要和網(wǎng)卡地址同一網(wǎng)段,作為網(wǎng)絡(luò) 
心跳參考點(Dual-Active時有B) 
ts_tables : 設(shè)置網(wǎng)絡(luò)終端服務(wù)器IP地址(一般client 
-server網(wǎng)絡(luò)不用該設(shè)置,默認為空) 
@ 代表續(xù)行 

《2》備份機dw.cfg范例: 
host_id :B 
scsi_device :/dev/rware 
ip_tables :Real_IP1 net0 15.15.15.2 255.255.255.0 15.15.15.255 
@ :Virtual_IP1 net0 15.15.15.99 255.255.255.0 15.15.15.255 
fs_tables :A /dev/dd2 /dd2 HTFS 
ap_tables :A:city:/shell/start&:/shell/k15 
ctl_ap :A:apprdaemon 
@ :A:onint 
pager_setup :Disable 
modem_device :/dev/tty2a 
pager_tables : 
reference_ip :A:15.15.15.101 
ts_tables : 

[注釋]: 
host_id :B 設(shè)置本機為 B(備份機); 

應(yīng)用程序引擎 
l 啟動應(yīng)用:/shell/start 
su - informix -c "oninit" & →→→→在系統(tǒng)后臺啟動informix 
l 停止應(yīng)用:/shell/k15 
su - informix -c "onmode -ky" →→→→停止informix 數(shù)據(jù)庫 
4.執(zhí)行軟件安裝 
DataWare軟件安裝程序是在軟件目錄下的dwinst。當(dāng)完成初始化配置并完成應(yīng)用引擎,就可以運行這條命令執(zhí)行安裝。 
1. # ./dwinst (注意:運行此命令前,系統(tǒng)必須登錄多用戶,并進入root) 

** DataWare (C) ========== Ver. 4.00 ** 
** System Configuration .... 

The installation will destroy old DataWare system 
Please confirm with [y] if the answer is yes:y 

Host =A 
Raw Device =/dev/rware 
IP tables =Real_IP1 net0 15.15.15.1 255.255.255.0 15.15.15.255 
IP tables =Virtual_IP1 net0 15.15.15.1 255.255.255.0 15.15.15.255 
Mounts = 
AP tables = A:city:/shell/start&:/shell/k15 
Ctl tables =A:apprdaemon 
@ =A:oninit 
Pager Enable=Disable 
Modem device=/dev/tty2a 
Pager tables= 
Reference point= A:15.15.15.101 
Term. Service = 

*** DataWare installation is completed. 
*** Please restart system....... 

4. 優(yōu)化DataWare啟動,修改/etc/rc2.d/S99 Ware: 

# cd /etc/rc2.d 
# vi S99Ware 

初始默認設(shè)置: 
/usr/lib/data _ware/exec/data ware –u99 -h 

修改優(yōu)化配置: 
如果AP應(yīng)用程序啟動時間≤40秒,停止時間≤30秒,不需要更改初始默認設(shè)置,但仍然需要加入優(yōu)化參數(shù): 
舉例:dataware –o –m -h 

修改結(jié)果: /usr/lib/dataware –o –m -h 

5. 服務(wù)器重新引導(dǎo) 
兩臺對等主機在完成所有安裝和檢查的工作后必須重起。 

# init 6 


2.運行系統(tǒng)檢查命令,查看兩臺對等服務(wù)器的運行狀態(tài) 
鍵入命令:# dwcheck 
A機 

# dwcheck 

** DataWare ( C) ============== Ver.4.00 ** 
Current status/configurations: 

My Status : DataWare is running ! 
Neighbor host : running 
Take over :No 
Job status :I have job 
Scheme mode : Hot Standby 
Auto status : Mandatory take 

B機 
# dwcheck 

** DataWare ( C) ============== Ver.4.00 ** 
Current status/configurations: 

My Status : DataWare is running ! 
Neighbor host : running 
Take over :No 
Job status :I have no job now 
Scheme mode : Hot Standby 
Auto status : Mandatory take 
Role : Standby 


[注釋] 
My Status: 表示本機的DataWare是否運行 
Neighbor host: 表示對等服務(wù)器(備份機)運行狀態(tài)是否良好 
Take over: 表示切換后,本機是否接管;DataWare在安裝配置完成,第一 
次啟動運行時,此值是“NO”,當(dāng)有切換狀況發(fā)生時,在”Primary”服務(wù)器該值為“YES”。 

到此,安裝全部結(jié)束。

DataWare for oracle的安裝 
1. Server A與Server B : vi /etc/hosts 將主機名(hosts name)對應(yīng)的IP地址改為虛擬IP地址。 
2.安裝DataWare軟件產(chǎn)品 
將DataWare軟件安裝軟盤插入 Drv.A 
將安裝軟盤上的原始文件拷貝到一個臨時目錄: 
# mkdir /dw 
# cd /dw 
# tar tv6 
DataWare軟件安裝軟盤內(nèi)容: 
rw-r--r-- 0/3 231 Jun 01 13:39 1998 cfg.a.Z 
rw-r--r-- 0/3 236 Jun 01 13:39 1998 cfg.b.Z 
rw-r--r-- 0/3 313 May 27 12:46 1998 sample.1.Z 
rw-r--r-- 0/3 429 May 30 09:33 1998 sample.2.Z 
rw-r--r-- 0/3 385 Jun 01 13:41 1998 dw.cfg.Z 
rwxr-xr-x 0/3 53218 Jun 01 13:39 1998 dwinst.Z 
rw-r--r-- 0/3 851917 Jun 01 13:39 1998 dwdata.Z 

將原始文件解壓成可安裝內(nèi)容 
# uncompress *.Z 
執(zhí)行結(jié)果: 
# ls -l 
rw-r--r-- 0/3 231 Jun 01 13:39 1998 cfg.a 
rw-r--r-- 0/3 236 Jun 01 13:39 1998 cfg.b →→安裝配置腳本 
rw-r--r-- 0/3 313 May 27 12:46 1998 sample.1 →→安裝配置范例 
rw-r--r-- 0/3 429 May 30 09:33 1998 sample.2 →→安裝配置范例 
rw-r--r-- 0/3 385 Jun 01 13:41 1998 dw.cfg →→正式安裝配置 
rwxr-xr-x 0/3 53218 Jun 01 13:39 1998 dwinst →→執(zhí)行安裝命令 
rw-r--r-- 0/3 851917 Jun 01 13:39 1998 dwdata →→軟件壓縮包 

3.配置初始化文件 
DataWare 軟件安裝過程是以一條執(zhí)行安裝命令執(zhí)行全程安裝,在整個安裝過程中僅需要用戶鍵入一個字母“y”即可完成。所以在開始安裝前。一定要配置安裝腳本配置文件“dw.cfg”。 
l 配置dw.cfg文件 
# cp sample.1 dw.cfg 
# vi dw.cfg 
《1》生產(chǎn)機dw.cfg范例: 
host_id :A 
scsi_device :/dev/rware 
ip_tables :Real_IP1 net0 15.15.15.1 255.255.255.0 15.15.15.255 
@ :Virtual_IP1 net0 15.15.15.99 255.255.255.0 15.15.15.255 
fs_tables :A /dev/dsk1 /dd2 vxfs 
ap_tables :A:city:/shell/start&:/shell/k15 
ctl_ap : 
pager_setup :Disable 
modem_device :/dev/tty2a 
pager_tables : 
reference_ip :A:15.15.15.101 
ts_tables : 

[注釋]: 
host_id :A 設(shè)置本機為A(生產(chǎn)機) 
scsi_device :/dev/rdsk/ c1b0t0d0s2 設(shè)置磁盤柜握手區(qū)裸設(shè)備名; 
ip_tables :Real_IP1 net0 15.15.15.2 255.255.255.0 15.15.15.255 
設(shè)置本機服務(wù)器網(wǎng)卡實際TCP/IP地址,與netconfig相同 @ :Virtual_IP1 net0 15.15.15.99 255.255.255.0 15.15.15.255 
設(shè)置本機服務(wù)器網(wǎng)卡虛擬TCP/IP地址 
fs_tables :A A /dev/dsk/c1b0t0d0s1 /dd2 vxfs 
設(shè)置主機預(yù)mount的文件系統(tǒng),格式: 
主機 設(shè)備名 mount目錄 文件系統(tǒng)類型(Dual-Active時有B)ap_tables :A:city:/shell/start&:/shell/k15 
接管應(yīng)用格式:A:自定義名稱:啟動應(yīng)用shell路徑:停止shell路徑 
(Dual-Active時有B) 
ctl_ap : 監(jiān)控應(yīng)用格式:A:某一應(yīng)用進程名 
B) 
pager_setup :Disable 傳呼機設(shè)置(默認封閉) 
modem_device :/dev/tty2a modem設(shè)置(默認設(shè)備名為com2) 
pager_tables : 傳呼機設(shè)置參數(shù)表 
reference_ip :A:15.15.15.101 設(shè)置網(wǎng)絡(luò)參考點(一般為Router地址) 
需要和網(wǎng)卡地址同一網(wǎng)段,作為網(wǎng)絡(luò) 
心跳參考點(Dual-Active時有B) 
ts_tables : 設(shè)置網(wǎng)絡(luò)終端服務(wù)器IP地址(一般client 
-server網(wǎng)絡(luò)不用該設(shè)置,默認為空) 
@ 代表續(xù)行 

《2》備份機dw.cfg范例: 
host_id :B 
scsi_device :/dev/rware 
ip_tables :Real_IP1 net0 15.15.15.2 255.255.255.0 15.15.15.255 
@ :Virtual_IP1 net0 15.15.15.99 255.255.255.0 15.15.15.255 
fs_tables :A /dev/dsk1 /dd2 vxfs 
ap_tables :A:city:/shell/start&:/shell/k15 
ctl_ap : 
pager_setup :Disable 
modem_device :/dev/tty2a 
pager_tables : 
reference_ip :A:15.15.15.101 
ts_tables : 

[注釋]: 
host_id :B 設(shè)置本機為 B(備份機); 

應(yīng)用程序引擎 
l 啟動應(yīng)用:/shell/start 
su - oracle -c "dbstart" & →→→→在系統(tǒng)后臺啟動oracle 
su - oracle -c "lsnrctl start" & →→→→啟動網(wǎng)絡(luò)監(jiān)聽 

l 停止應(yīng)用:/shell/k15 
su - oracle -c "dbshut" →→→→停止oracle 數(shù)據(jù)庫 
su – oracle –c “lsnrctl stop” →→停止網(wǎng)絡(luò)監(jiān)聽 

4.執(zhí)行軟件安裝 
DataWare軟件安裝程序是在軟件目錄下的dwinst。當(dāng)完成初始化配置并完成應(yīng)用引擎,就可以運行這條命令執(zhí)行安裝。 
1. # ./dwinst (注意:運行此命令前,系統(tǒng)必須登錄多用戶,并進入root) 

** DataWare (C) ========== Ver. 4.00 ** 
** System Configuration .... 

The installation will destroy old DataWare system 
Please confirm with [y] if the answer is yes:y 

Host =A 
Raw Device =/dev/rware 
IP tables =Real_IP1 net0 15.15.15.1 255.255.255.0 15.15.15.255 
IP tables =Virtual_IP1 net0 15.15.15.1 255.255.255.0 15.15.15.255 
Mounts = 
AP tables = A:city:/shell/start&:/shell/k15 
Ctl tables = 
Pager Enable=Disable 
Modem device=/dev/tty2a 
Pager tables= 
Reference point= A:15.15.15.101 
Term. Service = 

*** DataWare installation is completed. 
*** Please restart system....... 

4. 優(yōu)化DataWare啟動,修改/etc/rc2.d/S99 Ware: 

# cd /etc/rc2.d 
# vi S99Ware 

初始默認設(shè)置: 
/usr/lib/data _ware/exec/data ware –u99 -h 

修改優(yōu)化配置: 
如果AP應(yīng)用程序啟動時間≤40秒,停止時間≤30秒,不需要更改初始默認設(shè)置,但仍然需要加入優(yōu)化參數(shù): 
舉例:dataware –o –m -h 

修改結(jié)果: /usr/lib/dataware –o –m -h 

5. 服務(wù)器重新引導(dǎo) 
兩臺對等主機在完成所有安裝和檢查的工作后必須重起。 

# init 6 


2.運行系統(tǒng)檢查命令,查看兩臺對等服務(wù)器的運行狀態(tài) 
鍵入命令:# dwcheck 
A機 

# dwcheck 

** DataWare ( C) ============== Ver.4.00 ** 
Current status/configurations: 

My Status : DataWare is running ! 
Neighbor host : running 
Take over :No 
Job status :I have job 
Scheme mode : Hot Standby 
Auto status : Mandatory take 

B機 
# dwcheck 

** DataWare ( C) ============== Ver.4.00 ** 
Current status/configurations: 

My Status : DataWare is running ! 
Neighbor host : running 
Take over :No 
Job status :I have no job now 
Scheme mode : Hot Standby 
Auto status : Mandatory take 
Role : Standby 


[注釋] 
My Status: 表示本機的DataWare是否運行 
Neighbor host: 表示對等服務(wù)器(備份機)運行狀態(tài)是否良好 
Take over: 表示切換后,本機是否接管;DataWare在安裝配置完成,第一 
次啟動運行時,此值是“NO”,當(dāng)有切換狀況發(fā)生時,在”Primary”服務(wù)器該值為“YES”。 

到此,安裝全部結(jié)束。

DataWare for Unix ware的安裝 

1. Server A與Server B : vi /etc/hosts 將主機名(hosts name)對應(yīng)的IP地址改為虛擬IP地址。 
2.安裝DataWare軟件產(chǎn)品 
將DataWare軟件安裝軟盤插入 CD_ROM 
將安裝軟盤上的原始文件拷貝到一個臨時目錄: 
# mkdir /dw 
# cd /dw 
# mount –r –f cdfs /dev/cdrom/cdrom1 /mnt 
# cp /mnt/unixware/unixware.tar /dw 
# tar xvf /dw/unixware.tar 
執(zhí)行結(jié)果: 
# ls -l 
rw-r--r-- 0/3 231 Jun 01 13:39 1998 cfg.a 
rw-r--r-- 0/3 236 Jun 01 13:39 1998 cfg.b →→安裝配置腳本 
rw-r--r-- 0/3 313 May 27 12:46 1998 sample.1 →→安裝配置范例 
rw-r--r-- 0/3 429 May 30 09:33 1998 sample.2 →→安裝配置范例 
rw-r--r-- 0/3 385 Jun 01 13:41 1998 dw.cfg →→正式安裝配置 
rwxr-xr-x 0/3 53218 Jun 01 13:39 1998 dwinst →→執(zhí)行安裝命令 
rw-r--r-- 0/3 851917 Jun 01 13:39 1998 dwdata →→軟件壓縮包 

3.配置初始化文件 
DataWare 軟件安裝過程是以一條執(zhí)行安裝命令執(zhí)行全程安裝,在整個安裝過程中僅需要用戶鍵入一個字母“y”即可完成。所以在開始安裝前。一定要配置安裝腳本配置文件“dw.cfg”。 
l 配置dw.cfg文件 
# cp sample.1 dw.cfg 
# vi dw.cfg 
《1》生產(chǎn)機dw.cfg范例: 
host_id :A 
scsi_device :/dev/rdsk/c1b0t0d0s2 
ip_tables :Real_IP1 net0 15.15.15.1 255.255.255.0 15.15.15.255 
@ :Virtual_IP1 net0 15.15.15.99 255.255.255.0 15.15.15.255 
fs_tables :A /dev/dsk/c1b0t0d0s1 /dd2 vxfs 
ap_tables :A:city:/shell/start&:/shell/k15 
ctl_ap : 
pager_setup :Disable 
modem_device :/dev/tty2a 
pager_tables : 
reference_ip :A:15.15.15.101 
ts_tables : 

[注釋]: 
host_id :A 設(shè)置本機為A(生產(chǎn)機) 
scsi_device :/dev/rdsk/ c1b0t0d0s2 設(shè)置磁盤柜握手區(qū)裸設(shè)備名; 
ip_tables :Real_IP1 net0 15.15.15.2 255.255.255.0 15.15.15.255 
設(shè)置本機服務(wù)器網(wǎng)卡實際TCP/IP地址,與netconfig相同 @ :Virtual_IP1 net0 15.15.15.99 255.255.255.0 15.15.15.255 
設(shè)置本機服務(wù)器網(wǎng)卡虛擬TCP/IP地址 
fs_tables :A A /dev/dsk/c1b0t0d0s1 /dd2 vxfs 
設(shè)置主機預(yù)mount的文件系統(tǒng),格式: 
主機 設(shè)備名 mount目錄 文件系統(tǒng)類型(Dual-Active時有B)ap_tables :A:city:/shell/start&:/shell/k15 
接管應(yīng)用格式:A:自定義名稱:啟動應(yīng)用shell路徑:停止shell路徑 
(Dual-Active時有B) 
ctl_ap : 監(jiān)控應(yīng)用格式:A:某一應(yīng)用進程名 
B) 
pager_setup :Disable 傳呼機設(shè)置(默認封閉) 
modem_device :/dev/tty2a modem設(shè)置(默認設(shè)備名為com2) 
pager_tables : 傳呼機設(shè)置參數(shù)表 
reference_ip :A:15.15.15.101 設(shè)置網(wǎng)絡(luò)參考點(一般為Router地址) 
需要和網(wǎng)卡地址同一網(wǎng)段,作為網(wǎng)絡(luò) 
心跳參考點(Dual-Active時有B) 
ts_tables : 設(shè)置網(wǎng)絡(luò)終端服務(wù)器IP地址(一般client 
-server網(wǎng)絡(luò)不用該設(shè)置,默認為空) 
@ 代表續(xù)行 

《2》備份機dw.cfg范例: 
host_id :B 
scsi_device :/dev/rdsk/c1b0t0d0s2 
ip_tables :Real_IP1 net0 15.15.15.2 255.255.255.0 15.15.15.255 
@ :Virtual_IP1 net0 15.15.15.99 255.255.255.0 15.15.15.255 
fs_tables :A A /dev/dsk/c1b0t0d0s1 /dd2 vxfs 
ap_tables :A:city:/shell/start&:/shell/k15 
ctl_ap : 
pager_setup :Disable 
modem_device :/dev/tty2a 
pager_tables : 
reference_ip :A:15.15.15.101 
ts_tables : 

[注釋]: 
host_id :B 設(shè)置本機為 B(備份機); 

應(yīng)用程序引擎 
l 啟動應(yīng)用:/shell/start 
su - oracle -c "dbstart" & →→→→在系統(tǒng)后臺啟動oracle 
sleep 5 
su - oracle -c "lsnrctl start" & →→→→啟動網(wǎng)絡(luò)監(jiān)聽 

l 停止應(yīng)用:/shell/k15 
su - oracle -c "dbshut" →→→→停止oracle 數(shù)據(jù)庫 
su – oracle –c “lsnrctl stop” →→停止網(wǎng)絡(luò)監(jiān)聽 
4.執(zhí)行軟件安裝 
DataWare軟件安裝程序是在軟件目錄下的dwinst。當(dāng)完成初始化配置并完成應(yīng)用引擎,就可以運行這條命令執(zhí)行安裝。 
1. # ./dwinst (注意:運行此命令前,系統(tǒng)必須登錄多用戶,并進入root) 

** DataWare (C) ========== Ver. 4.00 ** 
** System Configuration .... 

The installation will destroy old DataWare system 
Please confirm with [y] if the answer is yes:y 

Host =A 
Raw Device =/dev/rdsk/c1b0t0d0s2 
IP tables =Real_IP1 net0 15.15.15.1 255.255.255.0 15.15.15.255 
IP tables =Virtual_IP1 net0 15.15.15.1 255.255.255.0 15.15.15.255 
Mounts = 
AP tables = A:city:/shell/start&:/shell/k15 
Ctl tables = 
Pager Enable=Disable 
Modem device=/dev/tty2a 
Pager tables= 
Reference point= A:15.15.15.101 
Term. Service = 

*** DataWare installation is completed. 
*** Please restart system....... 

4. 優(yōu)化DataWare啟動,修改/etc/rc2.d/S99 Ware: 

# cd /etc/rc2.d 
# vi S99Ware 

初始默認設(shè)置: 
/usr/lib/data _ware/exec/data ware –u99 -h 

修改優(yōu)化配置: 
如果AP應(yīng)用程序啟動時間≤40秒,停止時間≤30秒,不需要更改初始默認設(shè)置,但仍然需要加入優(yōu)化參數(shù): 
舉例:dataware –o –m -h 

修改結(jié)果: /usr/lib/dataware –o –m -h 

5. 服務(wù)器重新引導(dǎo) 
兩臺對等主機在完成所有安裝和檢查的工作后必須重起。 

# init 6 


2.運行系統(tǒng)檢查命令,查看兩臺對等服務(wù)器的運行狀態(tài) 
鍵入命令:# dwcheck 
A機 

# dwcheck 

** DataWare ( C) ============== Ver.4.00 ** 
Current status/configurations: 

My Status : DataWare is running ! 
Neighbor host : running 
Take over :No 
Job status :I have job 
Scheme mode : Hot Standby 
Auto status : Mandatory take 

B機 
# dwcheck 

** DataWare ( C) ============== Ver.4.00 ** 
Current status/configurations: 

My Status : DataWare is running ! 
Neighbor host : running 
Take over :No 
Job status :I have no job now 
Scheme mode : Hot Standby 
Auto status : Mandatory take 
Role : Standby 


[注釋] 
My Status: 表示本機的DataWare是否運行 
Neighbor host: 表示對等服務(wù)器(備份機)運行狀態(tài)是否良好 
Take over: 表示切換后,本機是否接管;DataWare在安裝配置完成,第一 
次啟動運行時,此值是“NO”,當(dāng)有切換狀況發(fā)生時,在”Primary”服務(wù)器該值為“YES”。 

到此,安裝全部結(jié)束。

    本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊一鍵舉報。
    轉(zhuǎn)藏 分享 獻花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多