8.5.9 Synchronizing profiles
If profiles are edited at an agent or at the manager (IM Configuration Management) while profile management of IM Configuration Management is being used together with JP1/Base's profile management, the profiles held by the agent will no longer match the profiles held by the manager. In this case, the profiles must be synchronized manually between the agent and the manager.
The following table describes when synchronization is needed and the synchronization methods.
No. |
Timing |
Synchronization method |
Operation |
---|---|---|---|
1 |
An agent's profiles are edited. |
Use IM Configuration Management to collect profiles from the agent. |
In the Display/Edit Profiles window, select a profile you want to collect, and then run Collect Profiles from the menu. |
2 |
Profiles were distributed to agents by the jevdef_distrib command. |
Use IM Configuration Management to collect profiles from the agents in a batch operation. |
In the IM Configuration Management window, run Batch Collect Profiles from the menu. |
3 |
Profiles were edited with IM Configuration Management and then saved in the manager. |
Apply the profiles from the manager to the agents. |
In the Display/Edit Profiles window, on the Configuration File page, select the Apply radio button, and then select Restart, Reload, or Send a file to synchronize profiles. |
4 |
Profiles were imported by the jcfimport command. |
Apply profiles from the manager to the agents in a batch operation. |
In the IM Configuration Management window, run Batch Apply Profiles from the menu. |
When you display and apply profiles, IM Configuration Management can compare the contents of profiles that were collected previously by the manager to the contents of the most recent agent profiles and detect any inconsistencies. If the contents do not match, IM Configuration Management displays a dialog box containing a message (KNAN21187-W) that indicates that the configuration file for the agent's log file information might have been modified. This function is called the updated agent profile notification function.
You can use the AGENT_PROFILE_UPDATE_NOTICE function in the common definition information to enable or disable the updated agent profile notification function. You can define AGENT_PROFILE_UPDATE_NOTICE in the profile management environment definition file (jp1cf_profile_manager.conf). For details, see Profile management environment definition file (jp1cf_profile_manager.conf) in Chapter 2. Definition Files in the JP1/Integrated Management 3 - Manager Command, Definition File and API Reference.
If the updated agent profile notification function is enabled, IM Configuration Management checks agent profiles to determine if the profiles have been updated when any of the operations listed in the following list is performed in the Display/Edit Profiles window. Note that this check is performed only when Exclusive Editing Settings is selected.
-
Displaying profiles
-
Applying profiles (Reload, Restart, or Send a file)
-
Starting log file trapping