Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

3223

July 11th, 2011 06:00

SYMCLI on two different hosts

Hi all,

I am using one windows and one linux host to query vcmdb and make scripts for various everyday tasks.

I'm interested why some commands don't get executed on linux host, e.g. symrdf or symdg, whereas on windows all commands work.

I didn't set any security who can execute commands against Symmetrix box, so I'm interested what is the reason for linux half supported commands?

141 Posts

July 11th, 2011 20:00

Two things to check:

1. Are the same SYMAPI Licenses applied to both systems ?

Compare the \symapi\config\symapi_licenses.dat files on both hosts

You can just edit the file to add them if any are missing.

2. If you mean that on the linux host a "symrdf -g query " command doesnt work, that is because the device group configuration is local to each host unles you enable the "Group Name Service" daemon.

Do a symdg list on each host and compare the output.  If the linux host has no device groups defined, then that is your answer.  You need to make the device groups on every host you plan to run symrdf, symmir or symclone commands from as the device group definition is held in the local SYMAPI_DB.BIN file on each host.

Alternatively if you want all hosts to see the same device groups, you can use the GNS daemon which moves the group definitions to the symm itself.

Glen.

51 Posts

July 11th, 2011 07:00

you can find the SYMCLI version with latest patches...

from Powerlink.

Support > Software Downloads and Licensing > Downloads S > Solutions Enabler

9 Posts

July 11th, 2011 07:00

C:\Documents and Settings\ituda-x>symcli


Symmetrix Command Line Interface (SYMCLI) Version V7.2.1.0 (Edit Level: 1159)
built with SYMAPI Version V7.2.1.0 (Edit Level: 1159)

----------------

[root@mbu-ops-control-01 emc]# symcli

Symmetrix Command Line Interface (SYMCLI) Version V7.1.2.0 (Edit Level: 1059)
built with SYMAPI Version V7.1.2.0 (Edit Level: 1059)

-----------------

I checked there is no newer version for Linux then installed.

I have 6 gatekeepers masked to windows and linux host.

51 Posts

July 11th, 2011 07:00

Make sure that there are Gate Keepers attached to Linux hosts,

and check the SYMCLI version on both Hosts and confirm that both were the same.

type this command to figure out the version you are using.

" symcli "

9 Legend

 • 

20.4K Posts

July 11th, 2011 09:00

do you get an error message when you run these commands ? Like " symdg list"

9 Posts

July 11th, 2011 23:00

Thanks guys for help.

I have same licenses on both hosts, there is no error output after "symdg list" command, it just tells there is no device groups defined.

I smell that problem is in GlenH's answer. Will try that and get back with results.

9 Posts

July 12th, 2011 02:00

I'm back

storgnsd daemon is enabled on all hosts, and parameter SYMAPI_USE_GNS is enabled in SYMAPI options file.

Still doesn't work.

Weird output happens when I execute following command on "working" host:

C:\>symdg activateall

No Symmetrix device groups were found

I also upgraded SYMCLI on linux, now both hosts are at the same level

9 Posts

July 12th, 2011 04:00

Ok, I did it. I forgot to restart storgnsd daemon after changing SYMAPI_USE_GNS parameter.

51 Posts

July 12th, 2011 06:00

Great,

Good to see your issue got resolved.

No Events found!

Top