OVD 11.1.1.7.0 Add Instance
In this post, I will cover the steps required to add an instance of OVD to an existing OVD installation home.
This kind of configuration is specially helpful in scenario where you want to add instances for load balancing or to create an instance for testing etc.
My existing OVD setup was 11.1.1.7.0.
ORACLE_HOME=C:\Oracle\Middleware\Oracle_IDM2
ORACLE_INSTANCE=C:\Oracle\Middleware\asinst_2
set of existing running processes
we will have to use the opmnctl command inside ORACLE_INSTANCE. Also weblogic admin server must be running prior to adding an instance as the command connects to weblogic server to register the component.
This kind of configuration is specially helpful in scenario where you want to add instances for load balancing or to create an instance for testing etc.
My existing OVD setup was 11.1.1.7.0.
ORACLE_HOME=C:\Oracle\Middleware\Oracle_IDM2
ORACLE_INSTANCE=C:\Oracle\Middleware\asinst_2
set of existing running processes
we will have to use the opmnctl command inside ORACLE_INSTANCE. Also weblogic admin server must be running prior to adding an instance as the command connects to weblogic server to register the component.
opmnctl.bat createcomponent -componentName ovd2 -componentType OVD -admin cn=orcladmin -isAdminSSL true -ovdAdminPort 8900 -namespace dc=mydomain,dc=com -ldapPort 6502 -ldapSport 7502
Command requires login to weblogic admin server (Deepak-PC.mydomain.com):
Username: weblogic
Password:
Creating empty component directories...Done
Provisioning OVD files for ovd2
OVD creation in progress
Creating OVD specific directories
Copying Configuration Files
Registering OVD Ports
Updating OVD Admin Password
OVD Admin Password:
Setting CSF values
Updating Configuration Files
Adding opmn Snippet
Setting proxy mbean information
Registering ovd2 component
Command succeeded.
Also while starting the processes i found out that my computer has changed the timezone.
commands to fix that error
C:\Oracle\Middleware\asinst_2\EMAGENT\EMAGENT\bin>emctl resetTZ agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Updating C:\Oracle\Middleware\asinst_2\EMAGENT\EMAGENT/sysman/config/emd.properties...
Successfully updated C:\Oracle\Middleware\asinst_2\EMAGENT\EMAGENT/sysman/config/emd.properties.
Login as the em repository user and run the script:
exec mgmt_target.set_agent_tzrgn('Deepak-PC.mydomain.com:5162','Australia/Sydney')
and commit the changes
This can be done for example by logging into sqlplus and doing
SQL> exec mgmt_target.set_agent_tzrgn('Deepak-PC.mydomain.com:5162','Australia/Sydney')
SQL> commit
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Updating C:\Oracle\Middleware\asinst_2\EMAGENT\EMAGENT/sysman/config/emd.properties...
Successfully updated C:\Oracle\Middleware\asinst_2\EMAGENT\EMAGENT/sysman/config/emd.properties.
Login as the em repository user and run the script:
exec mgmt_target.set_agent_tzrgn('Deepak-PC.mydomain.com:5162','Australia/Sydney')
and commit the changes
This can be done for example by logging into sqlplus and doing
SQL> exec mgmt_target.set_agent_tzrgn('Deepak-PC.mydomain.com:5162','Australia/Sydney')
SQL> commit
Start all the opmn processes now
You can use ODSM to login to OVD now
Weblogic em console view
Comments
Post a Comment