View Single Post
  #3  
Old 26th September 2006, 20:01
stylez stylez is offline
Junior Member
 
Join Date: Sep 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Command "ip addr sh eth0"

loadb-1:
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:0c:29:a7:30:cf brd ff:ff:ff:ff:ff:ff
inet 172.30.0.110/24 brd 172.30.0.255 scope global eth0
inet 172.30.0.111/24 brd 172.30.0.255 scope global secondary eth0

loadb-2
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:0c:29:1f:46:fd brd ff:ff:ff:ff:ff:ff
inet 172.30.0.9/24 brd 172.30.0.255 scope global eth0


Command "ldirectord ldirectord.cf status"

loadb-1:
ldirectord for /etc/ha.d/ldirectord.cf is running with pid: 919


loadb-2:
ldirectord is stopped for /etc/ha.d/ldirectord.cf

Command: "

loadb-1: "ipvsadm -L -n"
IP Virtual Server version 1.0.11 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 172.30.0.111:3306 wrr
-> 172.30.0.8:3306 Route 0 0 0
-> 172.30.0.7:3306 Route 0 0 0

loadb-2:
IP Virtual Server version 1.0.11 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn


Command: "/etc/ha.d/resource.d/LVSSyncDaemonSwap master status"

loadb-1:
master running
(ipvs_syncmaster pid: 1046)


loadb-2:
master stopped



Everything seems to check out but I'm still unable to connect. When I first installed the app and tested ndb_mgm, both NDB's show up, ndb MGM shows up and so does both MYSQLD. Now when I run a show all I get this the following:

[ndbd(NDB)] 2 node(s)
id=2 @172.30.0.7 (Version: 4.1.21, Nodegroup: 0)
id=3 @172.30.0.8 (Version: 4.1.21, Nodegroup: 0, Master)

[ndb_mgmd(MGM)] 1 node(s)
id=1 @172.30.0.110 (Version: 4.1.21)

[mysqld(API)] 2 node(s)
id=4 @172.30.0.8 (Version: 4.1.21)
id=5 (not connected, accepting connect from any host)


You can see that 172.30.0.7 mysqld isn't showing up, but it's running on 0.7 and I can access the mysql directly from it.
Reply With Quote