Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

25874

November 17th, 2014 07:00

MEM install fail

Hi

I want to upgrade the MEM on my ESXi hosts, So I followed the tech doc "configuring and installing the equallogic multipathing extension module". On my vMA, I've overwitten the setup.pl and dell-eql-mem... files with the new ones, using WinSCP.

Now when I try to run setup.pl --install --server=10.40.64.27, I'm getting a "command not found" error

See screenshot:

I'm not a Linux guru. but this error is really surprising as the procedure is quite straightforward.

Thanks in advance for the help

Martin

5 Practitioner

 • 

274.2K Posts

November 17th, 2014 10:00

Try this link,  it's a little clearer.

technosophos.com/.../convert-dos-unix-and-unix-dos-vim.html

Make a backup copy of setup.pl.

$cp setup.pl setup.pl.backup

Then do a $vi setup.pl

The hit 'escape"  then do this:

:e ++ff=dos

:setlocal ff=unix

:wq

It will force file to text, then set it to unix.  

Then 'wq' to write the file back out, and quite

5 Practitioner

 • 

274.2K Posts

November 17th, 2014 07:00

Hi Martin,

The file 'setup.pl' is in DOS format not UNIX format.   Notice the ^M at the end of the /usr/bin/perl?

This link will show you how to use VI to correct that.

stackoverflow.com/.../convert-dos-line-endings-to-linux-line-endings-in-vim

Alternatively you can use the VMware Update Manager to install MEM as well.

Regards,

8 Posts

November 17th, 2014 09:00

Thanks Don for the fast response.

I'm not quite sure of what I have to accomplish with the link you provided.

As per the document Configuring and Installing the EqualLogic Multipathing Extension Module for VMware vSphere and PS Series SANs:

1. The ESXi host(s) must be placed in maintenance mode.

2. Download and install either the VMware vMA, or vSphere CLI. Refer to

VMware’s documentation for installation and configuration details of these

tools.

3. Download the Dell EqualLogic Multipathing Extension Module for VMware

vSphere (MEM) from the EqualLogic Support website. There are currently

two version of MEM; MEM 1.2 which supports versions 5.0, 5.1 and 5.5 of

ESXi, and MEM 1.1.2 which supports versions 4.1, 5.0 and 5.1 of ESXi.

Customers are encouraged to use the most current applicable version for

the version of ESXi they are using. The download will be a zip archive

named EqualLogic-ESX-Multipathing-Module.zip

4. Unpack the ZIP archive. It will contain the files:

• dell-eql-mem-esx - .zip

Note: This is a VIB offline bundle and should not be unzipped.

• MEM-Release_Notes.pdf

• MEM-User_Guide.pdf

• README.txt

• setup.pl

5. If using the vMA, upload setup.pl and the VIB offline bundle to the vMA.

6. Retain the MEM-Release_Notes.pdf, MEM-User_Guide.pdf, and README.txt

files for reference.

Then, to configure an ISCSI vSwitch, I have to

1. Connect to the vMA and change directory to where the setup.pl was

uploaded to.

2. The simplest method of creating a multipathing iSCSI vSwitch is to invoke

the setup.pl in Interactive Mode.

setup.pl --configure --server=hostname

pretty simple. There is no place where it states I have to transform a dos file in unix file

5 Practitioner

 • 

274.2K Posts

November 17th, 2014 10:00

Correct, i understand that the instructions don't mention this.  However, from your screenshot you can clearly see the "^M" after /usr/bin/perl.     That is what tells me the setup.pl file is in DOS format.  The ^M gives that away.  That line terminator confuses PERL on a Linux system.  

The link I sent will allow you to correct that.   Since the VMA appliance doesn't include the DOS2UNIX utility that would do the conversion for you.

8 Posts

November 19th, 2014 05:00

Thanks Don

5 Practitioner

 • 

274.2K Posts

November 19th, 2014 09:00

You are very welcome!  

No Events found!

Top