[OHS]OPMN Windows Service 등록


    Solution

    1. Confirm that Windows Utility sc is installed in your server.
    Contact your OS vendor for any sc related issues.

    2. Record the value from %ORACLE_HOME%\opmn\bin\oracle.key file
    -This value will be referred to as <ORACLE_HOME_KEY value> in this note.
    • Value Name:       <ORACLE_HOME_KEY Value>
    • Sample Value:     SOFTWARE\ORACLE\KEY_oracleas1


    3. Record the Service name of any Windows Services dependencies
    -For example: SOA 10.1.3.1 ProcessManager has dependency on OliteService/Oracle Lite Multiuser Service
    -This value will be referred to as <DEPENDENCY Value> in this note.
    • Value Name:        <Dependency value>
    • Sample Value:      OliteService


    4. Record your Oracle Home Name
    -This is the name of your Oracle Home
    -This value will be referred to as <ORACLE_HOME_NAME Value> in this note.
    • Value Name:       <ORACLE_HOME_NAME Value>
    • Sample Value:     oracleas1


    5. Decide on the Windows Services name for the Oracle Application server ProcessManager
    -This name can be any value, but more useful if it describes the type of OracleAS installation
    -This value will be referred to as <ORACLE_OPMN_SERVICE Value> in this note.
    • Value Name:        <ORACLE_OPMN_SERVICE Value>
    • Sample Value:     OracleSoa10131ProcessManager



    6. Using the Windows regedit command, create two Windows registry string value entries, populating Registry Value Data with values captured in the previous steps.
    Some registry entries for this Oracle Home should already be created:
    For example, in SOA 10.1.3.1 installation the following registry entries are already created.
    • NLS_LANG,  ORACLE_BUNDLE_NAME,  ORACLE_GROUP_NAME,  ORACLE_HOME,  ORACLE_HOME_NAME

    Registry Value Name:
        HKLM / Software / ORACLE / Key_<ORACLE_HOME_NAME Value> / ORACLE_HOME_KEY

    Registry Value Data:
        <ORACLE_HOME_KEY Value>



    Registry Value Name:
        HKLM / Software / ORACLE / <ORACLE_HOME_NAME Value> / ORACLE_OPMN_SERVICE

    Registry Value Data:
        <ORACLE_OPMN_SERVICE Value>


    7. Create Windows Services entry using the sc utility, using values captured from previous steps.
    Note: The space after the equal signs are mandatory.

    Syntax:
    sc create <ORACLE_OPMN_SERVICE Value> binPath= "<ORACLE_HOME>\opmn\bin\opmn.exe -S" DisplayName= "<ORACLE_OPMN_SERVICE Value>" start= auto depend= <Dependency value>

    Sample command:
    sc create OracleSoa10131ProcessManager binPath= "H:\oracle\soa10131\opmn\bin\opmn.exe -S" DisplayName= "OracleSoa10131ProcessManager" start= auto depend= OliteService


    8. Use Windows Services to review the newly created service entry.


    9. Managing Windows Services entries
    Query entry:
    sc query OracleSoa10131ProcessManager
    Delete entry:
    sc delete OracleSoa10131ProcessManager

    댓글

    Designed by JB FACTORY