MSA Storage
1753573 Members
5912 Online
108796 Solutions
New Discussion

add initiator to host

 
Chanklish
Frequent Advisor

add initiator to host

mpio.pnghello

I have an msa 1060 with controller A and B and 16GB fiber

Controller A is working well , i tried to add the B initiatior but i am getting this error :

The mappings of the initiator are inconsistent with the mappings of the host. Therefore, the initiator cannot be added to the host. 

it doesnt show as mapped , what to do ? initiator.pnginitiator2.png

28 REPLIES 28
Cali
Honored Contributor

Re: add initiator to host

Be sure, that the Mapping LUN ID for a Volume is the same for both Ports.
Example:
Vol1 > initiator0001 > LUN 01
Vol1 > initiator0001B > LUN 01

Vol2 > initiator0001 > LUN 02
Vol2 > initiator0001B > LUN02

Not sure, why you see 3x MSA 1060 in MPIO.

Cali

 

ACP IT Solutions AGI'm not an HPE employee, so I can be wrong.
Chanklish
Frequent Advisor

Re: add initiator to host

hello

1- I added those 3 msa .. i am not sure of how to add the device/vendor id 
2- i did not understand the mapping LUN ID - i have 2 physical servers connected to the MSA 
server 1 to controller A1 and B1 and server 2 to controller A2 and B2
i have 1 host and 2 volumes 
initiator 3.pnginitiator 4.pnginitiator 5.png

Cali
Honored Contributor

Re: add initiator to host

I think you do it in reverse.

The Initiator is your Host, not the Storage.

So:

Server 1 is the first Host and has 2 Initiators (initiator0001, initiator 0001B), this is FC Port #1 and #2 connected to MSA A1, B1

Server 2 is the second Host and has 2 Initiators (initiator0002, initiator 0002B), this is FC Port #1 and #2 connected to MSA A2, B2

Now map your Volume Quorum with LUN 1 to Server 1 and Server 2 (add them both in the Mapping Table)

And map Volume Virtual with LUN 2 to Server to Server 1 and Server 2 (add them both in the Mapping Table)

In the End, Server 1 and 2 see Quorum as LUN1 and Virtual as LUN2.

I'm not sure about the initiator naming, best is to first rename "initiator0001" to "Server 1 Port 1" in the MSA GUI as an example.
Use Powershell "Get-InitiatorPort" to check the WWN to the Naming.

Cali

ACP IT Solutions AGI'm not an HPE employee, so I can be wrong.
Chanklish
Frequent Advisor

Re: add initiator to host

server 1 is connected to A1 and B1
server 2 is connected to A2 and B2

how to do the below ? i am not able to add the initiator (b1 and b2 to the host named storage )

Now map your Volume Quorum with LUN 1 to Server 1 and Server 2 (add them both in the Mapping Table)

And map Volume Virtual with LUN 2 to Server to Server 1 and Server 2 (add them both in the Mapping Table)

In the End, Server 1 and 2 see Quorum as LUN1 and Virtual as LUN2.

 

Chanklish
Frequent Advisor

Re: add initiator to host

hello ? any advise ?

Cali
Honored Contributor

Re: add initiator to host

You should delete the Hosts and restart from scratch.

See: Document - HPE MSA 1060/2060/2062 Storage Management Guide | HPE Support

Page 75
Removing initiators from a host

This action is disabled if:
The selected initiator is the only one attached to the host.
You must delete the host to free up in the initiator.

So, delete the Host (Storage), recreate Host "Server 1", add Initiator 1 and Initiator 2 (see above), create Host "Server 2", add Initiator 2 and Initiator 4.

Create a Host Group "Server", add both Hosts.

Map Volume 1 to Group Server with LUN 1.

Map Volume 2 to Group Server with LUN 2.

Finish.

Cali

ACP IT Solutions AGI'm not an HPE employee, so I can be wrong.
Chanklish
Frequent Advisor

Re: add initiator to host

this doesn't sound logical to me 

I have to redo everything if i connected a new controller ?! the initiators of controller B physically connected but cannot be added

maybe we are having a problem with language as english is my third language 

what is a LUN exactly in my case ?
what is the Group Server ?

i am using this msa in a 2 node failover cluster .. is this data safe ?!

thank you

Cali
Honored Contributor

Re: add initiator to host

The LUN ID is like a SCSI ID, every Volume has one unique LUN ID.

A Windows or ESX Cluster is a Group of Server and you present the Volume not only 1 of them, you do it to this whole Group.

You can do Mapping also with Single Servers, but it is easy and prohibit mistakes to use a Group.

ACP IT Solutions AGI'm not an HPE employee, so I can be wrong.
Chanklish
Frequent Advisor

Re: add initiator to host

this sounds too complicated to me or i am not able to understand you 

the msa is already working , i can stop it but what would happen to the data ? and how to add them again in the mpio ?