This post is more than 5 years old

18 Posts

4664

July 22nd, 2010 06:00

Adding a Server to EMC storage using naviseccli

Hi All,

I am trying to setup an EMC A4-5 storage using the Naviseccli

All i did was installed the Naviinittool and Naviseccli and set the ip addresses, gateway and names for the storage

i am on a solaris machine trying to add it to the storage.

#/opt/Navisphere/bin/naviseccli -h 192.168.13.10 stamples register

stamples is my machines name.

but iam fired back with the message saying that

Management Server - Feature software is not installed or the command may have been typed incorrectly

Possible commands are:

badblocks         analyzer          snapview          mirror            metalun          

migrate           connection        isns              Domain            Security         

spcollect        

alpa              arraycommpath     arrayname         backendbus        baseuuid         

bind              cachecard         chglun            chgrg             clearlog         

clearstats        createrg          emconfiguration   failovermode      faults           

firmware          flashleds         getagent          getall            getarrayuid      

getcache          getconfig         getcontrol        getcrus           getdisk          

getlog            getloop           getlun            getresume         getrg            

getsniffer        getsp             getsptime         initializearray   inserttestevent  

luncache          managedby         managefiles       mirrorview        ndu              

networkadmin      port              rebootpeersp      rebootSP          shutdownSP       

shutdownpeerSP    remoteconfig      removerg          reserved          resetandhold     

responsetest      sancopy           SC_OFF            setcache          setfeature       

setloop           setraid5          setsniffer        setspstime        setsptime        

setstats          shutdown          snapview          spcollect         storagegroup     

systemtype        spportspeed       trespass          unbind            unitserialnumber

i also see that the HBA status is active and unregistered.

please let me know what can be done to get the server added

thnaks in advance

Sarath

7 Posts

July 22nd, 2010 07:00

Maybe it's help you..

in EMC knowledge database:

Navicli -register command's prerequisites are:

  • Naviagent is installed on host.
  • You must be a privileged user in the host agent configuration file.

You cannot manually register HBA with "register" option.

Refer to following procedure to manual register.

  1. Find the HBA's UID:

    navicli -h 10.32.167.35 port -list
  2. Create Storage Group.

    navicli -h 10.32.167.35 storagegroup -create -gname SGNAME
    navicli -h 10.32.167.35 storagegroup -list


    Storage Group Name:    SGNAME
    Storage Group UID:     16:6E:B6:39:19:D3:DE:11:99:6C:00:60:16:25:3E:9E
    Shareable:             YES
  3. Manually register path with host, SP, port,  initiatortype, failovermode, and array commpath defined. You can repeat the command with each entry.


    navicli -h 10.32.167.35 storagegroup -setpath -o -gname SGNAME -hbauid 50:06:01:60:B9:A0:4D:58:50:06:01:63:39:A0:4D:58 -sp a -spport 1 -type 3 -ip 10.1.1.1 -host HOSTNAME -failovermode 1 -arraycommpath 1

All the information required for this command can be find in the output of Step 1.



7 Posts

July 22nd, 2010 07:00

Hi Sarath,

I think you have enter more informations after -h.

You need IP or hostname.

Try this :

/opt/Navisphere/bin/naviseccli -h 192.168.13.10 register

Regards

Pascal

18 Posts

July 22nd, 2010 07:00

Hi Pascal,

Thankyou for your quick reply

I tried  /opt/Navisphere/bin/naviseccli -h 192.168.13.10 register

but its the same error message but i guess the ip is my SPA ip address and i am trying to register my machine stemple

but anyway its the the same error shooting up.

thanks & regards,

sarath

2.2K Posts

July 22nd, 2010 08:00

Using 'naviseccli -h w.x.y.z port -list -hba' will filter out some unneeded information and will just display the logged in host HBAs.

261 Posts

July 22nd, 2010 09:00

A bit of a correction to my last post. The Primus doesn't have the latest syntax for the storagegroup command. You'll need to check the syntax in the CLI guide. Within the storagegroup command is a -sethost switch to pay attention to.

On Powerlink follow this path to the CLI guide area: Home > Support > Technical  Documentation and Advisories > Software ~ J-O ~  Documentation > Navisphere  Management Suite > Maintenance/Administration

261 Posts

July 22nd, 2010 09:00

If you look in the output that the error give you when you run the register command, it is saying that command is not valid. I just checked the latest CLI guide and the register command in not in there, so I think this command is not around anymore. There is a server -register command, but this is used for virtual center/ ESX servers.

EMC Knowledgebase solution emc228087 has an example on how to register a host with the array.

As AranH mentioned, you can use the port -list to see what is logged into the CLARiiON once you have the zoning in place. You need the WWN info in here to register the host via the storagegroup command. This is where you can register a WWN with the right host name and failover mode and in what storage group. The Primus solution talks about this.

59 Posts

July 22nd, 2010 16:00

A quick question...

Is there any reason that you are not using the Navisphere Server Utility?

It does provide functionality for registering the server with an array.

This software is available on powerlink for all platforms.

Home > Support > Software Downloads and Licensing > Downloads J-O > Navisphere Server Software

J

18 Posts

July 23rd, 2010 00:00

Hi Jim,

i am actually trying to write a script for automatic configuration of the storage so iam trying to get on to the CLI

thanks

sarath

18 Posts

July 23rd, 2010 00:00

hi all,

thankyou for your valuable information and support, I think iam am going in the correct path with your solutions. I would test it and get back to you.

Thanks & Regards

sarath

18 Posts

July 23rd, 2010 07:00

Hi All,

I am able to register the server and its working fine.

Thankyou all once again for your help

Best Regards

Sarath

No Events found!

Top