Xsan 2 Administrator Guide - Contents

background image

Contents

background image

4

Contents

25

Outgoing Mail Service

25 Planning Your SAN
26

Preliminary Planning Questions

26

Planning Considerations and Guidelines

32 Planning the Ethernet TCP/IP Network
32

Using a Private Metadata Network

32

Using Switches Instead of Hubs

33 Planning the Fibre Channel Network
33

Verifying Base Fibre Channel Performance

33

If Your Fibre Channel Fabric Is Running Slower Than Expected

34 Configuring RAID Systems
34

Installing the Latest Firmware

34

Connecting RAID Systems to an Ethernet Network

34

Choosing RAID Levels for LUNs

35

Adjusting RAID System Performance Settings

37

Chapter 3: Setting Up a Storage Area Network

37 Connecting Computers and Storage Devices
37 Preparing LUNs
38 Using Server Assistant to Configure Controllers
38

Managing Users and Groups with Xsan Admin

38

Using an Existing Open Directory Server

38

Using Another Directory Server

39 Using Xsan Admin
39

Installing Only the Xsan Admin Application

39

Connecting Through a Firewall

39

Xsan Admin Preferences

39

Getting Help

39 SAN and Volume Setup Summary
40 Setting Up an Xsan Volume on a SAN
40

Step 1: Set Up the Fibre Channel Network

40

Step 2: Set Up the Ethernet Networks

41

Step 3: Configure SAN Computers to Use a Time Server

41

Step 4: Set Up SAN Users and Groups

42

Step 5: Set Up RAID Systems

43

Step 6: Create a Metadata Array

43

Step 7: Install Xsan Software on Clients and Controllers

44

Step 8: Configure the SAN

46

Step 9: Create a Volume

48

Step 10: (Optional) Set Up SAN Status Notifications

48

Step 11: (Optional) Assign Folders to Affinity Tags

48

Step 12: (Optional) Set User and Group Quotas

49 Setting Up an Xsan Administrator Computer

background image

Contents

5

49 Renaming a SAN
49 Removing a SAN
50 Managing Multiple SANs
50 Setting Up Additional SANs

51

Chapter 4: Managing SAN Storage

51

Adding Storage

52

Preparing LUNs

52

Finding the Drive Modules That Belong to a LUN

53

Adding a Volume to a SAN

54

Adding a Storage Pool to a Volume

55

Adding LUNs to a Storage Pool

56

Rearranging Fibre Channel Connections

57 Setting Up a Folder Affinity
58 Changing a Folder’s Storage Pool Affinity
58 Removing an Affinity
59 Changing Advanced Volume Settings
59

Setting the Block Allocation Size

60

Changing the Volume Allocation Strategy

60

Enabling or Disabling Spotlight on a Volume

61

Enabling Extended Attributes

61

Enabling or Disabling Access Control Lists

61

Changing the Windows ID Mapping

62

Changing Advanced Allocation and Cache Settings

62 Renaming a Volume
63 Changing Storage Pool Settings
63

Changing the Exclusivity of an Affinity Tag

63

Setting the Storage Pool Stripe Breadth

64 Checking Volume Fragmentation
64 Defragmenting a Volume
65 Checking the Integrity of a Volume
65 Checking RAID Devices
66 Repairing a Volume
66 Destroying a Volume

67

Chapter 5: Managing Clients and Users

67 Adding a Client
68 Adding an Xsan Serial Number
69 Moving a Client to Another SAN
70 Mounting a Volume on a Client
70

Changing Mount Options

71 Managing Users and Groups
71

Managing Users and Groups with Xsan Admin

background image

6

Contents

71

Managing Users and Groups with Workgroup Manager

72

Adding SAN Users

72

Deleting SAN Users

73

Creating Groups

73

Deleting Groups

73

Changing Group Membership

74 Controlling Client and User Access
74

Controlling File and Folder Access Using the Finder

74

Controlling File and Folder Access Using Xsan Admin

75

Unmounting a Volume on a Client

76

Restricting a Client to Read-Only Access

77

Removing a Client from a SAN

78

Mapping Windows User and Group IDs

79 Setting SAN User and Group Quotas
80

About Xsan Quotas

81 Checking User Quota Status
83 Helping Users Check Quotas
83 Creating Local Home Folders for Network Accounts
84 Managing Client Computers Remotely
84

Controlling a Client Using Screen Sharing

85

Connecting to a Client Using SSH in Terminal

85

Managing a Client Server Using Server Admin

86

Chapter 6: Managing Metadata Controllers

87 Adding a Metadata Controller
88 Setting Controller Failover Priority
88 Switching to a Standby Controller
89 Finding Out Which Controller Is Hosting a Volume
89 Listing the Volumes Hosted by a Controller
90 Changing a Controller’s IP Address
90 Converting a Controller to a Client
91 Accessing Controller Computers Remotely
91

Controlling a Controller Using Screen Sharing

92

Connecting to a Controller Using SSH in Terminal

92

Managing a Controller Using Server Admin

92 Monitoring Controller Status

93

Chapter 7: Monitoring SAN Status

93 Checking SAN Status
94 Checking Volume Status
94 Monitoring RAID Devices
95 Checking Free Space on a Volume
96 Checking Free Space on a Storage Pool

background image

Contents

7

96 Graphing SAN Resource Usage
97 Setting Up Status Notifications
98 Viewing Xsan Logs
99 Checking Volume Clients
99 Checking for Fibre Channel Connection Failures

100

Chapter 8: Solving SAN Problems

100 If You Can’t Connect to a Computer Using Xsan Admin
100 If You Can’t Install the Xsan Software
100 If Computers Aren’t Listed in Xsan Admin
101 If You Can’t Mount a Volume on a Client
101 If You Can’t Unmount a Volume on a Client
101 If RAID LUNs Aren’t Accessible over Fibre Channel
101 If You Have Problems Using Command-Line Tools
101 If a LUN Doesn’t Have as Much Space as Expected
101 If You Can’t Rename an Xsan Volume in the Finder
102 If You Can’t Add a Storage Pool
103 If Fibre Channel Performance Is Poorer Than Expected
103 If a Client Can’t Use a Volume After a Fibre Channel Interruption
103 If You Can’t Add LUNs to a Storage Pool
104 If the Capacity of a Larger LUN is Listed as 2 Terabytes
104 If File Copying Doesn’t Finish
104 If a Volume Unexpectedly Restarts

105

Appendix A: Combining Xsan Controllers and StorNext Clients

105 Compatible Software Versions
106 Terminology
106 Licensing
106 Adding StorNext Clients to an Xsan SAN

108

Appendix B: Using the Command Line

108 Using Shell Commands
108

Sending Commands to Remote Computers

109

Viewing the Man Pages

109 Notation Conventions
109 Installing Xsan from the Command Line
110 Xsan Commands
111

Viewing or Changing Volume and Storage Pool Settings (cvadmin)

114

Manipulating Affinity Tags (cvaffinity)

115

Copying Files or Folders (cvcp)

116

Checking or Repairing a Volume (cvfsck)

116

Labeling, Listing, and Unlabeling LUNs (cvlabel)

117

Creating a Folder and Assigning an Affinity (cvmkdir)

background image

8

Contents

118

Creating and Preallocating a File (cvmkfile)

119

Initializing a Volume (cvmkfs)

119

Applying Volume Configuration Changes (cvupdatefs)

119

Defragmenting a File, Folder, or Volume (snfsdefrag)

121

Controlling the Xsan File System (xsanctl)

121

Mounting an Xsan Volume

122

Unmounting an Xsan Volume

122

Viewing Logs

122 Xsan Configuration Files

123

Glossary

126

Index

background image

9

Use this guide to learn how to use Xsan 2 to set up and

manage volumes on a storage area network.

This guide shows how to use Xsan 2 to combine RAID arrays into large, easy-to-expand
volumes of storage that clients use like local disks, but which are actually shared over
a high-speed Fibre Channel fabric. The guide is updated for Xsan 2 version 2.2 and
contains the following sections.

Chapter 1, “Overview of Xsan,” provides an overview of Xsan and how you can use it

Â

to organize RAID arrays into shared volumes of storage.
Chapter 2, “Planning a Storage Area Network,” describes hardware and software

Â

requirements, and offers SAN planning guidelines.
Chapter 3, “Setting Up a Storage Area Network,” shows the basic steps for setting up

Â

a SAN.
Chapter 4, “Managing SAN Storage,” contains instructions for expanding storage,

Â

creating folders with affinities, changing volume and storage pool settings, and
checking, defragmenting, and repairing SAN volumes.
Chapter 5, “Managing Clients and Users,” shows how to add client computers

Â

to a SAN, mount volumes on clients, control client and user access to SAN files,
and control user space through quotas.
Chapter 6, “Managing Metadata Controllers,” contains information about managing

Â

volume metadata controllers.
Chapter 7, “Monitoring SAN Status,” shows how to monitor and automatically report

Â

the condition of a SAN.
Chapter 8, “Solving SAN Problems,” lists solutions to common problems you might

Â

encounter.
Appendix A, “Combining Xsan Controllers and StorNext Clients,” contains

Â

information to help you use Xsan metadata controllers with Quantum StorNext
clients.

Pr

efac

e