Data Governance Administrator Guide > Monitoring Axon > Modify Admin Panel Settings from the Linux Environment
  

Modify Admin Panel Settings from the Linux Environment

One of the ways to change the Axon settings and parameters is to go to the Customize & Configure category in the Admin Panel. You can also modify some of the Admin Panel settings from the Linux environment.
You might want to modify the parameter values from the Linux environment under the following situations:

Identify Display Name, Internal Key, or Group for the Parameter

To modify an Admin Panel parameter from the Linux environment, you need to know the display name of the parameter, its internal key, or its group.
Identify display name
The display name is the name of the parameter as it appears in the Admin Panel. For example,Mailer User Name is the display name of a parameter in the Email Options group.
Identify internal key
The internal key is the name of the parameter as it is stored in the database. For example, the internal key for the Mailer User Name parameter in the Email Options group is mailer_user.
Identify groups from the Admin Panel
The settings in the Admin Panel are categorized into groups. To see the list of groups, perform the following tasks:
  1. 1. Log in to Axon with the SuperAdmin profile.
  2. 2. From the Axon toolbar, click the Admin Panel menu item under your user name.
  3. 3. In the menu on the left, under the Customize & Configure category, click System Settings.
  4. 4. Click the Group list to see the groups for settings.
Identify groups from the Linux environment
Run the following command to define the Axon environment variable so that the Linux system can access the Axon resources at the correct location:
source <INSTALLATION_DIR>/scripts/exportEnv.sh
Go to the <INSTALLATION_DIR>/axonhome/axon directory and perform the following tasks to identify the groups.

Display the Parameter Value

You can display the value of an Admin Panel parameter in the Linux environment.. This value might be the default value assigned by the Axon installer, or it might be the value that you manually entered in Axon.
Run the following command to define the Axon environment variable so that the Linux system can access the Axon resources at the correct location:
source <INSTALLATION_DIR>/scripts/exportEnv.sh
Go to the <INSTALLATION_DIR>/axonhome/axon directory and perform the following tasks to display the parameter values.
Display value by internal key
To display the value of a parameter by entering the internal key, run the following command:
<INSTALLATION_DIR>/axonhome/third-party-app/php/bin/php bin/console informatica:parameter:get -p "<parameter_internal_key>"
For example, the internal key for the Mailer User Name parameter in the Email Options group is mailer_user. To display the value of the Mailer User Name parameter, run the following command:
<INSTALLATION_DIR>/axonhome/third-party-app/php/bin/php bin/console informatica:parameter:get -p "mailer_user"
Display value by display name
To display the value of a parameter by entering the display name, run the following command:
<INSTALLATION_DIR>/axonhome/third-party-app/php/bin/php bin/console informatica:parameter:get -d "<parameter_display_name>"
For example, to display the value of the Mailer User Name parameter in the Email Options group, run the following command:
<INSTALLATION_DIR>/axonhome/third-party-app/php/bin/php bin/console informatica:parameter:get -d "Mailer User Name"
Display all values in a group
To display the values of all parameters within a configuration group, run the following command:
<INSTALLATION_DIR>/axonhome/third-party-app/php/bin/php bin/console informatica:parameter:list -g "<parameter_group_name>"
For example, to display the value of all parameters in the Email Options group, run the following command:
<INSTALLATION_DIR>/axonhome/third-party-app/php/bin/php bin/console informatica:parameter:list -g "Email Options"

Reset Parameter Value

You can reset the value of a parameter to its default value. The default value of a parameter is the value assigned to it when you installed Axon.
Run the following command to define the Axon environment variable so that the Linux system can access the Axon resources at the correct location:
source <INSTALLATION_DIR>/scripts/exportEnv.sh
Go to the <INSTALLATION_DIR>/axonhome/axon directory and perform the following tasks to reset the parameter values.
Reset value by internal key
To reset the value of a parameter by entering the internal key, run the following command:
<INSTALLATION_DIR>/axonhome/third-party-app/php/bin/php bin/console informatica:parameter:reset -p "<parameter_internal_key>"
For example, the internal key for the Axon Agent Server Host parameter in the Data Quality group is agent_host. To reset the value of the Axon Agent Server Host parameter, run the following command:
<INSTALLATION_DIR>/axonhome/third-party-app/php/bin/php bin/console informatica:parameter:reset -p "agent_host"
Reset value by display name
To reset the value of a parameter by entering the display name, run the following command:
<INSTALLATION_DIR>/axonhome/third-party-app/php/bin/php bin/console informatica:parameter:reset -d "<parameter_display_name>"
For example, to reset the value of the Axon Agent Server Host parameter in the Data Quality group, run the following command:
<INSTALLATION_DIR>/axonhome/third-party-app/php/bin/php bin/console informatica:parameter:reset -d "Axon Agent Server Host"
Reset all values in a group
To reset the values of all parameters within a configuration group, run the following command:
<INSTALLATION_DIR>/axonhome/third-party-app/php/bin/php bin/console informatica:parameter:reset -g "<parameter_group_name>"
For example, to reset the value of all parameters in the Data Quality group, run the following command:
<INSTALLATION_DIR>/axonhome/third-party-app/php/bin/php bin/console informatica:parameter:reset -g "Data Quality"
Clear cache and restart services
After you reset the parameter values, run the following command to clear the Axon cache and restart the necessary services:
sh <INSTALLATION_DIR>/axonhome/third-party-app/scripts/paramsync
When you run the paramsync script, Axon restarts the HTTPD, Memcached, and email notification services.

Set New Parameter Value

You can overwrite the existing value of a parameter and enter another value.
Run the following command to define the Axon environment variable so that the Linux system can access the Axon resources at the correct location:
source <INSTALLATION_DIR>/scripts/exportEnv.sh
Go to the <INSTALLATION_DIR>/axonhome/axon directory and perform the following tasks to set new parameter values.
Set value by internal key
To set the value of a parameter by entering the internal key, run the following command:
<INSTALLATION_DIR>/axonhome/third-party-app/php/bin/php bin/console informatica:parameter:set -p "<parameter_internal_key>" --value=<new_value>
For example, the internal key for the Enterprise Data Catalog Server Port parameter in the Enterprise Data Catalog group is eic_server_port. To set the value of the Enterprise Data Catalog Server Port parameter to 9085, run the following command:
<INSTALLATION_DIR>/axonhome/third-party-app/php/bin/php bin/console informatica:parameter:set -p "eic_server_port" --value=9085
Set value by display name
To set the value of a parameter by entering the display name, run the following command:
<INSTALLATION_DIR>/axonhome/third-party-app/php/bin/php bin/console informatica:parameter:set -d "<parameter_display_name>" --value=<new_value>
For example, to set the value of the Enterprise Data Catalog Server Port parameter to 9085, run the following command:
<INSTALLATION_DIR>/axonhome/third-party-app/php/bin/php bin/console informatica:parameter:set -d "Enterprise Data Catalog Server Port" --value=9085
Clear cache and restart services
After you set the new parameter values, run the following command to clear the Axon cache and restart the necessary services:
sh <INSTALLATION_DIR>/axonhome/third-party-app/scripts/paramsync
When you run the paramsync script, Axon restarts the HTTPD, Memcached, and email notification services.