Module: MintPress::OracleHTTPServer::WebGate
- Included in:
- SystemComponent
- Defined in:
- src/oracle-ohs/lib/oracle-ohs/webgate.rb
Instance Method Summary collapse
-
#deploy_webgate ⇒ Object
Runs deployWebGateInstance.sh and EditHttpConf against this OHS instance.
- #initialize_webgate_properties ⇒ Object
-
#register_webgate ⇒ Object
Registers this OHS instance as a WebGate agent with the configured OAM server using RREG inband mode.
-
#remove_webgate ⇒ Object
Disables WebGate for this OHS instance by removing the webgate.conf include line from httpd.conf.
-
#setup_webgate ⇒ Object
Deploys the WebGate binary to the OHS instance and updates httpd.conf, then registers the agent with OAM.
Instance Method Details
#deploy_webgate ⇒ Object
Runs deployWebGateInstance.sh and EditHttpConf against this OHS instance.
Idempotent — skips if the webgate/config directory already exists.
#initialize_webgate_properties ⇒ Object
#register_webgate ⇒ Object
Registers this OHS instance as a WebGate agent with the configured OAM server using RREG inband mode.
When oam_server is set, oamreg.sh runs directly on the OAM server and only the output artifacts
are copied to the OHS instance. When oam_rreg_home is set, the existing flow runs oamreg.sh on the OHS host.
#remove_webgate ⇒ Object
Disables WebGate for this OHS instance by removing the webgate.conf include line from httpd.conf.
The webgate/config directory and registration artifacts are left intact so WebGate can be re-enabled
by calling deploy_webgate again (which re-runs EditHttpConf).
#setup_webgate ⇒ Object
Deploys the WebGate binary to the OHS instance and updates httpd.conf, then registers the agent with OAM.