Application Service Guide > Application Service Upgrade > Verify the Model Repository Service Upgrade
  

Verify the Model Repository Service Upgrade

After you upgrade the Model Repository Service, check the Model Repository Service log to verify that the upgrade completed successfully.

Object Dependency Graph

When you upgrade a Model Repository Service, the upgrade process upgrades the contents of the Model repository and rebuilds the object dependency graph.
If the upgrade process encounters a fatal error while upgrading the Model repository contents, then the service upgrade fails. The Administrator tool or the command line program informs you that you must perform the upgrade again.
If the upgrade process encounters a fatal error while rebuilding the object dependency graph, then the upgrade of the service succeeds. You cannot view object dependencies in the Developer tool until you rebuild the object dependency graph.
After you upgrade the Model Repository Service, verify that the Model Repository Service log includes the following message:
MRS_50431 "Finished rebuilding the object dependency graph for project group '<project group>'."
If the message does not exist in the log, run the infacmd mrs rebuildDependencyGraph command to rebuild the object dependency graph. Users must not access Model repository objects until the rebuild process completes, or the object dependency graph might not be accurate. Ask the users to log out of the Model Repository Service before service upgrade.
The infacmd mrs rebuildDependencyGraph command uses the following syntax:
rebuildDependencyGraph
<-DomainName|-dn> domain_name
[<-SecurityDomain|-sdn> security_domain]
<-UserName|-un> user_name
<-Password|-pd> password
<-ServiceName|-sn> service_name
[<-ResilienceTimeout|-re> timeout_period_in_seconds]

Maximum Heap Size

After you upgrade the Model repository, reset the maximum heap size to the recommended 1 GB setting.
The upgrade process resets the Model Repository Service maximum heap size to 4 GB. After the upgrade, reset the maximum heap size property to the value to which it was set prior to the upgrade, or to the setting that Global Customer Support recommended for your environment.
Effective in version 10.1, the property MaxPermSize in the JVM Command Line Option is replaced with MaxMetaspaceSize.
To reset the maximum heap size, select the service in the Domain Navigator, click the Properties view, and expand Advanced Properties. Set the Maximum Heap Size property to the pre-upgrade value. Set the MaxMetaspaceSize property to the minimum of 512 MB.