- 論壇徽章:
- 0
|
本帖最后由 wushuangri 于 2011-06-18 09:58 編輯
問題:無法用浮動(dòng)IP訪問數(shù)據(jù)庫(kù),浮動(dòng)IP也不能ping通,請(qǐng)各位高手幫我解答一下唄,萬分感謝!。
1. 安裝完畢,啟動(dòng)集群查看如下:
# cmviewcl -v
CLUSTER STATUS
clusterdb up
NODE STATUS STATE
calldb up running
Cluster_Lock_LVM:
VOLUME_GROUP PHYSICAL_VOLUME STATUS
/dev/vglock /dev/dsk/c6t0d1 up
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/3/1/0/6/0 lan0
PRIMARY up 0/4/2/0 lan1
STANDBY up 0/6/1/0/6/0 lan3
PACKAGE STATUS STATE AUTO_RUN NODE
ora up running enabled calldb
Policy_Parameters:
POLICY_NAME CONFIGURED_VALUE
Failover configured_node
Failback manual
Script_Parameters:
ITEM STATUS MAX_RESTARTS RESTARTS NAME
Service up 3 0 ora
Subnet up 10.227.8.0
Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled calldb (current)
Alternate up enabled calldb2
NODE STATUS STATE
calldb2 up running
Cluster_Lock_LVM:
VOLUME_GROUP PHYSICAL_VOLUME STATUS
/dev/vglock /dev/dsk/c6t0d1 up
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/3/1/0/6/0 lan0
PRIMARY up 0/4/2/0 lan1
STANDBY up 0/6/1/0/6/0 lan3
2. syslog日志如下:
# tail -100 /var/adm/syslog/syslog.log
Jun 17 17:12:05 calldb inetd[998]: dtspc/tcp: Added service, server /usr/dt/bin/
dtspcd
Jun 17 17:12:05 calldb inetd[998]: swat/tcp: Added service, server /opt/samba/bi
n/swat
Jun 17 17:12:05 calldb inetd[998]: registrar/tcp: Added service, server /etc/opt
/resmon/lbin/registrar
Jun 17 17:12:05 calldb inetd[998]: hacl-probe/tcp: Added service, server /opt/cm
om/lbin/cmomd
Jun 17 17:12:05 calldb inetd[998]: hacl-cfg/udp: Added service, server /usr/lbin
/cmclconfd
Jun 17 17:12:05 calldb inetd[998]: hacl-cfg/tcp: Added service, server /usr/lbin
/cmclconfd
Jun 17 17:12:05 calldb inetd[998]: rpc.cmsd/udp: Added service, server /usr/dt/b
in/rpc.cmsd
Jun 17 17:12:05 calldb inetd[998]: rpc.ttdbserver/tcp: Added service, server /us
r/dt/bin/rpc.ttdbserver
Jun 17 17:12:05 calldb inetd[998]: Configuration complete
Jun 17 17:12:07 calldb su: + tty?? root-sfmdb
Jun 17 17:12:17 calldb cimserver[1582]: starting
Jun 17 17:12:18 calldb cimserver[1582]: unlink(/var/opt/wbem/cimserver_current.c
onf) failed
Jun 17 17:12:19 calldb cimserver[1585]: PGS10033: THE CIM SERVER IS NOT STARTED:
PGS00216: CANNOT CREATE DIRECTORY /var/opt/wbem/repository.
Jun 17 17:12:09 calldb su: + tty?? root-sfmdb
Jun 17 17:12:19 calldb cimserver[1582]: exited normally
Jun 17 17:12:20 calldb pwgrd: Couldn't setup client socket directory
Jun 17 17:12:20 calldb diagmond[1680]: started
Jun 17 17:12:21 calldb /usr/sbin/envd[1684]: Rl3#=aJx, 4r2;?* fifo ND<~ /var/run
/envd_diag
Jun 17 17:12:21 calldb diagmond[1680]: Exit due to initialization failure
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1909]: Setting STREAMS-HEAD high water val
ue to 131072.
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1914]: nfsd do_one mpctl succeeded: ncpus
= 4.
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1914]: nfsd do_one pmap 2
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1914]: nfsd do_one pmap 3
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1915]: nfsd do_one bind 0
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1915]: Return from t_optmgmt(XTI_DISTRIBUT
E) 0
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1916]: nfsd 0 0 sock 4
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1918]: nfsd do_one bind 1
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1914]: nfsd do_one bind 3
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1923]: nfsd 0 1 sock 4
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1915]: nfsd 0 3 sock 4
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1924]: nfsd 0 2 sock 4
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1922]: nfsd do_one bind 2
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1918]: Return from t_optmgmt(XTI_DISTRIBUT
E) 0
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1922]: Return from t_optmgmt(XTI_DISTRIBUT
E) 0
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1926]: nfsd 1 0 sock 4
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1928]: nfsd 2 0 sock 4
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1918]: nfsd 1 3 sock 4
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1930]: nfsd 2 1 sock 4
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1922]: nfsd 2 3 sock 4
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1931]: nfsd 2 2 sock 4
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1927]: nfsd 1 1 sock 4
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1929]: nfsd 1 2 sock 4
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1914]: Return from t_optmgmt(XTI_DISTRIBUT
E) 0
Jun 17 17:12:27 calldb /usr/sbin/nfsd[1946]: nfsd 3 0 sock 4
Jun 17 17:12:27 calldb /usr/sbin/nfsd[1947]: nfsd 3 1 sock 4
Jun 17 17:12:27 calldb /usr/sbin/nfsd[1914]: nfsd 3 3 sock 4
Jun 17 17:12:27 calldb /usr/sbin/nfsd[1948]: nfsd 3 2 sock 4
Jun 17 17:12:27 calldb syslog: /usr/sbin/cmrunnode -v
Jun 17 17:12:28 calldb krsd[2027]: Delay time is 300 seconds
Jun 17 17:13:17 calldb cmclconfd[2079]: Request from root on node calldb to star
t the cluster on this node
Jun 17 17:13:17 calldb cmcld[2101]: Logging level changed to level 0.
Jun 17 17:13:17 calldb cmcld[2101]: Daemon Initialization - Maximum number of pa
ckages supported for this incarnation is 150.
Jun 17 17:13:05 calldb syslog: /usr/sbin/cmrunnode -v
Jun 17 17:13:17 calldb above message repeats 2 times
Jun 17 17:13:17 calldb cmcld[2101]: Global Cluster Information:
Jun 17 17:13:17 calldb cmcld[2101]: Heartbeat Interval is 1.00 seconds.
Jun 17 17:13:17 calldb cmcld[2101]: Logging level changed to level 0.
Jun 17 17:13:17 calldb cmcld[2101]: Node Timeout is 2.00 seconds.
Jun 17 17:13:17 calldb cmcld[2101]: Max reformation duration is 38.00 seconds.
Jun 17 17:13:17 calldb cmcld[2101]: Network Polling Interval is 2.00 seconds.
Jun 17 17:13:17 calldb cmcld[2101]: IO Timeout Extension is 0.00 seconds.
Jun 17 17:13:17 calldb cmcld[2101]: Auto Start Timeout is 600.00 seconds.
Jun 17 17:13:17 calldb cmcld[2101]: Failover Optimization is disabled.
Jun 17 17:13:17 calldb cmcld[2101]: Information Specific to node calldb:
Jun 17 17:13:17 calldb cmcld[2101]: Cluster lock disk: /dev/dsk/c6t0d1.
Jun 17 17:13:17 calldb cmcld[2101]: lan0 0x001e0b831020 10.227.8.1 bridged ne
t:1
Jun 17 17:13:17 calldb cmcld[2101]: lan1 0x001a4b0861a4 10.10.10.1 bridged ne
t:2
Jun 17 17:13:17 calldb cmcld[2101]: lan3 0x001e0b831037 standby bridged n
et:1
Jun 17 17:13:17 calldb cmcld[2101]: Heartbeat Subnet: 10.227.8.0
Jun 17 17:13:17 calldb cmcld[2101]: The maximum # of concurrent local connection
s to the daemon that will be supported is 4078.
Jun 17 17:13:17 calldb cmcld[2101]: rcomm health: Initializing timeout to 14250
0000 microseconds
Jun 17 17:13:17 calldb cmcld[2101]: Total allocated: 35299864 bytes, used: 21937
12 bytes, unused 33106144 bytes
Jun 17 17:13:18 calldb cmcld[2101]: wait event from serv_assistant_port
Jun 17 17:13:18 calldb cmlockd[2106]: Changed to working directory /var/adm/cmcl
uster/cmlockd.
Jun 17 17:13:18 calldb cmlockd[2106]: Executing command: rm -f /var/adm/cmcluste
r/.cmlock.*.socket
Jun 17 17:13:18 calldb cmnetd[2109]: Changed to working directory /var/adm/cmclu
ster/cmnetd.
Jun 17 17:13:18 calldb cmnetd[2109]: Initializing
Jun 17 17:13:18 calldb cmnetd[2109]: Executing command: rm -f /var/adm/cmcluster
/.cmnetd.*.socket
Jun 17 17:13:18 calldb cmdisklockd[2112]: Changed to working directory /var/adm/
cmcluster/cmdisklockd.
Jun 17 17:13:18 calldb cmdisklockd[2112]: cmdisklockd started
Jun 17 17:13:18 calldb cmdisklockd[2112]: Cluster lock disk /dev/dsk/c6t0d1 is a
ccessible
Jun 17 17:13:18 calldb cmcld[2101]: Starting cluster management protocols.
Jun 17 17:13:18 calldb cmcld[2101]: Attempting to form a new cluster
Jun 17 17:13:18 calldb cmcld[2101]: Beginning standard election
Jun 17 17:14:03 calldb cmcld[2101]: New node calldb2 is joining the cluster
Jun 17 17:14:05 calldb cmcld[2101]: Turning on safety time protection
Jun 17 17:14:01 calldb cmcld[2101]: Attempting to form a new cluster
Jun 17 17:14:05 calldb above message repeats 12 times
Jun 17 17:14:05 calldb cmcld[2101]: 2 nodes have formed a new cluster, sequence
#1
Jun 17 17:14:01 calldb cmcld[2101]: Beginning standard election
Jun 17 17:14:05 calldb above message repeats 12 times
Jun 17 17:14:05 calldb cmcld[2101]: The new active cluster membership is: calldb
(id=1), calldb2(id=2)
Jun 17 17:14:05 calldb cmlvmd[2115]: Clvmd initialized successfully.
Jun 17 17:14:05 calldb cmcld[2101]: Request from node calldb to start package or
a on node calldb.
Jun 17 17:14:05 calldb cmcld[2101]: Executing '/etc/cmcluster/pkg/ora.sh start'
for package ora, as service PKG*19713.
Jun 17 17:14:06 calldb LVM[2126]: vgchange -a e vgdata
Jun 17 17:14:06 calldb su: + tty?? root-oracle
Jun 17 17:14:22 calldb syslog: cmrunserv -r 3 ora >> /etc/cmcluster/pkg/ora.sh.l
og 2>&1 /etc/cmcluster/pkg/oracle10g.sh monitor
Jun 17 17:14:22 calldb cmcld[2101]: Service PKG*19713 terminated due to an exit(
0).
Jun 17 17:14:22 calldb cmcld[2101]: Started package ora on node calldb.
3. ora.sh.log 如下:
# tail -100 /var/adm/syslog/syslog.log
Jun 17 17:12:05 calldb inetd[998]: dtspc/tcp: Added service, server /usr/dt/bin/
dtspcd
Jun 17 17:12:05 calldb inetd[998]: swat/tcp: Added service, server /opt/samba/bi
n/swat
Jun 17 17:12:05 calldb inetd[998]: registrar/tcp: Added service, server /etc/opt
/resmon/lbin/registrar
Jun 17 17:12:05 calldb inetd[998]: hacl-probe/tcp: Added service, server /opt/cm
om/lbin/cmomd
Jun 17 17:12:05 calldb inetd[998]: hacl-cfg/udp: Added service, server /usr/lbin
/cmclconfd
Jun 17 17:12:05 calldb inetd[998]: hacl-cfg/tcp: Added service, server /usr/lbin
/cmclconfd
Jun 17 17:12:05 calldb inetd[998]: rpc.cmsd/udp: Added service, server /usr/dt/b
in/rpc.cmsd
Jun 17 17:12:05 calldb inetd[998]: rpc.ttdbserver/tcp: Added service, server /us
r/dt/bin/rpc.ttdbserver
Jun 17 17:12:05 calldb inetd[998]: Configuration complete
Jun 17 17:12:07 calldb su: + tty?? root-sfmdb
Jun 17 17:12:17 calldb cimserver[1582]: starting
Jun 17 17:12:18 calldb cimserver[1582]: unlink(/var/opt/wbem/cimserver_current.c
onf) failed
Jun 17 17:12:19 calldb cimserver[1585]: PGS10033: THE CIM SERVER IS NOT STARTED:
PGS00216: CANNOT CREATE DIRECTORY /var/opt/wbem/repository.
Jun 17 17:12:09 calldb su: + tty?? root-sfmdb
Jun 17 17:12:19 calldb cimserver[1582]: exited normally
Jun 17 17:12:20 calldb pwgrd: Couldn't setup client socket directory
Jun 17 17:12:20 calldb diagmond[1680]: started
Jun 17 17:12:21 calldb /usr/sbin/envd[1684]: Rl3#=aJx, 4r2;?* fifo ND<~ /var/run
/envd_diag
Jun 17 17:12:21 calldb diagmond[1680]: Exit due to initialization failure
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1909]: Setting STREAMS-HEAD high water val
ue to 131072.
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1914]: nfsd do_one mpctl succeeded: ncpus
= 4.
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1914]: nfsd do_one pmap 2
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1914]: nfsd do_one pmap 3
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1915]: nfsd do_one bind 0
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1915]: Return from t_optmgmt(XTI_DISTRIBUT
E) 0
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1916]: nfsd 0 0 sock 4
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1918]: nfsd do_one bind 1
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1914]: nfsd do_one bind 3
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1923]: nfsd 0 1 sock 4
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1915]: nfsd 0 3 sock 4
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1924]: nfsd 0 2 sock 4
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1922]: nfsd do_one bind 2
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1918]: Return from t_optmgmt(XTI_DISTRIBUT
E) 0
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1922]: Return from t_optmgmt(XTI_DISTRIBUT
E) 0
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1926]: nfsd 1 0 sock 4
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1928]: nfsd 2 0 sock 4
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1918]: nfsd 1 3 sock 4
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1930]: nfsd 2 1 sock 4
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1922]: nfsd 2 3 sock 4
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1931]: nfsd 2 2 sock 4
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1927]: nfsd 1 1 sock 4
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1929]: nfsd 1 2 sock 4
Jun 17 17:12:26 calldb /usr/sbin/nfsd[1914]: Return from t_optmgmt(XTI_DISTRIBUT
E) 0
Jun 17 17:12:27 calldb /usr/sbin/nfsd[1946]: nfsd 3 0 sock 4
Jun 17 17:12:27 calldb /usr/sbin/nfsd[1947]: nfsd 3 1 sock 4
Jun 17 17:12:27 calldb /usr/sbin/nfsd[1914]: nfsd 3 3 sock 4
Jun 17 17:12:27 calldb /usr/sbin/nfsd[1948]: nfsd 3 2 sock 4
Jun 17 17:12:27 calldb syslog: /usr/sbin/cmrunnode -v
Jun 17 17:12:28 calldb krsd[2027]: Delay time is 300 seconds
Jun 17 17:13:17 calldb cmclconfd[2079]: Request from root on node calldb to star
t the cluster on this node
Jun 17 17:13:17 calldb cmcld[2101]: Logging level changed to level 0.
Jun 17 17:13:17 calldb cmcld[2101]: Daemon Initialization - Maximum number of pa
ckages supported for this incarnation is 150.
Jun 17 17:13:05 calldb syslog: /usr/sbin/cmrunnode -v
Jun 17 17:13:17 calldb above message repeats 2 times
Jun 17 17:13:17 calldb cmcld[2101]: Global Cluster Information:
Jun 17 17:13:17 calldb cmcld[2101]: Heartbeat Interval is 1.00 seconds.
Jun 17 17:13:17 calldb cmcld[2101]: Logging level changed to level 0.
Jun 17 17:13:17 calldb cmcld[2101]: Node Timeout is 2.00 seconds.
Jun 17 17:13:17 calldb cmcld[2101]: Max reformation duration is 38.00 seconds.
Jun 17 17:13:17 calldb cmcld[2101]: Network Polling Interval is 2.00 seconds.
Jun 17 17:13:17 calldb cmcld[2101]: IO Timeout Extension is 0.00 seconds.
Jun 17 17:13:17 calldb cmcld[2101]: Auto Start Timeout is 600.00 seconds.
Jun 17 17:13:17 calldb cmcld[2101]: Failover Optimization is disabled.
Jun 17 17:13:17 calldb cmcld[2101]: Information Specific to node calldb:
Jun 17 17:13:17 calldb cmcld[2101]: Cluster lock disk: /dev/dsk/c6t0d1.
Jun 17 17:13:17 calldb cmcld[2101]: lan0 0x001e0b831020 10.227.8.1 bridged ne
t:1
Jun 17 17:13:17 calldb cmcld[2101]: lan1 0x001a4b0861a4 10.10.10.1 bridged ne
t:2
Jun 17 17:13:17 calldb cmcld[2101]: lan3 0x001e0b831037 standby bridged n
et:1
Jun 17 17:13:17 calldb cmcld[2101]: Heartbeat Subnet: 10.227.8.0
Jun 17 17:13:17 calldb cmcld[2101]: The maximum # of concurrent local connection
s to the daemon that will be supported is 4078.
Jun 17 17:13:17 calldb cmcld[2101]: rcomm health: Initializing timeout to 14250
0000 microseconds
Jun 17 17:13:17 calldb cmcld[2101]: Total allocated: 35299864 bytes, used: 21937
12 bytes, unused 33106144 bytes
Jun 17 17:13:18 calldb cmcld[2101]: wait event from serv_assistant_port
Jun 17 17:13:18 calldb cmlockd[2106]: Changed to working directory /var/adm/cmcl
uster/cmlockd.
Jun 17 17:13:18 calldb cmlockd[2106]: Executing command: rm -f /var/adm/cmcluste
r/.cmlock.*.socket
Jun 17 17:13:18 calldb cmnetd[2109]: Changed to working directory /var/adm/cmclu
ster/cmnetd.
Jun 17 17:13:18 calldb cmnetd[2109]: Initializing
Jun 17 17:13:18 calldb cmnetd[2109]: Executing command: rm -f /var/adm/cmcluster
/.cmnetd.*.socket
Jun 17 17:13:18 calldb cmdisklockd[2112]: Changed to working directory /var/adm/
cmcluster/cmdisklockd.
Jun 17 17:13:18 calldb cmdisklockd[2112]: cmdisklockd started
Jun 17 17:13:18 calldb cmdisklockd[2112]: Cluster lock disk /dev/dsk/c6t0d1 is a
ccessible
Jun 17 17:13:18 calldb cmcld[2101]: Starting cluster management protocols.
Jun 17 17:13:18 calldb cmcld[2101]: Attempting to form a new cluster
Jun 17 17:13:18 calldb cmcld[2101]: Beginning standard election
Jun 17 17:14:03 calldb cmcld[2101]: New node calldb2 is joining the cluster
Jun 17 17:14:05 calldb cmcld[2101]: Turning on safety time protection
Jun 17 17:14:01 calldb cmcld[2101]: Attempting to form a new cluster
Jun 17 17:14:05 calldb above message repeats 12 times
Jun 17 17:14:05 calldb cmcld[2101]: 2 nodes have formed a new cluster, sequence
#1
Jun 17 17:14:01 calldb cmcld[2101]: Beginning standard election
Jun 17 17:14:05 calldb above message repeats 12 times
Jun 17 17:14:05 calldb cmcld[2101]: The new active cluster membership is: calldb
(id=1), calldb2(id=2)
Jun 17 17:14:05 calldb cmlvmd[2115]: Clvmd initialized successfully.
Jun 17 17:14:05 calldb cmcld[2101]: Request from node calldb to start package or
a on node calldb.
Jun 17 17:14:05 calldb cmcld[2101]: Executing '/etc/cmcluster/pkg/ora.sh start'
for package ora, as service PKG*19713.
Jun 17 17:14:06 calldb LVM[2126]: vgchange -a e vgdata
Jun 17 17:14:06 calldb su: + tty?? root-oracle
Jun 17 17:14:22 calldb syslog: cmrunserv -r 3 ora >> /etc/cmcluster/pkg/ora.sh.l
og 2>&1 /etc/cmcluster/pkg/oracle10g.sh monitor
Jun 17 17:14:22 calldb cmcld[2101]: Service PKG*19713 terminated due to an exit(
0).
Jun 17 17:14:22 calldb cmcld[2101]: Started package ora on node calldb.
# tail -100 /etc/cmcluster/pkg/ora.sh.log
Not a terminal
stty: : Not a typewriter
stty: : Not a typewriter
Monitored process = tnslsnr, pid = 2215
ttytype: couldn't open /dev/tty for reading
stty: : Not a typewriter
Not a terminal
stty: : Not a typewriter
stty: : Not a typewriter
Monitored process = tnslsnr, pid = 2215
ttytype: couldn't open /dev/tty for reading
stty: : Not a typewriter
Not a terminal
stty: : Not a typewriter
stty: : Not a typewriter |
|