Class: MintPress::OracleWeblogic::NodeManager

Inherits:
Object
  • Object
show all
Includes:
MintLogger, Mixins::Properties, FancyNew, MBeanUtils, Utils
Defined in:
src/oracle-weblogic/lib/oracle-weblogic/model/individual/node_manager.rb,
src/oracle-weblogic/lib/oracle-weblogic/model/generated_classes/split_102.rb,
src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb

Overview

Base class for an Oracle Weblogic Domain's NodeManager object

Since:

  • 0.1.0

Properties (Read/Write)

  • #version ⇒ String (Default Value: Proc.new { self.domain.version })
    Version of weblogic this property is being applied to

    Property Attributes
    • defaultProc.new { self.domain.version }
    
    
    9
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/node_manager.rb', line 9
    
    property :version, type: String, default: Proc.new { self.domain.version }
  • #name ⇒ String (Default Value: Proc.new { self.parent.name })

    Property Attributes
    • short_name"Name"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    • defaultProc.new { self.parent.name }
    
    
    11
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/node_manager.rb', line 11
    
    property :Name, type: String, default: Proc.new { self.parent.name }
  • #notes ⇒ String
    "Optional information that you can include to describe this\nconfiguration."

    Property Attributes
    • short_name"Notes"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    14
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/node_manager.rb', line 14
    
    property :Notes, type: String, array: false, hash: false, short_name: "Notes", has_setter: true, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "Optional information that you can include to describe this\nconfiguration."
  • #adapter ⇒ String
    "Gets the node manager client adapter name_version when using a VMM adapter to connect\nto OVM or other VMM adapter providers"

    Property Attributes
    • short_name"Adapter"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    17
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/node_manager.rb', line 17
    
    property :Adapter, type: String, array: false, hash: false, short_name: "Adapter", has_setter: true, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "Gets the node manager client adapter name_version when using a VMM adapter to connect\nto OVM or other VMM adapter providers"
  • #adapter_name ⇒ String
    "Gets the node manager client adapter name when using a VMM adapter to connect\nto OVM or other VMM adapters providers"

    Property Attributes
    • short_name"AdapterName"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    20
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/node_manager.rb', line 20
    
    property :AdapterName, type: String, array: false, hash: false, short_name: "AdapterName", has_setter: true, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "Gets the node manager client adapter name when using a VMM adapter to connect\nto OVM or other VMM adapters providers"
  • #adapter_version ⇒ String
    "Gets the node manager client adapter version when using a VMM adapter to connect\nto OVM or other VMM adapters providers"

    Property Attributes
    • short_name"AdapterVersion"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    23
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/node_manager.rb', line 23
    
    property :AdapterVersion, type: String, array: false, hash: false, short_name: "AdapterVersion", has_setter: true, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "Gets the node manager client adapter version when using a VMM adapter to connect\nto OVM or other VMM adapters providers"
  • #listen_address ⇒ String (Default Value: Proc.new { r = discover_nodemanager_prop('ListenAddress', String) if r.nil? and get_property(:machine) and get_property(:domain) and self.machine.servers.include?(domain.admin_server) r = 'localhost' else r.nil? r = my_transport.Facter['ipaddress'].value end r })
    Listen address for the nodemanager. This will default to the primary IP address, rather than the hostname, since the hostname may not be resolvable on platforms such as docker

    Property Attributes
    • short_name"ListenAddress"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    • requiredfalse
    • defaultProc.new { r = discover_nodemanager_prop('ListenAddress', String) if r.nil? and get_property(:machine) and get_property(:domain) and self.machine.servers.include?(domain.admin_server) r = 'localhost' else r.nil? r = my_transport.Facter['ipaddress'].value end r }
    • cached_proctrue
    
    
    30
    31
    32
    33
    34
    35
    36
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/node_manager.rb', line 30
    
    property :ListenAddress, required: false, type: String, default: Proc.new { r = discover_nodemanager_prop('ListenAddress', String)
    if r.nil? and get_property(:machine) and get_property(:domain) and self.machine.servers.include?(domain.admin_server)
      r = 'localhost'
    else r.nil?
      r = my_transport.Facter['ipaddress'].value
    end
    r }, cached_proc: true
  • #listen_port ⇒ Integer (Default Value: Proc.new { discover_nodemanager_prop('ListenPort', String) })
    Listen port for the nodemanager

    Property Attributes
    • short_name"ListenPort"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    • requiredfalse
    • defaultProc.new { discover_nodemanager_prop('ListenPort', String) }
    • cached_proctrue
    
    
    33
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/node_manager.rb', line 33
    
    property :ListenPort, required: false, type: Integer, default: Proc.new { discover_nodemanager_prop('ListenPort', String) }, cached_proc: true
  • #nm_type ⇒ String (Default Value: 'SSL')
    Node manager type - this is usually the default of 'SSL', however 'Plain' - while discouraged - is available for non-encrypted connections

    Property Attributes
    • short_name"NMType"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    • requiredfalse
    • allowed_values['Plain', 'SSL','RSH','SSH']
    • default'SSL'
    
    
    36
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/node_manager.rb', line 36
    
    property :NMType, required: false, type: String, allowed_values: ['Plain', 'SSL','RSH','SSH'], default: 'SSL'
  • #node_manager_home ⇒ String (Default Value: Proc.new { discover_nodemanager_home(known_running: false) })
    The home folder of the nodemanager. For 12c domains, this is usually set to domain_home/nodemanager - it does not have this as default, however, since BAU operations will cause damage to domains if this is incorrecly specified. It can be specified as '#{domain.home}/nodemanager' for this default (note the single quotes, rather than double quotes).

    Property Attributes
    • short_name"NodeManagerHome"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    • alias:home
    • requiredfalse
    • defaultProc.new { discover_nodemanager_home(known_running: false) }
    • cached_proctrue
    
    
    39
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/node_manager.rb', line 39
    
    property :NodeManagerHome, type: String, alias: :home, required: false, default: Proc.new { discover_nodemanager_home(known_running: false) }, cached_proc: true
  • #password ⇒ Mint::Secret (Default Value: Proc.new { domain.admin_password })
    The nodemanager connect password - this defaults to the admin password for the domain

    Property Attributes
    • short_name"Password"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    • fromString
    • requiredfalse
    • defaultProc.new { domain.admin_password }
    
    
    42
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/node_manager.rb', line 42
    
    property :Password, type: Mint::Secret, from: String, required: false, default: Proc.new { domain.admin_password }
  • #shell_command ⇒ String (Default Value: '')
    The shell command for the nodemanager to run

    Property Attributes
    • short_name"ShellCommand"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    • default''
    
    
    45
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/node_manager.rb', line 45
    
    property :ShellCommand, type: String, default: ''
  • #user_name ⇒ String (Default Value: Proc.new { domain.admin_username })
    The nodemanager connect username - this defaults to the domain admin username, which defaults to 'weblogic'

    Property Attributes
    • short_name"UserName"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    • requiredfalse
    • defaultProc.new { domain.admin_username }
    
    
    48
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/node_manager.rb', line 48
    
    property :UserName, type: String, required: false, default: Proc.new { domain.admin_username }
  • #debug_enabled ⇒ [TrueClass, FalseClass] (Default Value: false)
    Is debug enabled for this nodemanager instance?

    Property Attributes
    • short_name"DebugEnabled"
    • has_settertrue
    • has_getterfalse
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    • defaultfalse
    
    
    51
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/node_manager.rb', line 51
    
    property :DebugEnabled, type: [TrueClass, FalseClass], default: false
  • #nm_socket_create_timeout_in_millis ⇒ Integer
    "Returns the timeout value to be used by NodeManagerRuntime when creating a\na socket connection to the agent."

    Property Attributes
    • short_name"NMSocketCreateTimeoutInMillis"
    • has_settertrue
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    
    
    54
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/node_manager.rb', line 54
    
    property :NMSocketCreateTimeoutInMillis, type: Integer, array: false, hash: false, short_name: "NMSocketCreateTimeoutInMillis", has_setter: true, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "Returns the timeout value to be used by NodeManagerRuntime when creating a\na socket connection to the agent."
  • #dynamically_created ⇒ [TrueClass, FalseClass] (Default Value: false)
    Is this nodemanager dynamically created?

    Property Attributes
    • defaultfalse
    
    
    104
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 104
    
    property :DynamicallyCreated, type: [TrueClass, FalseClass], default: false
  • #properties ⇒ Hash (Default Value: {})
    Additional entries for nodemanager.properties - this is a hash in key/value gformat

    Property Attributes
    • default{}
    
    
    128
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 128
    
    property :Properties, type: Hash, default: {}
  • #domain_based ⇒ [TrueClass, FalseClass] (Default Value: Proc.new { self.node_manager_home.to_s.include?(self.domain.domain_home.to_s) })
    Is the nodemanager domain based? This defaults to 'true' if the node manager home is within the domain folder, and 'false' if it is not, hence it is usually not required to specify this.

    Property Attributes
    • defaultProc.new { self.node_manager_home.to_s.include?(self.domain.domain_home.to_s) }
    
    
    131
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 131
    
    property :domain_based, type: [TrueClass, FalseClass], default: Proc.new { self.node_manager_home.to_s.include?(self.domain.domain_home.to_s) }
  • #log_file ⇒ Pathname (Default Value: Proc.new { r = discover_nodemanager_prop('LogFile', String) r = Pathname.new("#{self.home}/nodemanager.log") if r.nil? r })
    The location for the nodemanager logs. Defaults to home/nodemanager.log

    Property Attributes
    • fromString
    • defaultProc.new { r = discover_nodemanager_prop('LogFile', String) r = Pathname.new("#{self.home}/nodemanager.log") if r.nil? r }
    • nmproptrue
    • cached_proctrue
    
    
    134
    135
    136
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 134
    
    property :log_file, type: Pathname, from: String, default: Proc.new { r =  discover_nodemanager_prop('LogFile', String)
    r = Pathname.new("#{self.home}/nodemanager.log") if r.nil?
    r }, nmprop: true, cached_proc: true
  • #domains_file ⇒ Pathname (Default Value: Proc.new { Pathname.new("#{self.home}/nodemanager.domains") })
    The location for the nodemanager.domains file - defaults to home/nodemanager.domains

    Property Attributes
    • fromString
    • defaultProc.new { Pathname.new("#{self.home}/nodemanager.domains") }
    • nmproptrue
    
    
    138
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 138
    
    property :domains_file, type: Pathname, from: String, default: Proc.new { Pathname.new("#{self.home}/nodemanager.domains") }, nmprop: true
  • #log_limit ⇒ Integer (Default Value: 0)
    The loglimit setting within nodemanager.properties

    Property Attributes
    • default0
    • nmproptrue
    
    
    140
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 140
    
    property :LogLimit, type: Integer, default: 0, nmprop: true
  • #authentication_enabled ⇒ [TrueClass, FalseClass] (Default Value: true)
    Does this nodemanager require authentication?

    Property Attributes
    • defaulttrue
    • nmproptrue
    
    
    142
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 142
    
    property :AuthenticationEnabled, type: [TrueClass, FalseClass], default: true, nmprop: true
  • #log_level ⇒ String (Default Value: "INFO")
    Output log level for the nodemanager process

    Property Attributes
    • default"INFO"
    • nmproptrue
    
    
    144
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 144
    
    property :LogLevel, type: String, default: "INFO", nmprop: true
  • #domains_file_enabled ⇒ [TrueClass, FalseClass] (Default Value: true)
    Is reading the nodemanager.domains file enabled?

    Property Attributes
    • defaulttrue
    • nmproptrue
    
    
    146
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 146
    
    property :DomainsFileEnabled, type: [TrueClass, FalseClass], default: true, nmprop: true
  • #start_script_name ⇒ String (Default Value: "startWebLogic.sh")
    Which script starts the weblogic service?

    Property Attributes
    • default"startWebLogic.sh"
    • nmproptrue
    
    
    148
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 148
    
    property :StartScriptName, type: String, default: "startWebLogic.sh", nmprop: true
  • #native_version_enabled ⇒ [TrueClass, FalseClass] (Default Value: true)
    Should we use the native libraries for the nodemanager process, or pure java code?

    Property Attributes
    • defaulttrue
    • nmproptrue
    
    
    150
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 150
    
    property :NativeVersionEnabled, type: [TrueClass, FalseClass], default: true, nmprop: true
  • #quit_enabled ⇒ [TrueClass, FalseClass] (Default Value: true)
    Is the 'quit' command enabled, to close the nodemanager?

    Property Attributes
    • defaulttrue
    • nmproptrue
    
    
    152
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 152
    
    property :QuitEnabled, type: [TrueClass, FalseClass], default: true, nmprop: true
  • #log_append ⇒ [TrueClass, FalseClass] (Default Value: true)
    Should we append to existing logs, or create new ones on each startup?

    Property Attributes
    • defaulttrue
    • nmproptrue
    
    
    154
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 154
    
    property :LogAppend, type: [TrueClass, FalseClass], default: true, nmprop: true
  • #log_to_stderr ⇒ [TrueClass, FalseClass] (Default Value: true)
    Should the log also be sent to stderr?

    Property Attributes
    • defaulttrue
    • nmproptrue
    
    
    156
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 156
    
    property :LogToStderr, type: [TrueClass, FalseClass], default: true, nmprop: true
  • #log_count ⇒ Integer (Default Value: 1)
    How many log files should we keep?

    Property Attributes
    • default1
    • nmproptrue
    
    
    158
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 158
    
    property :LogCount, type: Integer, default: 1, nmprop: true
  • #state_check_inverval ⇒ Integer (Default Value: 500)
    How often should we check the state of our child processes (in ms)

    Property Attributes
    • default500
    • nmproptrue
    
    
    160
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 160
    
    property :StateCheckInverval, type: Integer, default: 500, nmprop: true
  • #crash_recovery_enabled ⇒ [TrueClass, FalseClass] (Default Value: true)
    Should we restart processes after a crash?

    Property Attributes
    • defaulttrue
    • nmproptrue
    
    
    162
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 162
    
    property :CrashRecoveryEnabled, type: [TrueClass, FalseClass], default: true, nmprop: true
  • #start_script_enabled ⇒ [TrueClass, FalseClass] (Default Value: true)
    Should we use the start script specified in start_script, or start the processes directly?

    Property Attributes
    • defaulttrue
    • nmproptrue
    
    
    164
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 164
    
    property :StartScriptEnabled, type: [TrueClass, FalseClass], default: true, nmprop: true
  • #log_formatter ⇒ String (Default Value: "weblogic.nodemanager.server.LogFormatter")
    How should logs be formatted?

    Property Attributes
    • default"weblogic.nodemanager.server.LogFormatter"
    • nmproptrue
    
    
    166
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 166
    
    property :LogFormatter, type: String, default: "weblogic.nodemanager.server.LogFormatter", nmprop: true
  • #listen_backlog ⇒ Integer (Default Value: 50)
    How many backlogged connections should we allow for accept()?

    Property Attributes
    • default50
    • nmmproptrue
    
    
    168
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 168
    
    property :ListenBacklog, type: Integer, default: 50, nmmprop: true
  • #secure_listener ⇒ [TrueClass, FalseClass] (Default Value: Proc.new { ['ssl','ssh'].include?(self.NMType.downcase) })
    Is our listener SSL? This is usually derived from the nm_type setting, and hence is not usually required - if that is set to SSL or SSH, this is set to true, otherwise it's set to flse for Plain/RSH

    Property Attributes
    • defaultProc.new { ['ssl','ssh'].include?(self.NMType.downcase) }
    • nmproptrue
    
    
    170
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 170
    
    property :SecureListener, type: [TrueClass, FalseClass], default: Proc.new { ['ssl','ssh'].include?(self.NMType.downcase) }, nmprop: true
  • #domains_dir_remote_sharing_enabled ⇒ [TrueClass, FalseClass]
    Shared WLS domains?

    Property Attributes
    • nm_proptrue
    
    
    173
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 173
    
    property :DomainsDirRemoteSharingEnabled, type: [TrueClass, FalseClass], nm_prop: true
  • #key_stores ⇒ String (Default Value: Proc.new { if !no_value?(self.CustomIdentityKeyStoreFileName) then "CustomIdentityAndCustomTrust" else nil end })
    Keystore type - this will be automatically set to 'CustomIdentityAndCustomTrue' if a keystore is provided, hence it is usually not required to set this

    Property Attributes
    • defaultProc.new { if !no_value?(self.CustomIdentityKeyStoreFileName) then "CustomIdentityAndCustomTrust" else nil end }
    • nmproptrue
    
    
    176
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 176
    
    property :KeyStores, type: String, default: Proc.new { if !no_value?(self.CustomIdentityKeyStoreFileName) then "CustomIdentityAndCustomTrust" else nil end }, nmprop: true
  • #custom_identity_alias ⇒ String
    Key alias for the identity of this nodemanager within the keystore

    Property Attributes
    • nmproptrue
    
    
    178
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 178
    
    property :CustomIdentityAlias, type: String, nmprop: true
  • #custom_identity_key_store_file_name ⇒ String
    The filename for the identity keystore

    Property Attributes
    • nmproptrue
    
    
    180
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 180
    
    property :CustomIdentityKeyStoreFileName, type: String, nmprop: true
  • #custom_identity_key_store_pass_phrase ⇒ Mint::Secret
    The passphrase for the identity keystore

    Property Attributes
    • fromString
    • nmproptrue
    
    
    182
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 182
    
    property :CustomIdentityKeyStorePassPhrase, type: Mint::Secret, from: String, nmprop: true
  • #custom_identity_private_key_pass_phrase ⇒ Mint::Secret
    The private key pass phrase for the identity keystore

    Property Attributes
    • fromString
    • nmproptrue
    
    
    184
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 184
    
    property :CustomIdentityPrivateKeyPassPhrase, type: Mint::Secret, from: String, nmprop: true
  • #trust_store ⇒ Pathname
    The filename of the truststore

    Property Attributes
    • fromString
    
    
    187
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 187
    
    property :TrustStore, type: Pathname, From: String
  • #trust_store_key ⇒ Mint::Secret
    The passphrase for the truststore

    Property Attributes
    • fromString
    
    
    189
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 189
    
    property :TrustStoreKey, type: Mint::Secret, From: String
  • #umask ⇒ String (Default Value: "022")
    The umask for nodemanager execution

    Property Attributes
    • default"022"
    
    
    192
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 192
    
    property :umask, type: String, default: "022"
  • #use_jsse ⇒ [TrueClass, FalseClass] (Default Value: true)
    should we force the use JSSE?

    Property Attributes
    • defaulttrue
    
    
    194
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 194
    
    property :use_jsse, type: [TrueClass, FalseClass], default: true
  • #automatic_restart_on_reconfigure ⇒ [TrueClass, FalseClass] (Default Value: false)
    Should we automatically restart on reconfigure? This defaults to false for now, in order to avoid changing existing workflows, but will eventually be migrated to true as those workflows are updated.

    Property Attributes
    • defaultfalse
    
    
    199
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 199
    
    property :automatic_restart_on_reconfigure, type: [TrueClass, FalseClass], default: false
  • #use_wildcard_certificate ⇒ [TrueClass, FalseClass] (Default Value: false)

    Property Attributes
    • defaultfalse
    
    
    201
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 201
    
    property :use_wildcard_certificate, type: [TrueClass, FalseClass], default: false
  • #additional_properties ⇒ Hash (Default Value: {})
    Additional properties to go into nodemanager.properties

    Property Attributes
    • default{}
    
    
    204
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 204
    
    property :additional_properties, type: Hash, default: {}
  • #domain ⇒ MintPress::OracleWeblogic::Domain
    The domain this nodemanager is associated with

    Property Attributes
    
    
    207
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 207
    
    property :domain, type: MintPress::OracleWeblogic::Domain
  • #parent ⇒ MintPress::OracleWeblogic::Machine

    Property Attributes
    • prop_name:node_manager
    
    
    208
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/nodemanager.rb', line 208
    
    property :parent, type: MintPress::OracleWeblogic::Machine, prop_name: :node_manager

