How do I remotely start multiple WebLogic Servers?
WebLogic Server UNIX
BEA WebLogic Server 5.1+
Before you can do this, you will need to do a little preparation on each of the machines where WebLogic Server is installed.
In the same absolute directory on each of the machines, create a script called ?startWebLogic.sh? that will act as a routing mechanism to the ?real? start scripts. It is important to make sure that this file has the same absolute path name on every machine, since the ?Start Script? parameter in the Knowledge Script allows only one value for a script name. Here is a sample startWebLogic.sh:
if [?$1? = ?myserver?]; then
if [?$1? = ?petstoreServer70?]; then
Notice that for each server, we first change to the directory that contains the ?real? start script. This is necessary because most of the start scripts that we?ve seen require that they be run from the directory in which they are contained.
Once you have the startWebLogic.sh scripts in place, you are now ready to start one or more WebLogic Servers on one or more machines.
1. Drag the StartServer (or StartAdminServer) Knowledge Script onto the WebLogic Servers in the TreeView Pane that you wish to start. You may need to drop the Knowledge Script on the ?Master? icon in the TreeView Pane, and then select the desired WebLogic Servers in the Objects tab of the dialog box.
2. Click on the Values tab.
3. Enter the absolute path of the script that you created for starting the WebLogic Servers on the machines.
4. Change the value of the ?Pass name of server, IP address, ?? parameter to ?y.?
5. Press OK.