A.19.4 set nics – HP StorageWorks Scalable File Share User Manual
Page 317

set commands
A–23
The following information applies to EVA4000 arrays only:
The recommended way to specify path information for a LUN is to set the preferred controller for each LUN
(see Section 5.1.3). However, it is also possible to change the path information for a LUN by using the
set
lun
command to set the preferred controller to
none
or to set an explicit path.
When the preferred controller is set to
none
, the Fibre Channel driver chooses the path. However, the path
may change each time a server is booted.
Setting an explicit path for a LUN overrides both the preferred controller and the default path that the Fibre
Channel driver would have chosen. Typically, there is no need to set an explicit path.
When you change the preferred controller or set an explicit path for a LUN, you must then shut down both
of the affected servers and reboot them.
When you set an explicit path for a LUN, the Fibre Channel driver may find that it is unable to use that path.
If this happens, the current path will differ from the set path.
The preferred controller setting for a LUN overrides the
preferred server
setting for the array where
the LUN is located.
Example
The following example sets the
role
property on a LUN whose WWID is
12345678-12345678-
12345678-12345678
:
sfs> set lun 12345678-12345678-12345678-12345678 role=ost
The following example sets the
user
property on LUN number
4
:
sfs> set lun 4 user=south1
The following example sets an explicit path for LUN number 27:
# set lun 27 path=fc-0/B1
A.19.4 set nics
The
set nics
command sets the properties of NICs.
Syntax
set nics server=server network=network [mac=mac_address]
[if_ext=if_extension] [ip=ip_address] [netmask=net_mask] [device=device]
Arguments
server
Required. Specify the server the NIC is on.
network
Required. Specify the NIC that is to be set on the server.
mac
Optional. Specify the MAC address of the NIC.
if_ext
Optional. Specify the name extension associated with the interface, for
example,
-mp
-adm
.
ip
Optional. Specify the IP address of the NIC.
netmask
Optional. Specify the netmask of the NIC.
device
Optional. Specify the device the NIC is on.
Example
The following example sets the IP address of NIC 1 in the
south13
server to
10.128.0.1
:
sfs> set nics server=south13 network=nic1 ip=10.128.0.1