Friday, October 26, 2012

Installation Fusion Application part 14

Start Weblogic AdminServer

[fusionmgr@fusionsvr02 bin]$ cd /u01/fusion/apps/Middleware/user_projects/domains/base_domain/bin/

[fusionmgr@fusionsvr02 bin]$ nohup sh startWebLogic.sh &

 

Configuring HTTP server for the Administration Server

[fusionmgr@fusionsvr02 domains]$ cp /u01/fusion/apps/webtier/instances/instance1/config/OHS/ohs1/admin.conf /u01/fusion/apps/webtier/instances/instance1/config/OHS/ohs1/admin.conf_ori

[fusionmgr@fusionsvr02 domains]$ cd /u01/fusion/apps/webtier/instances/instance1/config/OHS/ohs1/

[fusionmgr@fusionsvr02 ohs1]$ ls

admin-bin        cgi-bin               fastcgi     keystores   mod_plsql

admin.conf       component_events.xml  fcgi-bin    magic       moduleconf

admin.conf_ori   component-logs.xml    htdocs      man         mod_wl_ohs.conf

auditconfig.xml  disabled              httpd.conf  manual      proxy-wallet

backup           error                 icons       mime.types  ssl.conf

[fusionmgr@fusionsvr02 ohs1]$ rm admin.conf

[fusionmgr@fusionsvr02 ohs1]$ vi /u01/fusion/apps/webtier/instances/instance1/config/OHS/ohs1/admin.conf

 

# Admin Server and EM

<Location /console>

SetHandler weblogic-handler

WebLogicHost fusion

WeblogicPort 7001

</Location>

 

<Location /consolehelp>

SetHandler weblogic-handler

WebLogicHost fusion

WeblogicPort 7001

</Location>

 

<Location /em>

SetHandler weblogic-handler

WebLogicHost fusion

WeblogicPort 7001

</Location>

 

 

[fusionmgr@fusionsvr02 ohs1]$ cd /u01/fusion/apps/webtier/instances/instance1/bin/

[fusionmgr@fusionsvr02 bin]$ ./opmnctl startall

opmnctl startall: starting opmn and all managed processes...

[fusionmgr@fusionsvr02 bin]$ ./opmnctl status

 

Processes in Instance: instance1

---------------------------------+--------------------+---------+---------

ias-component                    | process-type       |     pid | status

---------------------------------+--------------------+---------+---------

ohs1                             | OHS                |    9112 | Alive

 

Register HTTP server with Weblogic Server

[fusionmgr@fusionsvr02 bin]$ ./opmnctl registerinstance -adminHost fusionsvr02.ssi.co.id -adminport 7001 -adminUsername weblogic

Command requires login to weblogic admin server (fusionsvr02.ssi.co.id):

  Username: weblogic

  Password:

Deploying NonJ2EEManagement Application...weblogic.Deployer invoked with options:  -adminurl fusionsvr02.ssi.co.id:7001 -username weblogic -name NonJ2EEManagement -source /u01/fusion/apps/webtier/opmn/applications/NonJ2EEManagement.ear -nostage -deploy -upload -noexit

<Oct 24, 2012 2:29:18 PM WIT> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, NonJ2EEManagement [archive: /u01/fusion/apps/webtier/opmn/applications/NonJ2EEManagement.ear], to configured targets.>

Task 0 initiated: [Deployer:149026]deploy application NonJ2EEManagement [Version=11.1.1] on AdminServer.

Task 0 completed: [Deployer:149026]deploy application NonJ2EEManagement [Version=11.1.1] on AdminServer.

Target state: deploy completed on Server AdminServer

Done

Registering instance

Command succeeded.

 

No comments:

Post a Comment