failsafe configure questions
"Jason.Xue" <[email protected]> Thu, 11 Jul 2002 11:56:22 +0800
| Newsgroups | gmane.linux.failsafe |
|---|---|
| Message-ID | <[email protected]> |
Hello, everyone!
I am begin use linux failsafe two weeks ago.Now I have installed it to RedHat 7.3 with SGI XFS support.
When I begin my configure, I meet some questions.
I wonder who can help me about this.
My cluster include two host, they are connect by two ethernet line ( one to public network and one to private network) and a serial line, they are all connect to a shared SCSI disk array. I want to make it a HA NFS server, while a host is working,another standby.
================================Public Network========================================
| |
| 192.168.9.141 | 192.168.9.143
+-------eth0-----+ +-------eth0-----+
| eth1[192.168.3.1]---------------------[192.168.3.3]eth1 |
| Host A | | Host B |
| COM0-------------------------------------------COM0 |
+-------+--------+ +-------+--------+
| |
| |
| +---------------+ |
+---------------------- | Shared SCSI |-----------------------+
| Disk Array |
+---------------+
I wrote the following scripts:
define node xfs1
set nodeid to 1
set is_failsafe to true
set sysctrl_type to null
set sysctrl_status to enabled
set sysctrl_password to none
set sysctrl_owner to xfs3
set sysctrl_device to /dev/ttyS0
set sysctrl_owner_type to tty
add nic 192.168.9.141
set heartbeat to true
set ctrl_msgs to true
set priority to 1
done
add nic 192.168.3.1
set heartbeat to true
set ctrl_msgs to true
set priority to 2
done
done
define node xfs3
set nodeid to 3
set is_failsafe to true
set sysctrl_type to null
set sysctrl_status to enabled
set sysctrl_password to none
set sysctrl_owner to xfs1
set sysctrl_device to /dev/ttyS1
set sysctrl_owner_type to tty
add nic 192.168.9.145
set heartbeat to true
set ctrl_msgs to true
set priority to 1
done
add nic 192.168.3.3
set heartbeat to true
set ctrl_msgs to true
set priority to 2
done
done
when I use this scripts one all the two hosts, They all show that define node failure.
when I use "Show nodes" command, It seems these two node was define OK!
and I can't Use the following scrpits define:
define cluster test_xfs
set is_failsafe to true
add node xfs1
add node xfs2
when I use this, it always show failure.
And my /etc/hosts file is as follow on all the two hoosts:
127.0.0.1 localhost.localdomain localhost
192.168.9.145 xfs3.fs xfs3
192.168.9.141 xfs1.fs xfs1
192.168.3.1 xfs1.fs xfs1
192.168.3.3 xfs3.fs xfs3
Can you guide me what my error is?
and I still have other questions as following:
1. Sometimes when I click on "Setup a New Cluster" ( in " Guide Configuration" ), the mouse show the wait stat and I can't continue. I use the cdbreinit to reinit DB, I can enter "Setup a New Cluster" . But when I enter for the second time, It can't enter again.
2.On the Node config interface, what's the mean of "VACM", "STONITH"? I have a serial line connect this two host from COM0 (ttyS0), How can I select? what the "sysctrl_device" should I use?
Can you send me a Similar config scripts? Though the Admin Guide introduce some config, but I can't understand some terms very well.
Sorry for bother you!
Regards!
Jason.Xue