Re: [ogfs-dev]Patch for integrating OpenDLM into OpenGFS
On Tuesday 23 September 2003 10:28 pm, Stanley Wang wrote:
> Hi, folks
> Following is the patch support OpenDLM (with HOWTO and design doc).
> Please give me your feedback :)
>
> BTW, I will check all codes into cvs if there is not big problem in it.
I don't see anything major, this is mostly doc nitpicks. I'll send a seperate
email on the code if necessary.
--Brian Jackson
>
> Thanks!
>
> Best Regards,
> Stan
> --
> Opinions expressed are those of the author and do not represent Intel
> Corporation
> "gpg --recv-keys --keyserver wwwkeys.pgp.net E1390A7F"
> {E1390A7F:3AD1 1B0C 2019 E183 0CFF 55E8 369A 8B75 E139 0A7F}
>
> diff -Naur opengfs/configure.ac opengfs-opendlm/configure.ac
> --- opengfs/configure.ac 2003-07-29 18:19:46.000000000 +0800
> +++ opengfs-opendlm/configure.ac 2003-09-24 11:11:01.000000000 +0800
> @@ -383,6 +383,20 @@
> exec_prefix="";
> fi
>
> +AC_ARG_ENABLE(
> + opendlm,
> + [ --enable-opendlm Using opendlm],
> + [enable_opendlm=true])
> +
> +AM_CONDITIONAL(ENABLE_OPENDLM, test x$enable_opendlm = xtrue)
> +
> +dnl get the opendlm includes path.
> +
> +AC_ARG_WITH(opendlm_includes,
> + [ --with-opendlm_includes=DIR dir for your opendlm package],
> + opendlm_includes="$withval")
> +AC_SUBST(opendlm_includes)
> +
can you make it search the default include path for OpenDLM? I think this is
possible, but don't know how to do it. Maybe Dominik can help out.
> dnl default CFLAGS, can be overridden on command line
> dnl dv (29-Jul-2003): This nukes debugging and is confusing. Let the
> person
> dnl who builds the package decide about optimisation.
> @@ -437,6 +451,7 @@
> src/locking/modules/memexp/Makefile
> src/locking/modules/nolock/Makefile
> src/locking/modules/stats/Makefile
> + src/locking/modules/opendlm/Makefile
> src/locking/servers/Makefile
> src/locking/servers/memexp/Makefile
> src/pool/Makefile
> diff -Naur opengfs/docs/HOWTO-opendlm opengfs-opendlm/docs/HOWTO-opendlm
> --- opengfs/docs/HOWTO-opendlm 1970-01-01 08:00:00.000000000 +0800
> +++ opengfs-opendlm/docs/HOWTO-opendlm 2003-09-24 11:11:18.000000000
> +0800
> @@ -0,0 +1,132 @@
<snip>
> +
> +8. Configure the OpdnGFS Cluster.
+8. Configure the OpenGFS Cluster.
> + Please read section 7 in HWWTO-nopool first.
+ Please read section 7 in HOWTO-nopool first.
> +
> + # cat ogfscf.cf
> +
> + datadev: /dev/sdx3
> + cidev: /dev/sdx1
> + lockdev: 192.168.0.37:15697
> + cbport: 3001
> +
> + timeout: 30
> + STOMITH: manual
> + name: manual
> +
> + node: 192.168.0.37 0 SM: manual 1
> + node: 192.168.0.203 1 SM: manual 2
> +
<snip>
> + NOTE: a. dlm.conf should be same in these two nodes
> + b. The order of nodes is important, it should be the same in
+ b. The order of nodes is important, it should be the same as in
> + OpenGFS's config file.
> +
> +10. Start locking service
> +
> + Start HA heartbeat:
> +
> + On wv1: #/etc/init.d/heartbeat start
> + On wv2: #/etc/init.d/heartbeat start
> +
> + Start OpenDLM:
<snip>
> diff -Naur opengfs/docs/opendlm2glock opengfs-opendlm/docs/opendlm2glock
> --- opengfs/docs/opendlm2glock 1970-01-01 08:00:00.000000000 +0800
> +++ opengfs-opendlm/docs/opendlm2glock 2003-09-24 11:11:28.000000000
> +0800
> @@ -0,0 +1,137 @@
> +Map OpenDLM to G-lock (V0.01)
> +
> +This document describes the implementation details of the OpenDLM
> locking module.
> +You could find corresponding codes at src/locking/modules/opendlm/.
+You could find corresponding code at src/locking/modules/opendlm/.
> +
> +1. How to implement all "lm_lockops".
> +
<snip>
--
Home -- http://www.brianandsara.net
Gentoo -- http://gentoo.brianandsara.net
OpenGFS -- http://opengfs.sourceforge.net
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opengfs-devel mailing list
Opengfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opengfs-devel
[Kernel]
[Security]
[Bugtraq]
[Photo]
[Yosemite]
[MIPS Linux]
[ARM Linux]
[Linux Clusters]
[Linux RAID]
[Yosemite Hiking]
[Linux Resources]