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: