Cluster Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello I'm really sorry to disturb you but I have some questions:

I installed RedHat Clustering Suite and I have this configuration:

/etc/sysconfig/ha/lvs.cf

#Seccion General
primary = XXX.XXX.XXX.XXX
backup = 172.22.21.132
backup_active = 0
keepalive = 2
deadtime = 10
heartbeat_port = 1050
rsh_command = rsh
network = nat
nat_router = 172.22.21.254 eth1:0
# Per-virtual-server section
virtual httpcluster {
 address = XXX.XXX.XXX.XXX eth3:0
 active = 1
 load_monitor = ruptime
 timeout = 10
 reentry = 10
 port = 80
 send = "GET / HTTP/1.0\r\n\r\n"
 scheduler = wlc
 pmask = 255.255.255.255
 protocol = tcp
# Per-real-server section
 #server rs1 {
 # address = 172.22.21.133
 # active = 1
 # weight = 2000
 #}
 server rs2 {
  address = 172.22.21.21
  active = 1
  weight = 1000
 }
 server rs3 {
  address = 172.22.21.130
  active = 1
  weight = 1000
 }
}
virtual wildfirecluster {
 address = XXX.XXX.XXX.XXX eth3:0
 active = 1
 load_monitor = ruptime
 timeout = 10
 reentry = 10
 port = 5222
 scheduler = wlc
 pmask = 255.255.255.255
 protocol = tcp
# Per-real-server section
 server jb1 {
  address = 172.22.21.22
  active = 1
  weight = 1000
 }
}
#Generacion de roundrobin para postfix
virtual postfixcluster {
 address = XXX.XXX.XXX.XXX eth3:0
 active = 1
 load_monitor = ruptime
 timeout = 10
 reentry = 10
 port = 25
 scheduler = wlc
 pmask = 255.255.255.255
 protocol = tcp
 send = "EHLO Cluster\r\n"
# Per-real-server section
 server rs1 {
  address = 172.22.21.130
  active = 1
  weight = 1000
 }
 server rs2 {
  address = 172.22.21.21
  active = 1
  weight = 1000
 }
}

I start it by initializing service pulse.

-------

My cluster.conf is very small and simple since this was a testing cluster.

[root@venus ~]# more /etc/cluster/cluster.conf
<?xml version="1.0"?>
<cluster config_version="2" name="sapocluster">
        <fence_daemon post_fail_delay="10" post_join_delay="20"/>
        <clusternodes>
                <clusternode name="venus.sapotek.com" votes="1">
                        <fence>
                                <method name="1">
                                        <device modulename=""
name="DRAC_Venus"/>
                                </method>
                        </fence>
                </clusternode>
                <clusternode name="pluto.sapotek.com" votes="1">
                        <fence/>
                </clusternode>
                <clusternode name="jupiter.sapotek.com" votes="1">
                        <fence/>
                </clusternode>
                <clusternode name="neptunus.sapotek.com" votes="1">
                        <fence/>
                </clusternode>
                <clusternode name="saturnus.sapotek.com" votes="1">
                        <fence/>
                </clusternode>
        </clusternodes>
        <cman/>
        <fencedevices>
                <fencedevice agent="fence_drac" ipaddr="XXX.XXX.XXX.YYY"
login="root" name="DRAC_Venus" passwd="123root456"/>
        </fencedevices>
        <rm>
                <failoverdomains/>
                <resources/>
        </rm>
</cluster>
[root@venus ~]#

------

and when I do clustat I get:

[root@venus mysql-cluster]# clustat
Member Status: Quorate

  Member Name                              Status
  ------ ----                              ------
  venus.sapotek.com                        Online, Local, rgmanager
  pluto.sapotek.com                        Online, rgmanager
  jupiter.sapotek.com                      Online, rgmanager
  neptunus.sapotek.com                     Online, rgmanager
  saturnus.sapotek.com                     Online, rgmanager

[root@venus mysql-cluster]#

When I mount GFS i get:

Jul 19 21:51:21 pluto kernel: GFS: Trying to join cluster "lock_dlm",
"sapocluster:cluster_tmp"
Jul 19 21:51:23 pluto kernel: GFS: fsid=sapocluster:cluster_tmp.0: Joined
cluster. Now mounting FS...
Jul 19 21:51:23 pluto kernel: GFS: fsid=sapocluster:cluster_tmp.0: jid=0:
Trying to acquire journal lock...
Jul 19 21:51:23 pluto kernel: GFS: fsid=sapocluster:cluster_tmp.0: jid=0:
Looking at journal...
Jul 19 21:51:23 pluto kernel: GFS: fsid=sapocluster:cluster_tmp.0: jid=0:
Done
Jul 19 21:51:23 pluto kernel: GFS: fsid=sapocluster:cluster_tmp.0: jid=1:
Trying to acquire journal lock...
Jul 19 21:51:23 pluto kernel: GFS: fsid=sapocluster:cluster_tmp.0: jid=1:
Looking at journal...
Jul 19 21:51:23 pluto kernel: GFS: fsid=sapocluster:cluster_tmp.0: jid=1:
Done
Jul 19 21:51:23 pluto kernel: GFS: fsid=sapocluster:cluster_tmp.0: jid=2:
Trying to acquire journal lock...
Jul 19 21:51:23 pluto kernel: GFS: fsid=sapocluster:cluster_tmp.0: jid=2:
Looking at journal...
Jul 19 21:51:23 pluto kernel: GFS: fsid=sapocluster:cluster_tmp.0: jid=2:
Done
Jul 19 21:51:23 pluto kernel: GFS: fsid=sapocluster:cluster_tmp.0: jid=3:
Trying to acquire journal lock...
Jul 19 21:51:23 pluto kernel: GFS: fsid=sapocluster:cluster_tmp.0: jid=3:
Looking at journal...
Jul 19 21:51:23 pluto kernel: GFS: fsid=sapocluster:cluster_tmp.0: jid=3:
Done
Jul 19 21:51:23 pluto kernel: GFS: fsid=sapocluster:cluster_tmp.0: jid=4:
Trying to acquire journal lock...
Jul 19 21:51:23 pluto kernel: GFS: fsid=sapocluster:cluster_tmp.0: jid=4:
Looking at journal...
Jul 19 21:51:23 pluto kernel: GFS: fsid=sapocluster:cluster_tmp.0: jid=4:
Done

And it mounts perfectly using mount -t gfs -oacl /dev/sdd1 /home (this is
an iscsi partition that I made GFS)

But apparently a consultant is telling me that this is not a cluster, and
that a director is not installed and that this is not a cluster and I can
see that even GFS telling me taht is joining a cluster so I'm really
confused.

Could you please tell me if this is a cluster? as far as I can tell I have
a quorate and GFS mounts the stuff and clustat returns a cluster, please
tell me if this is a cluster or not in your expert opinion.

Thank you for your time.

Enrique A. Sanchez Montellano

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



--

Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux