Unlock the environment by using the command line

You can unlock an environment by using the IBM® Rational® Integration Tester command line. This option is useful in situations where Ant is not available.
The syntax to use is as follows::
GHTesterCmd Options unlock-environment
Here is an example syntax:
GHTesterCmd --serverUrl "http://Host name or IP address:7819/RTCP/" 
--domain <Domain name> --environment <Environment name> 
--username <User name> unlock-environment

The following table lists the options that you can use with the GHTesterCmd command for unlocking an environment.

Table 1. List of available options
Option Description
--serverUrl/-u URL of Rational Test Control Panel.
--domain/-d Domain name
--environment/-e Environment name
--username/-l Specify the user name to authenticate with Rational Test Control Panel to unlock the environment when the domain security is disabled.
--securityToken

Specify the security token generated for the user to authenticate with Rational Test Control Panel when the domain security is enabled. In the locked environment mode, the operation can be performed by the user who locked the environment. For more information, see Domain level security and Managing environments.

Error codes

For details of any error codes, see Exit codes for IBM Rational Integration Tester Command-line client and Ant client.


Feedback