Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

heartbeat region erased and return back to old value

3812094Nov 7 2018 — edited Nov 7 2018

I met a problem of heartbeat region could not be found in one oracle VM server when I try to start o2cb service

[root@ovs01 ~]# service o2cb restart                                                                                                                                                    

Clean userdlm domains: OK

Stopping global heartbeat on cluster "611133070c063202": OK

Stopping O2CB cluster 611133070c063202: Unregistering O2CB cluster "611133070c063202": OK

Unmounting ocfs2_dlmfs filesystem: OK

Unloading module "ocfs2_dlmfs": OK

Unloading module "ocfs2_stack_o2cb": OK

/etc/init.d/o2cb: line 1151: read: read error: 0: No such device

Unmounting configfs filesystem: OK

Unloading module "configfs": OK

checking debugfs...

Loading filesystem "configfs": OK

Mounting configfs filesystem at /sys/kernel/config: OK

Loading stack plugin "o2cb": OK

Loading filesystem "ocfs2_dlmfs": OK

Mounting ocfs2_dlmfs filesystem at /dlm: OK

Setting cluster stack "o2cb": OK

Registering O2CB cluster "611133070c063202": OK

Setting O2CB cluster timeouts : OK

Starting global heartbeat for cluster "611133070c063202": Failed

o2cb: Heartbeat region could not be found 0004FB00000500001CEA6736AEC63279

Stopping global heartbeat on cluster "611133070c063202": OK

I resolved this issue by running the command mounted.ocfs2 -f and mounted.ocfs2 -d

Device                                         Stack  Cluster                                                             F  UUID                              Label

/dev/mapper/3600a098000d722b7000001615b57fd67  o2cb   611133070c063202  G  0004FB00000500006D7B0D0911B72616     OVS_POOL_FILESYSTEM

and I put the new value (0004FB00000500006D7B0D0911B72616)    in /etc/ocfs2/cluster.conf ( Heartbeat region )

cluster.conf:

heartbeat:

        region = 0004FB00000500001CEA6736AEC63279

        cluster = 611133070c063202

node:

        number = 0

        name = ovs01

        ip_address = 192.168.254.8

        ip_port = 7777

        cluster = 611133070c063202

node:

        number = 1

        name = ovs02

        ip_address = 192.168.254.9

        ip_port = 7777

        cluster = 611133070c063202

cluster:

        node_count = 2

        heartbeat_mode = global

        name = 611133070c063202

When I try to update the pool from Oracle VM Manager GUI, the cluster.conf will be updated again and the region will be return back to 0004FB00000500001CEA6736AEC63279

I check with ovmcli command and I got that Pool_OVS contains the value 0004FB00000500001CEA6736AEC63279 ?

How can I updated it to the new value ?

Comments
Post Details
Added on Nov 7 2018
1 comment
465 views