Chapter 3 Functions of NEC Storage PathManager
The following image shows an example when the -avail option is used.
C:\>spscmd -getlun
*** LogicalUnit #0 ***
@ 0: Priority=2, PathNumber=4:0:0:0
> 1: Priority=1, PathNumber=5:0:1:0
C:\>spscmd -avail 4:0:0:0
C:\>spscmd -getlun
*** LogicalUnit #0 ***
> 0: Priority=2, PathNumber=4:0:0:0
1: Priority=1, PathNumber=5:0:1:0
C:\>
3.
.2.3 C
Changing paths for use
3
3.2
2.
.3
3
Ch
ha
an
ng
gi
in
ng
g
p
pa
at
th
hs
s
f
fo
or
r
u
us
se
e
Use the -path option of the spscmd to change the path to be used. The -path option assigns a specified path
as a path to be used by enabling the priority of the specified path and by switching the priorities of the
specified path and the currently used path. Note that the priorities will not be switched if the specified path
becomes the path to be used only by enabling its priority. The priority of the path specified by the -path
option will become enabled even if the priority of the currently used path is disabled, meaning that there is no
path with enabled priority. The -path option cannot specify failed paths.
As seen below, use a path number (PathNumber) displayed in the -getlun opti on to specify a path.
C:\>spscmd -getlun
*** LogicalUnit #0 ***
> 0: Priority=2, PathNumber=4:0:0:0
1: Priority=1, PathNumber=5:0:1:0
C:\>spscmd -path 5:0:1:0
C:\>spscmd -getlun
*** LogicalUnit #0 ***
0: Priority=1, PathNumber=4:0:0:0
> 1: Priority=2, PathNumber=5:0:1:0
C:\>
III-10