• No se han encontrado resultados

Parameter Description Default Value

bea_home BEA root directory. The full path for the

Middleware home directory of your choice. For example: c:\BEA

Bind this property to that of the MSWeblogic service.

self:MSWeblogic:bea_h ome

wl_home WebLogic root directory. The full path for the

Directory where you want to install WebLogic Server of your choice. For example,

C:\BEA\WebLogicServer

Bind this property to that of the MSWeblogic service.

self:MSWeblogic:wl_ho me

wl_tmp_files_dir The full path for the directory where temporary files will be saved. Change it as per your choice. e.g. C:\BEA\tmp_files

Bind this property to that of the MSWeblogic service.

self:MSWeblogic: wl_tmp_files_dir

wl_domain Name of the weblogic domain.

Bind this property to that of the common script on the admin server template.

AdminServer:common: wl_domain

wl_admin_server_name Name of the admin server for the weblogic domain. e.g. AdminServer. Change it as per your choice or bind this property to that of the common script on the admin server template.

AdminServer:common: wl_admin_server_nam e

wl_admin_server_addr Listen address for the Admin Server.

Bind this property to that of the common script on the admin server template.

AdminServer:common: wl_admin_server_addr

wl_admin_server_port Listen port of the admin server. e.g 7001.

Bind this property to that of the common script on the admin server template.

AdminServer:common: wl_admin_port

wl_admin_user User name of the weblogic admin server.

Bind this property to that of the common script on the admin server template.

AdminServer:common: wl_admin_user

wl_admin_password Password for the admin server.

Bind this property to that of the common script on the admin server template.

AdminServer:common: wl_admin_password

wl_managed_server_name Name for the managed Server to be created on the weblogic domain. e.g. managed_server1 or 192.134.123.4 where 192.134.123.4 is the ip of the machine.

Change it as per your choice.

wl_managed_server_jvm_a rgs

JAVA arguments used when starting the server.

Change it as per the requirement or bind this property to that of the common script on the admin server template.

AdminServer:common: wl_managed_server_jv m_args

wl_node_manager_addr Address upon which the machine running node manager can listen for connection requests. Bind this property to self:ip.

self:ip

wl_node_manager_user User name for the node manager. For example, weblogic_nm.

Bind this property to that of the common script on the admin server template.

AdminServer:common: wl_node_manager_use r

wl_node_manager_passwo rd

Password for the node manager user. e.g. weblogic_nm123.

Bind this property to that of the common script on the admin server template.

AdminServer:common: wl_node_manager_pas sword

wl_node_manager_port Listen port for the node manager, for example, 6666.

Bind this property to that of the common script on the admin server template.

AdminServer:common: wl_node_manager_por t

wl_native_target path that Java uses to find native libraries.set it to the directory that contains the DLL files

For 32 bit jdk, set this to win/32 else win/x64

We can also bind this property to that of the common script on the admin server template.

AdminServer:common: wl_native_target

1.9 (Optional) Parameters of Sample_App

Parameter Description Default Value

wl_home WebLogic root directory. The full path for the

directory where you want to install WebLogic Server of your choice. For example, C:\BEA\WebLogicServer.

Bind this property to that of the common script on the admin server template.

self:common: wl_home

wl_tmp_files_dir The full path for the directory where temporary files will be saved. Change it as per your choice. e.g. C:\BEA\tmp_files.

Bind this property to that of the common script on the admin server template.

self:common: wl_tmp_files_dir

wl_domain Weblogic domain name.

Bind this property to that of the common script on the admin server template.

self:common:wl_domai n

wl_cluster_name Name of the weblogic cluster. e.g. mycluster.

Change it as per your choice.

We can bind this property to that of the common script on the admin server template.

self:common:wl_cluste r_name

wl_admin_server_addr Listen address for the Admin Server. Bind this property to that of the common script on the admin server template at deployment phase.

self:common:wl_admin _server_addr

wl_admin_server_port Listen port for weblogic admin server.

Bind this property to that of the common script on the admin server template at the deployment time.

self:common:wl_admin _server_port

wl_admin_user User name for the weblogic admin server. e.g.

weblogic.

Bind this property to that of the common script on the admin server template.

self:common:wl_admin _user

wl_admin_password Password for the weblogic admin server user. For example, weblogic123

Bind this property to that of the common scipt on the admin server template.

self:common:wl_admin _password

db_host Host name of the database server. It can be

hostname or IP address of the database server. Bind this to the ip of the database template.

Database:ip

db_username User name for the database created on the

database server.

e.g., myuser.

Change it accordingly.

Bind this property to that of the initialize_db_script on the database template.

Database:initialize_db_ script:db_username

db_password Password for the database user.

e.g. vmware123

Change it as per your choice.

we can also bind this property to that of the database template.

Database:initialize_db_ script:db_password

db_name Name of the database which is already created on

the database server like MySQL.

e.g., mydatabase.

Bind this property to sample_db property of the initialize_db_script script of the database template.

