Add physical NIC to XenServer

If you add new physical network interface to the hardware that runs XenServer it won’t appear in XenCenter by default. In order to attach it to VMs or change its settings you’ll need to type in a few commands to XenServer’s CLI. 1. Connect XenServer via SSH using root rights: ssh root@192.168.10.1 -v 2. Make sure that new NIC is attached to hardware and detected by Linux, in below command’s […]

Read more →

 

Attach ISO image stored in XenServer local storage

Citrix XenServer is powerful hypervisor that is based on Linux (Redhat/Centos/Fedora family) and competes with Vmware ESXi and offer wide range of virtualization features for data centers. In general you can do a bare-metal installation of XenServer to your hardware server and create multiple virtual machines (VMs) inside XenServer host. Obviously you’ll need to have the possibility to boot VM from DVD-Rom to start installation of, let’s say, Linux Mint. You […]

Read more →

 

Problem with Vmware Server 1.0.* and kernel 2.4.37

While today 2.6.32 is the mainline version of Linux kernel, 2.4 branch is still supported by Linux community developers who fix security bugs there but don’t add any new functionality (unlike 2.6 that grows with new features like a snowball). Sometimes it happens that Linux box runs too much services which cannot be stopped so that admin is not allowed to migrate from 2.4 to 2.6 to keep those services […]

Read more →

 

Sort CLI output by line length

Want to sort file contents by each line’s lenght? No problems: artemn@artemn-laptop:~$ cat /etc/passwd | awk ‘{print length, $0}’ | sort -n | awk ‘{$1=”"; print $0 }’

Read more →

 

Xen cluster on Debian for newbies

Xen is a free software that runs on a host operating system and allows several guest operating systems to be run on top of the host on the same computer hardware at the same time. The following article tells how to set up Xen cluster based on Debian nodes with cluster virtualization management system Ganeti. Tutorial would be helpful also for Linux newbies as all stages of Xen cluster installation […]

Read more →