Properties (Read Only)

  • #installed_vmm_adapters ⇒ Array of ⇒ String
    "Deprecated.\nVMM client support is removed since 12.1.2"

    Property Attributes
    • short_name"InstalledVMMAdapters"
    • has_setterfalse
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlytrue
    
    
    26
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/node_manager.rb', line 26
    
    property :InstalledVMMAdapters, type: String, array: true, hash: false, short_name: "InstalledVMMAdapters", has_setter: false, has_getter: true, has_lister: false, has_creator: false, read_only: true, description: "Deprecated.\nVMM client support is removed since 12.1.2"

Constant Summary

Constants included from MintLogger

MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN

Instance Attribute Summary collapse

Attributes included from Mixins::Properties

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

Instance Method Summary collapse

Methods included from MBeanUtils

#assign_object_by_identity, #assign_object_by_identity_from, #bean_is_changed?, #dump_metadata, #dump_tree_metadata, #get_item_by_identity_name, #get_item_by_identity_name_from, #get_parent_by_identity_name, #harvest, #harvest_anew, #harvest_item_by_name, #harvest_item_by_type, #harvest_wlst, #harvesters, #harvesting, #longname, #lookup_mintpress_by_mbean, #mbean_by_url, #process_mbeans, #register_mbean_url

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 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

