Tuesday, April 19, 2016

Oracle HTTP Server 12c starting component with Nodemanager

Welcome back

OHS 12c Using alternate Node managr port




configuring the OHS 12 domain using the Configuration Wizard, there does not seem to be an option to specify a different Node manager port. It uses the default 5556, where it is already used by FMW Domain[SOA Domain or WebLogic Domain].
Following steps are used to modify and use alternative Nodemanager port in a standalone OHS domain.


  1. Open the nodemanager.properties, change the Node Manager port (default 5556) to a port that is currently not in use. change port here from 5556 to 5566 and then  Save this file. 
  2. Modify the OHS domain's config.xml.  This is a new step for 12c environments! 
Node Manager properties for OHS Domain

Navigate to as shown below:

cd  $OHS_DOMAIN/config

Edit the config.xml file Look for the following node-manager tag block


    localmachine
     localhost
     {AES}/TU+/JiP22JJzuRa7Rqpp1xQkgPTmQ4Sb/VvBHJWPhg=


Change this code block it by adding listen-port tag to the Node Manager port same value as given in step 1.
 

       localmachine
       localhost
        5566
       {AES}/TU+/JiP22JJzuRa7Rqpp1xQkgPTmQ4Sb/VvBHJWPhg=


Now start the components.
cd $OHS_DOMAIN/bin
nohup ./startNodeManager.sh 2>&1 &
./startComponent.sh ohs1

Starting OHS domain 


Then you can check the url that can connect to the ohs instance and shows below...
http://localhost:7777


Stop the OHS server from Command line
Before you run the stopComponent.sh script to stop OHS you must check that Node manager for OHS must be running.

cd $OHS_DOMAIN/bin/
./stopComponent.sh ohs1
stopComponent ohs1 using Commandline

Reference


  • OHS 12.2.1 Silent installation
  • Uninstall OHS 12c
  • Configuring OHS 12c domain
  • OHS 12c instance Start/Stop
  • Oracle Traffic Director 12.2.1 Silent Installation

  • OHS Getting started

    Monday, April 18, 2016

    Creating Standalone OHS domain

    There are two options to crate OHS domain

    1. Standalone domain
    2. Collocated in WebLogic domain
    This domain creation you could do again in two methods using config.sh that means using configuation wizard and other method is using WLST.

    Prerequisites
    • JDK installed as per the certificate matrix
    • WebLogic [required for the collocating domain]
    • Oracle HTTP Server 12c installed

    Configuring OHS domain using Wizard

    Lets see the first method using configuration wizard

    Configuration Wizard -Welcome Screen 

    Step 1: Select the option - Create a new domain

    Step 2: Select OHS Check box and proceed with next

    Step 4: You can add more OHS component type  instances default ohs1

    Step 5: Update the Admin Host for OHS, Listen Address for ohs and also Server Name parameters

    Step 6: Node manager type select per domain and enter user credentials

    Step 7: Create the OHS System Components

    Step 8: Progress of OHS domain  configuration

    Step 9: Finish Confirmation screen of OHS Domain configuration

    Friday, April 15, 2016

    Deinstall OHS 12.1.3

    Sometimes you might wish to change the OHS installation option from collocation to standalone.
    Standalone installation would be used when you wish to run the single OHS instance.

    Navigate to $ORACLE_HOME/oui/bin directory and then give the following command in the VNC client


    cd $ORACLE_HOME/oui/bin
    ./deinstall.sh
    

    Select which Oracle product you wish to de-install

    Step 1: Welcome screen of deinstall
    Step 2: Deinstall OHS 12c

    Step 3: deinstall OHS Progress


    Step 4: Confirmation Screen