Administration scripts
StoredIQ® for Legal comes with a set administration scripts,for example, for reconfiguring the virtual machine (StoredIQ for Legal (VM)) or for changing passwords.
StoredIQ for Legal (VM) scripts
To run these tools, log in to the StoredIQ for Legal
virtual machine as root.
| Command | Purpose |
|---|---|
/siq/bin/netcfg |
Change the network configuration for StoredIQ for Legal. For more information, see Configuring StoredIQ for Legal (VM). |
/siq/bin/cert_install -t -p ilgadmin_pwd |
Install and remove SSL certificates. For more information, see Installing and removing custom SSL certificates for StoredIQ for Legal (VM). |
/siq/bin/enable_sso/siq/bin/disable_sso |
Enable or disable single sign-on. For more information, see Configuring single sign-on for StoredIQ for Legal (VM). |
/siq/bin/change_ilgadmin_password -o old_pwd -n new_pwd |
Change the password for the default system administrator
ilgadmin. |
/siq/bin/change_reportadmin_password -n new_pwd -p ilgadmin_pwd |
Change the password for the default report administrator reportadmin.In addition, the script updates the web application server connection settings with the new password and restarts the application server after the password change is complete. |
/siq/bin/logs |
Collect the log files and change the logging level. For more information, see Collecting log and trace data from the command line. |
/siq/bin/remove_secdom |
Reset the configured security domain. For more information, see Signin fails due to LDAP referral errors. |
Additional scripts are stored as listed:
| Package or tool | Purpose |
|---|---|
| CLI package | siq4l command line interface. The package must be downloaded and installed
as described in Installing the import command line interface (CLI). |
| Migration tool | Migrate Atlas Policy Suite data to StoredIQ for Legal. The migrate.py tool is located
in the /siq/migration directory on your StoredIQ for Legal system. For more information, see The migration tool. |
StoredIQ for Legal (Container) scripts
You can run these scripts from any OpenShift® client that has the oc client tool installed (for more information, see Get Started with the CLI in the OpenShift documentation) and that has access to the cluster where IBM StoredIQ for Legal is deployed, or from the primary node of the cluster.
These scripts are stored in the IBM_STOREDIQ_FOR_LEGAL_Vv.r.m.fp_CLOUD/scripts directory:
| Command | Purpose |
|---|---|
change_ilgadmin_password -o old_pwd -n
new_pwd |
Change the password for the default system administrator
ilgadmin. |
change_reportadmin_password -n new_pwd -p
ilgadmin_pwd |
Change the password for the default report administrator reportadmin.In addition, the script updates the web application server connection settings with the new password and restarts the application server after the password change is complete. |
post_restore_script |
Finalize migration from StoredIQ for Legal (VM) to an
OpenShift environment, for example, by
updating the encoded ilgadmin password in the configuration file, by initializing
the schema, and by re-initializing the external LDAP. |
These scripts are stored in the IBM_STOREDIQ_FOR_LEGAL_Vv.r.m.fp_CLOUD/tools directory:
| Package or tool | Purpose |
|---|---|
| CLI package in the siq4l subdirectory | siq4l command line interface. The package must be downloaded and installed
as described in Installing the import command line interface (CLI). |
| Migration tool package in the migration subdirectory | Migrate Atlas Policy Suite data to StoredIQ for Legal. The directory holds the tool and all related setup
and configuration files. For more information, see The migration tool. |