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

Posted in Uncategorized at Maggio 19th, 2011. No Comments.

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/103.pid \
-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

Posted in KVM at Maggio 19th, 2011. No Comments.

nginx release recenti Debian

Available on Dotdeb for Debian 6.0 “Squeeze” and Debian 5.0 “Lenny” in amd64 and i386 flavours.

Posted in Nginx at Maggio 19th, 2011. No Comments.

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=”http://www.w3.org/2001/XMLSchema-instance” 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>xxxxxxxxxxxxxxx.it</domain:name>
<domain:add>
<domain:ns>
<domain:hostAttr>
<domain:hostName>ns.xxxxxxxxx.com</domain:hostName>
</domain:hostAttr>
<domain:hostAttr>
<domain:hostName>ns2.xxxxxxxxxxxxx.com</domain:hostName>
</domain:hostAttr>
</domain:ns>
</domain:add>
<domain:rem>
<domain:ns>
<domain:hostAttr><domain:hostName>dns1.xxxxxxxxxxxxx.it</domain:hostName></domain:hostAttr>
<domain:hostAttr><domain:hostName>dns2.xxxxxxxxxxxxx.it</domain:hostName></domain:hostAttr>
</domain:ns>
</domain:rem>
</domain:update>
</update>
<clTRID>client</clTRID>
</command>
</epp>

Posted in Dns at Maggio 19th, 2011. No Comments.