当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: RedHatClusterManager 安装操作系统,选择组件advanceserver,安装LVS部分。
 

 

    摘要: "rc.d" 中的r、c、d分别是什么意思? jourmen 回复于:2003-03-12 12:32:33 是不是daemon? alstone 回复于:2003-03-12 14:39:39 d是表明dir 目录 rc是启动控制脚本 thesea 回复于:2003-03-12 14:40:29 再问:r、c是什么意思? flykeeper 回复于:......
 ·制作linux的优盘启动盘(转)    »显示摘要«
    摘要: usb闪存存储装置(优盘)一般只有钥匙扣大小,存储容量多为32mb和64mb。由于具有轻巧精致、使用方便、便于携带等优点,特别是对比软盘具有容量较大、安全可靠、读取速度较快等特性,越来越多人使用这种装置取代了软驱与软盘,在pc之间交换文件。目前新出的主板bios都支持usb软盘和硬盘的启动方式,这样对于windows 98的系统维护与安装工作越来越方便。但是,厂家仅提供制作windows 9......


LVS的配置详解配置

red hat cluster manager 【程序编程相关:在redhat 7.3或8.0下用智能A

【推荐阅读:我的Redhat8.0美化方案(转载)

安装操作系统,选择组件advance server,安装lvs部分. 【扩展信息: Lotus Domino Server

两台主机,主机名为haha与hehe

主机haha的本地ip地址为net0:192.168.2.11,net1:192.168.2.14

主机hehe的本地ip地址为net0:192.168.2.12,net1:192.168.2.16

(主机网络连线只能用直连线进行连接,不能用交叉线连接,否则双机不能进行监控)

修改/etc/hosts文件,封掉localhost行的内容,写入本地主机.对方主机与虚拟主机相应的ip地址与主机名:(两台主机配置相同)

192.168.2.11 haha

192.168.2.12 hehe

192.168.2.13 xixi

进入/etc/sysconfig/rawdevices文件,增加两行内容:(两台主机设置相同)

/dev/raw/raw1   /dev/sdb1

/dev/raw/raw2   /dev/sdb2

以上两行是lvs需要的两个裸设备作为系统监控使用,每个裸设备的空间不能小于10m.当然需要fdisk建立两个两个相应的设备.

然后从起主机,进入/sbin下,./cluconfig进行cluster的配置:

red hat cluster manager configuration utility (running on haha) --haha为本地主机名

enter cluster name [red hat cluster manager]:xixi --xixi为虚拟主机名

enter ip address for cluster alias [none]:192.168.2.13 --地址为虚拟地址

--------------------------------

information for cluster member 0

--------------------------------

enter name of cluster member [haha]: --本地成员,回车即可

enter number of heartbeat channels (minimum = 1) [1]: 2  --两块网卡心跳线(也可串口心跳)

channel type: net or serial [net]: --第一块网卡做心跳

enter hostname of the cluster member on heartbeat channel 0 [haha]: --心跳线成员名称

channel type: net or serial [net]: --第二块网卡做心跳线

enter hostname of the cluster member on heartbeat channel 1:hehe --另外一个成员名称

information about quorum partitions

enter primary quorum partition [/dev/raw/raw1]:

enter shadow quorum partition [/dev/raw/raw2]:

information about the power switch that power cycles member haha

choose one of the following power switches:

  o none

  o rps10

  o baytech

  o apcserial

  o apcmaster

  o wti_nps

  o sw_watchdog

power switch [none]:

--------------------------------

information for cluster member 1

--------------------------------

enter name of cluster member:hehe --对方成员名

enter hostname of the cluster member on heartbeat channel 0: hehe


...   下一页
    摘要: oracle 8.1.7 for redhat linux 8安装过程详解 (bjchenxu@sina.com) 第一部分(root身份登陆) 1). 准备文件 #mkdir -p /data/ora #cd /data/ora 将所有文件拷贝到/data/ora中,一共12个文件 binutils-2.11.93.0.2-11.i386.rpm 1,925,419 字节 co......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE