Module: MintPress::OracleHTTPServer::WebGate

Included in:
SystemComponent
Defined in:
src/oracle-ohs/lib/oracle-ohs/webgate.rb

Instance Method Summary collapse

Instance Method Details

#deploy_webgateObject

Runs deployWebGateInstance.sh and EditHttpConf against this OHS instance. Idempotent — skips if the webgate/config directory already exists.

#initialize_webgate_propertiesObject

#register_webgateObject

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_webgateObject

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_webgateObject

Deploys the WebGate binary to the OHS instance and updates httpd.conf, then registers the agent with OAM.