HPE EVA Storage

Config new san switch to see old vdisks

 
Arvin E.
Frequent Advisor

Config new san switch to see old vdisks

Hello,
I have a problem with my new hp san switch 4/32,

When I attach my rp7410 servers to new san switch, they can’t see their disk from san, and the result of ioscan return no_hw for disks,

But they can see their vdisks when attached to old san switch, which vdisks created by old san switch,

Also I created new vdisk for new rp7410 when it is connected to new san switch,
When I disconnected it and connect new rp7410 to old san switch, it still can’t see their disks!

I have two hsv-100 disk controllers with two FC port for each, I attach one FC from one of hsv’s to new san switch,

Is there any config that I must do?
10 REPLIES 10
Rob Leadbeater
Honored Contributor

Re: Config new san switch to see old vdisks

Hi,

> Is there any config that I must do?

Yes. You must configure the zoning on the switch.

The output of the cfgShow command should hopefully help you along...

Cheers,

Rob
Arvin E.
Frequent Advisor

Re: Config new san switch to see old vdisks

Thanks Rob,

I create one zone and following is result of cfgshow:

sanswitch:admin> cfgshow
Defined configuration:
cfg: config1 zone1
zone: zone1 1,0; 1,1; 1,2; 1,3; 1,4; 1,5; 1,6; 1,7; 1,8; 1,9; 1,10; 1,11;
1,12; 1,13; 1,14; 1,15; 1,16; 1,17; 1,18; 1,19; 1,20; 1,21;
1,22; 1,23; 1,24; 1,25; 1,26; 1,27; 1,28; 1,29; 1,30; 1,31;
50:06:0b:00:00:10:ac:61

Effective configuration:
cfg: config1
zone: zone1 1,0
1,1
1,2
1,3
1,4
1,5
1,6
1,7
1,8
1,9
1,10
1,11
1,12
1,13
1,14
1,15
1,16
1,17
1,18
1,19
1,20
1,21
1,22
1,23
1,24
1,25
1,26
1,27
1,28
1,29
1,30
1,31
50:06:0b:00:00:10:ac:61

sanswitch:admin>

But I still have problem,
Rp7410 servers that saw their vdisks from old san sw, when I attach them to new san sw, canâ t see their vdisks! Why?

I want my new sw treat just like older san sw.
Arvin E.
Frequent Advisor

Re: Config new san switch to see old vdisks

2) Is it any relation between hsv ports(left and right) and servers disks?
When I remove left port of one hsv from sw, test server disks' gone
And when remove right port of hsv from sw another server disks' gone!
Rob Leadbeater
Honored Contributor

Re: Config new san switch to see old vdisks

Hi,

Can you post the cfgShow from the old switch as well ?

It would also be useful to see the output of switchShow from both switches - with the various devices connected.

Cheers,

Rob
Arvin E.
Frequent Advisor

Re: Config new san switch to see old vdisks

Thanks Rob,

This is output of cfgshow on older san switch:

switch1:admin> cfgshow
Defined configuration:
cfg: enocerp zone1; zone2; zone3; zone4
zone: zone1 2,0; 2,1; 2,2; 2,3
zone: zone2 2,4; 2,0
zone: zone3 2,0; 2,1; 2,7
zone: zone4 2,2; 2,3; 2,4; 2,6

Effective configuration:
cfg: new_config
zone: new_zone
2,2
2,3
2,4
2,5
2,6
2,0
2,1
zone: zone1 2,0
2,1
2,2
2,3
zone: zone2 2,4
2,0
zone: zone3 2,0
2,1
2,7
zone: zone4 2,2
2,3
2,4
2,6

Also these are result of switchshow on each switch:

Old switch:

switch1:admin> switchshow
switchName: switch1
switchType: 16.2
switchState: Online
switchMode: Native
switchRole: Principal
switchDomain: 2
switchId: fffc02
switchWwn: 10:00:00:60:69:c0:a4:84
switchBeacon: OFF
Zoning: ON (new_config)
port 0: id N2 Online F-Port 50:00:1f:e1:50:02:ba:09
port 1: id N2 No_Light
port 2: id N2 Online F-Port 50:06:0b:00:00:24:17:04
port 3: id N2 Online F-Port 50:06:0b:00:00:24:02:4c
port 4: id N2 Online F-Port 50:06:0b:00:00:24:5c:8c
port 5: id N2 No_Light
port 6: id N2 Online F-Port 10:00:00:e0:02:22:a3:34
port 7: id N2 Online F-Port 10:00:00:00:c9:39:a7:06

and new switch:

switch:admin> switchshow
switchName: switch
switchType: 58.2
switchState: Online
switchMode: Native
switchRole: Principal
switchDomain: 1
switchId: fffc01
switchWwn: 10:00:00:05:1e:90:40:9f
zoning: ON (config1)
switchBeacon: OFF

Area Port Media Speed State Proto
= = = = = = = = = = = = = = = = = = = = = = = = = = =
0 0 id N2 Online F-Port 50:00:1f:e1:50:02:ba:0c
1 1 id N2 Online F-Port 50:06:0b:00:00:10:ac:60
2 2 id N4 No_Light
3 3 id N4 No_Light
4 4 id N4 No_Light
5 5 id N4 No_Light
6 6 id N4 No_Light
7 7 id N4 No_Light
8 8 id N4 No_Light
9 9 id N4 No_Light
10 10 id N4 No_Light
11 11 id N4 No_Light
12 12 id N4 No_Light
13 13 id N4 No_Light
14 14 id N4 No_Light
15 15 id N4 No_Light
16 16 -- N4 No_Module (No POD License) Disabled
17 17 -- N4 No_Module (No POD License) Disabled
18 18 -- N4 No_Module (No POD License) Disabled
19 19 -- N4 No_Module (No POD License) Disabled
20 20 -- N4 No_Module (No POD License) Disabled
21 21 -- N4 No_Module (No POD License) Disabled
22 22 -- N4 No_Module (No POD License) Disabled
23 23 -- N4 No_Module (No POD License) Disabled
24 24 -- N4 No_Module (No POD License) Disabled
25 25 -- N4 No_Module (No POD License) Disabled
26 26 -- N4 No_Module (No POD License) Disabled
27 27 -- N4 No_Module (No POD License) Disabled
28 28 -- N4 No_Module (No POD License) Disabled
29 29 -- N4 No_Module (No POD License) Disabled
30 30 -- N4 No_Module (No POD License) Disabled
31 31 -- N4 No_Module (No POD License) Disabled

I want when I connect server to new switch and one port of one HSV to new switch, server and hsv disk controller can see each other, means server can see their vdisks by new switch.
Rob Leadbeater
Honored Contributor

Re: Config new san switch to see old vdisks

Can you describe exactly what's connected to what, and what you're trying to achieve ?

For example, is the new switch replacing the old one, or are you adding it for resilience purposes ?

The switchShow output is only showing two of the four FC ports on the HSV controllers, which may well be the reason for the servers not seeing the vdisks...

Cheers,

Rob
Uwe Zessin
Honored Contributor

Re: Config new san switch to see old vdisks

> switchDomain: 1

The switches have different domain IDs - that results in different Fibre Channel addresses and new hardware paths.

# switchdisable
# configure
Fabric parameters (yes, y, no, n): [no] y

Domain: (1..239) [1] 2
...
# switchenable
.
Arvin E.
Frequent Advisor

Re: Config new san switch to see old vdisks

Yes Rob,

Current situation:
I have two switch 2/8 and two hsv controller that each hsv have two fc port, that connect to switches cross form for redundancy (left port of hsv A to one sw and right port of hsv A to another sw), same scenario for hsv B.
And have two rp7410 for PROD and three rp2470 fot DEV.

Now we bought two rp7410 and donâ t have enough port from current switches, so bought one san switch hp 4/32 (with license for 16 ports)

