NAME
getsession - Displays the execution status of migration/replication and EC (ACM)
SYNOPSIS
[Solaris OS/Linux OS]
/opt/FJSVssmgr/sbin/vscmcmd getsession [-i session-id] [-a]
/opt/FJSVssmgr/sbin/vscmcmd getsession -h
[Windows OS]
$INS_DIR\Manager\opt\FJSVssmgr\sbin\vscmcmd.exe getsession [-i session-id] [-a]
$INS_DIR\Manager\opt\FJSVssmgr\sbin\vscmcmd.exe getsession -h
($INS_DIR means "Program Directory" specified at the Manager installation.)
DESCRIPTION
This command displays the execution status of migration/replication and EC (ACM).
Execute this command as the administrator for the operating system (that is, with “Administrator” or “root” privileges).
OPTIONS
Specifies the session ID to display the execution status of a specific session.
If you do not specify this operand, the status of all migration, replication, and EC (ACM) in progress is displayed.
This option displays detailed information.
Indicates how to use the command.
EXAMPLES
Displaying the status of all migrations, replications and ECs (ACM) that are executing. For ECs (ACM), the first digit of the session ID is “0”.
# /opt/FJSVssmgr/sbin/vscmcmd getsession SID Type FromVirtualDiskName ToVirtualDiskName BackUp Phase TotalCapacity 10010001 migration VDISK_MIG001 - Yes copying(87%) 1024MB 10010002 replication VDISK_REP001 VDISK_REP002 - Equivalent 500MB 00010003 EC(ACM) VDISK_ACM001 VDISK_ACM002 - Equivalent 500MB Command terminated normally.
Displaying the status of the migration executing with the section ID “10010001”.
# /opt/FJSVssmgr/sbin/vscmcmd getsession -i 10010001 SID Type FromVirtualDiskName ToVirtualDiskName BackUp Phase TotalCapacity 10010001 migration VDISK_001 - Yes Equivalent 1024MB Command terminated normally.
Displaying the status of the replication executing with the section ID “10010002”.
# /opt/FJSVssmgr/sbin/vscmcmd getsession -i 10010002 SID Type FromVirtualDiskName ToVirtualDiskName BackUp Phase TotalCapacity 10010002 replication VDISK_REP001 VDISK_REP002 - Equivalent 500MB Command terminated normally.
Displaying the status of the EC (ACM) executing with the section ID “00010003”. For ECs (ACM), the first digit of the session ID is “0”.
# /opt/FJSVssmgr/sbin/vscmcmd getsession -i 00010003 SID Type FromVirtualDiskName ToVirtualDiskName BackUp Phase TotalCapacity 00010003 EC(ACM) VDISK_ACM001 VDISK_ACM002 - Equivalent 500MB Command terminated normally.
Display item | Displayed when the -a option is not specified | Meaning |
---|---|---|
SID | Yes | Session ID of migration/replication |
Type | Yes | Session type
|
FromVirtualBoxName | No |
|
FromVirtualDiskName | Yes |
|
ToVirtualBoxName | No |
|
ToVirtualDiskName | Yes |
|
BackUp | Yes |
|
SwitchName | Yes | Name of the virtualization switch performing migration/replication |
Application | No |
|
Phase | Yes | Migration, replication or EC (ACM) execution status
|
TotalCapacity | Yes |
|
StartDate | No | Start date of migration, replication or EC (ACM) |
Abend | No | Error cause
|
ManagementArea | No | Management area information
|
EXIT STATUS
0: Execution status has been displayed.
1: Execution status could not be displayed.
SEE ALSO
NOTES
This command displays an error message under either of the following conditions:
VSC Engine is stopped.
Communicate with VSC Engine is not possible because the virtualization switch is powered off.
The virtualization switches that can be communicated with have their session displayed.