Start a Conversation

Unsolved

This post is more than 5 years old

3378

November 3rd, 2008 15:00

question about symmask command by using the replace action

Hi team

I have a question about symmask

I replaced and HBA due to i got a HBA failure:

I run the followings commands:

symmask list logins
symmask list hba
symmask ¿sid 3875 ¿wwn 2100001b32151f47 replace 2100001b328364f4
symmask discover hba -rename
./symmask -sid 3875 refresh
symmask -sid 3875 delete -wwn 2100001b32151f47 -dir all

My server is working good, but I got this output by running

symmaskdb -sid 3875 -dir 8a -p 1 list database

Director Identification : FA-8A
Director Port : 1

User-generated
Identifier Type Node Name Port Name Devices
---------------- ----- --------------------------------- ---------
2100001b32151f47 Fibre 2100001b32151f47 2100001b32151f47 071D 0745

is it correct to have the new wwn as identifier and the old wwn as node and port name?

Best regards

9 Legend

 • 

20.4K Posts

November 3rd, 2008 17:00

i would expect 1f47 to be replaced with 64f4 in vcmdb. Can you run

symmaskdb -sid 3855 list devs -wwn 2100001b32151f47

does it come back with anything ?

108 Posts

November 3rd, 2008 17:00

Hi,

Did you edit the zone?
Also, I would do like this

# symmask -sid xxx -wwn 2100001b32151f47 -dir 8a -p 1 remove devs 81c,21A,
#symmask -sid xxx-wwn 2100001b328364f4 -dir 8a -p 1 add devs 81C,21A
#symmask -sid xxx refresh
#symmaskdb -sid xxx -wwn 2100001b328364f4 list database

165 Posts

November 3rd, 2008 17:00

If run this command I got this output


# ./symmask -sid 3875 rename 2100001b32151f47 2100001b328364f4/2100001b328364f4

Invalid number of keywords.


For this command let me tell you that is a Windows server.

symmask -sid 3875 -wwn 2100001b328364f4 rename SolarisBox/hba1

I'll appreciate your help on this

Best regards

9 Legend

 • 

20.4K Posts

November 3rd, 2008 17:00

can you try this:

symmask -sid 3875 -wwn 2100001b32151f47 rename 2100001b328364f4/2100001b328364f4

Message was edited by:
dynamox

9 Legend

 • 

20.4K Posts

November 3rd, 2008 17:00

if it does not take that long WWN you can give it a meaningful name instead of a WWN:

symmask -sid 3875 -wwn 2100001b328364f4 rename SolarisBox/hba1

pretty much the same thing you get when you run symmask discover hba -rename on the host itself ..but doing it this way you can rename it from your management host.

165 Posts

November 3rd, 2008 17:00

I got this output for the old one

# ./symmaskdb -sid 3875 list devs -wwn 2100001b32151f47

No device masking database records could be found for the specified input parameters

and de the new one

# ./symmaskdb -sid 3875 list devs -wwn 2100001b328364f4

Symmetrix ID : 000190103875

Originator Port wwn : 2100001b328364f4
User-generated Name : 2100001b32151f47/2100001b32151f47

Sym Dev LUN
Name Dir:P Physical Device Name VBUS TID SYMM HOST Attr Cap(MB)
------ ----- ----------------------- ---- --- ---- ---- ---- -------
071D 8A:1 Not Visible 0 0 1 N/A (M) 345262
0745 8A:1 Not Visible 0 0 2 N/A (M) 345262


Best Regards

9 Legend

 • 

20.4K Posts

November 3rd, 2008 18:00

it's inconsistent with current config. You remember it now ..but if you look at it 6 months from now ..you are going to scratch you head and go "what ?!?!?" :D

108 Posts

November 3rd, 2008 18:00

you can rename it whatever you want.

symmask -sid 3875 -wwn 2100001b328364f4 rename Windows/hba1

9 Legend

 • 

20.4K Posts

November 3rd, 2008 18:00

looks like Amol got it ..i am out ;)

165 Posts

November 3rd, 2008 18:00

Hi

then
What do you recommend due to this command did not work?


symmask -sid 3875 -wwn 2100001b32151f47 rename 2100001b328364f4/2100001b328364f4

is there any mistakes on this?

Best regards

165 Posts

November 3rd, 2008 18:00

TEAM

is this the correct command

#symmask -sid 3875 -wwn 2100001b328364f4 rename 2100001b328364f4/2100001b328364f4
the new wwn are in three times?

Best regards

108 Posts

November 3rd, 2008 18:00

Sorry for confusion in the middle. ;-)

9 Legend

 • 

20.4K Posts

November 3rd, 2008 18:00

did you get an error message ? what was it ?

108 Posts

November 3rd, 2008 18:00

correct
#symmask -sid 3875 -wwn 2100001b328364f4 rename 2100001b328364f4/2100001b328364f4

165 Posts

November 3rd, 2008 18:00

Hi team

Thanks very much.

It is working correctly

This command works fine


symmask -sid 3875 -wwn 2100001b328364f4 rename 2100001b328364f4/2100001b328364f4
No Events found!

Top