Methods included from FancyNew

included

Constructor Details

#initialize(opts = {}) ⇒ MintPress::OracleWeblogic::NodeManager

Constructor

Examples:

Create Domain with Machines - @see Domain#configure_offline

admin_password = Mint::Secret.new("welcome1")

domain_opts={Name: 'wls_domain', AdminServerName: 'AdminServer', AdminUsername: 'weblogic', AdminPassword: admin_password, RootDirectory: '/oracle/app/wls/environments', installations: [wls_installation1, wls_installation2])
domain=MintPress::OracleWeblogic::Domain.new(domain_opts)

domain.add_machine(Name: "appserver1.mintpress.io", 
                   NodeManager: { Name: "appserver1.mintpress.io", Home: "#{domain.domainHome}/nodemanager", ListenAddress: "appserver1.mintpress.io", ListenPort: 5566, UserName: 'weblogic', Password: admin_password, NMType: 'Plain'})

Parameters:

  • opts (Hash) (defaults to: {})
    A Hash of options with which to instantiate this class

Options Hash (opts):

  • :name (String)
    the name of the NodeManager
  • :addresses (String)
    the addresses of the NodeManager
  • :ListenAddress (String)
    the listen address for the NodeManager
  • :ListenPort (Integer)
    the listen port for the NodeManager
  • :NMType (String)
    the type of NodeManager. Valid values are [ Plain, RSH, SSH, SSL ], default: SSL
  • :Home (Pathname)
    the NodeManager home location path.
  • :UserName (String)
    the NodeManager administrator user
  • :Password (Mint::Secret, String)
    the NodeManager administrator password. @note this will be converted to Mint::Secret if it is a String.
  • :Properties (Hash)
    the NodeManager properties in Hash format. If properties is specified, these are merged with DefaultProperties.

