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

[Linux-cluster] cannot run cluster service



Dear all,

 

I have cluster setup with 2 node and created web cluster service on it but it cannot run.

I have not listed anything in lvm.conf volume_list because once I add anything in volume_list and reboot the system then I cannot mount and even cannot read the lv which I created for my web . It throws error as

error message "not activating volume group lv does not pass activation filter"

Therefore I didn’t add anything in lvm.conf . Then I try to start my cluster servers for web server but the service failed.

Please help me so that I can solve this out.

 

I have attached my cluster.conf , lvdisplay , /var/log/messages and lvm.conf and my /etc/hosts.

 

I will be greatful if anyone can help me!

Thanks

 

And my clustat:

Cluster Status for PDC-PIC-PL-CL @ Wed Oct 10 14:58:05 2012

Member Status: Quorate

 

Member Name                                                     ID   Status

------ ----                                                     ---- ------

PDC-PIC-PL-CL1                                                      1 Online, Local, rgmanager

PDC-PIC-PL-CL2                                                      2 Online, rgmanager

 

Service Name                                               Owner (Last)                                               State        

 ------- ----                                               ----- ------                                               -----        

 service:ha-web-service                                     (PDC-PIC-PL-CL1)                                           failed       

Attachment: cluster.conf
Description: Binary data

[root PDC-PIC-PL-01 cluster]# lvdisplay
  --- Logical volume ---
  LV Name                /dev/vg_pdcpicpl01/lv_swap
  VG Name                vg_pdcpicpl01
  LV UUID                im1tvN-btxf-zYJs-Wtuy-UDyq-gPHm-iMZ3pJ
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                15.62 GiB
  Current LE             4000
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1
   
  --- Logical volume ---
  LV Name                /dev/vg_pdcpicpl01/lv_root
  VG Name                vg_pdcpicpl01
  LV UUID                p2nRu2-oDdS-j1VZ-lLZr-CbEQ-G0Yf-Wl9dHA
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                214.42 GiB
  Current LE             54892
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:4
   
  --- Logical volume ---
  LV Name                /dev/vg_pdcpicpl01/lv_home
  VG Name                vg_pdcpicpl01
  LV UUID                EZ3FqQ-yjeW-Yx4a-Iljz-WClZ-1LXd-S16l4J
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                48.83 GiB
  Current LE             12500
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:5
   
  --- Logical volume ---
  LV Name                /dev/HA-Web-VG/ha-web-lv
  VG Name                HA-Web-VG
  LV UUID                CdZ00K-pZSo-AJ4W-BVQZ-WvHF-O1yu-EGeC8n
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                15.00 GiB
  Current LE             3840
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
   
