search for: hostlist

Displaying 14 results from an estimated 14 matches for "hostlist".

Did you mean: postlist
2005 May 25
5
Patch to fix dynamic add/delete to zone functinality
...5-11 20:20:23.000000000 +0300 +++ shorewall-2.2.5/firewall 2005-05-25 15:49:47.000000000 +0300 @@ -7001,16 +7001,20 @@ while read z hosts; do if [ "$z" = "$zone" ]; then + found= for h in $hosts; do + [ -n "$found" ] && break for host in $hostlist; do if [ "$h" = "$host" ]; then - rm -f ${STATEDIR}/zones_$$ - startup_error "$host already in zone $zone" + found=Yes fi done done - - [ -z "$hosts" ] && hosts=$hostlist || hosts="$hosts $hostlist" +...
2004 Oct 03
0
[patch] tell user about hosts with same key
...= 2) { - char msg1[1024], msg2[1024]; + char msg1[1024], msg2[1024], msg_same_key[1024]; if (show_other_keys(host, host_key)) snprintf(msg1, sizeof(msg1), @@ -724,6 +724,29 @@ " known for this host."); else snprintf(msg1, sizeof(msg1), "."); + + HostList *keyhosts = NULL; + keyhosts = find_hosts_by_key(user_hostfile, host_key, keyhosts); + keyhosts = find_hosts_by_key(system_hostfile, host_key, keyhosts); + if (keyhosts != NULL) { + snprintf(msg_same_key, sizeof(msg_same_key), + "The following hosts are already known to " +...
2016 Jul 12
3
Best practice to shutdown hosts which has not NUT via upssched
...this: case $1 in ??????? earlyshutdown) ??????????????? logger -t upssched-cmd "Early shutdown is started" ??????????????? /bin/sh /usr/local/sbin/shutdown-all-hosts.sh ??????????????? /usr/local/sbin/upsmon -c fsd ??????????????? ;; esac ?? shutdown-all-hosts.sh contains: # Linux hosts HOSTLIST="sim iogate br" for host in $HOSTLIST do ... ???? ssh $host halt -p ... done # Windows hosts ssh shut at com "shutdown -s -t 0" ?? shutdown-all-hosts.sh works fine if it runned manually. ?? But it does not work even if I insert sleep 30 sec before upsmon -c fsd ?? Also I read s...
2016 Jul 13
2
Best practice to shutdown hosts which has not NUT via upssched
...; ??????????????? logger -t upssched-cmd "Early shutdown is started" > ??????????????? /bin/sh /usr/local/sbin/shutdown-all-hosts.sh > ??????????????? /usr/local/sbin/upsmon -c fsd > ??????????????? ;; > esac > > ?? shutdown-all-hosts.sh contains: > # Linux hosts > HOSTLIST="sim iogate br" > for host in $HOSTLIST > do > ... > ???? ssh $host halt -p > ... > done > # Windows hosts > ssh shut at com "shutdown -s -t 0" > > ?? shutdown-all-hosts.sh works fine if it runned manually. > ?? But it does not work even if I ins...
2014 Apr 22
1
nfs question
...sers, idmapd.conf configured on every machine and users' home folders on nfs, mounted by automount on several machines. After the last OS upgrade we notice that permissions on some files (not for all users) are corrupted: For example: -rw-r--r-- 1 4294967294 4294967294 45 Nov 11 21:20 hostlist drwx------ 2 4294967294 4294967294 4096 Jun 27 2012 .ssh -rw-r--r-- 1 4294967294 4294967294 0 Aug 28 2013 test -rw-r--r-- 1 4294967294 4294967294 53 Jan 6 12:44 test.sh instead of: -rw-r--r-- 1 ops001 ops 45 Nov 11 21:20 hostlist drwx------ 2 ops001 ops 4096 Jun 27...
2016 Jul 13
2
Best practice to shutdown hosts which has not NUT via upssched
On Wed, 13 Jul 2016, Dmitri Stepanov wrote: >>> ?? shutdown-all-hosts.sh contains: >>> # Linux hosts >>> HOSTLIST="sim iogate br" >>> for host in $HOSTLIST >>> do >>> ... >>> ???? ssh $host halt -p >>> ... >>> done >>> ?? shutdown-all-hosts.sh works fine if it runned manually. >>> ?? But it does not work even if I insert sleep 3...
2012 Oct 31
5
how to trigger puppet run on agents remotely
Hello Everybody, I am looking for a way to trigger puppet rum remotely. so that i don''t need to login into individual nodes and perform the puppet agent --test from there. Is there any alternative to puppet kick in puppet 3.0, since its being deprecated in telly. Also , can anybody tell how to configure foreman 1 to trigger puppet run from the gui in puppet
2016 Jul 13
0
Best practice to shutdown hosts which has not NUT via upssched
...this: case $1 in ??????? earlyshutdown) ??????????????? logger -t upssched-cmd "Early shutdown is started" ??????????????? /bin/sh /usr/local/sbin/shutdown-all-hosts.sh ??????????????? /usr/local/sbin/upsmon -c fsd ??????????????? ;; esac ?? shutdown-all-hosts.sh contains: # Linux hosts HOSTLIST="sim iogate br" for host in $HOSTLIST do ... ???? ssh $host halt -p ... done # Windows hosts ssh shut at com "shutdown -s -t 0" ?? shutdown-all-hosts.sh works fine if it runned manually. ?? But it does not work even if I insert sleep 30 sec before upsmon -c fsd ?? Also I read s...
2016 Jul 13
0
Best practice to shutdown hosts which has not NUT via upssched
...ched-cmd "Early shutdown is started" >> ??????????????? /bin/sh /usr/local/sbin/shutdown-all-hosts.sh >> ??????????????? /usr/local/sbin/upsmon -c fsd >> ??????????????? ;; >> esac >> >> ?? shutdown-all-hosts.sh contains: >> # Linux hosts >> HOSTLIST="sim iogate br" >> for host in $HOSTLIST >> do >> ... >> ???? ssh $host halt -p >> ... >> done >> # Windows hosts >> ssh shut at com "shutdown -s -t 0" >> >> ?? shutdown-all-hosts.sh works fine if it runned manually. &g...
2012 Nov 26
2
Status of STONITH support in the puppetlabs corosync module?
Greetings - Hoping to hear from hunner or one of the other maintainers of the puppetlabs corosync module - there is a note on the git project page that there is currently no way to configure STONITH. Is this information current? If so, has anybody come up with a simple method of managing STONITH with corosync via puppet? -- You received this message because you are subscribed to the
2016 Jul 14
0
Best practice to shutdown hosts which has not NUT via upssched
Thank you Roger ?????, 13 ???? 2016, 15:22 +03:00 ?? Roger Price <roger at rogerprice.org>: > >On Wed, 13 Jul 2016, Dmitri Stepanov wrote: > >>>> ?? shutdown-all-hosts.sh contains: >>>> # Linux hosts >>>> HOSTLIST="sim iogate br" >>>> for host in $HOSTLIST >>>> do >>>> ... >>>> ???? ssh $host halt -p >>>> ... >>>> done > >>>> ?? shutdown-all-hosts.sh works fine if it runned manually. >>>> ?? But it do...
2007 Jun 11
1
Thoughts on arrays and generic functions
...shells out to a script to call lots of the ha* commands. Also one thing would be nice is really compact test harness for custom functions! Any thoughts anyone? Cheers, Derek define clusterconf($members, $clustername, $clusterno, $vips, $vipmasks, $loprinic, $hiprinic, $primarynic) { $hostlist = array2string($members) # <-- Custom fn - join(" ") $vip1 = array_elt($members, 0) # <-- Custom fn - return element $mask1 = array_elt($vipmasks, 0) file { llthosts: owner => root, group => root, mode => 0644, content =>...
2008 Apr 16
3
memory issues
Hi all, I've read the R for windows FAQ and am a little confused re: memory.limit and memory.size to start using R 2.6.2 on WinXP, 2GB RAM, I have the command line "sdi --max-mem-size=2047M" Once the Rgui is open, memory.limit() returns 2047, memory.size() returns 11.315, and memory.size(max=T) returns 19.615 Shouldn't memory.size(max=T) return 2047? Upon running several
2008 Mar 06
0
[ANNOUNCE] xorg-server 1.4.99.901
...e caching of drawables and graphics contexts. The security checks xace: add hooks + new access codes: core protocol GC requests xace: add hooks + new access codes: core protocol property requests xace: add hooks + new access codes: core protocol cursor requests xace: rename hostlist security hook to "server" as this hook will be used xace: add hooks + new access codes: core protocol server requests xace: add hooks + new access codes: core protocol screensaver requests xace: drop background-none checking hook, add new hook for controlling xace:...