Xsan 2 Setup Guide
KKApple Inc. © 2009 Apple Inc. All rights reserved. Under the copyright laws, this manual may not be copied, in whole or in part, without the written consent of Apple. The Apple logo is a trademark of Apple Inc., registered in the U.S. and other countries. Use of the “keyboard” Apple logo (Option-Shift-K) for commercial purposes without the prior written consent of Apple may constitute trademark infringement and unfair competition in violation of federal and state laws.
Contents 5 5 6 7 9 9 10 11 14 15 16 17 18 27 31 32 Setting Up a SAN Is This the Right Guide for You? Equipment You’ll Need What You Need to Know SAN Setup Instructions Step 1: Unpack and Install the SAN Hardware Step 2: Connect the SAN Networks Step 3: Set Up the Client Computers Step 4: Set Up the Standby Metadata Controller Step 5: Set Up the RAID Systems Step 6: Create a Metadata Array Step 7: Set Up the Primary Metadata Controller Step 8: Configure the SAN Step 9: Create a SAN Volume Step 10:
Setting Up a SAN Follow the instructions in this guide to set up a volume on a storage area network (SAN) using Xsan 2. Is This the Right Guide for You? To keep setup instructions simple, this guide assumes: ÂÂ You’re setting up a SAN for the first time using new computers and RAID systems right out of the box. ÂÂ Your SAN computers are running Mac OS X or Mac OS X Server version 10.6 (Snow Leopard). ÂÂ ÂÂ ÂÂ ÂÂ You’ll let Xsan set up a SAN directory service on your metadata controllers.
If you already have a SAN that you want to upgrade to Xsan 2, you’ll find instructions in the Xsan 2 Migration Guide at www.apple.com/xsan/resources/. Equipment You’ll Need To set up a new SAN using the instructions in this guide, you need: ÂÂ ÂÂ ÂÂ ÂÂ ÂÂ ÂÂ ÂÂ ÂÂ ÂÂ ÂÂ RAID storage devices for SAN storage Two computers running Mac OS X Server v10.6 to act as SAN metadata controllers One or more SAN client computers running Mac OS X or Mac OS X Server v10.
What You Need to Know You’ll need to provide the following information when you set up your SAN: ÂÂ A static (fixed) public IP address, subnet mask, router address, and DNS server address for each computer on the SAN. You can enter this information manually or configure a DHCP server to provide it. If you want the DHCP server to provide IP addresses, be sure it always assigns the same IP address to each SAN computer. ÂÂ A single user name and password for the administrator account on all SAN computers.
Ethernet (public) Ethernet (private) Metadata controller Clients Ethernet switches RAID arrays (LUNs) Standby controller Fibre Channel switch Metadata RAID array (LUN) Intranet/ Internet 8 Setting Up a SAN
SAN Setup Instructions Use the instructions on the following pages to set up your SAN for the first time.
3 If you’re using Xserve computers, follow the instructions that come with them to install them in a rack. 4 Unpack the RAID systems used for SAN storage and follow the instructions that come with the systems to install them in a rack. 5 Unpack and install the Fibre Channel switch, following the instructions that come with the switch. 6 Unpack and install the Ethernet switches for the SAN’s private metadata network and public intranet or Internet connections.
For details, see the instructions that come with the RAID storage system. Step 3: Set Up the Client Computers Now you’ll go to each client computer to set up an administrator account, configure network settings, and install the Xsan software. The procedure differs based on whether the client has Mac OS X or Mac OS X Server installed. Use one of the next two procedures—“If a Client Has Mac OS X Installed” or “If a Client Has Mac OS X Server Installed”—as appropriate, with each client computer on the SAN.
3 When the Mac setup assistant finishes and the Finder appears, choose System Preferences from the Apple () menu. 4 Click Network and select the first Ethernet port, which should be connected to your public intranet and the Internet. 5 Choose a configuration method from the pop-up menu, and then enter the appropriate settings for the client computer.
Time Zone: To ensure consistent time metadata across all computers in the SAN, choose a network time server for your client computers. Administrator Account: Enter the same account name and password on your client computers. Xsan: Select “Don’t configure Xsan now.” You install Xsan in the next step. Network: Enable only the public Ethernet port (Ethernet 1 at the top of the list). Choose a configuration method from the pop-up menu and enter the appropriate settings for the client computer.
3 Insert the Xsan Install Disc, double-click the Install Xsan icon, and then follow the onscreen instructions to install the Xsan software on the client computer. 4 Eject the Xsan Install Disc. Step 4: Set Up the Standby Metadata Controller Now set up the standby metadata controller. This computer must have Mac OS X Server installed but not yet set up. To set up the standby controller: 1 Turn on the computer you’re using as the standby metadata controller.
ÂÂ Using DHCP with manual address, and enter the computer’s IP address if your DHCP server provides other TCP/IP connection settings Network Names: Verify the network name provided by your DNS service and, if you want, enter a computer name for use with Bonjour naming on your local network. Install Xsan: Insert the Xsan Install Disc, select “Install Xsan now,” and then click Continue. The standby metadata controller can now join the SAN and is detected by the primary metadata controller during SAN setup.
Step 6: Create a Metadata Array Ten GB of disk space is enough to store the metadata for a volume containing 10 million files, so a two-drive RAID 1 (mirrored) array is generally large enough to store the metadata for your SAN volume. If you dedicate a spare drive to this array to guarantee availability, three drives are adequate for your SAN metadata.
Step 7: Set Up the Primary Metadata Controller Now that you’ve prepared your SAN clients, standby metadata controller, and RAID storage systems, you can set up the primary metadata controller. This computer must have Mac OS X Server installed but not yet set up. To set up the primary controller: 1 Turn on the computer that will be the primary metadata controller.
Network Names: Verify the network name provided by your DNS service and, if you want, enter a computer name for use with Bonjour naming on your local network. Users and Groups: Select “Manage users and groups with Xsan Admin.” Install Xsan: Insert the Xsan Install Disc, select “Install Xsan now,” and then click Continue. Step 8: Configure the SAN The Xsan setup assistant opens when basic server configuration and Xsan installation are complete. Follow these steps to enter basic SAN settings.
2 In the Initial SAN Setup pane, select “Configure new SAN.
3 In the SAN Settings pane, type a name for the SAN and then enter the SAN administrator’s name and email address.
4 In the Add Computers pane, make sure all computers that you want to be in the SAN are selected. If a computer you want to include isn’t listed, make sure you’ve installed Xsan on that computer, check that it’s connected to both Ethernet networks, and verify the network settings in the computer’s Network preferences. You can also click Add Remote Computer to add computers manually.
5 In the Authenticate SAN Computers pane, select “Use same authentication information for all SAN Computers” and enter the user account name and password for the administrator account you created on the clients and the standby metadata controller.
6 In the Serial Numbers pane, enter your Xsan serial numbers. You can click Add Serial Number and enter a number, or drag a text file containing serial numbers to the list.
7 In the Choose Metadata Controllers pane, select your primary and standby metadata controllers and deselect any client-only computers that appear in the list.
8 In the Private Metadata Network pane, select “Yes, manage private Ethernet network settings.
9 Review the Summary pane, and if all settings are correct, click Continue. To change a setting, click Go Back until you reach the pane where you can correct the setting. Then click Continue until you return to the Summary pane.
Step 9: Create a SAN Volume When the Xsan setup assistant finishes basic SAN configuration, it asks if you want to create a volume. To create a volume: 1 In the “Create Volume” pane, select “Create a volume now” and click Continue.
2 In the “Volume Name and Type” pane, enter a name for the volume and choose a volume type that matches the type of work the volume will support. 3 If the Label LUNs pane appears, select “Automatically label all unlabeled LUNs with prefix” and click Continue. 4 When the list of labeled LUNs appears, verify the LUN labels and click Continue.
5 In the Configure Volume Affinities pane, drag LUNs from the left column to the corresponding affinity tag in the right column. a Drag the special metadata LUN you created (in Step 6, “Create a Metadata Array”) to the MetadataAndJournal affinity tag. b Drag your other LUNs to the other affinity tags. To avoid wasting storage, all LUNs assigned to an affinity tag should be the same size. c If you’re left with any affinity tags that contain no LUNs, delete them. d When you finish, click Continue.
6 In the Volume Failover Priority pane, ensure that the primary metadata controller is at the top of the list, and then click Continue.
7 In the Setup Complete pane, click Continue. Xsan Admin displays a summary of your SAN configuration, and the new volume is mounted and ready to use in the Finder on all clients and metadata controllers. Step 10: Add Users and Groups When your volume is ready, the SAN setup assistant closes and Xsan Admin opens. You use Xsan Admin to add users and groups to your SAN.
What’s Next? Your SAN volume is now ready to use. When any SAN user logs in to a client computer, they’ll see the volume in the Finder. For information about using and managing the SAN, see the Xsan 2 Administrator Guide on the Xsan Install Disc and at www.apple.com/server/resources/.