乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      dataware 雙機(jī)文檔...

       昵稱90415 2009-02-25
      dataware 雙機(jī)文檔
       
      作者:answer  出處:Unix愛好者家園unix-cd.com  更新時(shí)間: 2005年07月23日 
      DataWare for informix的安裝 
      1. Server A與Server B : vi /etc/hosts 將主機(jī)名(hosts name)對應(yīng)的IP地址改為虛擬IP地址。 
      2.安裝DataWare軟件產(chǎn)品 
      mount /dev/cd0 /mnt 
      cd /mnt/SCO5 
      CP 
      將安裝軟盤上的原始文件拷貝到一個(gè)臨時(shí)目錄: 
      # 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í)行全程安裝,在整個(gè)安裝過程中僅需要用戶鍵入一個(gè)字母“y”即可完成。所以在開始安裝前。一定要配置安裝腳本配置文件“dw.cfg”。 
      l 配置dw.cfg文件 
      # cp cfg.a dw.cfg 
      # vi dw.cfg 
      《1》生產(chǎn)機(jī)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è)置本機(jī)為A(生產(chǎn)機(jī)) 
      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è)置本機(jī)服務(wù)器網(wǎng)卡實(shí)際TCP/IP地址,與netconfig相同 @ :Virtual_IP1 net0 15.15.15.99 255.255.255.0 15.15.15.255 
      設(shè)置本機(jī)服務(wù)器網(wǎng)卡虛擬TCP/IP地址 
      fs_tables :A 
      設(shè)置主機(jī)預(yù)mount的文件系統(tǒng),格式: 
      主機(jī) 設(shè)備名 mount目錄 文件系統(tǒng)類型(Dual-Active時(shí)有B)ap_tables :A:city:/shell/start&:/shell/k15 
      接管應(yīng)用格式:A:自定義名稱:啟動(dòng)應(yīng)用shell路徑:停止shell路徑 
      (Dual-Active時(shí)有B) 
      ctl_ap : 監(jiān)控應(yīng)用格式:A:某一應(yīng)用進(jìn)程名 
      B) 
      pager_setup :Disable 傳呼機(jī)設(shè)置(默認(rèn)封閉) 
      modem_device :/dev/tty2a modem設(shè)置(默認(rèn)設(shè)備名為com2) 
      pager_tables : 傳呼機(jī)設(shè)置參數(shù)表 
      reference_ip :A:15.15.15.101 設(shè)置網(wǎng)絡(luò)參考點(diǎn)(一般為Router地址) 
      需要和網(wǎng)卡地址同一網(wǎng)段,作為網(wǎng)絡(luò) 
      心跳參考點(diǎn)(Dual-Active時(shí)有B) 
      ts_tables : 設(shè)置網(wǎng)絡(luò)終端服務(wù)器IP地址(一般client 
      -server網(wǎng)絡(luò)不用該設(shè)置,默認(rèn)為空) 
      @ 代表續(xù)行 

      《2》備份機(jī)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è)置本機(jī)為 B(備份機(jī)); 

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

      # cd /etc/rc2.d 
      # vi S99Ware 

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

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

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

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

      # init 6 


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

      # 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機(jī) 
      # 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: 表示本機(jī)的DataWare是否運(yùn)行 
      Neighbor host: 表示對等服務(wù)器(備份機(jī))運(yùn)行狀態(tài)是否良好 
      Take over: 表示切換后,本機(jī)是否接管;DataWare在安裝配置完成,第一 
      次啟動(dòng)運(yùn)行時(shí),此值是“NO”,當(dāng)有切換狀況發(fā)生時(shí),在”Primary”服務(wù)器該值為“YES”。 

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

      DataWare for oracle的安裝 
      1. Server A與Server B : vi /etc/hosts 將主機(jī)名(hosts name)對應(yīng)的IP地址改為虛擬IP地址。 
      2.安裝DataWare軟件產(chǎn)品 
      將DataWare軟件安裝軟盤插入 Drv.A 
      將安裝軟盤上的原始文件拷貝到一個(gè)臨時(shí)目錄: 
      # 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í)行全程安裝,在整個(gè)安裝過程中僅需要用戶鍵入一個(gè)字母“y”即可完成。所以在開始安裝前。一定要配置安裝腳本配置文件“dw.cfg”。 
      l 配置dw.cfg文件 
      # cp sample.1 dw.cfg 
      # vi dw.cfg 
      《1》生產(chǎn)機(jī)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è)置本機(jī)為A(生產(chǎn)機(jī)) 
      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è)置本機(jī)服務(wù)器網(wǎng)卡實(shí)際TCP/IP地址,與netconfig相同 @ :Virtual_IP1 net0 15.15.15.99 255.255.255.0 15.15.15.255 
      設(shè)置本機(jī)服務(wù)器網(wǎng)卡虛擬TCP/IP地址 
      fs_tables :A A /dev/dsk/c1b0t0d0s1 /dd2 vxfs 
      設(shè)置主機(jī)預(yù)mount的文件系統(tǒng),格式: 
      主機(jī) 設(shè)備名 mount目錄 文件系統(tǒng)類型(Dual-Active時(shí)有B)ap_tables :A:city:/shell/start&:/shell/k15 
      接管應(yīng)用格式:A:自定義名稱:啟動(dòng)應(yīng)用shell路徑:停止shell路徑 
      (Dual-Active時(shí)有B) 
      ctl_ap : 監(jiān)控應(yīng)用格式:A:某一應(yīng)用進(jìn)程名 
      B) 
      pager_setup :Disable 傳呼機(jī)設(shè)置(默認(rèn)封閉) 
      modem_device :/dev/tty2a modem設(shè)置(默認(rèn)設(shè)備名為com2) 
      pager_tables : 傳呼機(jī)設(shè)置參數(shù)表 
      reference_ip :A:15.15.15.101 設(shè)置網(wǎng)絡(luò)參考點(diǎn)(一般為Router地址) 
      需要和網(wǎng)卡地址同一網(wǎng)段,作為網(wǎng)絡(luò) 
      心跳參考點(diǎn)(Dual-Active時(shí)有B) 
      ts_tables : 設(shè)置網(wǎng)絡(luò)終端服務(wù)器IP地址(一般client 
      -server網(wǎng)絡(luò)不用該設(shè)置,默認(rèn)為空) 
      @ 代表續(xù)行 

      《2》備份機(jī)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è)置本機(jī)為 B(備份機(jī)); 

      應(yīng)用程序引擎 
      l 啟動(dòng)應(yīng)用:/shell/start 
      su - oracle -c "dbstart" & →→→→在系統(tǒng)后臺啟動(dòng)oracle 
      su - oracle -c "lsnrctl start" & →→→→啟動(dòng)網(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)用引擎,就可以運(yùn)行這條命令執(zhí)行安裝。 
      1. # ./dwinst (注意:運(yùn)行此命令前,系統(tǒng)必須登錄多用戶,并進(jìn)入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啟動(dòng),修改/etc/rc2.d/S99 Ware: 

      # cd /etc/rc2.d 
      # vi S99Ware 

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

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

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

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

      # init 6 


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

      # 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機(jī) 
      # 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: 表示本機(jī)的DataWare是否運(yùn)行 
      Neighbor host: 表示對等服務(wù)器(備份機(jī))運(yùn)行狀態(tài)是否良好 
      Take over: 表示切換后,本機(jī)是否接管;DataWare在安裝配置完成,第一 
      次啟動(dòng)運(yùn)行時(shí),此值是“NO”,當(dāng)有切換狀況發(fā)生時(shí),在”Primary”服務(wù)器該值為“YES”。 

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

      DataWare for Unix ware的安裝 

      1. Server A與Server B : vi /etc/hosts 將主機(jī)名(hosts name)對應(yīng)的IP地址改為虛擬IP地址。 
      2.安裝DataWare軟件產(chǎn)品 
      將DataWare軟件安裝軟盤插入 CD_ROM 
      將安裝軟盤上的原始文件拷貝到一個(gè)臨時(shí)目錄: 
      # 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í)行全程安裝,在整個(gè)安裝過程中僅需要用戶鍵入一個(gè)字母“y”即可完成。所以在開始安裝前。一定要配置安裝腳本配置文件“dw.cfg”。 
      l 配置dw.cfg文件 
      # cp sample.1 dw.cfg 
      # vi dw.cfg 
      《1》生產(chǎn)機(jī)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è)置本機(jī)為A(生產(chǎn)機(jī)) 
      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è)置本機(jī)服務(wù)器網(wǎng)卡實(shí)際TCP/IP地址,與netconfig相同 @ :Virtual_IP1 net0 15.15.15.99 255.255.255.0 15.15.15.255 
      設(shè)置本機(jī)服務(wù)器網(wǎng)卡虛擬TCP/IP地址 
      fs_tables :A A /dev/dsk/c1b0t0d0s1 /dd2 vxfs 
      設(shè)置主機(jī)預(yù)mount的文件系統(tǒng),格式: 
      主機(jī) 設(shè)備名 mount目錄 文件系統(tǒng)類型(Dual-Active時(shí)有B)ap_tables :A:city:/shell/start&:/shell/k15 
      接管應(yīng)用格式:A:自定義名稱:啟動(dòng)應(yīng)用shell路徑:停止shell路徑 
      (Dual-Active時(shí)有B) 
      ctl_ap : 監(jiān)控應(yīng)用格式:A:某一應(yīng)用進(jìn)程名 
      B) 
      pager_setup :Disable 傳呼機(jī)設(shè)置(默認(rèn)封閉) 
      modem_device :/dev/tty2a modem設(shè)置(默認(rèn)設(shè)備名為com2) 
      pager_tables : 傳呼機(jī)設(shè)置參數(shù)表 
      reference_ip :A:15.15.15.101 設(shè)置網(wǎng)絡(luò)參考點(diǎn)(一般為Router地址) 
      需要和網(wǎng)卡地址同一網(wǎng)段,作為網(wǎng)絡(luò) 
      心跳參考點(diǎn)(Dual-Active時(shí)有B) 
      ts_tables : 設(shè)置網(wǎng)絡(luò)終端服務(wù)器IP地址(一般client 
      -server網(wǎng)絡(luò)不用該設(shè)置,默認(rèn)為空) 
      @ 代表續(xù)行 

      《2》備份機(jī)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è)置本機(jī)為 B(備份機(jī)); 

      應(yīng)用程序引擎 
      l 啟動(dòng)應(yīng)用:/shell/start 
      su - oracle -c "dbstart" & →→→→在系統(tǒng)后臺啟動(dòng)oracle 
      sleep 5 
      su - oracle -c "lsnrctl start" & →→→→啟動(dòng)網(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)用引擎,就可以運(yùn)行這條命令執(zhí)行安裝。 
      1. # ./dwinst (注意:運(yùn)行此命令前,系統(tǒng)必須登錄多用戶,并進(jìn)入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啟動(dòng),修改/etc/rc2.d/S99 Ware: 

      # cd /etc/rc2.d 
      # vi S99Ware 

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

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

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

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

      # init 6 


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

      # 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機(jī) 
      # 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: 表示本機(jī)的DataWare是否運(yùn)行 
      Neighbor host: 表示對等服務(wù)器(備份機(jī))運(yùn)行狀態(tài)是否良好 
      Take over: 表示切換后,本機(jī)是否接管;DataWare在安裝配置完成,第一 
      次啟動(dòng)運(yùn)行時(shí),此值是“NO”,當(dāng)有切換狀況發(fā)生時(shí),在”Primary”服務(wù)器該值為“YES”。 

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

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

        0條評論

        發(fā)表

        請遵守用戶 評論公約

        類似文章 更多