Ask Sawal

Discussion Forum
Notification Icon1
Write Answer Icon
Add Question Icon

hvm is required for this operation citrix xenserver?

3 Answer(s) Available
Answer # 1 #

CTX121622 - Repairing SLES after importing to XenServer from VMware

CTX121621 - Repairing Debian after importing to XenServer from VMware

To enable paravirtualization support on a Linux virtual machine imported using XenConvert 2.0.1, three tasks must be done.

Important! If VMware Tools are installed within the virtual machine, they must be uninstalled while the virtual machine is running on a VMware platform.  Uninstalling the VMware Tools while the VM is running on a non-VMware host results in strange disk behavior and missing volumes.  If not previously removed, the tools package can be left in place following migration.

Note: These procedures were developed using XenServer 5.5 and a CentOS 5.2 virtual machine that was installed on an ESX 3.5 host with VMware Tools installed and configured.

[2]
Edit
Query
Report
Darleen Markell
Healthcare Science
Answer # 2 #

First, log in to the console and execute the following instructions to create an ISO file 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 / boot ISO of the host.

If the addition is successful, an item will appear in XenCenter.

1. If you accidentally create an error or repeatedly add a new one, and want to delete the repository, you can use the XenCenter UI and directly select detach.

2. After uploading the ISO file to the host, XenCenter cannot display synchronously. Xencenter can only catch it after the console executes the Xe tool stack restart command.

Citrix XenServer is an enterprise-class virtual platform for cloud computing. There are three versions: XenServer, essentials for XenServer, enterprise edition, and platinum edition. XenServer is free and is a competitive product at the same level as VMware ESXi. The installation process of XenServer is as easy as VMware ESXi. After installation, the interface is as follows. Similar to VMware ESXi, the main operation and configuration can be completed on another machine equipped with XenCenter client (the same as VMware vShpere client).

Different from VMware ESXi, XenServer cannot directly import ISOs in the XenCenter client management interface and then install the operating system. These ISOs need to be pre-stored on another machine and then accessed by NFS. Therefore, we first set up an ISO directory on other machines and collect some ISO files, export the ISO directory with NFS, and then manually hang the directory on the XenServer server, so that we can see all ISO files in the management interface of XenServer and XenCenter, In other words, XenServer encourages you to store ISO files separately to another separate server for management. If you are not clear about the following NFS operations, you can refer to installing and configuring 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 NFS server to allow XenServer server to access NFS:

# vi /etc/hosts.deny

portmap:ALL

# vi /etc/hosts.allow

portmap:172.16.240.0/255.255.254.0

Directory hung on NFS server after logging in to 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 successful mounting, you can see all ISOs on the XenCenter console (currently only Windows version of XenCenter):

The rest is easy. With ISO, you can directly install the operating system. Note that if the machine CPU does not support full Virtualization (Intel VT or AMD SVM), the installation will fail and an error will be reported:

[1]
Edit
Query
Report
Exene Pacheco
Internet Celebrity
Answer # 3 #
  • Retrieve the UUID of the virtual machine: xe vm-list name-label=centos params=uuid.
  • Clear the HVM boot mode: xe vm-param-set uuid= HVM-boot-policy=””
  • Set pygrub as the boot loader: .
  • Set the display arguments:
[0]
Edit
Query
Report
Evan Pollono
Platelayer