| answer 回复于:2003-01-16 12:51:32 |
| DataWare for oracle的安装
1. Server A与Server B : vi /etc/hosts 将主机名(hosts name)对应的IP地址改为虚拟IP地址。 2.安装DataWare软件产品 将DataWare软件安装软盘插入 Drv.A 将安装软盘上的原始文件拷贝到一个临时目录: # mkdir /dw # cd /dw # tar tv6 DataWare软件安装软盘内容: 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 _ 将原始文件解压成可安装内容 # uncompress *.Z 执行结果: # 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 →→执行安装命令 rw-r--r-- 0/3 851917 Jun 01 13:39 1998 dwdata →→软件压缩包 3.配置初始化文件 DataWare 软件安装过程是以一条执行安装命令执行全程安装,在整个安装过程中仅需要用户键入一个字母“y”即可完成。所以在开始安装前。一定要配置安装脚本配置文件“dw.cfg”。 l 配置dw.cfg文件 # cp sample.1 dw.cfg # vi dw.cfg 《1》生产机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 设置本机为A(生产机) scsi_device :/dev/rdsk/ c1b0t0d0s2 设置磁盘柜握手区裸设备名; ip_tables :Real_IP1 net0 15.15.15.2 255.255.255.0 15.15.15.255 设置本机服务器网卡实际TCP/IP地址,与netconfig相同 @ :Virtual_IP1 net0 15.15.15.99 255.255.255.0 15.15.15.255 设置本机服务器网卡虚拟TCP/IP地址 fs_tables :A A /dev/dsk/c1b0t0d0s1 /dd2 vxfs 设置主机预mount的文件系统,格式: 主机 设备名 mount目录 文件系统类型(Dual-Active时有B)ap_tables :A:city:/shell/start&:/shell/k15 接管应用格式:A:自定义名称:启动应用shell路径:停止shell路径 (Dual-Active时有B) ctl_ap : 监控应用格式:A:某一应用进程名 B) pager_setup :Disable 传呼机设置(默认封闭) modem_device :/dev/tty2a modem设置(默认设备名为com2) pager_tables : 传呼机设置参数表 reference_ip :A:15.15.15.101 设置网络参考点(一般为Router地址) 需要和网卡地址同一网段,作为网络 心跳参考点(Dual-Active时有B) ts_tables : 设置网络终端服务器IP地址(一般client -server网络不用该设置,默认为空) @ 代表续行 《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 设置本机为 B(备份机); 应用程序引擎 l 启动应用:/shell/start su - oracle -c "dbstart" & →→→→在系统后台启动oracle su - oracle -c "lsnrctl start" & →→→→启动网络监听 _ l 停止应用:/shell/k15 su - oracle -c "dbshut" →→→→停止oracle 数据库 su – oracle –c “lsnrctl stop” →→停止网络监听 _ 4.执行软件安装 DataWare软件安装程序是在软件目录下的dwinst。当完成初始化配置并完成应用引擎,就可以运行这条命令执行安装。 1. # ./dwinst (注意:运行此命令前,系统必须登录多用户,并进入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. 优化DataWare启动,修改/etc/rc2.d/S99 Ware: _ # cd /etc/rc2.d # vi S99Ware 初始默认设置: /usr/lib/data _ware/exec/data ware –u99 -h 修改优化配置: 如果AP应用程序启动时间≤40秒,停止时间≤30秒,不需要更改初始默认设置,但仍然需要加入优化参数: 举例:dataware –o –m -h 修改结果: /usr/lib/dataware –o –m -h 5. 服务器重新引导 两台对等主机在完成所有安装和检查的工作后必须重起。 # init 6 2.运行系统检查命令,查看两台对等服务器的运行状态 键入命令:# 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: 表示对等服务器(备份机)运行状态是否良好 Take over: 表示切换后,本机是否接管;DataWare在安装配置完成,第一 次启动运行时,此值是“NO”,当有切换状况发生时,在”Primary”服务器该值为“YES”。 到此,安装全部结束。 |
| answer 回复于:2003-01-16 12:53:53 |
| sybase的安装大同异。 |
| lsw 回复于:2003-01-16 13:12:26 |
| 有UNIXWARE7下的安装步骤吗?FOR SYBASE |
| sdclearcase/" target="_blank" >ccf 回复于:2003-01-16 13:14:53 |
| 好! |
| lcz88990200 回复于:2003-01-16 14:28:18 |
| dataware是什么软件 |
| answer 回复于:2003-01-16 14:32:41 |
| [quote:96b6dd31aa="lsw"]有UNIXWARE7下的安装步骤吗?FOR SYBASE[/quote:96b6dd31aa]
这里:DataWare for Unix ware的安装 1. Server A与Server B : vi /etc/hosts 将主机名(hosts name)对应的IP地址改为虚拟IP地址。 2.安装DataWare软件产品 将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 执行结果: # 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 →→执行安装命令 rw-r--r-- 0/3 851917 Jun 01 13:39 1998 dwdata →→软件压缩包 3.配置初始化文件 DataWare 软件安装过程是以一条执行安装命令执行全程安装,在整个安装过程中仅需要用户键入一个字母“y”即可完成。所以在开始安装前。一定要配置安装脚本配置文件“dw.cfg”。 l 配置dw.cfg文件 # cp sample.1 dw.cfg # vi dw.cfg 《1》生产机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 设置本机为A(生产机) scsi_device :/dev/rdsk/ c1b0t0d0s2 设置磁盘柜握手区裸设备名; ip_tables :Real_IP1 net0 15.15.15.2 255.255.255.0 15.15.15.255 设置本机服务器网卡实际TCP/IP地址,与netconfig相同 @ :Virtual_IP1 net0 15.15.15.99 255.255.255.0 15.15.15.255 设置本机服务器网卡虚拟TCP/IP地址 fs_tables :A A /dev/dsk/c1b0t0d0s1 /dd2 vxfs 设置主机预mount的文件系统,格式: 主机 设备名 mount目录 文件系统类型(Dual-Active时有B)ap_tables :A:city:/shell/start&:/shell/k15 接管应用格式:A:自定义名称:启动应用shell路径:停止shell路径 (Dual-Active时有B) ctl_ap : 监控应用格式:A:某一应用进程名 B) pager_setup :Disable 传呼机设置(默认封闭) modem_device :/dev/tty2a modem设置(默认设备名为com2) pager_tables : 传呼机设置参数表 reference_ip :A:15.15.15.101 设置网络参考点(一般为Router地址) 需要和网卡地址同一网段,作为网络 心跳参考点(Dual-Active时有B) ts_tables : 设置网络终端服务器IP地址(一般client -server网络不用该设置,默认为空) @ 代表续行 《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 设置本机为 B(备份机); 应用程序引擎 l 启动应用:/shell/start su - oracle -c "dbstart" & →→→→在系统后台启动oracle sleep 5 su - oracle -c "lsnrctl start" & →→→→启动网络监听 _ l 停止应用:/shell/k15 su - oracle -c "dbshut" →→→→停止oracle 数据库 su – oracle –c “lsnrctl stop” →→停止网络监听 4.执行软件安装 DataWare软件安装程序是在软件目录下的dwinst。当完成初始化配置并完成应用引擎,就可以运行这条命令执行安装。 1. # ./dwinst (注意:运行此命令前,系统必须登录多用户,并进入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. 优化DataWare启动,修改/etc/rc2.d/S99 Ware: _ # cd /etc/rc2.d # vi S99Ware 初始默认设置: /usr/lib/data _ware/exec/data ware –u99 -h 修改优化配置: 如果AP应用程序启动时间≤40秒,停止时间≤30秒,不需要更改初始默认设置,但仍然需要加入优化参数: 举例:dataware –o –m -h 修改结果: /usr/lib/dataware –o –m -h 5. 服务器重新引导 两台对等主机在完成所有安装和检查的工作后必须重起。 # init 6 2.运行系统检查命令,查看两台对等服务器的运行状态 键入命令:# 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: 表示对等服务器(备份机)运行状态是否良好 Take over: 表示切换后,本机是否接管;DataWare在安装配置完成,第一 次启动运行时,此值是“NO”,当有切换状况发生时,在”Primary”服务器该值为“YES”。 到此,安装全部结束。 |
| answer 回复于:2003-01-16 14:34:41 |
| [quote:45fa27a0f3="lcz88990200"]dataware是什么软件[/quote:45fa27a0f3]
双机软件。 |
| lsw 回复于:2003-01-16 15:21:58 |
| answer兄弟,你是不是豪威的? |
| answer 回复于:2003-01-16 16:05:03 |
| [quote:c6e9567d79="lsw"]answer兄弟,你是不是豪威的?[/quote:c6e9567d79]
猜对了一半。 以前是。 |
| lsw 回复于:2003-01-16 17:31:55 |
| [quote:7071486423="answer"]
猜对了一半。 以前是。[/quote:7071486423] 厉害!厉害! |
| answer 回复于:2003-01-16 17:34:11 |
| [quote:011aa0e799="lsw"]
厉害!厉害![/quote:011aa0e799] ?????? |
| lsw 回复于:2003-01-16 17:39:29 |
| 1. Server A与Server B : vi /etc/hosts 将主机名(hosts name)对应的IP地址改为虚拟IP地址。
是指本地机器的IP改为虚拟的吗(127。0。0。1), 还是将网卡的IP改为虚拟的。 |
| answer 回复于:2003-01-16 17:44:42 |
| 其实在/etc/hosts文件里加一行漂移地址的解析就行了。 |
| lsw 回复于:2003-01-16 17:53:27 |
| 请多指教!!! |
| answer 回复于:2003-01-16 17:55:19 |
| 什么问题。
不要这么客气吗? |
| lsw 回复于:2003-01-16 17:59:34 |
| 我正在测试豪威FOR UNIXWARE7的双机。 |
| answer 回复于:2003-01-16 18:04:58 |
| 好呀!
我听说他们改了一些东西。 新版的我一直没有时间测。 你现在是在做人行支付的项目吗? |
| lsw 回复于:2003-01-16 18:07:17 |
| 不是的 |
| answer 回复于:2003-01-16 18:10:14 |
| 知道了。
我要下班了。 有什么问题,论坛里见吧。 88 |
| TONGHUASHUN 回复于:2003-01-16 18:39:41 |
| 不错哦,继续努力 |
| psgg 回复于:2003-01-17 17:11:35 |
| 好的不得了。 |
| answer 回复于:2003-01-17 17:19:43 |
| [quote:39b3d7d813="psgg"]好的不得了。[/quote:39b3d7d813]????
??????? :?: :?: |
| menp9999 回复于:2003-01-25 08:49:00 |
| 请问一下,这个是不是豪威的产品?谢了 |
| answer 回复于:2003-01-27 08:56:38 |
| 对,是豪威的产品 |
| 真龙纯 回复于:2003-01-27 10:01:24 |
| 你确实是很厉害哟。呵呵。
受益菲浅啊。 |
| lhf 回复于:2003-06-16 22:43:03 |
| 感激!!!! |
| th0806 回复于:2003-07-04 15:32:25 |
| [quote:a3b9a2f2c6="answer"]y Status: 表示本机的DataWare是否运行
Neighbor host: 表示对等服务器(备份机)运行状态是否良好 Take over: 表示切换后,本机是否接管;DataWare在安装配置完成,第一 次启动运行时,此值是“NO”,..........[/quote:a3b9a2f2c6] "将DataWare软件安装软盘插入 CD_ROM " ??是插入軟驅吧? “# mount –r –f cdfs /dev/cdrom/cdrom1 /mnt ”這個就不對了吧。 |
| th0806 回复于:2003-07-05 08:23:21 |
| 这里:DataWare for Unix ware的安装
1. Server A与Server B : vi /etc/hosts 将主机名(hosts name)对应的IP地址改为虚拟IP地址。 2.安装DataWare软件产品 将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 "将DataWare软件安装软盘插入 CD_ROM "是軟盤應該插入軟驅吧? 然後mount 軟驅吧? |
| Jordan_zhang 回复于:2003-08-15 21:09:25 |
| 不知那可以找到这些双机软件,我一直都想学习一下如何配置。 |
| Jordan_zhang 回复于:2003-08-16 15:34:07 |
| 不知有没有那位好心人帮帮忙,愿意买一套,也可以能满足一下我的愿望。 |
| ouliyi_0 回复于:2005-07-21 02:14:09 |
| 和我单位的基本一模样,哈哈,豪威。刚重启了机器,结果hosts_A的dataware not running了!!!如何解决??? |