XenServer using a local ISO image

Source: Internet
Author: User

Preface many people do not share the storage mount ISO file during the test XenServer, they can only put the ISO locally, how to implement it:
Begin1. XenServer viewing volume group information via SSH login #vgdisplay/Write down Vgname
2. Create the LV (logical volume) on the VG to hold the ISO, and assign the size and name #lvcreate-l15g-n Iso_imagevg_xenstorage-5e690647-6b9b-c08e-0c6c-48a31d79b69d
3. Lv#mkfs.ext3/dev/vg_xenstorage-5e690647-6b9b-c08e-0c6c-48a31d79b69d/iso_image created before formatting
4. Create a local hanging directory #mkdir/iso_image
5. In the system, by editing/etc/fstab to set the logical volume created before automatically mounting Lv#vi/etc/fstab add the following/dev/vg_xenstorage-5e690647-6b9b-c08e-0c6c-48a31d79b69d /iso_image/iso_imageext3 defaults 00 save and exit
6.mount this logical volume #mount/iso_image
7. Then go to/etc/rc.d/rc.sysinit about 482 lines, cancel out the following comment content#if [-x/sbin/lvm.static];then#Action $ "Setting up Logicalvolume Management:"/sbin/lvm.static vgchange-a y--ignorelockingfailure #fi把 # can be removed.
Save exit, and then restart the server
8. Create a local ISO sr#xe sr-create name-label=iso_image type=isodevice-config:location=/iso_image device-config:legacy_ from the command line Mode=truecontente-type=iso
9.Xencenter Connection XenServer will find a iso_image local ISO storage, the ISO file will be dropped in this directory can be installed to use
10. If you do not see an attempt to update #xe-mount-iso-sr/iso_image#xe-toolstack-restart

From for notes (Wiz)

XenServer using a local ISO image

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.