Thursday, July 16, 2015

Check emkey is copied to the repository

You get the following error when you upgrade Grid control 12.1.01 to 12.1.0.2:































That's because emkey is secured and is not availabe for upgrade. To make it available for upgrade, please do the following:

[oracle@myserver bin]$ pwd
/u01/Grid12c/oms12cr/oms/bin

[oracle@myserver bin]$ ./emctl config emkey -copy_to_repos
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
The EMKey has been copied to the Management Repository. This operation will cause the EMKey to become unsecure.
After the required operation has been completed, secure the EMKey by running "emctl config emkey -remove_from_repos".
[oracle@myserver bin]$

Please make sure you do the above under your old OMS_HOME/bin. 

Also you can check the status of emkey as below:

[oracle@myserver bin]$ ./emctl status emkey
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
The EMKey  is configured properly, but is not secure. Secure the EMKey by running "emctl config emkey -remove_from_repos".

Once the upgrade is over, you can secure the key as below:

[oracle@myserver bin]$ ./emctl config emkey -remove_from_repos
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
The EMKey has been removed from the Management Repository.




No comments:

Post a Comment