Year: 2014

How to find computer serial numbers

If you need to find the serial numbers for machine HW Windows wmic bios get serialnumber wmic csproduct get name, identifyingnumber Ubuntu #sudo dmidecode -s system-serial-number Linux(Redhat⁄CentOS⁄Fedora⁄SuSe) #sudo dmidecode -t 1 | egrep -i “serial|product” HP-UX #machinfo Solaris 10 (SPARC

Posted in HP-UX, Linux, Windows

Change corosync to use unicast instead of multicast

To change the behaviour of corosync to use unicast addressing instead of mulicast it is necessary to edit /etc/corosync/corosync.conf From interface { bindnetaddr: 10.50.45.0 mcastaddr: 226.94.1.1 mcastport: 4001 ringnumber: 0 } to interface { member { memberaddr: 10.50.45.3 } member

Posted in High Availability, Linux, Virtualization

Lunch time Genoa

Posted in Travel

Start/Stop VPN connections CLI in Ubuntu

To list all network manager connections and get the uuid for the connection nmcli con To start a connection nmcli con up uuid <uuid number> To stop nmcli con down uuid <uuid number> Example: sudo nmcli con up uuid 7e098422-70ac-40ce-b504-ee7c5427482c

Posted in Linux

Pilgrimage

No F1 fan is complete with out a trip to Marenello

Posted in Travel

Import VM into KVM ubuntu host

To import a pre-existing Centos VM taken from a XEN domainU into KVM I ran the following. sudo virt-install –ram 6144 -n centosvm1 –os-type=linux –disk path=/store/VM/centosvm1.qcow2,device=disk,format=qcow2 –vcpus=12 –vnc –noautoconsole –import

Posted in Linux, Virtualization

Shortbread

Ingredients 125g butter 55g caster sugar, plus extra to finish 180g plain flour Preparation method Heat the oven to 190C/375F/Gas 5. Beat the butter and the sugar together until smooth. Stir in the flour to get a smooth paste. Turn on to a

Posted in Food

Löruddens havrekakor med russin och dadlar

250g smör 1.5dl socker (50/50 farin/vit) 4dl russin/dadlar 2dl vetemjöl 6dl havregryn 1,5 tsk bikarbonat lite ingefära 175 degrees 10-15 minuter

Posted in Food Tagged with: , ,

Soo many possible captions

Posted in Travel

Disable virbr0 in KVM

In order to remove the virtual bridge interface which is default on the KVM install do the following. # virsh net-destroy default# virsh net-undefine default# service libvirtd restart

Posted in Linux, Virtualization