Displaying 12 results from an estimated 12 matches for "srv_host".
Did you mean:
src_host
2009 Sep 07
1
[PATCH node] Fix SRV_SERVER for SRV_HOST to work with /etc/init.d/ovirt-functions
...lectd server..."
find_srv collectd udp
- if [ -n "$SRV_SERVER" -a -n "$SRV_PORT" ]; then
- printf "found! Using collectd server '$SRV_SERVER:$SRV_PORT'.\n"
- ovirt_collectd $SRV_SERVER $SRV_PORT
+ if [ -n "$SRV_HOST" -a -n "$SRV_PORT" ]; then
+ printf "found! Using collectd server '$SRV_HOST:$SRV_PORT'.\n"
+ ovirt_collectd $SRV_HOST $SRV_PORT
else
printf "not found!\n"
fi
diff --git a/scripts/ovirt-config-logging b/...
2009 Sep 08
2
[PATCH node] Add support for automatic remote logging on PXE ovirt-node
...rtions(+), 16 deletions(-)
diff --git a/scripts/ovirt b/scripts/ovirt
index 4ff03f2..0c5e3be 100755
--- a/scripts/ovirt
+++ b/scripts/ovirt
@@ -14,6 +14,9 @@ start() {
if is_standalone; then
return 0
fi
+
+ ovirt-config-logging AUTO
+
find_srv ipa tcp
if [ -n "$SRV_HOST" -a -n "$SRV_PORT" ]; then
krb5_conf=/etc/krb5.conf
@@ -43,21 +46,7 @@ start() {
log "skipping ovirt-awake, oVirt identify service not available"
fi
- find_srv collectd udp
- if [ -n "$SRV_HOST" -a -n "$SRV_PORT" ]; then
-...
2010 Mar 09
1
Bugs with ovirt-awake
...ot found.
I did little dirty fix in /etc/init.d/ovirt :
diff --git a/scripts/ovirt b/scripts/ovirt
index 160c3d3..d9e50a2 100755
--- a/scripts/ovirt
+++ b/scripts/ovirt
@@ -41,7 +41,7 @@ ovirt_start() {
if [ -s $krb5_tab ]; then
krb5_tab=
fi
- ovirt-awake start $SRV_HOST $SRV_PORT $krb5_tab
+ /etc/init.d/ovirt-awake start $SRV_HOST $SRV_PORT $krb5_tab
if [ $? -ne 0 ]; then
log "ovirt-awake failed"; return 1
fi
It raises an other problem :
[...]
Mar 08 17:07:52 Starting ovirt
Starting ovirt-awake: /etc/init.d/ovirt...
2009 May 26
0
[PATCH node] Remove --gssapi option to libvirt-qpid
...fail.
Signed-off-by: Ian Main <imain at redhat.com>
---
scripts/ovirt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/ovirt b/scripts/ovirt
index 8296783..000afa1 100755
--- a/scripts/ovirt
+++ b/scripts/ovirt
@@ -63,7 +63,7 @@ start() {
if [ -n "$SRV_HOST" -a -n "$SRV_PORT" ]; then
libvirt_qpid_conf=/etc/sysconfig/libvirt-qpid
if [ -f $libvirt_qpid_conf ]; then
- echo "LIBVIRT_QPID_ARGS=\"--broker $SRV_HOST --port $SRV_PORT --gssapi\"" >> $libvirt_qpid_conf
+ echo "...
2010 Mar 10
0
[PATCH] ovirt-awake runs alone now, doesn't need anymore to be lauch by /etc/init.d/ovirt
...ged, 0 insertions(+), 14 deletions(-)
diff --git a/scripts/ovirt b/scripts/ovirt
index 25b9860..3059d35 100755
--- a/scripts/ovirt
+++ b/scripts/ovirt
@@ -37,20 +37,6 @@ ovirt_start() {
log "skipping Kerberos configuration"
fi
- find_srv identify tcp
- if [ -n "$SRV_HOST" -a -n "$SRV_PORT" ]; then
- krb5_tab=/etc/libvirt/krb5.tab
- # skip ktab download if we got it from /config
- if [ -s $krb5_tab ]; then
- krb5_tab=
- fi
- ovirt-awake start $SRV_HOST $SRV_PORT $krb5_tab
- if [ $? -ne 0 ]; then
-...
2010 Mar 02
1
fc12 node partially working
Hi,
I finally have a fc12 node partially working.
I still have to override the kargs runtime_mode in ovirt-early (I want "ovirt"
runtime mode):
368 runtime_mode*)
369 OVIRT_RUNTIME_MODE=${i#runtime_mode=}
370 #runtime_mode=${i#runtime_mode=}
371 ;;
And I have to set manually the the broker for qpid :
service
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
2009 May 28
2
[PATCH node] correctly use collectd udp dns entry
...t a/scripts/ovirt b/scripts/ovirt
index 8296783..4a7cbc7 100755
--- a/scripts/ovirt
+++ b/scripts/ovirt
@@ -43,7 +43,7 @@ start() {
log "skipping ovirt-awake, oVirt identify service not available"
fi
- find_srv collectd tcp
+ find_srv collectd udp
if [ -n "$SRV_HOST" -a -n "$SRV_PORT" ]; then
collectd_conf=/etc/collectd.conf
if [ -f $collectd_conf.in ]; then
diff --git a/scripts/ovirt-config-collectd b/scripts/ovirt-config-collectd
index e509e54..236ddaa 100755
--- a/scripts/ovirt-config-collectd
+++ b/scripts/ovirt-config-coll...
2009 Jul 10
2
[PATCH: node 0/3] replace ovirt-identify-node with matahari
This patchset removes ovirt-identify-node and ovirt-listen awake.
It adds startup script support for the matahari qmf agent, which takes
over the responsibility for communicating node hardware capabilities
to the ovirt-server.
On the server side, host-browser has had its node identification
functionality replaced by a new script, host-register, which is what
interfaces with the matahari qmf agent
2009 Jul 08
1
[PATCH: ovirt-identify-node replacement 0/4] ovirt node patch to replace ovirt-identify-node with matahari qmf agent
The purpose of this patch is to add support for the matahari qmf agent
package (http://git.et.redhat.com/?p=matahari.git;a=summary) to the node.
The following actions are taken:
1. Deprecate ovirt-identify-node and ovirt-listen-awake by removing
them from the autotools scripts, the rpm spec and the node startup scripts.
2. Remove ovirt-listen-awake and ovirt-identify-node completely.
3. Add
2009 Aug 11
1
[PATCH node] Added support for remote logging with rsyslog-gssapi to node. NOTE: Needs selinux to be set to permissive (setenforce 0) to work.
...bin/bash
+#
+# Configures the rsyslog daemon
+# for managed ovirt node.
+# Source functions library
+. /etc/init.d/functions
+. /etc/init.d/ovirt-functions
+
+rsyslog_main_config="/etc/rsyslog.conf"
+sysconfig_file="/etc/sysconfig/rsyslog"
+
+find_srv rsyslog tcp
+if [ -n "$SRV_HOST" -a -n "$SRV_PORT" ]; then
+ echo "/usr/kerberos/bin/kinit -k -t /etc/libvirt/krb5.tab rsyslog/`hostname`" >> $sysconfig_file
+else
+ log "skipping rsyslog configuration, could not find find remote server"
+ exit 1
+fi
+
+cat > $rsyslog_main_conf...
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...swap_output = swap.stdout.read()
+ for d in swap_output:
+ log ("Turning off %s") % d
+ os.system("swapoff %s") % d
+ vgremove_cmd = "vgremove -f %s" % vg
+ os.system(vgremove_cmd)
+
+# find_srv SERVICE PROTO
+#
+# reads DNS SRV record
+# sets SRV_HOST and SRV_PORT if DNS SRV record found, clears them if not
+# Example usage:
+# find_srv ovirt tcp
+def find_srv(srv, proto):
+ domain = subprocess.Popen("dnsdomainname 2>/dev/null", shell=True, stdout=PIPE, stderr=STDOUT)
+ domain_output = domain.stdout.read()
+ if domain_outpu...