Just a reminder for myself:
Author: philipp
Enable debugging with last Skype4Py
With last Skype4Py Arek changed a bit the logging. To enable it now you need to put the following in your script:
import logging
logging.basicConfig(level=logging.DEBUG)
Linux Skype: Participate in Pulic Chats
Today I got some hint how to implement joining public chats via API in linux Skype.
Continue reading “Linux Skype: Participate in Pulic Chats”
Debian Lenny Xen StepByStep
on a plain Lenny with Grub as Boot Manager (Lilo doesn’t work with xen 🙁 ):
apt-get install xen-hypervisor-3 xenwatch xen-tools linux-image-2.6-xen-amd64/etc/xen/xend-config.sxp: "(network-script network-bridge)"- Edit /etc/xen-tools/xen-tools.conf
time xen-create-image --hostname=test --ip=10.0.0.11 --arch=amd64 --role=udev
List hardware of your server
Recently I wondered which hardware I am using in a remote root server. A friend of mine came up with the following command:
dmidecode
This even works on ESX 3.5 Hosts. You see really detailled which hardware is in the box.
VMware ESX: Create depot and install patches from there
Today I have made 2 scripts which ease ESX 3.5 patch management for me.
Continue reading “VMware ESX: Create depot and install patches from there”
VMware ESX cmd-Line reference
Get CDP Neighbor info (http://communities.vmware.com/thread/153320):
esxcfg-info -n | less
NIC Teaming for Cisco Switches:
On ESX set “Route based on ip hash” (http://blog.scottlowe.org/2008/09/05/setting-vmware-esx-vswitch-load-balancing-policy-via-cli/):
vmware-vim-cmd /hostsvc/net/vswitch_setpolicy --nicteaming-policy=loadbalance_ip vSwitch1
Add nic to Team:
esxcfg-vswitch -L vmnic1 vSwitch1
Getting Program Version within a script
Today I had the problem of displaying the version of the interpreter in a perl and a python script.
VMware ESX 3.5 and nVidia MCP55 SATA Controller (usbid: 10de:037f)
After installation of VMware ESX 3.5 on a SunFire X2100 the machine always faulted with a root-fs error.
Looking at the VMware forums, I found a post by rpartmann who provides a script to solve this issue[1].
With the help of his script I found the relevant steps to fix this issue for me:
- Boot into troubleshooting mode (there the SATA controller works).
- go to /etc/vmware/pciid
- edit sata_nv.xml
- As last entry before </vendor> I added:
<device id=”037f”>
<vmware label=”scsi”>
<driver>sata_nv</driver>
</vmware>
<name>MCP55 SATA Controller</name>
</device> - then I had to rebuild the PCI-ID Table:
esxcfg-pciid - regenerate the boot-filesystems:
esxcfg-boot -r - reboot
Then I could start without problem on my nVidia SATA chipset.
You might need to do the same procedure after an update of VMware. Haven’t been there so far.
Debugging exim delivery
This helps a lot:
exim4 -d+route -bt [email-address]