Oct 10 14:30:44 PDC-PIC-PL-01 rgmanager[24083]: [lvm] WARNING: An improper setup can cause data corruption!
Oct 10 14:30:44 PDC-PIC-PL-01 ricci[24130]: Executing '/usr/bin/virsh nodeinfo'
Oct 10 14:30:44 PDC-PIC-PL-01 rgmanager[24113]: [lvm] Deactivating HA-Web-VG/ha-web-lv
Oct 10 14:30:44 PDC-PIC-PL-01 rgmanager[24138]: [lvm] Making resilient : lvchange -an HA-Web-VG/ha-web-lv
Oct 10 14:30:44 PDC-PIC-PL-01 ricci[24167]: Executing '/usr/bin/virsh nodeinfo'
Oct 10 14:30:44 PDC-PIC-PL-01 rgmanager[24164]: [lvm] Resilient command: lvchange -an HA-Web-VG/ha-web-lv --config devices{filter=["a|/dev/mapper/ha-web|","a|/dev/mapper/mpat
Oct 10 14:30:45 PDC-PIC-PL-01 multipathd: dm-6: remove map (uevent)
Oct 10 14:30:45 PDC-PIC-PL-01 multipathd: dm-6: devmap not registered, can't remove
Oct 10 14:30:45 PDC-PIC-PL-01 multipathd: dm-6: remove map (uevent)
Oct 10 14:30:45 PDC-PIC-PL-01 multipathd: dm-6: devmap not registered, can't remove
Oct 10 14:30:45 PDC-PIC-PL-01 rgmanager[24192]: [lvm] Removing ownership tag (PDC-PIC-PL-CL1) from HA-Web-VG/ha-web-lv
Oct 10 14:30:45 PDC-PIC-PL-01 rgmanager[12542]: Starting stopped service service:ha-web-service
Oct 10 14:30:45 PDC-PIC-PL-01 rgmanager[24358]: [lvm] HA LVM:  Improper setup detected
Oct 10 14:30:45 PDC-PIC-PL-01 rgmanager[24380]: [lvm] * "volume_list" not specified in lvm.conf.
Oct 10 14:30:45 PDC-PIC-PL-01 rgmanager[12542]: start on lvm "ha-web-HA-LVM" returned 1 (generic error)
Oct 10 14:30:45 PDC-PIC-PL-01 rgmanager[12542]: #68: Failed to start service:ha-web-service; return value: 1
Oct 10 14:30:45 PDC-PIC-PL-01 rgmanager[12542]: Stopping service service:ha-web-service
Oct 10 14:30:45 PDC-PIC-PL-01 rgmanager[24411]: [script] Executing /etc/init.d/httpd stop
Oct 10 14:30:46 PDC-PIC-PL-01 rgmanager[24490]: [fs] stop: Could not match /dev/HA-Web-VG/ha-web-lv with a real device
Oct 10 14:30:46 PDC-PIC-PL-01 rgmanager[12542]: stop on fs "ha-web-filesystem" returned 2 (invalid argument(s))
Oct 10 14:30:46 PDC-PIC-PL-01 rgmanager[24528]: [lvm] HA LVM:  Improper setup detected
Oct 10 14:30:46 PDC-PIC-PL-01 rgmanager[24550]: [lvm] * "volume_list" not specified in lvm.conf.
Oct 10 14:30:46 PDC-PIC-PL-01 rgmanager[24572]: [lvm] WARNING: An improper setup can cause data corruption!
Oct 10 14:30:46 PDC-PIC-PL-01 rgmanager[24602]: [lvm] Deactivating HA-Web-VG/ha-web-lv
Oct 10 14:30:46 PDC-PIC-PL-01 rgmanager[24624]: [lvm] Making resilient : lvchange -an HA-Web-VG/ha-web-lv
Oct 10 14:30:46 PDC-PIC-PL-01 rgmanager[24649]: [lvm] Resilient command: lvchange -an HA-Web-VG/ha-web-lv --config devices{filter=["a|/dev/mapper/ha-web|","a|/dev/mapper/mpat
Oct 10 14:30:46 PDC-PIC-PL-01 rgmanager[24673]: [lvm] Removing ownership tag (PDC-PIC-PL-CL1) from HA-Web-VG/ha-web-lv
Oct 10 14:30:46 PDC-PIC-PL-01 rgmanager[12542]: #12: RG service:ha-web-service failed to stop; intervention required
Oct 10 14:30:46 PDC-PIC-PL-01 rgmanager[12542]: Service service:ha-web-service is failed
Oct 10 14:30:46 PDC-PIC-PL-01 rgmanager[12542]: #13: Service service:ha-web-service failed to stop cleanly
(END) 
Oct 10 14:30:44 PDC-PIC-PL-01 rgmanager[24083]: [lvm] WARNING: An improper setup can cause data corruption!
Oct 10 14:30:44 PDC-PIC-PL-01 ricci[24130]: Executing '/usr/bin/virsh nodeinfo'
Oct 10 14:30:44 PDC-PIC-PL-01 rgmanager[24113]: [lvm] Deactivating HA-Web-VG/ha-web-lv
Oct 10 14:30:44 PDC-PIC-PL-01 rgmanager[24138]: [lvm] Making resilient : lvchange -an HA-Web-VG/ha-web-lv
Oct 10 14:30:44 PDC-PIC-PL-01 ricci[24167]: Executing '/usr/bin/virsh nodeinfo'
Oct 10 14:30:44 PDC-PIC-PL-01 rgmanager[24164]: [lvm] Resilient command: lvchange -an HA-Web-VG/ha-web-lv --config devices{filter=["a|/dev/mapper/ha-web|","a|/dev/mapper/mpat
Oct 10 14:30:45 PDC-PIC-PL-01 multipathd: dm-6: remove map (uevent)
Oct 10 14:30:45 PDC-PIC-PL-01 multipathd: dm-6: devmap not registered, can't remove
Oct 10 14:30:45 PDC-PIC-PL-01 multipathd: dm-6: remove map (uevent)
Oct 10 14:30:45 PDC-PIC-PL-01 multipathd: dm-6: devmap not registered, can't remove
Oct 10 14:30:45 PDC-PIC-PL-01 rgmanager[24192]: [lvm] Removing ownership tag (PDC-PIC-PL-CL1) from HA-Web-VG/ha-web-lv
Oct 10 14:30:45 PDC-PIC-PL-01 rgmanager[12542]: Starting stopped service service:ha-web-service
Oct 10 14:30:45 PDC-PIC-PL-01 rgmanager[24358]: [lvm] HA LVM:  Improper setup detected
Oct 10 14:30:45 PDC-PIC-PL-01 rgmanager[24380]: [lvm] * "volume_list" not specified in lvm.conf.
Oct 10 14:30:45 PDC-PIC-PL-01 rgmanager[12542]: start on lvm "ha-web-HA-LVM" returned 1 (generic error)
Oct 10 14:30:45 PDC-PIC-PL-01 rgmanager[12542]: #68: Failed to start service:ha-web-service; return value: 1
Oct 10 14:30:45 PDC-PIC-PL-01 rgmanager[12542]: Stopping service service:ha-web-service
Oct 10 14:30:45 PDC-PIC-PL-01 rgmanager[24411]: [script] Executing /etc/init.d/httpd stop
Oct 10 14:30:46 PDC-PIC-PL-01 rgmanager[24490]: [fs] stop: Could not match /dev/HA-Web-VG/ha-web-lv with a real device
Oct 10 14:30:46 PDC-PIC-PL-01 rgmanager[12542]: stop on fs "ha-web-filesystem" returned 2 (invalid argument(s))
Oct 10 14:30:46 PDC-PIC-PL-01 rgmanager[24528]: [lvm] HA LVM:  Improper setup detected
Oct 10 14:30:46 PDC-PIC-PL-01 rgmanager[24550]: [lvm] * "volume_list" not specified in lvm.conf.
Oct 10 14:30:46 PDC-PIC-PL-01 rgmanager[24572]: [lvm] WARNING: An improper setup can cause data corruption!
Oct 10 14:30:46 PDC-PIC-PL-01 rgmanager[24602]: [lvm] Deactivating HA-Web-VG/ha-web-lv
Oct 10 14:30:46 PDC-PIC-PL-01 rgmanager[24624]: [lvm] Making resilient : lvchange -an HA-Web-VG/ha-web-lv
Oct 10 14:30:46 PDC-PIC-PL-01 rgmanager[24649]: [lvm] Resilient command: lvchange -an HA-Web-VG/ha-web-lv --config devices{filter=["a|/dev/mapper/ha-web|","a|/dev/mapper/mpat
Oct 10 14:30:46 PDC-PIC-PL-01 rgmanager[24673]: [lvm] Removing ownership tag (PDC-PIC-PL-CL1) from HA-Web-VG/ha-web-lv
Oct 10 14:30:46 PDC-PIC-PL-01 rgmanager[12542]: #12: RG service:ha-web-service failed to stop; intervention required
Oct 10 14:30:46 PDC-PIC-PL-01 rgmanager[12542]: Service service:ha-web-service is failed
Oct 10 14:30:46 PDC-PIC-PL-01 rgmanager[12542]: #13: Service service:ha-web-service failed to stop cleanly

Attachment: lvm.conf
Description: Binary data

[root PDC-PIC-PL-01 cluster]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.24.32   PDC-PIC-PL-01   PDC-PIC-PL-01.chcs.sg
192.168.25.132  PDC-PIC-PL-01-PM
192.168.26.13   PDC-PIC-PL-CL1
192.168.24.33   PDC-PIC-PL-02  PDC-PIC-PL-02.chcs.sg
192.168.25.133  PDC-PIC-PL-02-PM
192.168.26.14   PDC-PIC-PL-CL2

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