Using NFS to implement Cictri XenMotion

Source: Internet
Author: User

Using NFS to implement Cictri XenMotion

Lab scenario:

Two xenservers are running. One xenserver runs CentOS 6.0, and Xenmotion needs to be dynamically migrated to another xenserver through the NFS server.

Build NFS in Linux

[Root @ localhost ~] # Echo "---">/sys/class/scsi_host/host2/scan # hardware Scanning
[Root @ localhost ~] # Cat/proc/partitions # You can see that the hard disk sdb has been loaded in.
Major minor # blocks name
8, 0, 20971520, sda
8 1 512000 sda1
8 2 20458496 sda2
253 0 18423808 dm-0
253 1 2031616 dm-1
8 16 20971520 sdb
[Root @ localhost ~] # Fdisk/dev/sdb # Partition
N
P
1
W
[Root @ localhost ~] # Mkfs. ext3/dev/sdb1 # format the ext3 File System
[Root @ localhost ~] # Yum install nfs-utils rpcbind
[Root @ localhost ~] # Mkdir/NFS
[Root @ localhost ~] # Echo "/NFS * (rw, no_root_squash, sync)">/etc/exports
[Root @ localhost ~] # Service rpcbind start
[Root @ localhost ~] # Service nfs start
[Root @ localhost ~] # Showmount-e 192.168.150.136 check whether the file storage has been published.
Export list for 192.168.150.136:
/NFS * # Check whether the firewall is blocked when the client is mounted.

2. Add NFS storage space for two xenservers

3. Start migration

Select the target host for Migration

Select migration Storage

Migration Network

Migrating...


Successful migration:

-------------------------------------- Split line --------------------------------------

Install NFS server in Ubuntu 12.04

Install and configure the NFS server to share the Ubuntu 12.04 and ARM files.

Build an nfs server in Ubuntu

File Server NFS configuration details

Build an NFS Network File System server in Ubuntu

Heartbeat_ldirector + LB + NFS for HA, LB, and file sharing

How to Configure NFS server in CentOS 5.5

Install and use NFS in Ubuntu 12.10

-------------------------------------- Split line --------------------------------------

This article permanently updates the link address:

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.