XenServer How to install virtual machine systems using ISO _xenserver

Source: Internet
Author: User
Tags ssh

To start installing the operating system on the VM, although XenServer already contains multiple templates, such as redhat as 4+5, CentOS, SuSE, Oracle Enterprise Linux, and so on, there is no need to download the original installation discs at installation time; If you are not in the list, such as redhat as 3, you must install it using the CD-ROM method. This shows you how to install the required operating system in ISO format when adding VMS.

First, log in to the console and execute the following instructions to establish an ISO-type repository (Sr–storage repositories)

Mkdir/boot-iso
Xe sr-create name-label=boot-iso type=iso device-config:location=/boot-iso device-config:legacy_ Mode=true Content-type=iso

Upload those ISO files to the host/boot-iso.
New success, a project will appear in Xencenter

Note:

1, if you accidentally create errors, or repeat new, want to delete the repository, use the Xencenter UI, directly select Detach ... on it.
2, upload the ISO file to the host, Xencenter can not be synchronized display, the console must be executed after the Xe-toolstack-restart command, Xencenter can be caught.

The following other netizens to add:

Citrix XenServer is an enterprise-class cloud-oriented virtual platform with XenServer, Essentials for XenServer, Enterprise Edition and Platinum Edition three versions, where xense RVer is free, and VMware ESXi is a competitive product at the same level. The XenServer installation process is as easy as the VMware ESXi, and the interface is as follows after installation. Like VMware ESXi, the main operations and configurations can be done on a separate machine with XenCenter clients (like VMware vshpere client).

XenServer

Unlike VMware ESXi, XenServer cannot install the operating system directly after ISO is imported into the XenCenter client management interface, which requires that the ISO be stored on another machine before being accessed in an NFS fashion. So we start with an ISO directory on the other machines, collect some ISO files, export the ISO directory with NFS, and then manually hang the directory on the XenServer server to see all the is in the XenServer and XenCenter admin interface. o file, that is to say, XenServer encourages you to separate the ISO files into separate servers for easy management, and you can refer to the following NFS operations to install and configure NFS 4.0 on CentOS:

# Vi/etc/export
/home/vpsee/iso 172.16.240.164 (rw,sync,no_root_squash) \
172.16.240.164 (rw,sync,no_root_ Squash)

#/etc/init.d/portmap Restart
#/etc/init.d/nfs restart

Set permissions on an NFS server to allow XenServer servers to access NFS:

# Vi/etc/hosts.deny
portmap:all

# vi/etc/hosts.allow
portmap:172.16.240.0/255.255.254.0

Directories to hang on NFS servers after XenServer with SSH:

$ ssh root@172.16.240.164
root@172.16.240.164 ' s password:

# XE-MOUNT-ISO-SR 172.16.240.10:/home/vpsee/iso

After a successful mount, all ISO is visible on the XenCenter console (currently XenCenter only version of Windows):

The rest is good, with ISO can directly install the operating system, note if the machine CPU does not support full virtual (Intel VT or AMD SVM) will cause installation failure, error:

XENSERVER-IMTXSJI:HVM is required for this operation
invalid_source-unable to access a required file in the Specifi Ed repository:
File:///timp/cdrom-repo-RZ1Yem/install.386/xen/vmlinuz.

If so, it is only possible to install the Install system over the network (the From URL).

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.