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

Creating Hosts, Creating a Host with a Fibre Channel Path, HP 3PAR Command Line, Interface Reference

Page 67 highlights

• sethostset-change the name of a host set. • removehost-remove a system host or paths to a host. • removehostset-remove a host set from the system, or remove hosts from a set. • servicehost-execute removal and replacement actions for a host. Creating Hosts When you create a new host, you are defining the characteristics of a new host path from the system to the host. Defining host characteristics includes the assignment of a name to a host, and the assignment of a path to that host. Two types of host paths can be assigned: FC or iSCSI paths. You should create multiple paths to each host. In addition to assigning FC or iSCSI paths when creating a host, you can also annotate the host with descriptive information such as the host's location, IP address, operating system, model, and owner, using either the createhost or sethost commands. This information is for annotation purposes only and it does not affect the operation of the system. See the HP 3PAR Command Line Interface Reference or the HP 3PAR CLI Help for further information. NOTE: There should be at least two paths to each host to facilitate updates to the system. Failure to create at least two host paths may result in unnecessary system downtime. See the HP 3PAR Implementation Guide for recommended practices and detailed configuration information about using specific host devices with the system. Creating a Host with a Fibre Channel Path To create a host with an FC path: 1. Determine the HBA's WWN by issuing the showhost command. 2. Issue the createhost -persona command, where: • is the host persona number assigned to the host. • is the user-designated name of the host being defined. • is the HBA's WWN. If the Host Explorer agent is running on the host, the createhost command automatically creates a host with the path information received from the Host Explorer agent. Creating a Host with an iSCSI Path To create a host with an iSCSI path: 1. Determine the HBA's iSCSI Name by issuing the showport -iscsiname command. 2. Issue the createhost -iscsi -persona command, where: • is the host persona number assigned to the host. • is the user-designated name of the host being defined. • is the host iSCSI Name, as determined from step 1 above. If the Host Explorer agent is running on the host, the createhost -iscsi command automatically creates a host with the path information received from the Host Explorer agent. Creating a Host without Assigning a Path In instances where the HBA's FC WWN or iSCSI name is unavailable, you can create a host as a placeholder until the path information becomes available. If the Host Explorer agent is not running Creating Hosts 67

  • 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

sethostset
—change the name of a host set.
removehost
—remove a system host or paths to a host.
removehostset
—remove a host set from the system, or remove hosts from a set.
servicehost
—execute removal and replacement actions for a host.
Creating Hosts
When you create a new host, you are defining the characteristics of a new host path from the
system to the host. Defining host characteristics includes the assignment of a name to a host, and
the assignment of a path to that host. Two types of host paths can be assigned: FC or iSCSI paths.
You should create multiple paths to each host.
In addition to assigning FC or iSCSI paths when creating a host, you can also annotate the host
with descriptive information such as the host’s location, IP address, operating system, model, and
owner, using either the
createhost
or
sethost
commands. This information is for annotation
purposes only and it does not affect the operation of the system. See the
HP 3PAR Command Line
Interface Reference
or the HP 3PAR CLI Help for further information.
NOTE:
There should be at least two paths to each host to facilitate updates to the system. Failure
to create at least two host paths may result in unnecessary system downtime.
See the HP 3PAR Implementation Guide for recommended practices and detailed configuration
information about using specific host devices with the system.
Creating a Host with a Fibre Channel Path
To create a host with an FC path:
1.
Determine the HBA’s WWN by issuing the
showhost
command.
2.
Issue the
createhost -persona <persona_number> <host_name> <WWN>
command,
where:
<persona_number>
is the host persona number assigned to the host.
<host_name>
is the user-designated name of the host being defined.
<WWN>
is the HBA’s WWN.
If the Host Explorer agent is running on the host, the
createhost <host_name>
command
automatically creates a host with the path information received from the Host Explorer agent.
Creating a Host with an iSCSI Path
To create a host with an iSCSI path:
1.
Determine the HBA’s iSCSI Name by issuing the
showport -iscsiname
command.
2.
Issue the
createhost -iscsi -persona <persona_number> <host_name>
<iSCSI_name>
command, where:
<persona_number>
is the host persona number assigned to the host.
<host_name>
is the user-designated name of the host being defined.
<iSCSI_Name>
is the host iSCSI Name, as determined from step 1 above.
If the Host Explorer agent is running on the host, the
createhost -iscsi <host_name>
command automatically creates a host with the path information received from the Host Explorer
agent.
Creating a Host without Assigning a Path
In instances where the HBA’s FC WWN or iSCSI name is unavailable, you can create a host as
a placeholder until the path information becomes available. If the Host Explorer agent is not running
Creating Hosts
67