官术网_书友最值得收藏!

Preparing the environment

The SOA infrastructure can be started up and shut down in several ways—through the console, WLST, or the command line, each having their own benefits. All approaches are valid and depend on your standards and preference. However, our recommendation is that you use a set of scripts to make this repetitive process less cumbersome and more consistent. The following figure demonstrates how AdminServer can start up or shut down a remote managed server by issuing commands through Node Manager:

Figure 3.1: AdminServer issues commands to remote hosts through Node Manager

Regardless of the approach you follow, be aware of a few points. You should ideally start up Node Manager first. If you have a clustered installation, then Node Manager should be started up on each host separately. Node Manager serves multiple purposes—it can automatically restart a managed server that has crashed, it provides you the ability to start up or stop managed servers remotely, and it is required for clustered installations. In a clustered installation, AdminServer is started up on only one physical server per entire cluster.

Note

Node Manager is a Java utility that runs as a separate process from WebLogic Server and allows you to perform common operation tasks for a managed server, regardless of its location with respect to its Administration Server.

Setting up the environment

Setting up the environment simplifies subsequent commands and allows more efficient scripting. To set up the environment, customize the values in the following command lines so that they are reflected in your environment:

export ORACLE_HOME=/u01/oracle/products/Oracle_SOA1
export WL_HOME=${ORACLE_HOME}/wlserver
export DOMAIN_NAME=soa_domain
export DOMAIN_HOME=${ORACLE_HOME}/user_projects/domains/${DOMAIN_NAME}

Disabling the prompt of the WebLogic password

Whether you are scripting your startup process or using the console to start each component, you will want to disable the prompting of the WebLogic administrator password.

When you start up any managed server, you are typically prompted for the username and password that was used to create the domain. To disable the prompting of these credentials at startup, edit the boot.properties file on all managed servers. This is a one-time step that is recommended to be done on every managed server on each node of your cluster.

Prior to starting up the SOA, OSB, BAM, ESS, and WSM managed servers, perform the following steps:

  1. Create a boot.properties file on each of the managed servers inside the physical servers in the cluster, replacing the username and password with those values that reflect your environment:
    cd ${DOMAIN_HOME}/servers/soa_server1/security
    echo "username=weblogic" > boot.properties
    echo "password=welcome1" >> boot.properties
    
  2. Repeat the preceding step on all servers in the cluster.

Now that you have created the boot.properties file, after you start up the managed server, both the username and password will be encrypted in this file.

主站蜘蛛池模板: 光山县| 永顺县| 望奎县| 金堂县| 河西区| 天水市| 锦州市| 光山县| 泸州市| 库尔勒市| 莲花县| 波密县| 滦南县| 故城县| 泗阳县| 太仓市| 菏泽市| 驻马店市| 茶陵县| 稷山县| 乌兰察布市| 泰和县| 襄城县| 乐安县| 左云县| 皋兰县| 内江市| 兰考县| 扬州市| 黄平县| 洛宁县| 建平县| 屏山县| 黑山县| 阳朔县| 丹江口市| 彩票| 进贤县| 静宁县| 潢川县| 钦州市|