Category Archives: Virtualization

Vmware: How do you merge multiple 2GB disk files to single vmdk file

In case of the 2GB split disk format, your virtual disk consists of multiple data files (e.g. <vmname>-sNNN.vmdk) and one header/descriptor file (<vmname>.vmdk) which describes the virtual disk. In the vmware-vdiskmanager command, it’s only the header/descriptor vmdk which you need to supply as the source virtual disk. Convert to a pre-allocated disk. The following line … Continue reading Vmware: How do you merge multiple 2GB disk files to single vmdk file

Execute a command in all running OpenVZ Containers

If you wish to execute a command in all running Containers, you can use the following script: where <command> is the command to be executed in all the running Containers. For example: Container 12:26pm up 6 days, 1:28, 0 users, load average: 0.00, 0.00, 0.00Container 1012:26pm up 6 days, 1:39, 0 users, load average: 0.00, … Continue reading Execute a command in all running OpenVZ Containers

How to install openvz on CentOS 6.2

1. Add openvz repo 2. Install openvz 3. Modify relevant kernel settings (sysctl.conf) net.ipv4.ip_forward=1kernel.sysrq = 1 net.ipv4.conf.all.rp_filter=1net.ipv4.icmp_echo_ignore_broadcasts=1 net.ipv4.conf.default.forwarding=1net.ipv4.conf.default.proxy_arp = 0net.ipv4.conf.default.send_redirects = 1net.ipv4.conf.all.send_redirects = 0net.ipv4.conf.eth0.proxy_arp=1 4. Reboot the server 5. Disable se linux SELINUX=disabled 6. Install strace (I do not remember why I initially wanted this installed, but still it has nothing to spoil)

Xen 6.0.2 software Raid – installation procedure

This document describes how to install XenServer 6.0.2 on a node without hardware raid. Install Software Install XenServer 6.0.2 on /dev/sda and do NOT configure any local storage (it is easier to do that afterwards). /dev/sda should containt three partitions, please verify with the following command: The first partition is used for XenServer installation, the … Continue reading Xen 6.0.2 software Raid – installation procedure