Online Book Reader

Home Category

Managing RAID on Linux - Derek Vadala [102]

By Root 1329 0
module. Next, execute make and copy the new kernel into your /boot directory:

# make dep && make bzImage

# make modules && make modules_install

# cp arch/i386/boot/bzImage /boot/bzImage.3ware

# cp System.map /boot

Now add an entry for the new kernel to /etc/lilo.conf, updating global parameters as needed, and execute /sbin/lilo to rewrite the boot sector. When the system restarts, access your 3ware arrays like any normal SCSI device. Before creating a filesystem, you'll need to partition the array like any normal block device.

3DM Disk Manager

3ware provides the proprietary 3DM software package for post-installation array management. 3DM runs as a daemon and monitors 3ware controllers, reporting any information (such as errors, status changes, and array health) via syslog. Email alerts are also available.

Administrators can use a web browser to access 3DM's built-in web management interface. From the web interface, users can configure spare disks, email alerts and array properties, and monitor arrays and disks.

Downloading and installing 3DM

Download 3DM from the support section of 3ware's web site (http://www.3ware.com). 3DM is also available on the CD-ROM that was included with your controller. Unpack the tarball and execute the installation script:

# tar xzf 3dm.tgz

# cd 3dm

# ./install.3dm

The script will ask a few questions about how to install the software.

Was RPM used to install the Escalade driver and/or 3dm? (Y/N) [N]

**** 3DM version being installed is: 1.13.00.015 ****

Please enter the location of the help documentation. [/usr/local/doc/3dm]

Would you like to have email notification enabled? (Y/N) [Y]

Please enter the name of your mail server. \

[bored.cynicism.com]: smtp.cynicism.com

Please enter the name of the user you want sending email \

notification. [root]: 3ware-controller

Please enter the name of the user you want receiving \

email notification. [3ware_admin]: admin

Please enter the port number you would like to use for \

web monitoring. [1080]: 8080

Would you like 3DM connection security to limit \

connections to localhost only? (Y/N) [Y]

**** Starting 3dmd using configuration found in \

/etc/3dmd.conf ****

Starting 3ware DiskSwitch daemon: [OK]

Notice that I have changed the SMTP server used to email alerts, as well as the sender and recipient addresses. You can fine-tune the other portions of installation as needed. For security reasons, I strongly recommend keeping the default localhost-only option. Since port 1080 is also the default port for a socks5 proxy, I have decided to change the port number to 8080. Using port 1080 will likely generate errors with some web browsers and distributions.

Configuration and usage

After installation, the 3dmd program executes. If you need to change any of these options, edit the file /etc/3dmd.conf and restart 3dmd using the init.d script /etc/init.d/3dm. Of particular note are the PORT and REMOTEACCESS lines, which control the port that the 3dmd web server runs on, and whether or not hosts other than the localhost can connect.

Once 3DM is installed and running, use a web browser to connect to the controller. I strongly recommend changing the default password as a first step. Click the Settings tab at the top of the browser window. You'll see a Change Password section with text input boxes for both a user and an administrator password. The difference between the two security levels is that users have read-only access. Change them by entering the current password (the default password is "3ware") and your new password, as well as a confirmation for the new password. You must manually change both the user and administrator passwords, even if you want to use the same password for each. After the passwords are changed, they must be enabled in the Password Enable section, located just below the Password Change boxes. Once the passwords have been enabled, the 3DM web interface will prompt you to enter the new passwords before you can proceed. Please also note that the passwords' ciphertext is stored in the /etc/3dmd.conf

Return Main Page Previous Page Next Page

®Online Book Reader