In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
1. Fault hint
The error found in crawling the resource management log is as follows
Tail-f / var/log/cluster/rgmanager.log
May 6 18:21:24 yktdb1 rgmanager [17425]: State change: Local UP
May 6 18:21:24 yktdb1 rgmanager [17425]: Starting stopped service service:yktoracle
May 6 18:21:24 yktdb1 rgmanager [18533]: [lvm] HA LVM: Improper setup detected
May 6 18:21:24 yktdb1 rgmanager [18555]: [lvm] * "volume_list" not specified in lvm.conf.
May 6 18:21:24 yktdb1 rgmanager [17425]: start on lvm "yktoracledb" returned 1 (generic error)
May 6 18:21:24 yktdb1 rgmanager [17425]: # 68: Failed to start service:yktoracle; return value: 1
May 6 18:21:24 yktdb1 rgmanager [17425]: Stopping service service:yktoracle
May 6 18:21:25 yktdb1 rgmanager [18586]: [script] Executing / etc/init.d/dbora stop
May 6 18:21:25 yktdb1 rgmanager [18682]: [fs] stop: Could not match / dev/yktoracledb/oracledblv with a real device
May 6 18:21:25 yktdb1 rgmanager [18720]: [lvm] HA LVM: Improper setup detected
May 6 18:21:25 yktdb1 rgmanager [18742]: [lvm] * "volume_list" not specified in lvm.conf.
May 6 18:21:25 yktdb1 rgmanager [18778]: [lvm] Deactivating yktoracledb/oracledblv
May 6 18:21:25 yktdb1 rgmanager [18800]: [lvm] Making resilient: lvchange-an yktoracledb/oracledblv
May 6 18:21:25 yktdb1 rgmanager [18825]: [lvm] Resilient command: lvchange-an yktoracledb/oracledblv-- config devices {filter= ["a | / dev/mapper/LUN-1800G |", "a | / dev/mappe
May 6 18:21:26 yktdb1 rgmanager [17425]: Service service:yktoracle is recovering
May 6 18:21:26 yktdb1 rgmanager [17425]: # 71: Relocating failed service service:yktoracle
May 6 18:21:26 yktdb1 rgmanager [17425]: Service service:yktoracle is stopped
May 6 18:21:35 yktdb1 rgmanager [17425]: State change: 192.168.10.2 UP
May 6 18:21:35 yktdb1 rgmanager [17425]: Starting stopped service service:yktoracle
May 6 18:21:36 yktdb1 rgmanager [18886]: [lvm] HA LVM: Improper setup detected
May 6 18:21:36 yktdb1 rgmanager [18908]: [lvm] * "volume_list" not specified in lvm.conf.
May 6 18:21:36 yktdb1 rgmanager [17425]: start on lvm "yktoracledb" returned 1 (generic error)
May 6 18:21:36 yktdb1 rgmanager [17425]: # 68: Failed to start service:yktoracle; return value: 1
May 6 18:21:36 yktdb1 rgmanager [17425]: Stopping service service:yktoracle
May 6 18:21:36 yktdb1 rgmanager [18939]: [script] Executing / etc/init.d/dbora stop
May 6 18:21:36 yktdb1 rgmanager [19035]: [fs] stop: Could not match / dev/yktoracledb/oracledblv with a real device
May 6 18:21:36 yktdb1 rgmanager [19073]: [lvm] HA LVM: Improper setup detected
May 6 18:21:37 yktdb1 rgmanager [19095]: [lvm] * "volume_list" not specified in lvm.conf.
May 6 18:21:37 yktdb1 rgmanager [19131]: [lvm] Deactivating yktoracledb/oracledblv
May 6 18:21:37 yktdb1 rgmanager [19153]: [lvm] Making resilient: lvchange-an yktoracledb/oracledblv
May 6 18:21:37 yktdb1 rgmanager [19178]: [lvm] Resilient command: lvchange-an yktoracledb/oracledblv-- config devices {filter= ["a | / dev/mapper/LUN-1800G |", "a | / dev/mappe
May 6 18:21:37 yktdb1 rgmanager [17425]: Service service:yktoracle is recovering
May 6 18:21:37 yktdb1 rgmanager [17425]: # 71: Relocating failed service service:yktoracle
May 6 18:21:39 yktdb1 rgmanager [17425]: Service service:yktoracle is stopped
Check the oracledblv status prompt Not available corresponding to lvdiskplay
There is no such oracledblv under / dev/yktoraclevg/.
This can be seen in / dev/yktoarclevg/ only after clvmd is stopped.
I checked a lot of information, but I don't know what's going on.
After checking a service clvmd status, it is found that both the cluster vg and lv display none.
This led me to find the problem.
Directly use the command vgchange-cy yktoracledb
Checking service clvmd status
[root@yktdb1 ~] # service clvmd status
Clvmd (pid 7550) is running...
Clustered Volume Groups: yktoracledb
Active clustered Logical Volumes: oracledblv ysbaklv test
[root@yktdb1 ~] #
You can already see the vg and lv shared by the cluster
Check that the cluster status is normal and the service is started, and then test whether the two nodes can be switched properly.
[root@yktdb1 ~] # clustat
Cluster Status for ytkcluter @ Sun May 7 11:53:49 2017
Member Status: Quorate
Member Name ID Status
192.168.10.1 1 Online, Local, rgmanager
192.168.10.2 2 Online, rgmanager
Service Name Owner (Last) State
-
Service:yktoracle 192.168.10.1 started
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.