NEC PathManager Network Router User Manual


 
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
S
w
i
t
c
h
i
n
g
p
r
i
o
r
i
t
i
e
s
3
3
.
2
2
.
.
4
4
S
w
w
i
i
t
t
c
c
h
h
i
i
n
n
g
g
p
p
r
r
i
i
o
o
r
r
i
i
t
t
i
i
e
e
s
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. However, 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
C
h
a
n
g
i
n
g
p
r
i
o
r
i
t
y
3
3
.
2
2
.
.
5
5
C
h
h
a
a
n
n
g
g
i
i
n
n
g
g
p
p
r
r
i
i
o
o
r
r
i
i
t
t
y
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