April 2, 2015

o2cb commands in Oracle RAC

Oracle RAC O2CB Cluster Service Commands

/etc/init.d/o2cb start
/etc/init.d/o2cb start ocfs2
/etc/init.d/o2cb stop
/etc/init.d/o2cb stop ocfs2
/etc/init.d/o2cb restart
/etc/init.d/o2cb restart ocfs2
/etc/init.d/o2cb status       -- Check status
/etc/init.d/o2cb load   -- Loads all OCFS2 modules
/etc/init.d/o2cb unload   -- Unloads all OCFS2 modules
/etc/init.d/o2cb online ocfs2 -- Brings the cluster online
/etc/init.d/o2cb offline ocfs2  -- Takes the cluster offline
/etc/init.d/o2cb configure  -- Configuring the O2CB driver
/etc/init.d/o2cb enable

#chkconfig --add o2cb

#chkconfig --list o2cb
o2cb            0:off   1:off   2:on    3:on    4:on    5:on    6:off
#chkconfig --del o2cb

service o2cb status

OCFS2 - Oracle Cluster File System

Related Articles: olsnodes in Oracle RAC   diagcollection.pl in Oracle RAC   ocrconfig commands in RAC

No comments:

Post a Comment