copySMCSecurityServerSitekey
API Name |
copySMCSecurityServerSitekey |
Description |
Copies Sitekey from the Server Manager Console's Security Server to the target Instance. |
REST Methods |
POST |
Precondition |
Server Manager Console must be running. Primary Security Server (which has sitekey configured) details are configured in the Server Manager Console. |
Input Params |
TOKEN: Header returned as a response to the /authenticate Server Manager REST API Call. TOKEN: Cookie returned as a response to the /authenticate Server Manager REST API Call. AUTHORIZATION: Base64 encoded Basic username:password combination necessary for Authentication. instanceName: The Name of the Enterprise Server Managed Instance where sitekey needs to be copied from the Primary Security Server. jdeHome: The jdeHome for Managed Instance. agentHostName: The Name of agent for managed Instance. |
Sample Request |
'http://phoenix175736.appsdev0.fusionappsdphx1.oraclevcn.com:7101/mgmtrestservice/copySMCSecurityServerSitekey' \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic amRlX2FkbWluOmpkZV9hZG1pbg==' \ --data '{ "instanceName":"EntServer", "jdeHome":"/slot/ems6581/appmgr/jde_agent_ent/SCFHA", "agentHostName":"phoenix147031.ad1.fusionappsdphx1.oraclevcn.com" }' |
Return |
HTTP status 200 is returned. |
Sample Response |
NA |
Exception |
403: Forbidden Status Code is returned if the Authentication information passed with the Request is not valid. 400: Bad Request Status Code is returned in case the Request is not well formed for the API which is being invoked. 500: Internal Server Error, In the unlikely case of error occurring on the Server. Refer to the logs for more details. |