Accepting request 196481 from home:goldwynr:branches:network:ha-clustering:Factory
cluster_stack setup in o2cb OBS-URL: https://build.opensuse.org/request/show/196481 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/ocfs2-tools?expand=0&rev=65
This commit is contained in:
parent
ab40e465fc
commit
6f2583e888
14
o2cb.ocf
14
o2cb.ocf
@ -35,6 +35,11 @@
|
|||||||
: ${OCF_RESKEY_CRM_meta_gloablly_unique:="false"}
|
: ${OCF_RESKEY_CRM_meta_gloablly_unique:="false"}
|
||||||
|
|
||||||
o2cb_start() {
|
o2cb_start() {
|
||||||
|
/sbin/modprobe ocfs2_stackglue
|
||||||
|
/sbin/modprobe ocfs2_stack_user
|
||||||
|
/sbin/modprobe ocfs2
|
||||||
|
echo "pcmk" > /sys/fs/ocfs2/cluster_stack
|
||||||
|
|
||||||
ocf_log info "o2cb is now obsolete. Please remove the o2cb resource agent in your next maintenance window!"
|
ocf_log info "o2cb is now obsolete. Please remove the o2cb resource agent in your next maintenance window!"
|
||||||
return $OCF_SUCCESS
|
return $OCF_SUCCESS
|
||||||
}
|
}
|
||||||
@ -49,6 +54,10 @@ o2cb_usage() {
|
|||||||
return $OCF_SUCCESS
|
return $OCF_SUCCESS
|
||||||
}
|
}
|
||||||
|
|
||||||
|
o2cb_monitor() {
|
||||||
|
return $OCF_SUCCESS
|
||||||
|
}
|
||||||
|
|
||||||
meta_data() {
|
meta_data() {
|
||||||
cat <<END
|
cat <<END
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
@ -62,6 +71,9 @@ This is a o2cb Resource Agent. This is now obsolete!
|
|||||||
<parameters>
|
<parameters>
|
||||||
</parameters>
|
</parameters>
|
||||||
<actions>
|
<actions>
|
||||||
|
<action name="start" timeout="90" />
|
||||||
|
<action name="stop" timeout="100" />
|
||||||
|
<action name="monitor" timeout="20" depth="0"/>
|
||||||
</actions>
|
</actions>
|
||||||
</resource-agent>
|
</resource-agent>
|
||||||
END
|
END
|
||||||
@ -75,6 +87,8 @@ start) o2cb_start
|
|||||||
;;
|
;;
|
||||||
stop) o2cb_stop
|
stop) o2cb_stop
|
||||||
;;
|
;;
|
||||||
|
monitor) o2cb_monitor
|
||||||
|
;;
|
||||||
usage|help) o2cb_usage
|
usage|help) o2cb_usage
|
||||||
exit $OCF_SUCCESS
|
exit $OCF_SUCCESS
|
||||||
;;
|
;;
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 23 12:44:09 CDT 2013 - rgoldwyn@suse.com
|
Fri Aug 23 12:44:09 CDT 2013 - rgoldwyn@suse.com
|
||||||
|
|
||||||
- Make mount.ocfs2 load modules and write cluster_stack:
|
- FIXME: Added temporary hack in o2cb until we find a solution to
|
||||||
+ 0007-mount.ocfs2-performs-module-loading-cluster_stack-se.patch
|
remove o2cb activities of setting cluster stack.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 22 13:18:01 CDT 2013 - rgoldwyn@suse.com
|
Thu Aug 22 13:18:01 CDT 2013 - rgoldwyn@suse.com
|
||||||
|
@ -166,7 +166,7 @@ managing the file system.
|
|||||||
%patch225 -p1
|
%patch225 -p1
|
||||||
%patch226 -p1
|
%patch226 -p1
|
||||||
%patch227 -p1
|
%patch227 -p1
|
||||||
%patch228 -p1
|
#%patch228 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export PROJECT="ocfs2-tools"
|
export PROJECT="ocfs2-tools"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user