Red Hat ENTERPRISE LINUX 5 - VIRTUALIZATION GUIDE manuels

Manuels d'utilisation et guides de l'utilisateur pour Serveurs Red Hat ENTERPRISE LINUX 5 - VIRTUALIZATION GUIDE.
Nous fournissons des manuels en pdf 5 Red Hat ENTERPRISE LINUX 5 - VIRTUALIZATION GUIDE à télécharger gratuitement par type de document : Guide d'installation, Spécifications


Table des matières

Red Hat Enterprise Linux 6

1

Virtualization Guide

1

Edition 1

2

1. Document Conventions

7

1.2. Pull-quote Conventions

9

1.3. Notes and Warnings

9

2. We need your feedback

10

Introduction

11

Virtualized CPUs (VCPUs)

13

Emulated graphics devices

13

Emulated system components

13

Emulated sound devices

14

Emulated network drivers

14

Emulated storage drivers

14

1.5. Storage

16

1.7. Migration

17

1.8. V2V

18

System requirements, support

19

Hat Enterprise Linux 6

19

System requirements

21

File-based guest storage

22

KVM compatibility

23

Virtualization limitations

25

4.3. Application limitations

26

Part II. Installation

29

Need help installing?

31

%packages

34

Enterprise Linux system

35

$ virt-install --help

37

# virt-install \

38

# vim ifcfg-installation

47

DEVICE=installation

47

Disable iptables on bridges

49

2. Select the bridge

50

Installing guests with PXE

51

3. Start the installation

51

http://www.rhn.redhat.com

53

Image files and SELinux

56

Migration

58

Enterprise Linux 5

69

8.2. Using virt-manager

70

Verify the configuration

78

9.2. Installing Windows 2003

82

Part III. Configuration

83

Configuring virtualization in

83

Network Configuration

85

Guest configuration

86

Disable NetworkManager

86

Creating the bridge

87

KVM Para-virtualized Drivers

89

Modified initrd files

90

AMD64 and Intel 64 issues

91

Network performance issues

91

# yum install virtio-win

92

3. Select the device type

93

Creating guests

102

Press S to install additional

108

</disk>

109

Install the drivers first

110

3. Finish the procedure

112

Press Forward to continue

112

PCI passthrough

117

6. Confirm the new device

123

# virsh nodedev-list --tree

124

13.1. Introduction

127

13.2. Using SR-IOV

128

13.3. Troubleshooting SR-IOV

131

Error starting the guest

132

KVM guest timing management

133

root (hd0,0)

134

quiet processor.max_cstate=1

134

/use pmtimer

135

Part IV. Administration

137

Server best practices

139

Security for virtualization

141

Testing new attributes

142

16.3. SELinux

143

Non-virtualized environments

145

Virtualized environments

145

17.2. sVirt labeling

146

KVM live migration

149

Configuring network storage

150

Other networking methods

152

Migrating with virt-manager

153

Figure 18.1. Add Connection

153

The libvirt daemon (libvirtd)

166

19.3. Transport modes

167

Remote URIs

168

Extra URI parameters

168

Overcommitting with KVM

171

Important

172

Always test first

173

The KSM service

175

The KSM tuning service

176

KSM variables and monitoring

176

Deactivating KSM

177

22.1. Guest scheduling

179

Migrating to KVM from other

181

Figure 23.2. The storage tab

182

23.2.1. virt-v2v

185

Parameters

186

.netrc permissions

188

23.4. Configuration changes

189

24.2. Using qemu-img

193

Supported formats

194

Additional output

195

24.7. Very Secure ftpd

201

<clock>

203

<timer>

204

</clock>

206

Introduction to storage

207

Storage concepts

209

25.2. Volumes

210

Storage pools

213

Chapter 26. Storage pools

216

Security warning

219

LVM-based storage pools

229

2. Add a new pool (part 1)

239

NFS-based storage pools

243

2. Create a new pool (part 1)

244

27.1. Creating volumes