Now I disconnect right fc port of hsv A and connect it to new switch till new switch and two new rp7410 can see SAN by hsv.

But when I disconnect one server from one of old switches, and connect it to new switch, I expect that server can see san but cant.

What I must do?
= = = = =

Thanks Uwe,

I changed domain ID new switch to 2 according to what you say,
But both of my old switches have different domain ID, following:

SW2:admin> switchshow
switchName: SW2
switchType: 16.2
switchState: Online
switchMode: Native
switchRole: Principal
switchDomain: 2
switchId: fffc02
switchWwn: 10:00:00:60:69:c0:a4:84
switchBeacon: OFF
Zoning: ON (new_config)
port 0: id N2 Online F-Port 50:00:1f:e1:50:02:ba:09
port 1: id N2 No_Light
port 2: id N2 Online F-Port 50:06:0b:00:00:24:17:04
port 3: id N2 Online F-Port 50:06:0b:00:00:24:02:4c
port 4: id N2 Online F-Port 50:06:0b:00:00:24:5c:8c
port 5: id N2 No_Light
port 6: id N2 Online F-Port 10:00:00:e0:02:22:a3:34
port 7: id N2 Online F-Port 10:00:00:00:c9:39:a7:06


SW1:admin> switchshow
switchName: SW1
switchType: 16.2
switchState: Online
switchMode: Native
switchRole: Principal
switchDomain: 1
switchId: fffc01
switchWwn: 10:00:00:60:69:c0:ae:74
switchBeacon: OFF
Zoning: ON (zone1)
port 0: id N2 Online F-Port 50:00:1f:e1:50:02:ba:0d
port 1: id N2 Online F-Port 50:00:1f:e1:50:02:ba:08
port 2: id N2 Online F-Port 50:06:0b:00:00:24:03:a6
port 3: id N2 Online F-Port 50:06:0b:00:00:24:0c:42
port 4: id N2 Online F-Port 50:06:0b:00:00:24:5c:90
port 5: id N2 Online F-Port 50:06:0b:00:00:24:5c:94
port 6: id N2 No_Light
port 7: id N2 Online F-Port 10:00:00:00:c9:39:a7:05

newsanswitch:admin> switchshow
switchName: newsanswitch
switchType: 58.2
switchState: Online
switchMode: Native
switchRole: Principal
switchDomain: 2
switchId: fffc02
switchWwn: 10:00:00:05:1e:90:40:9f
zoning: ON (config1)
switchBeacon: OFF

Area Port Media Speed State Proto
=====================================
0 0 id N2 Online F-Port 50:00:1f:e1:50:02:ba:0c
1 1 id N2 Online F-Port 50:06:0b:00:00:10:ac:60
2 2 id N4 No_Light
3 3 id N4 No_Light
4 4 id N4 No_Light
5 5 id N4 No_Light
6 6 id N4 No_Light
7 7 id N4 No_Light
8 8 id N4 No_Light
9 9 id N4 No_Light
10 10 id N4 No_Light
11 11 id N4 No_Light
12 12 id N4 No_Light
13 13 id N4 No_Light
14 14 id N4 No_Light
15 15 id N4 No_Light
Uwe Zessin
Honored Contributor

Re: Config new san switch to see old vdisks

I suggest that you put the EVA on the same ports of the new switch and give this switch the same domain ID. (make sure you adjust the port-based zoning -- or move to a pure WWN-based zoning)

The other problem that can cause different hardware paths is the "core PID" parameter:

Fabric parameters (yes, y, no, n): [no] y
...
Core Switch PID Format: (0..1) [1]

The old switches started with value "0" and when larger switches were introduced the value "1" became standard. Migrating from 0 to 1 changes the Fibre Channel addresses and cases new hardware paths for HP-UX.

Some newer switches, however, support a value of "2" which is some kind of backward compatibility if you can't move the old switches from 0 to 1 easily.

If your old switches use 0, I recommend you try to set 2 on the new one (switchdisable, configure, ..., switchenable)
.