Raises:

  • (ArgumentError)
    invalid argument passed into constructor

Since:

  • 0.1.0

Instance Attribute Details

#AdapterString

Returns the Adapter for the NodeManager.

Returns:

  • (String)
    the Adapter for the NodeManager

#DebugEnabledTrueClass, FalseClass

Returns whether or not Debug is enabled for the NodeManager.

Returns:

  • (TrueClass, FalseClass)
    whether or not Debug is enabled for the NodeManager

#DefaultPropertiesHash

Returns the default NodeManager properties in Hash format. If no properties specified, Default Properties are used.

Returns:

  • (Hash)
    the default NodeManager properties in Hash format. If no properties specified, Default Properties are used.

#DomainMintPress::OracleWeblogic::Domain

Returns Domain associated with the NodeManager.

Returns:

#DynamicallyCreatedTrueClass, FalseClass

Returns whether or not the NodeManager has been DynamicallyCreated.

Returns:

  • (TrueClass, FalseClass)
    whether or not the NodeManager has been DynamicallyCreated

#HomePathname

Returns the NodeManager home location path.

Returns:

  • (Pathname)
    the NodeManager home location path.

#InstalledVMMAdaptersTrueClass, FalseClass

Returns whether or not the NodeManager has InstalledVMMAdapters.

