Category: Menus

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

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

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

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

Creating a bond and bridge interface Ubuntu

Here is a hint in order to bond two interfaces together and then bridge the bond within Ubuntu Firstly install the bond software sudo apt-get install ifenslave sudo modprobe bonding Now edit the /etc/network/interfaces. I set up the interfaces em1

Posted in Linux, Virtualization Tagged with: