Final Case Study

Babu Dev
ISSC424CH6pg2.pdf

2. To enable dummy device support, add the following lines

to /etc/modprobe.conf:

alias dummy0 dummy

options dummy numdummies=1

3. To configure networking for dummy0, edit

the /etc/sysconfig/networkscripts/ifcfg-dummy0 file as shown in Figure 6-6.

Figure 6-6

Edit the /etc/sysconfig/networkscripts/ifcfg-dummy0 file like this.

4. Bind xenbr0 to dummy0 in order to use networking even when not connected

to a physical network.

5. Edit /etc/xen/xend-config.sxp to include the netdev=dummy0 entry as follows:

(network-script ‘network-bridge bridge=xenbr0

netdev=dummy0’)

6. Open /etc/sysconfig/network in the guest OS and modify the default gateway to

point to dummy0, as shown in Figure 6-7.

6-10

6-11

PRINTED BY: Chandra Shrestha <mani.shrestha@hotmail.com>. Printing is for personal, private use only. No part of this book may be reproduced or transmitted without publisher's prior permission. Violators will be prosecuted.

10/9/2018http://e.pub/b1r6lh8z0v8zakjlztzu.vbk/OPS/loc_007-print-1539146079.xhtml

Figure 6-7

Modify /etc/sysconfig/network in the guest OS like this.

7. Set up network address translation (NAT) in the host to allow the guest to

access the Internet, including wireless networks. NAT permits multiple

network addresses to connect through a single IP address by intercepting

packets and passing them to the private IP address. To configure NAT in Red

Hat Virtualization, copy the script in Figure 6-8 to /etc/init.d/xenLaptopNAT

and create a soft link to /etc/rc3.d/S99xenLaptopNAT.

Figure 6-8

Copy this script into /etc/init.d/xenLaptopNAT to configure NAT.

6-11

PRINTED BY: Chandra Shrestha <mani.shrestha@hotmail.com>. Printing is for personal, private use only. No part of this book may be reproduced or transmitted without publisher's prior permission. Violators will be prosecuted.

10/9/2018http://e.pub/b1r6lh8z0v8zakjlztzu.vbk/OPS/loc_007-print-1539146079.xhtml

1.

2.

3.

Chapter Summary

To use Red Hat Virtualization, users require a system running Red Hat

Enterprise Linux 5 Server with its virtualization packages.

The Red Hat Virtualization system installation process involves installing a

guest operating system in the virtualized environment and then configuring

the Red Hat Virtualization system.

Review Questions

What is Red Hat Virtualization?

__________________________________________________________________________________

_________

__________________________________________________________________________________

_________

__________________________________________________________________________________

_________

__________________________________________________________________________________

_________

What is the difference between full virtualization and paravirtualization?

__________________________________________________________________________________

_________

__________________________________________________________________________________

_________

__________________________________________________________________________________

_________

__________________________________________________________________________________

_________

What are the basic system requirements for Red Hat Enterprise Linux

Virtualization?

6-12

PRINTED BY: Chandra Shrestha <mani.shrestha@hotmail.com>. Printing is for personal, private use only. No part of this book may be reproduced or transmitted without publisher's prior permission. Violators will be prosecuted.

10/9/2018http://e.pub/b1r6lh8z0v8zakjlztzu.vbk/OPS/loc_007-print-1539146079.xhtml

4.

5.

__________________________________________________________________________________

_________

__________________________________________________________________________________

_________

__________________________________________________________________________________

_________

__________________________________________________________________________________

_________

How does a user create guests with virt-manager?

__________________________________________________________________________________

_________

__________________________________________________________________________________

_________

__________________________________________________________________________________

_________

__________________________________________________________________________________

_________

Why is it necessary to create a virtualized floppy disk controller?

__________________________________________________________________________________

_________

__________________________________________________________________________________

_________

__________________________________________________________________________________

_________

__________________________________________________________________________________

_________ 6-12

6-13

PRINTED BY: Chandra Shrestha <mani.shrestha@hotmail.com>. Printing is for personal, private use only. No part of this book may be reproduced or transmitted without publisher's prior permission. Violators will be prosecuted.

10/9/2018http://e.pub/b1r6lh8z0v8zakjlztzu.vbk/OPS/loc_007-print-1539146079.xhtml

Hands-On Projects

1. Read about Linux virtualization.

Navigate to Chapter 6 of the Student Resource Center.

Open 3490182 (Linux Virtualization).pdf and read the content.

2. Read about virtualization tools.

Navigate to Chapter 6 of the Student Resource Center.

Open RHEL_5p3_wp_0109_web.pdf and read the content.

3. Read more about Linux virtualization.

Navigate to Chapter 6 of the Student Resource Center.

Open Virtualization.pdf and read the content.

6-13

6-14

PRINTED BY: Chandra Shrestha <mani.shrestha@hotmail.com>. Printing is for personal, private use only. No part of this book may be reproduced or transmitted without publisher's prior permission. Violators will be prosecuted.

10/9/2018http://e.pub/b1r6lh8z0v8zakjlztzu.vbk/OPS/loc_007-print-1539146079.xhtml