User Mode Linux UML

User Mode Linux UML Free Book Download

User Mode Linux (UML) Book Download

Preface ix
Acknowledgments xi
About the Author xiii

1 Introduction 1
What Is UML? 1
Comparison with Other Virtualization Technologies 2
Why Virtual Machines? 3
A Bit of History 4
What Is UML Used For? 8
Server Consolidation 8
Education 10
Development 12
Disaster Recovery Practice 13
The Future 14

2 A Quick Look at UML 17
Booting UML for the First Time 20
Booting UML Successfully 24
Looking at a UML from the Inside and Outside 29
Conclusion 37

3 Exploring UML 39
Logging In as a Normal User 39
Consoles and Serial Lines 40
Adding Swap Space 47
Partitioned Disks 49
UML Disks as Raw Data 53
Networking 54
Shutting Down 59

4 A Second UML Instance 61
COW Files 61
Booting from COW Files 67
Moving a Backing File 69
Merging a COW File with Its Backing File 70
Networking the UML Instances 71
A Virtual Serial Line 79

5 Playing with a UML Instance 83
Use and Abuse of UML Block Devices 83
Networking and the Host 87

6 UML Filesystem Management 101
Mounting Host Directories within a UML 101
hostfs 104
humfs 108
Host Access to UML Filesystems 114
Making Backups 116
Extending Filesystems 117
When to Use What 118

7 UML Networking in Depth 121
Manually Setting Up Networking 121
TUN/TAP with Routing 121
Bridging 136
The UML Networking Transports 142
Access to the Host Network 143
Isolated Networks 145
pcap 145
How to Choose the Right Transport 146
Configuring the Transports 147
An Extended Example 155
A Multicast Network 155
A Second Multicast Network 156
Adding a uml_switch Network 160
Summary of the Networking Example 166

8 Managing UML Instances from the Host 167
The Management Console 167
MConsole Queries 168
The uml_mconsole Client 182
The MConsole Protocol 183
The MConsole Perl Library 185
Requests Handled in Process and Interrupt Contexts 186
MConsole Notifications 186
Controlling a UML Instance with Signals 188

9 Host Setup for a Small UML Server 191
Host Kernel Version 192
UML Execution Modes 194
tt Mode 197
skas3 Mode 198
skas0 Mode 200
To Patch or Not to Patch? 201
Vanderpool and Pacifica 202
Managing Long-Lived UML Instances 203
Networking 206
UML Physical Memory 206
Host Memory Consumption 208
umid Directories 209
Overall Recommendations 209

10 Large UML Server Management 211
Security 212
UML Configuration 212
Jailing UML Instances 216
Providing Console Access Securely 223
skas3 versus skas0 225
Future Enhancements 226
sysemu 226
PTRACE_FAULTINFO 227
MADV_TRUNCATE 227
remap_file_pages 230
VCPU 231
Final Points 232

11 Compiling UML from Source 233
Downloading UML Source 234
Configuration 235
Useful Configuration Options 240
Compilation 249

12 Specialized UML Configurations 251
Large Numbers of Devices 252
Network Interfaces 252
Memory 257
Clusters 265
Getting Started 265
Booting the Cluster 268
Exercises 272
Other Clusters 273
UML as a Decision-Making Tool for Hardware 273

13 The Future of UML 275
The externfs Filesystem 277
Virtual Processes 282
Captive UML 283
Secure mod_perl 283
Evolution 286
Application Administration 287
A Standard Application Programming Interface 289
Application-Level Clustering 289
Virtualized Subsystems 295
Conclusion 298
A UML Command-Line Options 301
Device and Hardware Specifications 301
Debugging Options 303
Management Options 304
Informational Options 305
B UML Utilities Reference 307
humfsify 307
uml_moo 308
uml_mconsole 308
tunctl 310
uml_switch 311
Internal Utilities 312

Free Book Download UML

About Author JeffDike

Jeff Dike grew up in rural northwest Connecticut He graduated from MIT and went to work at Digital Equipment Corporation in New Hampshire. There he met several people who became prominent in the Linux world, including Jon Hall and a large contingent that now works at Red Hat. Jeff left Digital in 1993 during the implosion of the minicomputer market. He spent the next decade as an independent contractor and became a Linux kernel developer in 1999 after conceiving of and implementing UML Since then, UML has been his job, becoming a full-time paid one in mid-2004 when Intel hired him.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s