Chapter 3 Functions of NEC Storage PathManager
When using the -path option to specify a path, a path number (PathNumber) displayed in the
-getlun option is inputted as an argument. Here, part of the path number input can be omitted. If
multiple paths in the same logical unit match the result of partially omitted path number input, the first
matched path will be specified. The following image shows an example.
C:\>spscmd -path 5:::0 <- Changes to any path of PortNumber=5 for LUN0
C:\>spscmd -path 5::: <- Changes to any path of PortNumber=5 for all LUNs
C:\>spscmd -path ::1: <- Changes to any path of TargetId=1 for all LUNs
C:\>
Path numbers can be omitted in all spscmd options that require specification of path numbers.
3.
.2.4 S
Switching priorities
3
3.2
2.
.4
4
Sw
wi
it
tc
ch
hi
in
ng
g
p
pr
ri
io
or
ri
it
ti
ie
es
s
Use the -swap option of the spscmd to switch the orders of paths to be used. The -swap option switches
priorities of two specified paths. Note that the enabled/disabled status of the priorities will not be switched.
This option is mainly used to change priorities between paths that are not being used. Ho wever, currently
used paths can also be specified.
C:\>spscmd -getlun
*** LogicalUnit #0 ***
> 0: Priority=3, PathNumber=4:0:0:0
1: Priority=2, PathNumber=5:0:1:0
2: Priority=1, PathNumber=6:0:2:0
C:\>spscmd -swap 5:0:1:0 6:0:2:0
C:\>spscmd -getlun
*** LogicalUnit #0 ***
> 0: Priority=3, PathNumber=4:0:0:0
1: Priority=2, PathNumber=6:0:2:0
2: Priority=1, PathNumber=5:0:1:0
C:\>
3.
.2.5 C
Changing priority
3
3.2
2.
.5
5
Ch
ha
an
ng
gi
in
ng
g
p
pr
ri
io
or
ri
it
ty
y
Use the -priority option of the spscmd to directly change the priority of a path. Specify a path number
and an integral value so that the -priority option changes the priority value of the specified path to the
III-11