oracle http server 12c component add
한 도메인에 여러개의 OHS 인스턴스를 추가하고 싶다..
난 웹서버를 많이 쓰니까..
domain home을 가서 config폴더에 config.xml을 열어보자
[webtier@centos6 domains]$ cd base_domain [webtier@centos6 base_domain]$ ls auditlogs bin config init-info nodemanager resources security servers system_components [webtier@centos6 base_domain]$ cd config [webtier@centos6 config]$ ls backup_config.xml config.xml fmwconfig nodemanager [webtier@centos6 config]$ cat config.xml <?xml version="1.0" encoding="UTF-8"?> <domain xsi:schemaLocation="http://xmlns.oracle.com/weblogic/security/wls http://xmlns.oracle.com/weblogic/security/wls/1.0/wls.xsd http://xmlns.oracle.com/weblogic/domain http://xmlns.oracle.com/weblogic/1.0/domain.xsd http://xmlns.oracle.com/weblogic/security http://xmlns.oracle.com/weblogic/1.0/security.xsd http://xmlns.oracle.com/weblogic/security/xacml http://xmlns.oracle.com/weblogic/security/xacml/1.0/xacml.xsd" xmlns="http://xmlns.oracle.com/weblogic/domain" xmlns:sec="http://xmlns.oracle.com/weblogic/security" xmlns:wls="http://xmlns.oracle.com/weblogic/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <name>base_domain</name> <domain-version>12.2.1.2.0</domain-version> <security-configuration> <name>base_domain</name> <credential-encrypted>{AES}9g7383lFY0W3de/B7CjTydnwDWzM0zzSqoV93grxl2eow0C529+uh/+BlUK8FX5aBDtwOyvtkrI0f5kz7dviu8BtTgPryIVyzwGmPtyby4c4lAnPBlrqZZNfoGyFjKWd</credential-encrypted> <node-manager-username>webtier</node-manager-username> <node-manager-password-encrypted>{AES}JF0X8ehpfvZIuo7ln2w8Hk28yS2JY2NxUAud7djky3U=</node-manager-password-encrypted> </security-configuration> <server> <name>AdminServer</name> <listen-address/> </server> <configuration-version>12.2.1.2.0</configuration-version> <machine> <name>localmachine</name> <node-manager> <name>localmachine</name> <listen-address>localhost</listen-address> <password-encrypted>{AES}+Td9EEauK/TJQ/4jrpTAPCG0lpsS1NVE9HP7xRxH+mA=</password-encrypted> </node-manager> </machine> <admin-server-name>AdminServer</admin-server-name> <system-component> <machine>localmachine</machine> <component-type>OHS</component-type> <name>webtier2</name> </system-component> <system-component> <machine>localmachine</machine> <name>webtier1</name> <component-type>OHS</component-type> <system-component-start/> </system-component> <system-component> <machine>localmachine</machine> <name>webtier3</name> <component-type>OHS</component-type> <system-component-start/> </system-component> </domain>
|
필자가 최초로 만든 인스턴스가 webtier2 이고
webtier1, webtier3을 추가로 생성해 주었습니다
생성만 하면 될까요? 아니요
/webtier/domains/base_domain/config/fmwconfig/components/OHS/instances
'Technical posts > Web & WAS' 카테고리의 다른 글
OHS 12.2.1.3 재시작(graceful restart) (0) | 2020.07.21 |
---|---|
webtier 12c/ OHS 12c status 확인 (0) | 2017.03.15 |
webtier 12c /OHS 12c standalone domain WLST 로 생성 (0) | 2017.03.15 |
webtier 12c silent 설치 (0) | 2017.03.15 |
APACHE, OHS 400 웹로직 연동후 특정 작업에 400 error (0) | 2016.12.26 |