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

AW: [Linux-cluster] newbie questions



>> First thing to test is that you can configure the IP address
manually, 
>> mount the filesystem, and start apache "the old-fashioned way", using

>> the /etc/init.d/httpd script on either machine.
>
>[root tf1 log]# /etc/init.d/httpd start
>Starting httpd: (99)Cannot assign requested address: make_sock: could
not >bind to address 
>192.168.1.7:80
>no listening sockets available, shutting down

You get this message because of the missing IP address. As Gred
mentioned before, you should change the ordering of your resources in
your "Apache Service" as following.
                <service autostart="1" domain="httpd" name="Apache
Service">
                        <ip ref="192.168.1.7"/>
                        <fs ref="apache_content"/>
                        <script ref="cluster_apache"/>
                </service>

>well, I see messages, but never ones with clurgmgrd 
>Jul  1 08:27:10 tf1 network: Setting network parameters:  succeeded 
>Jul  1 08:27:10 tf1 network: Bringing up loopback interface:  succeeded

>Jul  1 08:27:14 tf1 network: Bringing up interface eth0:  succeeded 
>Jul  1 08:27:19 tf1 network: Bringing up interface eth2:  succeeded 
>Jul  1 08:27:19 tf1 procfgd: Starting procfgd:  succeeded 
>Jul  1 08:27:24 tf1 kernel: CMAN: Waiting to join or form a
Linux-cluster
>Jul  1 08:27:24 tf1 ccsd[3928]: Connected to cluster infrastruture via:
>CMAN/SM Plugin v1.1.5 
>Jul  1 08:27:24 tf1 ccsd[3928]: Initial status:: Inquorate 
>Jul  1 08:27:56 tf1 kernel: CMAN: forming a new cluster
>Jul  1 08:27:56 tf1 kernel: CMAN: quorum regained, resuming activity
>Jul  1 08:27:56 tf1 ccsd[3928]: Cluster is quorate.  Allowing
connections. 
>Jul  1 08:27:56 tf1 kernel: DLM 2.6.9-41.7 (built May 22 2006 17:34:37)
>installed
>Jul  1 08:27:56 tf1 cman: startup succeeded
>Jul  1 08:27:56 tf1 lock_gulmd: no <gulm> section detected in
>/etc/cluster/cluster.conf 
>succeeded
>Jul  1 08:27:57 tf1 fenced: startup succeeded
>Jul  1 08:27:59 tf1 clvmd: Cluster LVM daemon started - connected to
CMAN
>Jul  1 08:27:59 tf1 clvmd: clvmd startup succeeded
>Jul  1 08:27:59 tf1 kernel: cdrom: open failed.
>Jul  1 08:28:00 tf1 kernel: cdrom: open failed.
>Jul  1 08:28:00 tf1 vgchange:   1 logical volume(s) in volume group
>"diskarray" now active
>Jul  1 08:28:00 tf1 clvmd: Activating VGs: succeeded
>Jul  1 08:28:00 tf1 netfs: Mounting other filesystems:  succeeded
>Jul  1 08:28:00 tf1 kernel: Lock_Harness 2.6.9-49.1 (built May 22 2006
>17:38:48) installed
>Jul  1 08:28:00 tf1 kernel: GFS 2.6.9-49.1 (built May 22 2006 17:39:06)
>installed
>Jul  1 08:28:00 tf1 kernel: GFS: Trying to join cluster "lock_dlm",
>"progressive:lv1"
>Jul  1 08:28:00 tf1 kernel: Lock_DLM (built May 22 2006 17:38:50)
installed
>Jul  1 08:28:02 tf1 kernel: GFS: fsid=progressive:lv1.0: Joined
cluster. >Now mounting FS...
>Jul  1 08:28:02 tf1 kernel: GFS: fsid=progressive:lv1.0: jid=0: Trying
to >acquire journal 
>lock...
>Jul  1 08:28:02 tf1 kernel: GFS: fsid=progressive:lv1.0: jid=0: Looking
at >journal...
>Jul  1 08:28:03 tf1 kernel: GFS: fsid=progressive:lv1.0: jid=0: Done

Well this seams all be correct. But the service rgmanager aka clurgmgrd
is one of the last services which are started at boot.

>> Jun 22 09:37:33 knob clurgmgrd: [3652]: <info> Executing 
>> /etc/init.d/httpd status
>> 
>> every 30 seconds or so.
>yeah, I never see this.

That's right because your service never started.

>ooh I do have it in the fstab... thats just me not fully understanding
how >all this is supposed 
>to work.

You can mount gfs using fstab but it can already be done using the
GFS-ressource. If mounting your filesystem using fstab you don't need a
resource.

Read http://www.redhat.com/docs/manuals/csgfs/browse/rh-cs-en/ for more
details.

-- 
================================================
|    Maik Zachacker  zachacker ibh de          |
================================================




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