Returns:

  • (TrueClass, FalseClass)
    whether or not the NodeManager has InstalledVMMAdapters

#ListenAddressString

Returns the listen address for the NodeManager.

Returns:

  • (String)
    the listen address for the NodeManager

#ListenPortInteger

Returns the listen port for the NodeManager.

Returns:

  • (Integer)
    the listen port for the NodeManager

#nameString

Returns the name of the NodeManager.

Returns:

  • (String)
    the name of the NodeManager

#NMTypeString

Returns the type of NodeManager. Valid values are [ Plain, RSH, SSH, SSL, plain, rsh, ssh, ssl ].

Returns:

  • (String)
    the type of NodeManager. Valid values are [ Plain, RSH, SSH, SSL, plain, rsh, ssh, ssl ]

#ParentMintPress::OracleWeblogic::Domain

Returns Parent Domain associated with the NodeManager.

Returns:

#PasswordMint::Secret, String

Returns the NodeManager administrator password. @note this will be converted to Mint::Secret if it is a String.

Returns:

  • (Mint::Secret, String)
    the NodeManager administrator password. @note this will be converted to Mint::Secret if it is a String.

#PropertiesHash

Returns the NodeManager properties in Hash format. If properties is specified, these are merged with DefaultProperties.

Returns:

  • (Hash)
    the NodeManager properties in Hash format. If properties is specified, these are merged with DefaultProperties.

