Welcome to DediSys
Search  
Main Menu  

Online  
There are 4 unlogged users and 0 registered users online.

You can log-in or register for a user account here.

  

ocfs2console fails to add node: o2cb_ctl: Unable to access cluster service

Posted by: admin on Apr 30, 2009 - 12:47 AM
Linux 
OCFS2: ocfs2console fails to add node: "o2cb_ctl: Unable to access cluster service while creating node"

Applies to:
Linux Kernel - Version: 1.0 to 1.4
Linux x86-64
Linux x86
Oracle Cluster File System Version 2 (OCFS2) 1.x
Symptoms
When using the OCFS2 graphical configuration utility, ocfs2console, to configure cluster nodes (Cluster > Node Configuration menu option), saving node changes results in the following error:

o2cb_ctl: Unable to access cluster service while creating node, could not add node 'node-name'

Changes
You are configuring OCFS2 cluster configuration for the first time using ocfs2console.

Cause
The error does not occur when starting ocfs2console for the first time, however occurs whenever there is a problem with the OCFS2 cluster configuration, or if the cluster configuration is not saved when initially configured using ocfs2console.

Solution
To address the issue, perform the following steps:

1. Shutdown OCFS2 Console
Select File then Quit from the Console menu or press Ctrl+Q keys.

2. Unmount OCFS2 volumes, offline the cluster and unload the o2cb module
# /etc/init.d/ocfs2 stop
Stopping Oracle Cluster File System (OCFS2) [ OK ]

# /etc/init.d/o2cb offline ocfs2
Stopping O2CB cluster ocfs2: OK
Unloading module "ocfs2": OK

# /etc/init.d/o2cb unload
Unmounting ocfs2_dlmfs filesystem: OK
Unloading module "ocfs2_dlmfs": OK
Unmounting configfs filesystem: OK
Unloading module "configfs": OK

3. Remove the OCFS2 cluster configuration file /etc/ocfs2/cluster.conf
# rm -f /etc/ocfs2/cluster.conf

4. Restart OCFS2 Console

# /usr/sbin/ocfs2console &

5. Perform required node configuration and save changes

Though not generally recommended, if issues with ocfs2console persist, the OCFS2 cluster configuration file, /etc/ocfs2/cluster.conf, may be created manually or copied and customised from another working cluster. Following is a sample configuration file taken from a working system.

node:
ip_port = 7777
ip_address = 10.0.0.1
number = 0
name = alpha.au.oracle.com
cluster = ocfs2

node:
ip_port = 7777
ip_address = 10.0.0.2
number = 1
name = bravo.au.oracle.com
cluster = ocfs2

node:
ip_port = 7777
ip_address = 10.0.0.3
number = 2
name = charlie.au.oracle.com
cluster = ocfs2

node:
ip_port = 7777
ip_address = 10.0.0.4
number = 3
name = delta.au.oracle.com
cluster = ocfs2

cluster:
node_count = 4
name = ocfs2

---
source: https://metalink.oracle.com/CSP/main/article?cmd=show&type=NOT&id=730527.1

  
Login  






 Log in Problems?
 New User? Sign Up!

Copyright (C) 2001 DediSys.or.id
powered by postnuke
Best Webhosting by MWN