You need to have java and location where you can create the key. You need access to both root or sudo and the id where agent is installed.
Login into ovmm vServer
export JAVA_HOME=/u01/oem_agent/core/12.1.0.3.0/jdk
export OMS_AGENT_HOME=/u01/oem_agent
As root
$JAVA_HOME/jre/bin/keytool -keystore /u01/app/oracle/ovm-manager-3/ovmmCoreTcps.ks -exportcert -alias ovmm -file $OMS_AGENT_HOME/ovmmCoreTcps.ks
As oracle, execute the following. Default password is "welcome"
$OMS_AGENT_HOME/agent_inst/bin/emctl secure add_trust_cert_to_jks -trust_certs_loc $OMS_AGENT_HOME/ovmmCoreTcps.ks -alias ovmm
Once the key is created, you have to enable the remote access. With the current ovmm version, non-secure port 54321 is disabled, instead use the secured port 54322.
Username and password is your ovmm admin account and its password, usually it is "admin"
Once the key is created, you have to enable the remote access. With the current ovmm version, non-secure port 54321 is disabled, instead use the secured port 54322.
Username and password is your ovmm admin account and its password, usually it is "admin"
provide full dns server name
cd /u01/app/oracle/ovm-manager-3/ovm_shell
sh ovm_shell.sh --url=tcps://exl-ovmm.us.oracle.com:54322 --username=admin --password=welcome1
ovm = OvmClient.getOvmManager ()
f = ovm.getFoundryContext ()
ovm = OvmClient.getOvmManager ()
f = ovm.getFoundryContext ()
j = ovm.createJob ( 'AK00012345' );<-The number can be seen in the vDC first node, /var/exalogic/info/em-context.info
j.begin ();
j.begin ();
f.setAsset ( "EXALOGIC_ID",'AK00012345');
j.commit ();
ctrl d
cd /u01/app/oracle/ovm-manager-3/bin
Execute the below scripts, which are self explanatory
./secureOvmmTcpGenKeyStore.sh
./secureOvmmTcp.sh
Restart your ovmm service
/sbin/service ovmm stop
/sbin/service ovmm start
After this you can provide these info and your ovmm username and password in EMCC
tcps://el01-ovmm:54322
https://el01-ovmm:7002/ovm/console/faces/login.jspx