HP 3PAR StoreServ 7400 2-node HP 3PAR Command Line Interface Administrator& - Page 66

Active and Inactive Hosts, Managing Hosts, Host Management CLI Commands

Page 66 highlights

iSCSI ports use the following firmware mode setting: • Target mode for ports that connect to hosts and receive commands from those hosts. Gigabit Ethernet ports use the following firmware mode setting: • Peer mode for Ethernet ports, used for Remote Copy over IP (RCIP). FCoE ports use the following firmware mode setting: • Target mode for ports that connect to hosts and receive commands from those hosts. Use the HP 3PAR CLI showport command to display the current mode for all ports. Use the controlport command to change the mode of an FC port. These commands are described in detail in the HP 3PAR Command Line Interface Reference and the HP 3PAR CLI Help. CAUTION: Ports in the same FC adapter should be set to the same mode: • For dual-port LSI cards, both ports must use the same mode. • For quad-port LSI cards, each port pair (ports 1&2 and 3&4) must use the same mode. • For QLogic cards, it is strongly recommended that all ports in a card be set to the same mode. Active and Inactive Hosts An active host is a host that is connected to a system port and recognized by the HP 3PAR OS. Under normal operation, an active host may have a number of volumes exported to it and therefore the host has access to those volumes. An inactive host is a host that is known to the HP 3PAR OS but is not recognized as being connected to any system port at the moment. This may be because the host is currently disconnected from the system port, or due to an error condition such as link failure, or because the host is offline. When a host on a system port becomes inactive for any reason, the following happens: 1. The HP 3PAR OS recognizes that the host is missing on the port and changes the state of the host from active to inactive. 2. The HP 3PAR OS remembers all volumes exported to the host before it became inactive. It will not unexport the volumes on the port with the missing host. 3. If and when the host reappears on the same port, the HP 3PAR OS will change the state of the host to active again. At that time, the host will again have access to all previously exported volumes. Managing Hosts The system sees a host as a set of initiator port WWNs or iSCSI Names. The HP 3PAR OS administration tools allow you to create, modify, and remove FC and iSCSI host paths and their properties. When creating a new host, you can either create a host with or without assigning WWNs or iSCSI Names. A virtual volume that is exported to a host is exported to all the WWNs that make up the host. If you need to export virtual volumes to particular host computer WWNs or iSCSI Names, you can create separate hosts on the system and assign each WWN or iSCSI Name to its own host. The host management commands are described in detail in the HP 3PAR StoreServ Storage Command Line Interface Reference and the HP 3PAR CLI Help. Host Management CLI Commands Use the following CLI commands to manage hosts and host paths: • showhost-display information about defined hosts and host paths in the system. • createhost-create a host or add paths to host. • createhostset-create a host set or add a host to an existing host set. • sethost-modify properties of existing hosts. 66 Managing Ports and Hosts

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204

iSCSI ports use the following firmware mode setting:
Target mode for ports that connect to hosts and receive commands from those hosts.
Gigabit Ethernet ports use the following firmware mode setting:
Peer mode for Ethernet ports, used for Remote Copy over IP (RCIP).
FCoE ports use the following firmware mode setting:
Target mode for ports that connect to hosts and receive commands from those hosts.
Use the HP 3PAR CLI
showport
command to display the current mode for all ports. Use the
controlport
command to change the mode of an FC port. These commands are described in
detail in the
HP 3PAR Command Line Interface Reference
and the HP 3PAR CLI Help.
CAUTION:
Ports in the same FC adapter should be set to the same mode:
For dual-port LSI cards, both ports must use the same mode.
For quad-port LSI cards, each port pair (ports 1&2 and 3&4) must use the same mode.
For QLogic cards, it is strongly recommended that all ports in a card be set to the same mode.
Active and Inactive Hosts
An active host is a host that is connected to a system port and recognized by the HP 3PAR OS.
Under normal operation, an active host may have a number of volumes exported to it and therefore
the host has access to those volumes.
An inactive host is a host that is known to the HP 3PAR OS but is not recognized as being connected
to any system port at the moment. This may be because the host is currently disconnected from the
system port, or due to an error condition such as link failure, or because the host is offline.
When a host on a system port becomes inactive for any reason, the following happens:
1.
The HP 3PAR OS recognizes that the host is missing on the port and changes the state of the
host from
active
to
inactive
.
2.
The HP 3PAR OS remembers all volumes exported to the host before it became
inactive
.
It will not unexport the volumes on the port with the missing host.
3.
If and when the host reappears on the same port, the HP 3PAR OS will change the state of
the host to
active
again. At that time, the host will again have access to all previously
exported volumes.
Managing Hosts
The system sees a host as a set of initiator port WWNs or iSCSI Names. The HP 3PAR OS
administration tools allow you to create, modify, and remove FC and iSCSI host paths and their
properties. When creating a new host, you can either create a host with or without assigning
WWNs or iSCSI Names. A virtual volume that is exported to a host is exported to all the WWNs
that make up the host. If you need to export virtual volumes to particular host computer WWNs or
iSCSI Names, you can create separate hosts on the system and assign each WWN or iSCSI Name
to its own host. The host management commands are described in detail in the
HP 3PAR StoreServ
Storage Command Line Interface Reference
and the HP 3PAR CLI Help.
Host Management CLI Commands
Use the following CLI commands to manage hosts and host paths:
showhost
—display information about defined hosts and host paths in the system.
createhost
—create a host or add paths to host.
createhostset
—create a host set or add a host to an existing host set.
sethost
—modify properties of existing hosts.
66
Managing Ports and Hosts