26%
30.11.2025
/bin/python
02
03 import func.overlord.client as fc
04
05 results = fc.Client("@ldap").service.status("dirsrv")
06
07 for (host, returns) in results.iteritems():
08 if returns == 0:
09 print host, "LDAP
26%
30.11.2025
/openvpn/keys/CA.crt
08 cert /etc/openvpn/keys/server.crt
09 key /etc/openvpn/keys/server.key
10 tls-auth /etc/openvpn/keys/tls-auth.key
11
12 server 192.168.1.0 255.255.255.0
13
14 keepalive 10 60
15 comp-lzo
16
17
26%
30.11.2025
=""
04 PING="ping -c1 -w 3"
05 PING2=""
06
07 case $OS in
08 HP-UX*)
09 PING=ping
10 PING2="-n 1"
11 RSH="remsh"
12 RSH2="-l user"
13 ;;
14 Sun
26%
30.11.2025
"creating" $vmname
09
10 virsh suspend rhstorage
11 virt-clone -o rhstorage -n $vmname -f /var/lib/libvirt/images/$vmname.qcow
12 virsh resume rhstorage
13
14 oldmac="52:54:00:B4:DF:EB"
15 newmac
26%
30.11.2025
Type yum
10 Arch noarch
11 Sync Schedule 10 0 * * *
12 Packages 10
13 Files 0
14 Distributions None
15 Publish True
16 Clones
26%
30.11.2025
.5-23
05 pve-kernel-2.6.24-11-pve: 2.6.24-23
06 qemu-server: 1.1-16
07 pve-firmware: 1.0-5
08 libpve-storage-perl: 1.0-13
09 vncterm: 0.9-2
10 vzctl: 3.0.23-1pve11
11 vzdump: 1.2-5
12 vzprocps: 2.0.11-1dso2
26%
30.11.2025
("http://spacewalk.tuxgeek.de/cobbler_api")
06 token = conn.login(user, password)
07
08 cblr_systems = '/root/cobbler.csv'
09
10 if os.access(cblr_systems, os.F_OK):
11 print "Reading system configuration file %s" % cblr_systems
12
25%
30.11.2025
------- ------ ----- ----- ----- ------ -- -----------
03 81 9 2392 3076 76 0.12 3996 AmIcoSinglun64
04 74 9 1464 2568 42 0.09 2172 armsvc
05 195 10 2380 2984 62 0
25%
30.11.2025
.33
164.69
0.75
rand_mat_stat
3.37
39.34
11.64
54.54
22.07
8.12
rand_mat_mul
1.00
1.18
0.70
1.65
8
25%
30.11.2025
= DeltaCloud.new(USER, PASSWORD, URL)
05 summary = Hash.new(0)
06 state = client.instances.inject({}) do |state, inst|
07 state[inst.id] = inst.state
08 summary[inst.state] += 1
09 state
10 end
11