#UserNameString

Returns the NodeManager administrator user.

Returns:

  • (String)
    the NodeManager administrator user

Instance Method Details

#actual_running?Boolean

Returns:

  • (Boolean)

Since:

  • 0.1.0

#clobbervoid

TODO:
method not yet implemented

This method returns an undefined value.

Clobber and destroy the nodemanager

Since:

  • 0.1.0

#configure(minimal: false) ⇒ void

Note:
this method will stop the nodemanager and then restart it once it has been configured

This method returns an undefined value.

Configure the Nodemanager, register the Domain with nodemanager.domains and configure NodeManager properties file nodemanager.properties in NodeManager.Home

Since:

  • 0.1.0

#createvoid

This method returns an undefined value.

Create the NodeManager

Since:

  • 0.1.0

#decrypt_nodemanager_passwords(properties_data) ⇒ Object

Since:

  • 0.1.0

#discover_nodemanager_home(known_running:) ⇒ Object

Since:

  • 0.1.0

#discover_nodemanager_prop(prop_name, type) ⇒ Object

Since:

  • 0.1.0

#exists?Boolean

Returns:

  • (Boolean)

Since:

  • 0.1.0

#get_default_propertiesMintPress::OracleWeblogic::DefaultProperties

Note:
this method will get the default properties.
Get the default nodemanager properties

