MegaCLI tiny cheat sheets

MegaCLI SAS RAID Management Tool Ver 8.00.46 Feb 03, 2011 MegaCli -EncInfo -aN|-a0,1,2|-aALL MegaCli -PhyInfo -phyM -aN|-a0,1,2|-aALL MegaCli64 -LDInfo -Lall -aALL MegaCli -LdPdInfo -aALL MegaCli -AdpEventLog -GetEventLogInfo -aALL

19/05/2011   Linux

KVM start vm CLI – Proxmox

/usr/bin/kvm -monitor unix:/var/run/qemu-server/103.mon,server,nowait -vnc unix:/var/run/qemu-server/103.vnc,password -pidfile /var/run/qemu-server/ \ -daemonize -usbdevice tablet -name grunt -smp sockets=2,cores=1 -nodefaults -boot menu=on -vga cirrus -tdf -k it \ -drive file=/dev/drbdvg/testlv,if=ide,index=0,cache=none,boot=on -drive file=/var/lib/vz/template/iso/ubuntu-9.04-server-amd64.iso,if=ide,index=2,media=cdrom -m 2048 \ -netdev type=tap,id=vlan0d0,ifname=tap103i0d0,script=/var/lib/qemu-server/bridge-vlan -device rtl8139,mac=5A:19:1D:DA:E1:BD,netdev=vlan0d0 -balloon virtio

19/05/2011   KVM

EPP NIC IT cambio nameserver XML

<?xml version=”1.0″ encoding=”UTF-8″ standalone=”no”?> <epp xmlns=”urn:ietf:params:xml:ns:epp-1.0″ xmlns:xsi=”” xsi:schemaLocation=”urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd”> <command> <update> <domain:update xmlns:domain=”urn:ietf:params:xml:ns:domain-1.0″ xsi:schemaLocation=”urn:ietf:params:xml:ns:domain-1.0 domain-1.0.xsd”> <domain:name></domain:name> <domain:add> <domain:ns> <domain:hostAttr> <domain:hostName></domain:hostName> </domain:hostAttr> <domain:hostAttr> <domain:hostName></domain:hostName> </domain:hostAttr> </domain:ns> </domain:add> <domain:rem> <domain:ns> <domain:hostAttr><domain:hostName></domain:hostName></domain:hostAttr> <domain:hostAttr><domain:hostName></domain:hostName></domain:hostAttr> </domain:ns> </domain:rem> </domain:update> </update> <clTRID>client</clTRID> </command> </epp>

19/05/2011   Dns

IBM Lenovo RS210 install lenny

no cd-rom detected use USB!!! download vmlinuz && initrd.gz fdisk /dev/sdb mkdosfs /dev/sdb1 syslinux /dev/sdb1 #vi syslinux.cfg default /vmlinuz vga=791 append initrd=/initrd.gz mount /dev/sdb1 /mnt/sdb1 copy syslinux.cfg vmlinuz initrd.gz /mnt/sdb1 copy Lenny ISO /mnt/sdb1/ lilo -S /dev/null -M /dev/sdb ext lilo -S /dev/null -A /dev/sdb 1 install-mbr /dev/sdb

06/04/2010   Uncategorized

debian lenny django mod-wsgi

aptitude install libapache2-mod-wsgi python-imaging gettext python-mysqldb ## download django src/svn ## apache cfg ### DJANGO begin ### Alias  /media/ /var/www/htdocs/website/django/website/media/ WSGIScriptAlias / /var/www/htdocs/website/django/website/apache/django.wsgi WSGIDaemonProcess nuovacigat user=website group=website  processes=1 threads=1 maximum-requests=1000 WSGIProcessGroup website ### DJANGO end ### ## cat  /var/www/htdocs/website/django/website/apache/django.wsgi import os import sys sys.stdout = sys.stderr #Calculate the path based on the location of […]

01/04/2010   Apache

initrd modules options

man modprobe.conf options modulename option… This command allows you to add options to the module modulename (which might be an alias) every time it is inserted into  the  kernel:  whether directly (using modprobe modulename, or because the module being inserted depends on this module. vi /etc/modprobe.d/options options sundance media=”10mbps_fd,autosense,autosense,10mbps_fd,autosense,autosense,autosense,autosense” update-initramfs -uv

15/02/2010   kernel

ssh client putty multi tab

PuTTY Connection Manager is a free PuTTY Client Add-on for Windows platforms which goal is to provide a solution for managing multiple PuTTY instances

09/02/2010   Windows