247

27.2. Cloning volumes

247

Command (m for help): w

250

Command (m for help): q

250

# mke2fs -j /dev/sdb1

250

# mount /dev/sdb1 /myfiles

250

Miscellaneous storage topics

253

Single path configuration

254

Multiple path configuration

255

# umount /mnt/guestboot

259

# vgchange -an VolGroup00

259

WWNN and WWPN validation

264

Virtualization commands

265

Managing guests with virsh

267

Connecting to the hypervisor

269

Forcing a guest to stop

272

Getting the UUID of a guest

272

Displaying guest Information

272

Displaying host information

273

Displaying the guests

273

Configuring virtual CPU count

274

Configuring memory allocation

275

Migrating guests with virsh

275

Managing virtual networks

275

31.1. Starting virt-manager

277

[remotehost]# virt-manager

278

A note on security and VNC

282

Displaying guest details

285

31.7. Performance monitoring

291

31.8. Displaying CPU usage

293

31.9. Displaying Disk I/O

294

31.10. Displaying Network I/O

295

Managing a virtual network

297

Creating a virtual network

301

Part VII. Troubleshooting

311

Troubleshooting

313

34.2. kvm_stat

314

34.3. Log files

317

34.6. Loop device errors

318

Note: BIOS steps

319

A.1. Online resources

321

A.2. Installed documentation

321

Glossary

323

Appendix B. Revision History

327

Beta version released

328

Appendix C. Colophon

329

Table des matières

Red Hat Enterprise Linux 5

1

Virtualization Guide

1

Virtualization Documentation

3

Legal Notice

4

Abstract

4

Table of Contents

5

1. About t his book

10

2. Document Convent ions

10

3. We need your feedback

13

4. What is Virt ualizat ion?

13

5. Types of Virt ualizat ion

14

Hat Enterprise Linux

17

4.1. Hyper-V drivers

22

5.2. KVM limit at ions

23

5.3. Xen limit at ions

24

# rmmod loop

25

# modprobe loop

25

⁠Part II. Installation

27

# yum install xen kernel-xen

31

# yum install kvm

35

4. New g u est wiz ard

38

# vim ifcfg-installation

48

DEVICE=installation

48

Click OK to continue

67

Click Forward

70

# virsh reboot rhel5PV

75

17. Configure the firewall

78

Click the Forward button

87

Press Forward to continue

101

Verify the configuration

101

Important

103

# virsh start WindowsGuest

114

Inst allin g Win d o ws

130

⁠Part III. Configuration

132

# virsh attach-disk myguest

137

/dev/sdb1

137

Et hernet cards

144

12.1. Syst em requirement s

151

Ent erprise Linux 3

156

# yum install virtio-win

172

Press Next to continue

177

Press Yes if it is correct

177

Install the drivers first

182

14 .1.2. Using virt -manager

186

Click Forward to continue

187

Chapter 15. PCI passthrough

196

5. Ad d t h e n ew d evice

201

6. Select a PCI d evice

202

# virsh nodedev-list --tree

204

Ent erprise Linux

206

# modprobe acpiphp

207

/use pmtimer

215

⁠Part IV. Administration

217

# setenforce 1

218

19.3. SELinux

220

# service xend restart

226

# yum install nfs

235

# service nfs start

235

Click the Storage tab

238

Click Finish

240

23.3. T ransport modes

248

</dhcp>

270

</ip>

270

</network>

270

27.8. St at us monit oring

280

27.12. Displaying CPU usage

284

$ xm list

296

Chapter 30. Configuring ELILO

300

Chapter 33. Tips and tricks

311

33.2.2. KVM t o Xen

313

33.3. Using qemu-img

314

33.13. Very Secure ftpd

328

⁠Part VIII. Troubleshooting

334

35.2. Log files overview

336

35.3. Log file descript ions

337

35.9. Common Xen problems

339

Chapter 36. Troubleshooting

347

# virsh start new-guest

353

Additional resources

