background image

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.

Table 1.1, “GNBD Software Subsystem Components”

summarizes the GNBD software

subsystems components.

Software Subsystem

Components

Description

GNBD

gnbd.ko

Kernel module that implements the

GNBD device driver on clients.

gnbd_export

Command to create, export and manage

GNBDs on a GNBD server.

gnbd_import

Command to import and manage GNBDs

on a GNBD client.

gnbd_serv

A server daemon that allows a node to

export local storage over the network.

Table 1.1. GNBD Software Subsystem Components

You can configure GNBD servers to work with device-mapper multipath. GNBD with

device-mapper multipath allows you to configure multiple GNBD server nodes to provide

redundant paths to the storage devices. The GNBD servers, in turn, present multiple storage

paths to GFS nodes via redundant GNBDs. When using GNBD with device-mapper multipath, if

a GNBD server node becomes unavailable, another GNBD server node can provide GFS nodes

with access to storage devices.

This document how to use GNBD with Red Hat GFS and consists of the following chapters:

Chapter 2, Considerations for Using GNBD with Device-Mapper Multipath

Chapter 3, GNBD Driver and Command Usage

Chapter 4, Running GFS on a GNBD Server Node

Chapter 1.

1

Summary of Contents for GNBD WITH GLOBAL FILE SYSTEM 5.2

Page 1: ...Using GNBD with Global File System Configuration and Administration 5 2 Global_Network_Block_Device ISBN N A Publication date May 2008...

Page 2: ...This book provides an overview on using Global Network Block Device GNBD with Red Hat GFS for Red Hat Enterprise Linux 5 2 Using GNBD with Global File System...

Page 3: ...ion of the copyright holder Distribution of the work or derivative of the work in any standard paper book form for commercial purposes is prohibited unless prior permission is obtained from the copyri...

Page 4: ...Using GNBD with Global File System...

Page 5: ...Document Conventions viii 1 Using GNBD with Red Hat GFS 1 2 Considerations for Using GNBD with Device Mapper Multipath 3 1 Linux Page Caching 3 2 Fencing GNBD Server Nodes 3 3 GNBD Driver and Command...

Page 6: ...vi...

Page 7: ...Documentation For more information about using Red Hat Enterprise Linux refer to the following resources Red Hat Enterprise Linux Installation Guide Provides information regarding installation of Red...

Page 8: ...edback If you spot a typo or if you have thought of a way to make this manual better we would love to hear from you Please submit a report in Bugzilla http bugzilla redhat com bugzilla against the com...

Page 9: ...and text found on a graphical interface When shown like this OK it indicates a button on a graphical application interface Additionally the manual uses different strategies to draw your attention to...

Page 10: ...on indicates an act that would violate your support agreement such as recompiling the kernel Warning A warning indicates potential data loss as may happen when tuning hardware for maximum performance...

Page 11: ...GNBDs on a GNBD client gnbd_serv A server daemon that allows a node to export local storage over the network Table 1 1 GNBD Software Subsystem Components You can configure GNBD servers to work with de...

Page 12: ...2...

Page 13: ...nd Exporting GNBD devices is described in Chapter 3 GNBD Driver and Command Usage 1 Linux Page Caching For GNBD with device mapper multipath do not specify Linux page caching the c option of the gnbd_...

Page 14: ...4...

Page 15: ...ing GNBD devices Two user commands are available to configure GNBD gnbd_export for servers User program for creating exporting and managing GNBDs on a GNBD server gnbd_import for clients User program...

Page 16: ...nbd_export command does not enable caching Note When you configure GNBD servers with device mapper multipath do not specify the c option All GNBDs that are part of a logical volume must run with cachi...

Page 17: ...evice but are given the same UID data corruption will occur UCommand Gets the UID command The UID command is a command the gnbd_export command will run to get a Universal Identifier for the exported d...

Page 18: ...Ds When GNBDs are imported device nodes are created for them in dev gnbd with the name assigned when they were exported Usage gnbd_import iServer Server Specifies a GNBD server by hostname or IP addre...

Page 19: ...ver node must have local access to all storage devices needed to mount a GFS file system The GNBD server node must not import gnbd_import command other GNBD devices to run the file system 2 The GNBD s...

Page 20: ...10...

Page 21: ...on a client 8 E exporting from a server daemon 5 F feedback viii viii fencing GNBD server nodes 3 G GFS using on a GNBD server node 9 GNBD using with Red Hat GFS 1 gnbd ko module 5 8 gnbd_export comm...

Page 22: ...12...

Reviews: