ituda

updated

15 years ago

I

ituda

9 Posts

0

3335

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?

  • GlenH

    141 Posts

    1674

    1

    Posted 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.

  • vijay861

    51 Posts

    1678

    0

    Posted 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

  • ituda

    9 Posts

    1678

    0

    Posted 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.

  • vijay861

    51 Posts

    1674

    0

    Posted 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 "

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    1678

    0

    Posted July 11th, 2011 09:00

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

  • ituda

    9 Posts

    1678

    0

    Posted 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.

  • ituda

    9 Posts

    1678

    0

    Posted 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

  • ituda

    9 Posts

    1678

    0

    Posted July 12th, 2011 04:00

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

  • vijay861

    51 Posts

    1678

    0

    Posted July 12th, 2011 06:00

    Great,

    Good to see your issue got resolved.