How to Change a Grid Agent Host
The grid agents used in Oracle software products are used to define graphical user interface elements, and control how the agent (or client) interacts with the host computer. Changing the grid agent hosts is an easy task for any Oracle administrator with administrative access, and a command line interface that's connected to an Oracle server.
Instructions
-
-
1
Open a command line interface, and connect to the Oracle server that is the host using your login and password that are assigned administrative credentials. This permission set ensures that you'll be able to perform all of the file system modifications necessary to complete the task.
-
2
Enter the following SQL command to change the target name. Replace "oracle_example_emd" with the name of the target host to which you wish to change: SQL> select target_name from mgmt_targets where target_type='oracle_emd':
-
-
3
Examine the list of registered targets that's generated as an output of the command in the previous step. Then specify which one should be changed, and what it should be changed to. In the following example, the grid agent named clean_agent is changed to the Server2 host: SQL> exec mgmt_admin.cleanup_agent('Sever2');
-
4
Allow the command to execute and perform the remapping. This can take anywhere from three to five minutes depending on the available server resources.
-
1