Hi, I might be overlooking the obvious, but I have yet to find "/etc/init.d/o2cb" however, I read that configuration uses this init script. Where is it? From: ocfs2-tools-1.2.4/README.O2CB [Starting the OCFS2 Clustering Services] O2CB is comprised of a simple node manager, heartbeat, TCP protocol, and DLM. The basic steps in startup are as follows: 1) Load the nodemanager, heartbeat, and tcp modules 2) Mount the nodemanager and heartbeat pseudo filesystems. 3) Load the cluster information via o2cb_ctl. This adds all the known nodes to the nodemanager's psuedo filesystem. 4) Load the DLM module. 5) Load the OCFS2 module. 6) Mount an OCFS2 filesystem. The /etc/init.d/o2cb program is responsible for handling steps 1-3 during the boot of a machine. If you are running from the source tree, the script is located at vendor/common/o2cb.init. Also, the o2cb_ctl program needs to be in your path. It lives at o2cb_ctl/o2cb_ctl in the source tree. To enable steps 1 and 2 on boot: # /etc/init.d/o2cb enable Writing O2CB configuration: OK or: # /etc/init.d/o2cb configure Configuring the O2CB driver. Thanks, Randy Ramsdell
Have you installed ocfs2-tools? o2cb init script is included in it. Randy Ramsdell wrote:> Hi, > > I might be overlooking the obvious, but I have yet to find > "/etc/init.d/o2cb" however, I read that configuration uses this init script. > > Where is it? > > > > From: ocfs2-tools-1.2.4/README.O2CB > > [Starting the OCFS2 Clustering Services] > > O2CB is comprised of a simple node manager, heartbeat, TCP protocol, and > DLM. The basic steps in startup are as follows: > > 1) Load the nodemanager, heartbeat, and tcp modules > 2) Mount the nodemanager and heartbeat pseudo filesystems. > 3) Load the cluster information via o2cb_ctl. This adds all the > known nodes to the nodemanager's psuedo filesystem. > 4) Load the DLM module. > 5) Load the OCFS2 module. > 6) Mount an OCFS2 filesystem. > > The /etc/init.d/o2cb program is responsible for handling steps 1-3 > during the boot of a machine. If you are running from the source > tree, the script is located at vendor/common/o2cb.init. Also, the > o2cb_ctl program needs to be in your path. It lives at > o2cb_ctl/o2cb_ctl in the source tree. > > To enable steps 1 and 2 on boot: > > # /etc/init.d/o2cb enable > Writing O2CB configuration: OK > > or: > > # /etc/init.d/o2cb configure > Configuring the O2CB driver. > > Thanks, > > Randy Ramsdell > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users >
Sunil Mushran wrote:> Have you installed ocfs2-tools? o2cb init script is included in it. >BTW 1.2.2 did not install this either. ocfs2tools install steps: ./configure ; make ; make install ocfs2-tools-1.2.4 # ls -l `locate o2cb |grep etc` -rwxr-xr-x 1 root root 19037 Feb 13 15:53 /etc/init.d/o2cb lrwxrwxrwx 1 root root 7 Feb 13 17:16 /etc/init.d/rc2.d/K16o2cb -> ../o2cb lrwxrwxrwx 1 root root 7 Feb 13 17:16 /etc/init.d/rc2.d/S06o2cb -> ../o2cb lrwxrwxrwx 1 root root 7 Feb 13 17:16 /etc/init.d/rc3.d/K16o2cb -> ../o2cb lrwxrwxrwx 1 root root 7 Feb 13 17:16 /etc/init.d/rc3.d/S06o2cb -> ../o2cb lrwxrwxrwx 1 root root 7 Feb 13 17:16 /etc/init.d/rc5.d/K16o2cb -> ../o2cb lrwxrwxrwx 1 root root 7 Feb 13 17:16 /etc/init.d/rc5.d/S06o2cb -> ../o2cb -rw-r--r-- 1 root root 454 Apr 13 11:24 /etc/sysconfig/o2cb NOTE: I copy an old o2cb init script each tools upgrade: The o2cb dates of Feb 13 are the date I copied o2cb over so they are not related to the 1.2.4 tools install. I see that it installs "/etc/sysconfig/o2cb" however.> Randy Ramsdell wrote: >> Hi, >> >> I might be overlooking the obvious, but I have yet to find >> "/etc/init.d/o2cb" however, I read that configuration uses this init >> script. >> >> Where is it? >> >> >> >> # /etc/init.d/o2cb enable >> Writing O2CB configuration: OK >> >> or: >> >> # /etc/init.d/o2cb configure >> Configuring the O2CB driver. >> >> Thanks, >> >> Randy Ramsdell >> >> _______________________________________________ >> Ocfs2-users mailing list >> Ocfs2-users@oss.oracle.com >> http://oss.oracle.com/mailman/listinfo/ocfs2-users >>