[Ocfs2-tools-devel] [PATCH 1/3] o2cb.init: Disable online check	during online
    Sunil Mushran 
    sunil.mushran at oracle.com
       
    Thu Feb 18 15:09:44 PST 2010
    
    
  
Currently during online, the o2cb init script checks whether the cluster
is already online and aborts if it is so. This patch removes that check and
allows the init script to call o2cb_ctl to register newer nodes added to
cluster.conf.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
---
 vendor/common/o2cb.init.sh |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/vendor/common/o2cb.init.sh b/vendor/common/o2cb.init.sh
index e0307bf..ca2d06f 100644
--- a/vendor/common/o2cb.init.sh
+++ b/vendor/common/o2cb.init.sh
@@ -1208,13 +1208,6 @@ online()
     fi
     PLUGIN="$(select_stack_plugin)"
 
-    check_online $CLUSTER
-    if [ $? = 2 ]
-    then
-        echo "Cluster ${CLUSTER} already online"
-        return
-    fi
-
     if [ -f "$CLUSTER_STACK_FILE" ]
     then
         echo -n "Setting cluster stack \"$O2CB_STACK\": "
-- 
1.6.3.3
    
    
More information about the Ocfs2-tools-devel
mailing list