chsess
Use the
chsess to change the
description or pool information of an existing Replication Manager session.
- The session name must be unique; it cannot have the same name as another
Replication Manager session.
- To change the copy type or group information, you must delete the session
and create a new one.
Syntax

>>-repcli-- --chsess-- --+--------------------------+-- -------->
'--desc--"new_description"-'
>--+---------------------------------------------------+-- ----->
'--poolcrit--sequence_name:filter_type=filter_value-'
>--+--------------------+-- --+--------+--session_name---------><
'--approve--+-man--+-' '--quiet-'
'-auto-'
Parameters
- -desc "new_description"
- An optional parameter that specifies the new user-defined description
of the session. The maximum alphanumeric character length for this value is
250.
- -poolcrit sequence_name:filter_type=filter_value
- Optionally specifies the target Replication Manager pool(s) based on
sequence name and filter value. Sequence name and filter type are separated
from each other using a colon.
- -approve man | auto
- An optional parameter that specifies whether approval is manual or automatic.
Specify auto to set the session so that all copy sets
that are created from that point, using the automated target volume selection,
are marked as approved. Specify man to go through an
additional approval step.
- -quiet
- An optional parameter that turns off the confirmation prompt for this
command.
- session_name
- Specifies the existing session name to be changed.
Description
You can use the chsess to change the description
or pool information of an existing Replication Manager session.
Return values
- Session session_name
- Successfully modified. Pool changes will only apply to future target
selections. (Returned only if -tgtpool is used.)
Possible failures
- Nothing to modify.
- Session session_name does not exist.
- Session session_name already exists.
- Pool pool_name already belongs to session session_name.
- Pool pool_name does not currently belong to session
session_name.
- Pools are not all of the same device type.
Examples
An invocation example:
repcli chsess -approve man mysession
The resulting output:
Session mysession successfully modified.