This post is more than 5 years old

44 Posts

890

March 17th, 2014 06:00

how to rename child IG with symcli ?

Hi,

I need to rename the IG which is child of other IG.

Issuing the

symaccess -sid SID -type initiator rename –name ig_OLD –new_name ig_NEW

results with

Invalid number of keywords.

Should I indicate the parent IG name ? I would appreciate some hint of the right syntax.

1 Rookie

 • 

52 Posts

March 17th, 2014 08:00

The syntax seems correct, and the order doesn't matter..  I actually did a test where I created a parent and child IG in a test array, and then renamed the child IG with:

symmacess -sid -type init rename -name test_child -new_name test_child1

It worked just fine.  The SW automatically updated the name in the parent IG, so the parent IG doesn't have to be specified in the rename, nor do you have to run a separate command to update the parent IG with the name.

Two questions that I have for you:

Can you please double-check the command that you typed in? You might have missed one of the parameters.

What version of symAPI are you running?  I was running 7.6 on the test array.


Regards,

Chris

859 Posts

March 17th, 2014 21:00

Syntax seems fine as Chris said. One more thing you should avoid, copy and paste the command to the command prompt. Sometimes it copies additional white spaces. SE version should also be right one

regards,

saurabh

44 Posts

March 18th, 2014 02:00

Hi,

It turned out that I pasted the command containing some invisible white spaces.

So it is not related to SYMAPI ver at all.

Thanks, and sorry for the baseless post.

1 Rookie

 • 

52 Posts

March 18th, 2014 07:00

No troubles at all.  Glad I could look into it for you.


Regards,

Chris

No Events found!

Top