Returns:

  • (MintPress::OracleWeblogic::DefaultProperties)

Since:

  • 0.1.0

#get_propertiesMintPress::OracleWeblogic::Properties

Note:
this method will get the Properties attribute and merge it with default properties.
Get the current nodemanager properties

Returns:

  • (MintPress::OracleWeblogic::Properties)

Since:

  • 0.1.0

#import_props_from_modelObject

#is_properties_ours?(prop_file) ⇒ Boolean

Returns:

  • (Boolean)

Since:

  • 0.1.0

#is_registeredObject Also known as: isRegistered

Deprecated.

#kill(t, pid) ⇒ Object

Since:

  • 0.1.0

#lck_files(t, logfile) ⇒ Object

Since:

  • 0.1.0

#local_harvestvoid

TODO:
method not yet implemented

This method returns an undefined value.

Harvest the nodemanager configuration from a running system

Since:

  • 0.1.0

#log_file_from_nmprop(t) ⇒ Object

Since:

  • 0.1.0

#m_bean_infoObject Also known as: getMBeanInfo, get_m_bean_info, mBeanInfo

Deprecated.

#my_transportObject

Since:

  • 0.1.0

#object_nameObject Also known as: getObjectName, get_object_name, objectName

Deprecated.

#pid_from_fsuser(t) ⇒ Object

