LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-31-2010, 09:13 AM   #1
senti
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Rep: Reputation: 0
Locking problem on two node CentOS cluster (LVM)


Hi,
I've tried to create a clustered gfs2 partition (using http://www.linuxdynasty.org/howto-se...lustering.html howto). Unfortunately something goes wrong. Beneath you can find console "dump".
Could you kindly help me and show me, what am I doing wrong?

Quote:
[root@olat-f1 ~]# /etc/init.d/cman start
Starting cluster:
Loading modules... done
Mounting configfs... done
Starting ccsd... done
Starting cman... done
Starting daemons... done
Starting fencing... done
[ OK ]
[root@olat-f1 ~]# clustat
Cluster Status for olat_prod @ Mon Aug 30 09:43:10 2010
Member Status: Quorate

Member Name ID Status
------ ---- ---- ------
olat-f1 1 Online, Local
olat-b1 3 Online

[root@olat-f1 ~]# service rgmanager start
Uruchamianie Cluster Service Manager: [ OK ]
[root@olat-f1 ~]# lvmconf --enable-cluster
[root@olat-f1 ~]# pvcreate pv_olat_gfs /dev/hdb
connect() failed on local socket: Nie ma takiego pliku ani katalogu
WARNING: Falling back to local file-based locking.
Volume Groups with the clustered attribute will be inaccessible.
Device pv_olat_gfs not found (or ignored by filtering).
Physical volume "/dev/hdb" successfully created
[root@olat-f1 ~]# vgcreate -c y vg_olat_gfs /dev/hdb
connect() failed on local socket: Nie ma takiego pliku ani katalogu
WARNING: Falling back to local file-based locking.
Volume Groups with the clustered attribute will be inaccessible.
Clustered volume group "vg_olat_gfs" successfully created
[root@olat-f1 ~]# lvcreate -n lv_olat_gfs -L 38G vg_olat_gfs
connect() failed on local socket: Nie ma takiego pliku ani katalogu
WARNING: Falling back to local file-based locking.
Volume Groups with the clustered attribute will be inaccessible.
Skipping clustered volume group vg_olat_gfs
[root@olat-f1 ~]# /etc/init.d/clvmd start
Starting clvmd: [ OK ]
Activating VGs: 0 logical volume(s) in volume group "vg_olat_gfs" now active
2 logical volume(s) in volume group "VolGroup00" now active
[ OK ]
[root@olat-f1 ~]# mkfs -t gfs2 -p lock_dlm -t olat_prodv_olat_gfs -j 4 /dev/mapper/
control VolGroup00-LogVol00 VolGroup00-LogVol01
[root@olat-f1 ~]# lvcreate -n lv_olat_gfs -L 38G vg_olat_gfs
Error locking on node olat-b1: Volume group for uuid not found: PGywEyofcUNG4IzCBqranorpQUhz5OrCQ91QeB25l5ZjQMf0gZufO3q12gcRjvqr
Aborting. Failed to activate new LV to wipe the start of it.
Best regards
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mysqld node of mysql cluster system not connecting to management node coal-fire-ice Linux - Server 1 07-27-2015 08:33 AM
Red Hat: two node cluster with two IPs each node HRM Linux - Enterprise 1 06-22-2010 04:40 PM
Two node cluster, start CMAN fence the other node DevinXu Linux - Enterprise 1 06-21-2010 12:37 PM
[SOLVED] Rocks Cluster node asking for rolls upon node install Shouraku ROCK 1 04-15-2010 10:28 AM
4 node cluster not accepting DHCP leases. CentOS 5 cchristm Linux - Server 2 08-11-2008 12:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration