After running the Database Agents Upgrade Wizard, the ‘Upgrade Required’ flag continues to appear on the Database Dashboard, even though the upgrade completed without errors.
This issue may occur in environments using a Federator FMS, where upgrade statuses from child FMS instances are not reflected immediately.
Ensure all associated Foglight Agent Managers (FglAMs) are running and properly connected to the Foglight Management Server (FMS) after the FMS has been upgraded.
It may be necessary to restart the FglAMs manually.
Once the connections are re-established, the "Upgrade" option for the database agents should appear at the top of the Database dashboard.
Manually override the isUpgradeRequired
flag by running one of the following Groovy scripts in the FMS console:
Location:Administration > Tooling > Script Console > Scripts Tab > Add > Enter script text
Disclaimer:
The following scripts are known to work successfully in lab environments, but have not been officially tested by Quest QA.
Always back up the Foglight installation and repository before executing scripts that modify topology.
Oracle Agents:
def dataService = server.DataService;
def canonicalFactory = server.CanonicalFactory;
def agents = #!DBO_Agent_Model#.topologyObjects;
for (agent in agents) {
dataService.publish(canonicalFactory.createNode(agent, "isUpgradeRequired", "false", 60000L));
}
return true;
SQL Server Agents:
def dataService = server.DataService;
def canonicalFactory = server.CanonicalFactory;
def agents = #!DBSS_Agent_Model#.topologyObjects;
for (agent in agents) {
dataService.publish(canonicalFactory.createNode(agent, "isUpgradeRequired", "false", 60000L));
}
return true;
DB2 Agents:
def dataService = server.DataService;
def canonicalFactory = server.CanonicalFactory;
def agents = #!DB2_Agent_Model#.topologyObjects;
for (agent in agents) {
dataService.publish(canonicalFactory.createNode(agent, "isUpgradeRequired", "false", 60000L));
}
return true;
In federated environments, restart the FglAM hosting the database agent. This ensures the agent is properly shut down.
Then:
Delete the broken agent from the child FMS.
Recreate the agent on the child FMS.
Wait for the child FMS to synchronize with the Federator.
Once synchronization is complete, the "Upgrade Required" flag should no longer appear on the Federator's Database dashboard.
Ensure that all child FMSs and the Federator are running the same version of the Database cartridge.
Once cartridge versions are consistent across all servers, the upgrade flag should clear automatically.
Refer to KB 4290194 for further troubleshooting steps related to lingering upgrade indicators and agent inconsistencies.
If the FglAM is offline when the Database Agent Upgrade Wizard runs following a cartridge upgrade, the agents on that FglAM will not be upgraded.
Once the FglAM reconnects:
The Database dashboard should detect the pending upgrade and display the wizard.
If not, navigate to:Administration > Agents > Agent Managers
Manually upgrade the Database cartridge on the affected FglAM.
To resolve UI display issues affecting the upgrade flag:
Go to Administration > Cartridges > Cartridge Inventory
.
Locate the DB_Global_View_UI
cartridge.
Check the box next to it.
Click Reset at the top of the table.
Quest Support and Development strongly recommend creating a full backup of the Foglight installation and repository database before executing any script, resetting cartridges, or removing topology data.
Cartridge upgrades consist of two phases
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center