[OHS]OPMN Windows Service 등록
- Middleware/WebTier
- 2010. 2. 4.
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
3. Record the Service name of any Windows Services dependencies-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
-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
6. Using the Windows regedit command, create two Windows registry string value entries, populating Registry Value Data with values captured in the previous steps.-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
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
'Middleware > WebTier' 카테고리의 다른 글
[OHS]OHS SSL 적용 (0) | 2013.01.02 |
---|---|
[OHS]access_log 용량 줄이기 (0) | 2012.12.27 |
[OHS]특정 파일 접속 차단 (0) | 2012.12.27 |
[OHS]일반유저 80 Port 변경시 권한 문제 (0) | 2012.12.26 |
[OHS] 웹서버에서 이미 사용중인 포트에러 발생시 (0) | 2009.12.28 |