Running the update.sh script
About this task
To run the update.sh script:
Steps
-
Copy the
update.shscript from theutildirectory to your MongoDB primary node.You can find the script in the
/opt/pingidentity/abs/utildirectory. -
Access script help by logging into the MongoDB primary machine and running the following command:
/opt/pingidentity/mongo/update.sh help
Example:
For example, change the training period to 48 hours:
/opt/pingidentity/mongo/update.sh -u absuser -p abs123 --attack_initial_training 48 updating training_period to 48 WriteResult({ "nMatched" : 1, "nUpserted" : 0, "nModified" : 1 }) The current values of the variables are: attack_initial_training=48 attack_update_interval=24 api_discovery=false discovery_update_interval=1 continuous_learning=true discovery_initial_period=24 url_limit=100 response_size=100 window_length=24 discovery_subpath=3 percentage_diskusage_limit=80 Global Config successfully updated -
After running the script, stop and start all ABS nodes for the updated values to take effect.
You can change the training period and threshold simultaneously or individually.