来了一批新硬件,其中有两台服务器连接了dell md3200控制器还有dell md1200磁盘柜,连接存储的服务器我想安装成ubuntu server,但来安装的dell工程师告知只支持redhat和suse,因此就先安装了redhat enterpriserver 6.2版本,但安装好实在不会用,因此就想其操作系统换成ubuntu server。
首先在网上搜索了一下,发现有人也遇到了同样的问题:[Linux-PowerEdge] MD3200 + MD 1200 on Ubuntu
Does anyone have any success configuring and running an MD3200 Storage
Array with at least one MD1200 expansion enclosure on a recent flavour
of Ubuntu (I have 12.10 but am flexible)?. My attempt to install the
PowerVault Modular Disk Storage Manager failed at the first hurdle
(successfully unpacked the JVM to /tmp but then couldn’t find/execute
the resultant files). A look around the web shows convoluted repackaging
of the supplied RPMs into .deb files, which strikes me as a PITA to
support going forward, or installing the client software on a supported
distro, configuring the array and then switching to Ubuntu, also deeply
unsatisfactory.
也有人回答了解决方案:
http://lists.us.dell.com/pipermail/linux-poweredge/2012-November/047463.html
I used the second mode in sightly modified way.
I installed soft on supported platform (RedHat/Centos)
and then copied files to my debian servers.One must remember to copy also /var/opt/SM/ (in addition to /opt/dell).
I had also problems with path to correct java binaries and had to edit
scripts file and manually setup JAVA_EXEC variable …
看了这封信,信心大增,于是就决定安装ubuntu 12.10 server。在安装之前,首先要将dell的磁盘阵列软件进行一下备份,如上所述,将/opt/dell/mdstoragemanager目录和/var/opt/SM目录备份到另一台服务器上。
然后再按常规方法进行安装,虽然在安装过程也遇到了一个问题,缺失固件q12500_fw.bin,但忽略后仍可成功安装。
安装完成后首先查看磁盘信息:
sudo parted -l
发现对应的磁盘仍然在,编辑/etc/fstab将对应的磁盘都mount上来,然后就可以正常使用磁盘了。
但若要使用阵列管理软件,则需要将之前备份的软件再拷贝回来(需要放置到原来的目录下),然后还需要做一些小修改:
首先需要安装远程运行X所需的工具:
sudo apt-get install x11-utils
然后还需要修改dell管理软件的脚本:
sudo nano /opt/dell/mdstoragemanager/client/SMclient
修改这些地方:
- 将sh改成bash
- 在source /var/opt/SM/LAUNCHER_ENV之后添加一行:export LC_ALL=C
第一个改动是为了运行source命令,第二个改动是为了防止中文乱码并使用英文。
然后就可以远程登陆进来并运行了。
发表回复