Database:initialize_db_ script:sample_db

db_port Port for the database.

Default is 3306.

Change it accordingly or we can bind this property to that of the database template.

Database:MySQL:db_p ort

db_proto The WL global transaction protocol to use.

Change it as per the requirement.

OnePhaseCommit

db_test_table This is the table a test is done against to validate the data source. In this example we have DUAL so WL will magically call select count(*) from DUAL. I'm sure there is some way to change this mystical behavior.

db_driver Diver for the database connection. Used to connect with the MySQL database. e.g.,

com.mysql.jdbc.Driver.

Change it accordingly for other database server.

com.mysql.jdbc.Driver

ds_name Data source name to be created on the weblogic

domain.

For example, mydatasource. Change it as per your choice.

dukesBankDS

dukesbank_ear URL to download the weblogic version of the

dukesbank ear.

http://${darwin.conten t.server.ip}/artifacts/ap p- components/dukesbank/du kesbank-wl12c.ear

2.0 (Optional) Parameters of MySQL

Parameter Description Default Value

global_conf URL to download the Darwin global configuration

file.

https://${darwin.server .ip}:8443/darwin/conf/ darwin_global.conf

db_port Database port 3306

db_root_password Database root password mysql@123

db_root_username Database root user name root

2.1 (Optional) Parameters of initialize_db_script

Parameter Description Default Value

initialize_db_script SQL file which contains database information. http://${darwin.conten t.server.ip}/artifacts/ap p- components/dukesban k/create_bank_db.sql

db_username Username for the database to be created on the

database server. Change it accordingly.

dukes_admin

db_password Password for the database to be created on the

database server. Change it accordingly.

sample_db Name of the database which will be created on the database server like MySQL, for the sample application.

e.g., mydatabase.

Change it as per your choice.

dukes_db

init_db_username Root User name of the database server. Bind this property to the db_rot_username property of the database template.

self:MySQL:db_root_us ername

init_db_password Password for the database root user. e.g. vmware123

Change it as per your requirement.

We can also bind this property to that of the database template

self:MySQL:db_root_pa ssword

2.2 (Optional) Parameters of Apache

Parameter Description Default Value

global_conf URL to download the Darwin global configuration

file.

https://${darwin.server .ip}:8443/darwin/conf/ darwin_global.conf

http_node_port HTTP port number to proxy to 8080

autogen_sticky_cookie Set to YES when load balancing non-Java app servers

NO

http_proxy_port HTTP proxy port number. 8081

http_node_ips Array of ips to proxy. Set to ["None"] to disable proxy.

["None"]

httpd_dir Read-only path to apache base dir. /etc/httpd

http_port HTTP port number to serve static content. Leave

blank to disable this feature.

80

appsrv_routes Application server route configuration to apply sticky sessions.

["None"]

service_restart Read-only command string for other services to see how to restart apache.

service httpd restart

service_start Read-only command string for other services to see how to start apache.

service httpd start

service_stop Read-only command string for other services to see how to stop apache.

service httpd stop

tomcat_context Optional property of the WAR context to proxy to using ajp on Tomcat.

ajp_proxy_context Optional property to set which URL context to proxy to Tomat using ajp.

use_ajp Enable this when configuring proxy to Tomcat instance that is using AJP. Set to YES or NO.

NO

2.3 (Optional) Parameters of SetupWLClusterLB

Parameter Description Default Value

global_conf URL to download the Darwin global configuration

file.

https://${darwin.server .ip}:8443/darwin/conf/ darwin_global.conf

mod_wl_so_name A name assigned to the mod_wl plugin when

placed in Apache's module directory. Change it as per your choice.

mod_wl.so

wl_default_fn The Default File Name set in the Location associated with the weblogic-handler. For

example, /sampleApp.

Change it as per your requirement.

/bank

wl_managed_server_port Listen port for the managed server.

Bind this property to that of the admin server template

AdminServer:common: wl_managed_server_p ort

config_httpd_conf Read-only path for apache httpd conf file.

Bind this property to that of the apache template.

self:Apache:config_http d_conf

httpd_dir Read-only path to apache base dir. Bind this

property to that of the apache server template.

self:Apache:httpd_dir

mod_wl_so This is the mod_wl.so plugin that due to licensing

restrictions cannot be bundled. It can be downloaded here: http://www.oracle.com/technetwork/middleware/i as/downloads/wls-plugins-096117.html http://${darwin.conten t.server.ip}/artifacts/se rvices/weblogic/mod_ wl.so

wl_lb_path This is the path that will go in Apache's Location directive. This is associated with mod_wl so to route requests to the cluster

e.g. http://somehost/weblogic/someapp time being

setting this and wl_default_fn so

everything goes through to the dukesbank

wl_cluster_nodes Array of IP of the nodes that are part of the weblogic cluster.

Bind this property as

all(ManagedServer_template:ip).

all(ManagedServerClust er:ip)

Documento similar