search for: var_subsys_nodeconfig

Displaying 4 results from an estimated 4 matches for "var_subsys_nodeconfig".

2010 Mar 16
1
[PATCH] ovirt-awake improvements
...Default-Start: 2 3 4 5 # Description: Managed node service to alert management servers. ### END INIT INFO @@ -30,7 +31,6 @@ # config: /etc/sysconfig/node-config . /etc/init.d/functions -. /usr/libexec/ovirt-functions prog=ovirt-awake NODE_CONFIG=/etc/sysconfig/node-config @@ -39,6 +39,8 @@ VAR_SUBSYS_NODECONFIG=/var/lock/subsys/node-config # load the configuration file [ -f "$NODE_CONFIG" ] && . "$NODE_CONFIG" +. /usr/libexec/ovirt-functions + send_text () { local text=${1} @@ -113,6 +115,7 @@ start_ovirt_awake () { log "Node is operating in unmanage...
2010 Feb 10
1
RFC: First pass at making the node generic...
I'm looking for feedback on this first patch. The node has been pushed towards a more generic boot process. With this patch the node can now boot up and execute a few specifically-named scripts that reside in /etc/node.d/ at key points during the startup. After this goes upstream, the next step will be to define in more detail the remote interfaces for the "managed" runtime
2010 Mar 11
1
[PATCH] Changes the start/stop/reload method names for sysvinit scripts.
...irt-awake +++ b/scripts/ovirt-awake @@ -103,7 +103,7 @@ ovirt_startup () { # Override this method to provide support for notifying a management # system that the node has started and will be available after # system initialization -start () { +start_ovirt_awake () { local RC=0 touch $VAR_SUBSYS_NODECONFIG @@ -131,6 +131,16 @@ start () { return $RC } +stop_ovirt_awake () { + echo -n "Stopping ovirt-awake: " + success +} + +reload_ovirt_awake () { + stop_ovirt_awake + start_ovirt_awake +} + case "$1" in start) echo -n "Starting ovirt-awake: &...
2010 Feb 17
0
[PATCH] Provides the new node lifecycle events.
...virt") ovirt_start ;; diff --git a/scripts/ovirt-awake b/scripts/ovirt-awake index 55db140..938670a 100755 --- a/scripts/ovirt-awake +++ b/scripts/ovirt-awake @@ -33,7 +33,6 @@ . /etc/init.d/ovirt-functions prog=ovirt-early -NODE_CONFIG=/etc/sysconfig/node-config VAR_SUBSYS_NODECONFIG=/var/lock/subsys/node-config # load the configuration file @@ -57,8 +56,8 @@ error () { } ovirt_startup () { - local mgmthost=${OVIRT_MANAGEMENT_SERVER} - local mgmtport=${OVIRT_MANAGEMENT_PORT} + local mgmthost=${NODE_MANAGEMENT_SERVER} + local mgmtport=${NODE_MANAGEMENT_PORT}...