Product data
262 IBM Systems Director Management Console: Introduction and Overview
KVM backup procedure
The SDMC software appliance back up on KVM requires LVM support in the host
environment. The system administrator must check if the host file system has at
least 150 GB free disk space for the snapshot.
To back up the SDMC software appliance on KVM, complete the following steps:
1. Check for a minimum of 150 GB of available space by running the following
command:
vgs -o +vg_free_count,vg_extent_count
2. List the logical volumes by running the following command:
lvdisplay
3. Check for the logical volume with the /home directory by using the output of
the lvdisplay command and by running the mount command:
mount
4. Create a logical volume snapshot of a virtual machine by running the following
command:
lvcreate -L 150G -s -n vmisnapshot /dev/vg_kvmpele/lv_home
5. Check for the available space again by running the following command:
vgs -o +vg_free_count,vg_extent_count
6. List the new snapshot logical volume:
lvdisplay |grep vmisnapshot
7. Create the /Snapshot_LV_Dir directory to mount the snapshot logical volume
by running the following command:
mkdir /Snapshot_LV_Dir
mount /dev/vg_kvmpele/vmisnapshot /Snapshot_LV_Dir
8. List the /Snapshot_LV_Dir directory by running the following command. This
is same as the listing for the /home directory.
ls -l /Snapshot_LV_Dir
9. Check the disk space by running the following command:
df
10.Create the backup directory for the backup tarball or the /home/Backup_dir
directory if more space is required by running the following command.
Alternatively, the tarball can be compressed directly to a USB key (16 GB
minimum).
mkdir /Backup_Dir