Since:

  • 0.1.0

#pid_from_netstat(t) ⇒ Object

Since:

  • 0.1.0

#pid_from_nm_process(nodemanager_processes) ⇒ Object

Since:

  • 0.1.0

#pid_with_rootdir(t) ⇒ Object

Since:

  • 0.1.0

#pid_without_rootdir(t) ⇒ Object

Since:

  • 0.1.0

#restartvoid

This method returns an undefined value.

Restart the Node Manager

Since:

  • 0.1.0

#running?TrueClass, FalseClass

Determine whether the NodeManager is running

Returns:

  • (TrueClass, FalseClass)
    whether the NodeManager is running

Since:

  • 0.1.0

#set_adapter_nameObject

setAdapterName(String adapterName)# Deprecated. 10.3.4.0 Replaced by NodeManagerMBean.getAdapter()

#set_default_properties(props = {}) ⇒ void

Note:
this method will set the DefaultProperties

This method returns an undefined value.

Set nodemanager default properties

Since:

  • 0.1.0

#set_properties(props = {}) ⇒ void

Note:
this method will set the Properties attribute and merge it with default properties.

This method returns an undefined value.

Set nodemanager properties

Since:

  • 0.1.0

#should_we_connect?Boolean

This method checks if the transport to a nodemanager's host is alive if ignore_uncontactable_servers on domain is set to true and returns true if t.alive? otherwise false when ignore_uncontactable_servers is not set, this method always returns true

Returns:

  • (Boolean)

Since:

  • 0.1.0

#startvoid

This method returns an undefined value.

Start the Nodemanager if it is not running

Since:

  • 0.1.0

#stopvoid

This method returns an undefined value.

Stop the Nodemanager if it is running

Since:

  • 0.1.0

#to_hashHash

Return a Hash representation of the NodeManager and associated sub-classes

Returns:

  • (Hash)
    the Machine object in Hash format

Since:

  • 0.1.0

#usagevoid

This method returns an undefined value.

Print usage

Since:

  • 0.1.0