Red Hat Enterprise Linux 4 Global Network Block Device Using GNBD with Red Hat Global File System Edition 1.
Red Hat Enterprise Linux 4 Global Network Block Device Using GNBD with Red Hat Global File System Edition 1.0 Landmann rlandmann@redhat.
Legal Notice Copyright © 2009 Red Hat, Inc. T his document is licensed by Red Hat under the Creative Commons Attribution-ShareAlike 3.0 Unported License. If you distribute this document, or a modified version of it, you must provide attribution to Red Hat, Inc. and provide a link to the original. If the document is modified, all Red Hat trademarks must be removed.
Table of Contents Table of Contents .Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3. . . . . . . . . . 1. About T his Guide 3 2. Audience 3 3. Software Versions 3 4. Related Documentation 3 5. Document Conventions 4 5.1. T ypographic Conventions 4 5.2. Pull-quote Conventions 5 5.3. Notes and Warnings 6 6. Feedback 6 . . . . . . . . . 1. Chapter . . .Using . .
Red Hat Enterprise Linux 4 Global Network Block D evice 2
Introduction Introduction 1. About This Guide T his book describes how to use Global Network Block Device (GNDB) with Global File System (GFS), including information about device-mapper multipath, GNDB driver and command usage, and running GFS on a GNBD server node. 2. Audience T his book is intended to be used by system administrators managing systems running the Linux operating system. It requires familiarity with Red Hat Enterprise Linux and GFS file system administration. 3.
Red Hat Enterprise Linux 4 Global Network Block D evice Linux Virtual Server Administration — Provides information on configuring high-performance systems and services with the Linux Virtual Server (LVS). Red Hat Cluster Suite Release Notes — Provides information about the current release of Red Hat Cluster Suite. Red Hat Cluster Suite documentation and other Red Hat documents are available in HT ML and PDF versions online at the following location: http://www.redhat.com/docs 5.
Introduction labeled buttons; check-box and radio button labels; menu titles and sub-menu titles. For example: Choose System → Preferences → Mouse from the main menu bar to launch Mouse Preferences. In the Buttons tab, select the Left-handed m ouse check box and click Close to switch the primary mouse button from the left to the right (making the mouse suitable for use in the left hand).
Red Hat Enterprise Linux 4 Global Network Block D evice static int kvm_vm_ioctl_deassign_device(struct kvm *kvm, struct kvm_assigned_pci_dev *assigned_dev) { int r = 0; struct kvm_assigned_dev_kernel *match; mutex_lock(&kvm->lock); match = kvm_find_assigned_dev(&kvm->arch.
Introduction Be sure to mention the manual's identifier: rh-gfs(EN)-4.8 (2009-05-15T15:10) By mentioning this manual's identifier, we know exactly which version of the guide you have. If you have a suggestion for improving the documentation, try to be as specific as possible. If you have found an error, please include the section number and some of the surrounding text so we can find it easily.
Red Hat Enterprise Linux 4 Global Network Block D evice Chapter 1. Using GNBD with Red Hat GFS GNBD (Global Network Block Device) provides block-level storage access over an Ethernet LAN. GNBD components run as a client in a GFS node and as a server in a GNBD server node. A GNBD server node exports block-level storage from its local storage (either directly attached storage or SAN storage) to a GFS node. T able 1.1, “GNBD Software Subsystem Components” summarizes the GNBD software subsystems components.
Chapter 2. Considerations for Using GNBD with D evice-Mapper Multipath Chapter 2. Considerations for Using GNBD with Device-Mapper Multipath GNBD with device-mapper multipath allows you to configure multiple GNBD server nodes (nodes that export GNBDs to GFS nodes) to provide redundant paths to the storage devices. T he GNBD server nodes, in turn, present multiple storage paths to GFS nodes via redundant GNBDs.
Red Hat Enterprise Linux 4 Global Network Block D evice Chapter 3. GNBD Driver and Command Usage T he Global Network Block Device (GNBD) driver allows a node to export its local storage as a GNBD over a network so that other nodes on the network can share the storage. Client nodes importing the GNBD use it like any other block device. Importing a GNBD on multiple clients forms a shared storage configuration through which GFS can be used. T he GNBD driver is implemented through the following components.
Chapter 3. GNBD D river and Command Usage Specifies an arbitrary name selected for the GNBD. It is used as the device name on GNBD clients. T his name must be unique among all GNBDs exported in a network. -o Export the device as read-only. -c Enable caching. Reads from the exported GNBD and takes advantage of the Linux page cache. By default, the gnbd_export command does not enable caching.
Red Hat Enterprise Linux 4 Global Network Block D evice Warning T his option should only be used for exporting shared storage devices, when the -U command option does not work. T his should almost never happen for SCSI devices. If two GNBD devices are not exporting the same underlying device, but are given the same UID, data corruption will occur. -U Command Gets the UID command. T he UID command is a command the gnbd_export command will run to get a Universal Identifier for the exported device.
Example Example T his example imports all GNBDs from the server named nodeA.
Red Hat Enterprise Linux 4 Global Network Block D evice Chapter 4. Running GFS on a GNBD Server Node You can run GFS on a GNBD server node, with some restrictions. In addition, running GFS on a GNBD server node reduces performance. T he following restrictions apply when running GFS on a GNBD server node. Important When running GFS on a GNBD server node you must follow the restrictions listed; otherwise, the GNBD server node will fail. 1.
Revision History Revision History Revision 1.0-6.4 00 Rebuild with publican 4.0.0 2013-10-31 Rüdiger Landmann Revision 1.0-6 Rebuild for Publican 3.0 2012-07-18 Anthony T owns Revision 1.
Red Hat Enterprise Linux 4 Global Network Block D evice software subsystem components, Using GNBD with Red Hat GFS 16