3ware 3DM2

From SlackWiki
Revision as of 02:57, 2 June 2009 by Erik (talk | contribs) (Copy from old)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

3DM2

3DM2 is 3ware's web-based interface for controlling and status checks for their RAID cards. It contains a small web server that allows configuration and maintenance to the RAID array and provides status reports. It has an email notification feature that reports RAID problems and glitches.


Installing 3DM2 On A Slackware Box

(written from a 3DM2 V9.3.0.7 and Slackware 11 perspective)

1) Gunzip and un-tar the 3DM2 archive.

2) As root, run install.3dm install to install.

This script does four things-
a) It complains that you aren't running RedHat or Suse and therefore will not automatically install the 3DM2 init scripts in the /etc/rc.d directory. You have to manually do this, this is explained later in this instruction.
b) It makes a /tmp/3ware directory and un-compresses the 3DM2 files there.
c) It copies the 3dm2 binary to /usr/sbin.
d) It makes a /etc/3dm2 directory.
NOTE: the /tmp/3ware directory is NOT removed after install. It is not necessary to keep but, you may want to keep the install.3dm2 binary in case you ever want to uninstall 3DM2.

3) Edit /etc/rc.d/rc.local and add the following line:

/usr/sbin/3dm2

4) If you are running a restrictive firewall, open port 888.

5) Start 3DM2 by: 3dm2

6) Using a web browser, browse to your RAID machine, port 888.

If your web-browser is on the same box as your RAID array- click here:https://localhost:888
If your web-broswer is NOT on the same box as your RAID array-
a) Edit your /etc/3dm2/3dm2.conf file and change the RemoteAccess 0 to RemoteAccess 1
b) Browse to your machine using HTTPS and port 888-
EXAMPLE: https://192.186.1.2:888
or https://server.mydomain.net:888

7) Once the web interface loads up, log in as ADMINISTRATOR (default password is "3ware") and complete the configuration.

8) To activate the help files, you'll need to copy them to the correct location.

a) View your /etc/3dm2/3dm2.conf file.
b) Make a note of the Help entry.

9) Go to /tmp/3ware/.

10) Untar the file 3dm-help.tgz. A directory corresponding to your language with all the help files in it will be created. For this example (English), the directory was called en.

11) Copy the en directory into the location you made a note of in 8b above. Copy the whole directory, not just the files inside the directory.

12) Now when you are logged in to the 3dm2 application inside a browser and you click on help, you will get the help screens.



(written from a 3DM2-Linux-9.3.0.4 and Slackware 12.0 perspective)

Using the 3DM2-Linux-9.3.0.4 seems to be ideal for slackware. I have it running on

Slackware 10.2
Slackware 11.0 (2.4 and 2.6 kernels)
Slackware 12.0 (Defult 2.6 kernel)

with the following cards:

7006-2 Series
8006-2LP Serise
9500S Series

The directions I found to work best are as follows.

 1a) Download 3DM2-Linux-9.3.0.4.tgz from:
 http://www.3ware.com/support/download.asp
 2a) Please select your 3ware product. = $YOUR_CARD_MODEL
 3a) Please Select Item = *LEAVE BLANK*
 4a) Latest = 9.3.0.4
 5a) Please select the item to download = 3DMD2 Management Utility

6a) Then select Linux as your OS, select 3DM2-Linux-9.3.0.4.tgz to download, read the EULA, and download somewhere reachable by your Linux OS. For the sake of instructions, we'll say /usr/src/3ware.

01) cd /usr/src/3ware

02) tar xfvz 3DM2-Linux-9.3.0.4.tgz

03) run: ./install -i

This extracts files to: /tmp/3ware

...moves the appropriate binary to: /usr/sbin/3dm2

...and creates the directory: /etc/3dm2

Now we need to create another directory. For the sake of instructions, we'll say /3ware/.

04) mkdir /3ware

05) run: cp -rf /tmp/3ware/* /3ware/

06) run: cp /usr/src/3ware/3dm-lnx.tgz /3ware/

07) run: cd /3ware

08) run: ./install

To the following questions, answer the defaults:

Was RPM used to install the Escalade driver and/or 3dm?? (Y/N) [N]
Please enter the location of the help documentation. [/usr/local/doc/3dm]

Now you will get what appears to be an error. "3dm binary missing. Installation stopping." Don't worry, the binary file is already in place. If you notice though, the /etc/3dm2 directory is empty.

09) run: /usr/sbin/3dm2

This will populate that directory with the default config file, that you may edit to your satisfaction. If you leave the config file as is, you should be able to connect to your server from the local host at https://localhost:888 (*https* is very important).

In order to connect from another PC, edit /etc/3dmd2/3dmd2.conf line

RemoteAccess 0
    to
RemoteAccess 1

1b) run: killall 3dm2

2b) run: /usr/sbin/3dm2

The default password for both "USER" and "ADMINISTRATOR" = "3ware"