358

Addit ional resources

359

Colophon

360

Angela Garcia

361

Gladys Guerrero

361

Yuliya Poyarkova

361





Plus de produits et de manuels pour Serveurs Red Hat

Modèles Type de document
NETSCAPE DIRECTORY SERVER 6.2 - DEPLOYMENT Guide d'installation   Red Hat NETSCAPE DIRECTORY SERVER 6.2 - DEPLOYMENT Installation guide, 137 pages
NETWORK SATELLITE SERVER 3.6 Guide d'installation   Red Hat NETWORK SATELLITE SERVER 3.6 Installation guide, 33 pages
NETWORK 4.0.5 - Manuel d'utilisateur   opsi Getting Started opsi-Version 4.0.5 - Index of, 90 pages
LINUX VIRTUAL SERVER 4.7 - ADMINISTRATION Guide d'installation   Red Hat LINUX VIRTUAL SERVER 4.7 - ADMINISTRATION Installation guide [en] , 59 pages
ENTERPRISE LINUX 5 - GLOBAL NETWORK BLOCK DEVICE Guide d'installation   Red Hat ENTERPRISE LINUX 5 - GLOBAL NETWORK BLOCK DEVICE Installation guide [en] , 134 pages
NETWORK 4.1.0 - Guide d'installation   Red Hat NETWORK 4.1.0 - Installation guide, 42 pages
LINUX VIRTUAL SERVER - FOR ENTERPRISE LINUX 5.2 REV 05-2008 Manuel d'utilisateur   Title of Presentation (can accommodate up to a, 32 pages
NETSCAPE ENTERPRISE SERVER 6.1 - NSAPI PROGRAMMER GUIDE Guide de l'utilisateur   Red Hat NETSCAPE ENTERPRISE SERVER 6.1 - NSAPI PROGRAMMER GUIDE User`s guide, 84 pages
NETSCAPE ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manuel d'utilisateur   Installation and Migration Guide Netscape Enterprise Server, 66 pages
NETWORK 3.6 - Guide d'installation   Red Hat NETWORK 3.6 - Installation guide [en] , 29 pages
NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN Manuel d'utilisateur   Red Hat Directory Server Red Hat Directory Server 9 Release Notes, 25 pages
NETSCAPE ENTERPRISE SERVER 6.1 - PROGRAMMER GUIDE TO SERVLETS Manuel d'utilisateur   Sun ONE Web Server 6.1 Installation and Migration Guide, 94 pages
NETWORK PROXY SERVER 4.0 - Guide d'installation   Red Hat NETWORK PROXY SERVER 4.0 - Installation guide [en] , 250 pages
NETWORK SATELLITE SERVER 3.7 Guide d'installation   Red Hat NETWORK SATELLITE SERVER 3.7 Installation guide, 136 pages
NETWORK 4.0.5 - Guide d'installation   Red Hat NETWORK 4.0.5 - Installation guide, 40 pages
CLUSTER FOR ENTERPRISE LINUX 5.0 Guide d'installation   Red Hat CLUSTER FOR ENTERPRISE LINUX 5.0 Installation guide, 68 pages
NETSCAPE DIRECTORY SERVER 6.01 Guide d'installation    Red Hat NETSCAPE DIRECTORY SERVER 6.01 Installation guide, 60 pages
ENTERPRISE LINUX 5 - GLOBAL NETWORK BLOCK DEVICE Guide d'installation   Red Hat ENTERPRISE LINUX 5 - GLOBAL NETWORK BLOCK DEVICE Installation guide [en] , 19 pages
CLUSTER SUITE FOR ENTERPRISE LINUX 4.7 Guide d'installation   Red Hat CLUSTER SUITE FOR ENTERPRISE LINUX 4.7 Installation guide, 78 pages
LINUX VIRTUAL SERVER 4.7 - ADMINISTRATION Manuel d'utilisateur   Parallels Virtuozzo Containers 4.7 for Linux Readme, 6 pages