beautypg.com

Making cdrom type bootmedia on dom0 – Storix Software SBAdmin Citrix XenServer Recovery Guide User Manual

Page 3

background image

Storix System Backup Administrator

3

Citrix XenServer Recovery Guide

Copyright © 2014 Storix, Inc.

Storix is a registered trademark of Storix, Inc in the USA. SBAdmin is a trademark of Storix, Inc in the USA and other countries

Here we can see the uuid used to identify the disk. Using the “lvdisplay” command we can see all logical
volumes on the dom0 system.

#

lvdisplay

--- Logical volume ---

LV Name /dev/VG_XenStorage-f8d9b6cb-6a94-5340-0cc9-5182785b1391/VHD-
477479e2-e5b5-4e3e-bf99-ad82e5263c67

VG Name VG_XenStorage-f8d9b6cb-6a94-5340-0cc9-5182785b1391

LV UUID 1TJBQp-7qML-SY3T-Oz8j-b6nk-O5DE-y3wgOR

LV Write Access read/write

LV Status NOT available

Activate the volume with the following command.

# lvchange -ay /dev/VG_XenStorage-f8d9b6cb-6a94-5340-0cc9-5182785b1391/VHD-477479e2-

e5b5-4e3e-bf99-ad82e5263c67

After the backup completes, the logical volume can be restored to its original state as follows.

# lvchange -an /dev/VG_XenStorage-f8d9b6cb-6a94-5340-0cc9-5182785b1391/VHD-477479e2-e5b5-

4e3e-bf99-ad82e5263c67

Further information about backup profiles and snapshot backups can be found in the

SBAdmin User

Guide

Making CDROM type bootmedia on dom0

When creating CDROM type boot media it is necessary to have either the mkisofs or genisoimage
command available on the system creating the boot media. By default Citrix XenServer (dom0) does not
ship with this installed. It is possible to get the command by enabling the Centos base repositories and
using yum to install the command.

To enable the repository edit the file /etc/yum.repos.d/CentOS-Base.repo change the option from
enabled=0 to enabled=1. Then use the following command to install mkisofs.

# yum install mkisofs

For further information about creating boot media please refer to the

SBAdmin User Guide

.

Determining Hypervisor File Used by dom0 (multiboot file)

The SBAdmin process to create a system backup of dom0 requires knowing the Xen hypervisor file dom0
is running under. You may also see the Xen hypervisor file referred to as the multiboot file. It will be
required that the user manually specify the file. Note that this file must also be updated if the hypervisor is
changed with system updates.

To manually determine the hypervisor that was used to boot dom0, it will be necessary to know which
EXTLINUX entry was chosen at boot time. You will need to determine the stanza found in the file
/boot/extlinux.conf that was used to boot the system. Within the stanza there will be a line similar to the
following which identifies the Xen hypervisor file: