Class: MintPress::Siebel::Installation

Inherits:
OracleWeblogic::Installation show all
Defined in:
src/oracle-siebel/lib/oracle-siebel/installation.rb

Properties (Read/Write)

  • #install_type ⇒ String
    FIXME: test upgrade/migration installers

    Property Attributes
    • allowed_values['New Installation', 'Upgrade Installation', 'Migration Installation']
    
    
    11
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 11
    
    property :install_type, type: String, allowed_values: ['New Installation', 'Upgrade Installation', 'Migration Installation']
  • #selected_languages ⇒ Array of ⇒ String (Default Value: ["en"])

    Property Attributes
    • default["en"]
    
    
    12
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 12
    
    property :selected_languages, type: String, array: true, default: ["en"]
  • #product (Default Value: 'oracle.siebel.ses')

    Property Attributes
    • default'oracle.siebel.ses'
    
    
    13
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 13
    
    property :product, default: 'oracle.siebel.ses'
  • #upgrade_version ⇒ String
    If this is set, install will also install an upgrade patch of this version

    Property Attributes
    
    
    16
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 16
    
    property :upgrade_version, type: String
  • #upgrade_stage ⇒ String
    If this is set, install will also install an upgrade patch from this stage

    Property Attributes
    
    
    18
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 18
    
    property :upgrade_stage, type: String
  • #upgrade_install_type ⇒ String (Default Value: 'Migrate Installation')
    'Defines if the installation should be of migrate or upgrade.'

    Property Attributes
    • allowed_values['Upgrade Installation', 'Migrate Installation']
    • default'Migrate Installation'
    
    
    23
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 23
    
    property :upgrade_install_type, type: String, allowed_values: ['Upgrade Installation', 'Migrate Installation'], default: 'Migrate Installation', description: 'Defines if the installation should be of migrate or upgrade.'
  • #db_repository_support ⇒ [TrueClass, FalseClass] (Default Value: true)

    Property Attributes
    • defaulttrue
    
    
    24
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 24
    
    property :db_repository_support, type: [TrueClass, FalseClass], default: true
  • #ancestor_repo_support ⇒ [TrueClass, FalseClass] (Default Value: true)

    Property Attributes
    • defaulttrue
    
    
    25
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 25
    
    property :ancestor_repo_support, type: [TrueClass, FalseClass], default: true
  • #skip_db_config ⇒ [TrueClass, FalseClass] (Default Value: true)

    Property Attributes
    • defaulttrue
    
    
    26
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 26
    
    property :skip_db_config, type: [TrueClass, FalseClass], default: true
  • #upgrade_post_install_database_update_properties ⇒ Hash (Default Value: nil)
    'All post installation properties for database upgrade.'

    Property Attributes
    • defaultnil
    
    
    27
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 27
    
    property :upgrade_post_install_database_update_properties, type: Hash, default: nil, description: 'All post installation properties for database upgrade.'
  • #enterprise_container_configuration ⇒ [TrueClass, FalseClass] (Default Value: true)
    This applies to 21.x and greater.

    Property Attributes
    • defaulttrue
    
    
    30
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 30
    
    property :enterprise_container_configuration, type: [TrueClass, FalseClass], default: true
  • #ec_https_redirect_port ⇒ Integer (Default Value: 8444)
    The HTTPS port for enterprise components. Note for 17.x through 20.x, these will be common for any enterprise components you've selected - that's why it's suggested/required by oracle to install them in different installations.

    Property Attributes
    • default8444
    
    
    34
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 34
    
    property :ec_https_redirect_port, type: Integer, default: 8444
  • #ec_http_connection_port ⇒ Integer (Default Value: 8081)
    The HTTP port for enterprise components. Note for 17.x through 20.x, these will be common for any enterprise components you've selected - that's why it's suggested/required by oracle to install them in different installations.

    Property Attributes
    • default8081
    
    
    38
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 38
    
    property :ec_http_connection_port, type: Integer, default: 8081
  • #ec_shutdown_port ⇒ Integer (Default Value: 8006)
    The tomcat shutdown port for enterprise components. Note for 17.x through 20.x, these will be common for any enterprise components you've selected - that's why it's suggested/required by oracle to install them in different installations.

    Property Attributes
    • default8006
    
    
    42
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 42
    
    property :ec_shutdown_port, type: Integer, default: 8006
  • #environment_type ⇒ String (Default Value: 'production')
    Should the environment be considered production, or non-production? In some releases, you don't get tools like dbsrvr in production mode Note that non-production mode is

    Property Attributes
    • default'production'
    • allowed_values['production','Non_Production']
    
    
    48
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 48
    
    property :environment_type, type: String, default: 'production', allowed_values: ['production','Non_Production']
  • #client_oracle_home ⇒ String

    Property Attributes
    
    
    50
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 50
    
    property :client_oracle_home, type: String
  • #install_gateway ⇒ [TrueClass, FalseClass] (Default Value: Proc.new { self.enterprise_container_configuration })
    These apply for 17.x through 20.x - on 21.x, this is in the enterprise container

    Property Attributes
    • defaultProc.new { self.enterprise_container_configuration }
    
    
    53
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 53
    
    property :install_gateway, type: [TrueClass, FalseClass], default: Proc.new { self.enterprise_container_configuration }
  • #install_eai ⇒ [TrueClass, FalseClass] (Default Value: Proc.new { self.enterprise_container_configuration })
    These apply for 17.x through 20.x - on 21.x, this is in the enterprise container

    Property Attributes
    • defaultProc.new { self.enterprise_container_configuration }
    
    
    55
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 55
    
    property :install_eai, type: [TrueClass, FalseClass], default: Proc.new { self.enterprise_container_configuration }
  • #install_ses ⇒ [TrueClass, FalseClass] (Default Value: Proc.new { self.enterprise_container_configuration })
    These apply for 17.x through 20.x - on 21.x, this is in the enterprise container

    Property Attributes
    • defaultProc.new { self.enterprise_container_configuration }
    
    
    57
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 57
    
    property :install_ses, type: [TrueClass, FalseClass], default: Proc.new { self.enterprise_container_configuration }
  • #install_enterprise_cache ⇒ [TrueClass, FalseClass] (Default Value: false)
    These apply for 17.x through 20.x - on 21.x, this is in the enterprise container

    Property Attributes
    • defaultfalse
    
    
    59
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 59
    
    property :install_enterprise_cache, type: [TrueClass, FalseClass], default: false
  • #install_constraint_engine ⇒ [TrueClass, FalseClass] (Default Value: false)
    These apply for 17.x through 20.x - on 21.x, this is in the enterprise container

    Property Attributes
    • defaultfalse
    
    
    61
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 61
    
    property :install_constraint_engine, type: [TrueClass, FalseClass], default: false
  • #install_database_tools ⇒ [TrueClass, FalseClass] (Default Value: Proc.new { self.enterprise_container_configuration })
    These apply for 17.x through 20.x - on 21.x, this is in the enterprise container

    Property Attributes
    • defaultProc.new { self.enterprise_container_configuration }
    
    
    63
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 63
    
    property :install_database_tools, type: [TrueClass, FalseClass], default: Proc.new { self.enterprise_container_configuration }
  • #installer_is_mde ⇒ [TrueClass, FalseClass]

    Property Attributes
    
    
    65
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 65
    
    property :installer_is_mde, type: [TrueClass, FalseClass]
  • #service_restart ⇒ [TrueClass, FalseClass] (Default Value: false)
    'Whether to restart services after installation or upgrade or not.'

    Property Attributes
    • defaultfalse
    
    
    66
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 66
    
    property :service_restart, type: [TrueClass, FalseClass], default: false, description: 'Whether to restart services after installation or upgrade or not.'
  • #oracle_home_name ⇒ String (Default Value: Proc.new { discover_oracle_home_name })

    Property Attributes
    • defaultProc.new { discover_oracle_home_name }
    
    
    68
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 68
    
    property :oracle_home_name, type: String, default: Proc.new { discover_oracle_home_name }
  • #ec_keystore_path ⇒ String
    The keystore for the enterprise components. See the siebel documentation for the keystore requirements, or the self-signed.md for details on how to generate a demo environment.

    Property Attributes
    
    
    72
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 72
    
    property :ec_keystore_path, type: String
  • #ec_keystore_type ⇒ String (Default Value: 'JKS')
    The keystore for the enterprise components. See the siebel documentation for the keystore requirements, or the self-signed.md for details on how to generate a demo environment.

    Property Attributes
    • default'JKS'
    • allowed_values['JKS','P12']
    
    
    75
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 75
    
    property :ec_keystore_type, type: String, default: 'JKS', allowed_values: ['JKS','P12']
  • #ec_keystore_password ⇒ Mint::Secret
    The keystore for the enterprise components. See the siebel documentation for the keystore requirements, or the self-signed.md for details on how to generate a demo environment.

    Property Attributes
    • fromString
    
    
    78
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 78
    
    property :ec_keystore_password, type: Mint::Secret, from: String
  • #ec_truststore_path ⇒ String
    The truststore for the enterprise components. See the siebel documentation for the keystore requirements, or the self-signed.md for details on how to generate a demo environment.

    Property Attributes
    
    
    81
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 81
    
    property :ec_truststore_path, type: String
  • #ec_truststore_type ⇒ String (Default Value: 'JKS')
    The truststore for the enterprise components. See the siebel documentation for the keystore requirements, or the self-signed.md for details on how to generate a demo environment.

    Property Attributes
    • default'JKS'
    • allowed_values['JKS','P12']
    
    
    84
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 84
    
    property :ec_truststore_type, type: String, default: 'JKS', allowed_values: ['JKS','P12']
  • #ec_truststore_password ⇒ Mint::Secret
    The truststore for the enterprise components. See the siebel documentation for the keystore requirements, or the self-signed.md for details on how to generate a demo environment.

    Property Attributes
    • fromString
    
    
    87
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 87
    
    property :ec_truststore_password, type: Mint::Secret, from: String
  • #application_interface_container_configuration ⇒ [TrueClass, FalseClass] (Default Value: true)
    Configure the application console?

    Property Attributes
    • defaulttrue
    
    
    90
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 90
    
    property :application_interface_container_configuration, type: [TrueClass, FalseClass], default: true
  • #ai_https_redirect_port ⇒ Integer (Default Value: 8443)
    The HTTPS port for the application interface

    Property Attributes
    • default8443
    
    
    92
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 92
    
    property :ai_https_redirect_port, type: Integer, default: 8443
  • #ai_http_connection_port ⇒ Integer (Default Value: 8080)
    The HTTP port for the application interface

    Property Attributes
    • default8080
    
    
    94
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 94
    
    property :ai_http_connection_port, type: Integer, default: 8080
  • #ai_shutdown_port ⇒ Integer (Default Value: 8005)
    The tomcat shutdown port for the application interface

    Property Attributes
    • default8005
    
    
    96
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 96
    
    property :ai_shutdown_port, type: Integer, default: 8005
  • #ai_username ⇒ String (Default Value: 'siebel')
    The default username for the installed application instance. This defaults to 'siebel' if not specified, but will also take the password from an associated application_instance object if required.

    Property Attributes
    • default'siebel'
    
    
    100
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 100
    
    property :ai_username, type: String, default: 'siebel'
  • #ai_password ⇒ Mint::Secret (Default Value: Mint::Secret.new('welcome1'))
    The default password - note that this will be overridden once you set up a security provider

    Property Attributes
    • fromString
    • defaultMint::Secret.new('welcome1')
    
    
    102
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 102
    
    property :ai_password, type: Mint::Secret, from: String, default: Mint::Secret.new('welcome1')
  • #ai_context_name ⇒ String (Default Value: 'siebel')
    The context path for the application interface. Note that many scripts, including oracle supplied ones, will fail if this is not set to 'siebel'.

    Property Attributes
    • default'siebel'
    
    
    105
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 105
    
    property :ai_context_name, type: String, default: 'siebel'
  • #ai_keystore_path ⇒ String
    THe keystore for application interface components. See the siebel documentation for the keystore requirements, or the self-signed.md for details on how to generate a demo environment.

    Property Attributes
    
    
    109
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 109
    
    property :ai_keystore_path, type: String
  • #ai_keystore_type ⇒ String (Default Value: 'JKS')
    THe keystore for application interface components. See the siebel documentation for the keystore requirements, or the self-signed.md for details on how to generate a demo environment.

    Property Attributes
    • default'JKS'
    • allowed_values['JKS','P12']
    
    
    112
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 112
    
    property :ai_keystore_type, type: String, default: 'JKS', allowed_values: ['JKS','P12']
  • #ai_keystore_password ⇒ Mint::Secret
    THe keystore for application interface components. See the siebel documentation for the keystore requirements, or the self-signed.md for details on how to generate a demo environment.

    Property Attributes
    • fromString
    
    
    115
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 115
    
    property :ai_keystore_password, type: Mint::Secret, from: String
  • #ai_truststore_path ⇒ String
    THe trusttore for application interface components. See the siebel documentation for the keystore requirements, or the self-signed.md for details on how to generate a demo environment.

    Property Attributes
    
    
    118
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 118
    
    property :ai_truststore_path, type: String
  • #ai_truststore_password ⇒ Mint::Secret
    THe truststore for application interface components. See the siebel documentation for the keystore requirements, or the self-signed.md for details on how to generate a demo environment.

    Property Attributes
    • fromString
    
    
    121
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 121
    
    property :ai_truststore_password, type: Mint::Secret, from: String
  • #ai_truststore_type ⇒ String (Default Value: 'JKS')
    THe truststore for application interface components. See the siebel documentation for the keystore requirements, or the self-signed.md for details on how to generate a demo environment.

    Property Attributes
    • default'JKS'
    • allowed_values['JKS','P12']
    
    
    124
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 124
    
    property :ai_truststore_type, type: String, default: 'JKS', allowed_values: ['JKS','P12']
  • #oracle_home ⇒ String (Default Value: Proc.new { r = self.get_property(:fmw_home, disable_proc: true) ; r })
    oracle_home defaults to fmw_home, even though fmw_home is not strictly an accurate terminology for siebel - this is entirely for backwards compatibility reasons

    Property Attributes
    • defaultProc.new { r = self.get_property(:fmw_home, disable_proc: true) ; r }
    
    
    128
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 128
    
    property :oracle_home, type: String, default: Proc.new { r = self.get_property(:fmw_home, disable_proc: true) ; r }
  • #fmw_home (Default Value: Proc.new { r = self.get_property(:oracle_home, disable_proc: true) ; r })

    Property Attributes
    • defaultProc.new { r = self.get_property(:oracle_home, disable_proc: true) ; r }
    
    
    129
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 129
    
    property :fmw_home, default: Proc.new { r = self.get_property(:oracle_home, disable_proc: true) ; r }
  • #version ⇒ String (Default Value: '21.5')

    Property Attributes
    • default'21.5'
    
    
    131
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 131
    
    property :version, type: String, default: '21.5'
  • #inventory_component ⇒ String (Default Value: 'oracle.siebel.ses')

    Property Attributes
    • default'oracle.siebel.ses'
    
    
    133
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 133
    
    property :inventory_component, type: String, default: 'oracle.siebel.ses'
  • #post_install_db_setup_properties ⇒ Hash (Default Value: nil)
    'Setting this property with proper details will attempt to run the PostInstallDBSetup after an upgrade has been run. Format: "post_install_db_setup_properties":{ "-i": "/oracle/app/runtime/siebel/ses/siebsrv/bin/Setup.ini", "-p": "TBLO Password", "-z": "Siebel User Password", "primary_host": "the host you want this to run on in a multinode environment", "setup_ini":{"GENERATE_SCHEMA"="N",other props}}'

    Property Attributes
    • defaultnil
    
    
    135
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 135
    
    property :post_install_db_setup_properties, type: Hash, default: nil, description: 'Setting this property with proper details will attempt to run the PostInstallDBSetup after an upgrade has been run. Format: "post_install_db_setup_properties":{ "-i": "/oracle/app/runtime/siebel/ses/siebsrv/bin/Setup.ini", "-p": "TBLO Password", "-z": "Siebel User Password", "primary_host": "the host you want this to run on in a multinode environment", "setup_ini":{"GENERATE_SCHEMA"="N",other props}}'
  • #repository_upgrade_properties ⇒ Hash (Default Value: nil)
    'Setting this property will attempt to run the repository upgrade utility post an upgrade. This takes all the inputs supported by the RepositoryUpgrade utility. Format: "repository_upgrade_properties":{"-s": "/oracle/app/siebel/ses/siebsrvr", "-t": "SIEBEL", "-u": "SIEBEL", "primary_host": "the host you want this to run on in a multinode environment"}'

    Property Attributes
    • defaultnil
    
    
    137
    # File 'src/oracle-siebel/lib/oracle-siebel/installation.rb', line 137
    
    property :repository_upgrade_properties, type: Hash, default: nil, description: 'Setting this property will attempt to run the repository upgrade utility post an upgrade. This takes all the inputs supported by the RepositoryUpgrade utility. Format: "repository_upgrade_properties":{"-s": "/oracle/app/siebel/ses/siebsrvr", "-t": "SIEBEL", "-u": "SIEBEL", "primary_host": "the host you want this to run on in a multinode environment"}'
  • #name ⇒ String (Default Value: self.class.to_s.gsub('::',''))

    Property Attributes
    • defaultself.class.to_s.gsub('::','')
    
    
    73
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 73
    
    property :Name, type: String, default: self.class.to_s.gsub('::','')
  • #host ⇒ MintPress::Infrastructure::Host (Default Value: Proc.new { r = nil if self.get_property(:java) and self.java.host r = self.java.host elsif self.get_property(:weblogic) and self.weblogic.host r = self.weblogic.host elsif self.get_property(:parent) and self.get_property(:parent).respond_to?(:get_property) and self.get_property(:parent).get_property(:host) r = self.parent.host elsif self.get_property(:default_localhost) r = MintPress::Infrastructure::Localhost.new(final_user: self.default_localhost_user) end r })
    If the user specifies transport, default to a new host with it, otherwise try parent... we'll raise exception if none of this stuff ends up resolving... why get_property? because parent may not be defined... getproperty wont exception, but self.xxx will!

    Property Attributes
    • defaultProc.new { r = nil if self.get_property(:java) and self.java.host r = self.java.host elsif self.get_property(:weblogic) and self.weblogic.host r = self.weblogic.host elsif self.get_property(:parent) and self.get_property(:parent).respond_to?(:get_property) and self.get_property(:parent).get_property(:host) r = self.parent.host elsif self.get_property(:default_localhost) r = MintPress::Infrastructure::Localhost.new(final_user: self.default_localhost_user) end r }
    • no_backreftrue
    • paralleltrue
    • disposition:requires
    
    
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 79
    
    property :host, type: MintPress::Infrastructure::Host, default: Proc.new {
      r = nil
      if self.get_property(:java) and self.java.host
          r = self.java.host
      elsif self.get_property(:weblogic) and self.weblogic.host
          r = self.weblogic.host
      elsif self.get_property(:parent) and self.get_property(:parent).respond_to?(:get_property) and self.get_property(:parent).get_property(:host)
        r = self.parent.host
      elsif self.get_property(:default_localhost)
        r = MintPress::Infrastructure::Localhost.new(final_user: self.default_localhost_user)
      end
      r
    }, no_backref: true, parallel: true, disposition: :requires
  • #machine ⇒ MintPress::OracleWeblogic::Machine
    This exists entirely to deal with backrefs overwriting the host attribute - don't remove it yet plz ;) I promise it'll go away eventually ;). --jj

    Property Attributes
    
    
    104
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 104
    
    property :Machine, type: MintPress::OracleWeblogic::Machine
  • #hostname ⇒ String
    Local or remote host using LocalTransport or SSHTransport

    Property Attributes
    
    
    107
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 107
    
    property :hostname, type: String
  • #product ⇒ String (Default Value: 'wls')
    This is the product name generated by OUI within the status xml - it is used for idempotence

    Property Attributes
    • default'wls'
    • requiredtrue
    
    
    110
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 110
    
    property :product, type: String, default: 'wls', required: true
  • #java ⇒ MintPress::OracleJava::Installation
    The java installation to use for this installation

    Property Attributes
    • disposition:requires
    • no_backreftrue
    
    
    113
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 113
    
    property :java, type: MintPress::OracleJava::Installation, disposition: :requires, no_backref: true
  • #weblogic ⇒ MintPress::OracleWeblogic::Installation
    The weblogic or fmw infrastructure installation to augment with this installation - this is normally used when installing additional FMW components, for example if you are installing soa, you would set this to your fmwinfrastructure installation.

    Property Attributes
    • disposition:requires
    • no_backreftrue
    • alias:fmwinfra
    
    
    117
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 117
    
    property :weblogic, type: MintPress::OracleWeblogic::Installation, disposition: :requires, no_backref: true, alias: :fmwinfra
  • #java_home ⇒ Pathname (Default Value: Proc.new { r = nil if self.get_property(:java).is_a?(MintPress::OracleJava::Installation) r = self.java.java_home elsif self.get_property(:weblogic).is_a?(MintPress::OracleWeblogic::Installation) r = self.weblogic.java_home end r })
    Java Home location - this can come from either a "real" java home folder, from a java installation, or from another weblogic- the advantage of the latter two is, of course, dependency stuff Also, this is completley bollocksed for some reason.....

    Property Attributes
    • fromString
    • defaultProc.new { r = nil if self.get_property(:java).is_a?(MintPress::OracleJava::Installation) r = self.java.java_home elsif self.get_property(:weblogic).is_a?(MintPress::OracleWeblogic::Installation) r = self.weblogic.java_home end r }
    • requiredtrue
    
    
    123
    124
    125
    126
    127
    128
    129
    130
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 123
    
    property :java_home, type: Pathname, from: String, default: Proc.new {
    r = nil
    if self.get_property(:java).is_a?(MintPress::OracleJava::Installation)
      r = self.java.java_home
    elsif self.get_property(:weblogic).is_a?(MintPress::OracleWeblogic::Installation)
      r = self.weblogic.java_home
    end
    r }, required: true
  • #fmw_home ⇒ Pathname (Default Value: Proc.new { self.get_property(:weblogic, disable_proc: true).get_property(:fmw_home, disable_proc: true) })
    FMW Home location - this can come directly, or from a weblogic installation Note that the target weblogic is NOT allowed to be a proc!

    Property Attributes
    • fromString
    • defaultProc.new { self.get_property(:weblogic, disable_proc: true).get_property(:fmw_home, disable_proc: true) }
    • requiredtrue
    
    
    134
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 134
    
    property :fmw_home, type: Pathname, from: String, default: Proc.new { self.get_property(:weblogic, disable_proc: true).get_property(:fmw_home, disable_proc: true) }, required: true
  • #version ⇒ String (Default Value: Proc.new { r = nil if self.get_property(:weblogic, disable_proc: true) r = self.get_property(:weblogic, disable_proc: true).get_property(:version) elsif self.get_property(:domain) r = self.domain.version end r })
    The version of the software to install. If there is a parent installation, or a domain, the version can be taken from those instead.

    Property Attributes
    • requiredtrue
    • defaultProc.new { r = nil if self.get_property(:weblogic, disable_proc: true) r = self.get_property(:weblogic, disable_proc: true).get_property(:version) elsif self.get_property(:domain) r = self.domain.version end r }
    
    
    137
    138
    139
    140
    141
    142
    143
    144
    145
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 137
    
    property :version, type: String, required: true, default: Proc.new {
      r = nil
      if self.get_property(:weblogic, disable_proc: true)
        r = self.get_property(:weblogic, disable_proc: true).get_property(:version)
      elsif self.get_property(:domain)
        r = self.domain.version
      end
      r
    }
  • #inventory_location ⇒ Pathname (Default Value: Proc.new { self.weblogic.inventory_location })
    Location of oraInvetory. If there is a parent installation, this will be taken from there.

    Property Attributes
    • fromString
    • defaultProc.new { self.weblogic.inventory_location }
    
    
    148
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 148
    
    property :inventory_location, type: Pathname, from: String, default: Proc.new { self.weblogic.inventory_location }
  • #inventory_component ⇒ String (Default Value: 'oracle.wls.core.app.server')
    Component used by OUI for this product - this is used for idempotence, and should generally only be overridden by child classes which are installing differnet products

    Property Attributes
    • requiredtrue
    • default'oracle.wls.core.app.server'
    
    
    152
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 152
    
    property :inventory_component, type: String, required: true, default: 'oracle.wls.core.app.server'
  • #install_type ⇒ String (Default Value: 'WebLogic Server')
    The install type passed to OUI. This should generally only be overridden by child classes which are installing differnet products

    Property Attributes
    • requiredtrue
    • default'WebLogic Server'
    
    
    156
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 156
    
    property :install_type, type: String, required: true, default: 'WebLogic Server'
  • #owner ⇒ String
    The OS owner of these files. This will default to the current user

    Property Attributes
    • requiredfalse
    
    
    159
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 159
    
    property :owner, type: String, required: false
  • #group ⇒ String
    The OS group of these files. This will default to the primary group of the current user.

    Property Attributes
    • requiredfalse
    
    
    162
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 162
    
    property :group, type: String, required: false
  • #software_stage ⇒ Pathname
    Location of the installer binary

    Property Attributes
    • fromString
    • alias:stage
    
    
    165
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 165
    
    property :software_stage, type: Pathname, from: String, alias: :stage
  • #patches ⇒ Hash of ⇒ [ MintPress::OracleWeblogic::Patch ]
    An ordered list of patches to apply

    Property Attributes
    
    
    168
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 168
    
    property :patches, type: [ MintPress::OracleWeblogic::Patch ], hash: true
  • #opatch_autoupdate ⇒ [TrueClass, FalseClass] (Default Value: false)
    Automatically update OPatch

    Property Attributes
    • defaultfalse
    
    
    171
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 171
    
    property :opatch_autoupdate, type: [TrueClass, FalseClass], default: false
  • #opatch_autoupdate_file ⇒ Pathname
    Location of OPatch file to autoupdate

    Property Attributes
    • fromString
    
    
    174
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 174
    
    property :opatch_autoupdate_file, type: Pathname, from: String
  • #ignore_sysprereqs ⇒ [TrueClass, FalseClass] (Default Value: true)
    Should we ignore system prerequisite checks? This is particularly useful on modern systems which have a lot of ram, but no swap, a valid configuration in linux but does not match the old unix heritage of this software

    Property Attributes
    • defaulttrue
    
    
    179
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 179
    
    property :ignore_sysprereqs, type: [TrueClass, FalseClass], default: true
  • #optional_args ⇒ String (Default Value: "")
    Optional arguments to pass to the installer binary

    Property Attributes
    • default""
    
    
    182
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 182
    
    property :optional_args, type: String, default: ""
  • #target_tmp_dir ⇒ Pathname (Default Value: Proc.new { r = nil if self.fmw_home.nil? r = Pathname.new("/tmp") else r = Pathname.new(::File.join(self.fmw_home.to_s,'../tmp')) end r })
    Single quotes for late binding

    Property Attributes
    • defaultProc.new { r = nil if self.fmw_home.nil? r = Pathname.new("/tmp") else r = Pathname.new(::File.join(self.fmw_home.to_s,'../tmp')) end r }
    
    
    185
    186
    187
    188
    189
    190
    191
    192
    193
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 185
    
    property :target_tmp_dir, type: Pathname, default: Proc.new {
      r = nil
      if self.fmw_home.nil?
        r = Pathname.new("/tmp")
      else
        r = Pathname.new(::File.join(self.fmw_home.to_s,'../tmp'))
      end
      r
    }
  • #patchsets ⇒ Hash of ⇒ MintPress::OracleWeblogic::PatchSet
    The set of patchsets to apply to this product. THis is, again, ordered, however since patchsets have dependencies this order is not guarenteed

    Property Attributes
    
    
    197
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 197
    
    property :patchsets, type: MintPress::OracleWeblogic::PatchSet, hash: true
  • #execute_before ⇒ String (Default Value: nil)
    'Accepts commands or script that will be executed before installation.'

    Property Attributes
    • defaultnil
    
    
    211
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 211
    
    property :execute_before, type: String, default: nil, description: 'Accepts commands or script that will be executed before installation.'
  • #execute_after ⇒ String (Default Value: nil)
    'Accepts commands or script that will be executed after installation.'

    Property Attributes
    • defaultnil
    
    
    212
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 212
    
    property :execute_after, type: String, default: nil, description: 'Accepts commands or script that will be executed after installation.'
  • #save_response_file ⇒ String (Default Value: nil)
    'MintPress will save the response file specified by this path, e.g. /tmp/resp.rsp. Default value is nil. The file will always be saved on the target system'

    Property Attributes
    • defaultnil
    
    
    213
    # File 'src/oracle-weblogic/lib/oracle-weblogic/installation.rb', line 213
    
    property :save_response_file, type: String, default: nil, description: 'MintPress will save the response file specified by this path, e.g. /tmp/resp.rsp. Default value is nil. The file will always be saved on the target system'

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

Attributes included from Mixins::Properties

#autopush_set_cache, #dynamic_create, #harvest_on_access, #harvest_undefined_only, #harvested, #tree_root

Instance Method Summary collapse

Methods inherited from OracleWeblogic::Installation

#background_install, #check_host, #clobber, #clobber_inventory, #do_install, #empty_mbean?, #get_instance_variables, #get_property_from_target, #harvest, #harvest_patches, #installed?, #installed_fmw_home, #installed_java_home, #remote_version, #uninstall, #update_opatch, #version_numeric

Methods included from Mixins::Backgroundable

#backgroundable, #wait_for_background_tasks

Methods included from Mixins::Properties

#[], #[]=, #add_validate_report_result, #armour_set_property, #array_contains?, #array_is_a?, #check_autopush, #check_stack_overflow, #clone_property_object, #cloner_handle_single_property, #coerce_single, #contains_as_string?, #display_validate_report_result, #double_initialize?, #dump_to_hash, #find_parent, #find_parent_by_identity, #generate_accessor_functions, #get_canonical_renamed, #get_from_opts, #get_my_name, #get_property, #get_property_item, #has?, included, #initialize_validate_report, #inspect, #is_cloned_object?, #is_mintpress_object?, #is_probably_canonical?, #is_set?, #local_debug, #local_info, #local_verbose, #mintpress_property_definitions, #place_object_by_identity, #process_properties, #prop_set?, #property, #property_definitions, #property_details, #property_is_simple_object?, #push_root!, #require_property, #require_update, #retrieve_docstring, #sanitize, #set_map_dirty, #set_property, #set_property_item, #show_short_array, #strip_defaults!, #synchronize, #uncloned_property_definitions, #update_map, #validate, #validate_generic, #validate_properties, #validate_property, #validate_required, #version_allowed?, #weakref

Methods included from MintLogger::Utils::Common

#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send

Methods included from OracleWeblogic::Utils

#activate_list, #already_traversed, #announce_self, #bean_type, #build_activate_list, #clear_property_sheet_cache, #create_generic, #create_mbean_components, #delete, #destroy_generic, #empty_mbean?, #execute_script, #fast_ls_all, #fast_ls_folder, #fast_ls_object, #fast_ls_object_map, #find_cluster, #find_runtime_path_in_rest, #find_server, #full_url, #get, #get_all_self_names, #get_identity, #get_local_wlst_session, #get_matching_self_names, #get_property_from_target, #get_property_from_target_rest, #get_property_from_target_wlst, #get_property_from_target_wlst_impl, #get_property_sheet, #get_rest_item, #get_rest_url_for_parent, #get_rest_url_for_self, #get_servers, #get_servers_rest, #get_servers_wlst, #get_wl_home, #globmatch?, #handle_create, #http_delete, #http_get, #http_post, #http_put, included, #invalidate_session, #is_meta_object?, #longclass, #massage_return, #mbean_components, #mbean_exists?, #mbean_lookup, #mbean_properties, #mbean_to_hash, #meta_list?, #my_short_name, #perform_method_generic, #perform_runtime_call_generic_rest, #perform_runtime_method_generic, #post, #raise_http_exception, #remove, #request_headers, #reset_activate_list, #rest_activate_change, #rest_create_generic, #rest_create_mbean_components, #rest_destroy_self, #rest_edit_url, #rest_has_changes, #rest_idempotent_create, #rest_locked, #rest_nonedit_url, #rest_start_change, #rest_undo_change, #runtime_introspection, #shortclass, #start_with_async, #state_with_net_ping, #stop_with_async, #to_nested, #wlst_cd_to, #wlst_create_generic, #wlst_destroy_self, #wlst_find_object, #wlst_find_parent_object, #wlst_generic_mbean_update_all, #wlst_idempotent_create, #wlst_update_mbean

Constructor Details

#initialize(opts = {}) ⇒ Installation

Returns a new instance of Installation.

Instance Method Details

#configure_environmentObject

#discover_oracle_home_nameObject

#exists?Boolean

Returns:

  • (Boolean)

#installObject

#installed_versionObject

#post_install_db_setupObject

Runs the PostInstallDBSetup utility

#repository_upgradeObject

Runs the RepositoryUpgrade utility

#set_env(env) ⇒ Object

#upgradeObject