----Delete component from opmn in Web logic------
[oracle@iStelar bin]$ ./opmnctl deletecomponent -componentName RptSvr_iStelar_asinst_1
Command requires login to weblogic admin server (iStelar.localdomain):
Username: weblogic
Password:
Command failed: Unable to connect to admin server. Verify that login username and password are correct.
opmnctl deletecomponent: failed.
[oracle@iStelar bin]$ ./opmnctl deletecomponent -componentName RptSvr_iStelar_asinst_1
Command requires login to weblogic admin server (iStelar.localdomain):
Username: weblogic
Password:
Unregistering RptSvr_iStelar_asinst_1 component
Deleting RptSvr_iStelar_asinst_1 directories
Invoking opmn reload...Done
Command succeeded.
[oracle@iStelar bin]$ ./opmnctl status
Processes in Instance: asinst_1
---------------------------------+--------------------+---------+---------
ias-component | process-type | pid | status
---------------------------------+--------------------+---------+---------
emagent_asinst_1 | EMAGENT | N/A | Down
forms | FormsRuntime | 16571 | Alive
forms | FormsRuntime | 15046 | Alive
forms | FormsRuntime | 19242 | Alive
forms | FormsRuntime | 9205 | Alive
ohs1 | OHS | N/A | Down
[oracle@iStelar bin]$
----Create component in opmn in Web logic------
[oracle@iStelar bin]$ ./opmnctl createcomponent -componentName test_istelar_report_server
Command failed: Command requires argument: -componentType
opmnctl createcomponent: failed.
[oracle@iStelar bin]$ ./opmnctl createcomponent -componentName test_istelar_report_server -componentType ReportsServerComponent
Command requires login to weblogic admin server (iStelar.localdomain):
Username: weblogic
Password:
Creating empty component directories...Done
Provisioning ReportsServerComponent files for test_istelar_report_server
Registering test_istelar_report_server component
Invoking opmn reload...Done
Command succeeded.
[oracle@iStelar bin]$
[oracle@iStelar bin]$ ./opmnctl status
Processes in Instance: asinst_1
---------------------------------+--------------------+---------+---------
ias-component | process-type | pid | status
---------------------------------+--------------------+---------+---------
test_istelar_report_server | ReportsServerComp~ | 23018 | Alive
emagent_asinst_1 | EMAGENT | N/A | Down
forms | FormsRuntime | 16571 | Alive
forms | FormsRuntime | 15046 | Alive
forms | FormsRuntime | 19242 | Alive
forms | FormsRuntime | 9205 | Alive
ohs1 | OHS | N/A | Down
[oracle@iStelar bin]$
[oracle@iStelar bin]$ ./opmnctl deletecomponent -componentName RptSvr_iStelar_asinst_1
Command requires login to weblogic admin server (iStelar.localdomain):
Username: weblogic
Password:
Command failed: Unable to connect to admin server. Verify that login username and password are correct.
opmnctl deletecomponent: failed.
[oracle@iStelar bin]$ ./opmnctl deletecomponent -componentName RptSvr_iStelar_asinst_1
Command requires login to weblogic admin server (iStelar.localdomain):
Username: weblogic
Password:
Unregistering RptSvr_iStelar_asinst_1 component
Deleting RptSvr_iStelar_asinst_1 directories
Invoking opmn reload...Done
Command succeeded.
[oracle@iStelar bin]$ ./opmnctl status
Processes in Instance: asinst_1
---------------------------------+--------------------+---------+---------
ias-component | process-type | pid | status
---------------------------------+--------------------+---------+---------
emagent_asinst_1 | EMAGENT | N/A | Down
forms | FormsRuntime | 16571 | Alive
forms | FormsRuntime | 15046 | Alive
forms | FormsRuntime | 19242 | Alive
forms | FormsRuntime | 9205 | Alive
ohs1 | OHS | N/A | Down
[oracle@iStelar bin]$
----Create component in opmn in Web logic------
[oracle@iStelar bin]$ ./opmnctl createcomponent -componentName test_istelar_report_server
Command failed: Command requires argument: -componentType
opmnctl createcomponent: failed.
[oracle@iStelar bin]$ ./opmnctl createcomponent -componentName test_istelar_report_server -componentType ReportsServerComponent
Command requires login to weblogic admin server (iStelar.localdomain):
Username: weblogic
Password:
Creating empty component directories...Done
Provisioning ReportsServerComponent files for test_istelar_report_server
Registering test_istelar_report_server component
Invoking opmn reload...Done
Command succeeded.
[oracle@iStelar bin]$
[oracle@iStelar bin]$ ./opmnctl status
Processes in Instance: asinst_1
---------------------------------+--------------------+---------+---------
ias-component | process-type | pid | status
---------------------------------+--------------------+---------+---------
test_istelar_report_server | ReportsServerComp~ | 23018 | Alive
emagent_asinst_1 | EMAGENT | N/A | Down
forms | FormsRuntime | 16571 | Alive
forms | FormsRuntime | 15046 | Alive
forms | FormsRuntime | 19242 | Alive
forms | FormsRuntime | 9205 | Alive
ohs1 | OHS | N/A | Down
[oracle@iStelar bin]$