Class: MintPress::OracleEBS::EbsHost
- Inherits:
-
Object
- Object
- MintPress::OracleEBS::EbsHost
- Includes:
- MintLogger, EbsUtils
- Defined in:
- src/oracle-ebs/lib/oracle-ebs/ebshost.rb
Properties (Read/Write)
Properties (Read Only)
Constant Summary
Constants included from MintLogger
MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN
Instance Attribute Summary collapse
-
#accounts ⇒ Object
readonly
Returns the value of attribute accounts.
-
#ebs_owner ⇒ Object
readonly
Returns the value of attribute ebs_owner.
-
#endpoint ⇒ Object
readonly
Returns the value of attribute endpoint.
-
#host ⇒ Object
readonly
Returns the value of attribute host.
-
#oraInst ⇒ Object
readonly
Returns the value of attribute oraInst.
-
#pairs_files ⇒ Object
readonly
Returns the value of attribute pairs_files.
-
#patchbase_port ⇒ Object
Returns the value of attribute patchbase_port.
-
#remove_fmw ⇒ Object
readonly
Returns the value of attribute remove_fmw.
-
#runbase_port ⇒ Object
Returns the value of attribute runbase_port.
-
#services ⇒ Object
readonly
Returns the value of attribute services.
Instance Method Summary collapse
- #admin_server_up?(base:) ⇒ Boolean
-
#build_bin_script ⇒ Object
build_bin_script: Creates a shell script to run commands from ORACLE_HOME/bin - allows us to get around environments before the clone is finished where the environment files aren't there yet.
-
#call_bin_script(command:, script:, user_pass: :IGNORE, timeout: 1800, ignore_missing_run_file: false) ⇒ Object
call_bin_script: runs the @host.call_bin_script routine, passing the ebs_owner in as the sudo user.
- #delete_node(hostname:) ⇒ Object
-
#initialize(attributes) ⇒ EbsHost
constructor
initialize: Setup the EbsHost object.
- #inspect ⇒ Object
-
#load_variables ⇒ Object
load_variables: Uses the host transport to derive the various environment variables from the host and to locate the oracle inventory.
-
#parse_pairsfiles ⇒ Object
parse_pairs_file: Parse the control file passed in, replacing values based on the parameters provided.
- #remove_fmw_homes ⇒ Object
- #run_adadminsrvctl(base:, mode:) ⇒ Object
- #run_adalnctl(mode:) ⇒ Object
- #run_adautocfg(base:) ⇒ Object
- #run_adclonectx(base:, primary_host:, dualfs:) ⇒ Object
- #run_admin_script(base:, script:, force_patch_fs: base.eql?(:patch)) ⇒ Object
- #run_admkappsutil ⇒ Object
- #run_adnodemgrctl(base:, mode:) ⇒ Object
- #run_adstpall(base:) ⇒ Object
- #run_adstrtal(base:) ⇒ Object
-
#run_preclone(base:, mode:) ⇒ Object
preclone: Executes the adpreclone script in appsTier more.
- #set_context_sff_value(enabled:) ⇒ Object
- #shared_base_set?(enabled:, context_file_name:) ⇒ Boolean
- #shared_file_system? ⇒ Boolean
- #switch_shared_base(base:, enabled:) ⇒ Object
- #to_s ⇒ Object
Methods included from MintLogger::Utils::Common
#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send
Methods included from EbsUtils
#build_path, #check_base, #copy_direct, #copy_indirect, #create_tarball, #set_ebs_init, #translate_sff, #untar_tarball
Constructor Details
#initialize(attributes) ⇒ EbsHost
initialize: Setup the EbsHost object
Instance Attribute Details
#accounts ⇒ Object (readonly)
Returns the value of attribute accounts.
#ebs_owner ⇒ Object (readonly)
Returns the value of attribute ebs_owner.
#endpoint ⇒ Object (readonly)
Returns the value of attribute endpoint.
#host ⇒ Object (readonly)
Returns the value of attribute host.
#oraInst ⇒ Object (readonly)
Returns the value of attribute oraInst.
#pairs_files ⇒ Object (readonly)
Returns the value of attribute pairs_files.
#patchbase_port ⇒ Object
Returns the value of attribute patchbase_port.
#remove_fmw ⇒ Object (readonly)
Returns the value of attribute remove_fmw.
#runbase_port ⇒ Object
Returns the value of attribute runbase_port.
#services ⇒ Object (readonly)
Returns the value of attribute services.
Instance Method Details
#admin_server_up?(base:) ⇒ Boolean
#build_bin_script ⇒ Object
build_bin_script: Creates a shell script to run commands from ORACLE_HOME/bin - allows us to get around
environments before the clone is finished where the environment files aren't there yet.
#call_bin_script(command:, script:, user_pass: :IGNORE, timeout: 1800, ignore_missing_run_file: false) ⇒ Object
call_bin_script: runs the @host.call_bin_script routine, passing the ebs_owner in as the sudo user.
#delete_node(hostname:) ⇒ Object
#inspect ⇒ Object
#load_variables ⇒ Object
load_variables: Uses the host transport to derive the various environment variables from the host and to
locate the oracle inventory.
#parse_pairsfiles ⇒ Object
parse_pairs_file: Parse the control file passed in, replacing values based on the parameters provided.
#remove_fmw_homes ⇒ Object
#run_adadminsrvctl(base:, mode:) ⇒ Object
#run_adalnctl(mode:) ⇒ Object
#run_adautocfg(base:) ⇒ Object
#run_adclonectx(base:, primary_host:, dualfs:) ⇒ Object
#run_admin_script(base:, script:, force_patch_fs: base.eql?(:patch)) ⇒ Object
#run_admkappsutil ⇒ Object
#run_adnodemgrctl(base:, mode:) ⇒ Object
#run_adstpall(base:) ⇒ Object
#run_adstrtal(base:) ⇒ Object
#run_preclone(base:, mode:) ⇒ Object
preclone: Executes the adpreclone script in appsTier more.