Setup Dom-0
1. Copykan 1 DVD file Centos 5.3 ke /var/ftp/pub/centos
2. Jalankan service ftp server
3. Jalankan service virt-manager
4. System Name : test
4. Plih Paravirtualized
5. Install Media URL : ftp://192.168.168.168/pub/centos
6. Untuk Networking pilih Shared physical device Device : peth0 (Bridge xenbr0)
7. Virtual Machine akan booting ke ftp, pada Configure TCP/IP Pilih Dynamic IP)
Clone VM
1. virt-clone -o test -n test2 -f /xen/images/test2
test = source, test2 destination
2. Jalankan VM via Virtual Manager
Backup & Restore Database Mysql
A. Backup di Server Source
1. mysqldump -u root -p helpdesk > helpdesk.sql
B. Restore di Server Destination (VM test)
1. Buat root password mysql
mysqladmin -u root password newpassword
2. Buat Database helpdesk
mysql -u root -p
mysql> create database helpdesk;
mysql> quit
3. Restore database
mysql -u root -p helpdesk < helpdesk.sql
1. Copykan 1 DVD file Centos 5.3 ke /var/ftp/pub/centos
2. Jalankan service ftp server
3. Jalankan service virt-manager
4. System Name : test
4. Plih Paravirtualized
5. Install Media URL : ftp://192.168.168.168/pub/centos
6. Untuk Networking pilih Shared physical device Device : peth0 (Bridge xenbr0)
7. Virtual Machine akan booting ke ftp, pada Configure TCP/IP Pilih Dynamic IP)
Clone VM
1. virt-clone -o test -n test2 -f /xen/images/test2
test = source, test2 destination
2. Jalankan VM via Virtual Manager
Backup & Restore Database Mysql
A. Backup di Server Source
1. mysqldump -u root -p helpdesk > helpdesk.sql
B. Restore di Server Destination (VM test)
1. Buat root password mysql
mysqladmin -u root password newpassword
2. Buat Database helpdesk
mysql -u root -p
mysql> create database helpdesk;
mysql> quit
3. Restore database
mysql -u root -p helpdesk < helpdesk.sql