Friday 7 December 2007

Weblogic Server Start-up

The administration server loads all the configurations from the configuration repository (config.xml). All dependent managed servers must connect to a running admin server during startup. Independent managed servers can load the configuration from a local repository (msi-config.xml)

If WebLogic runs in a computer that has the Unix operating system, you can assign a UID or GID for the WebLogic Server process to bind after the computer carries out the privileged startup actions as a root user. If the WebLogic Server user is binding to higher-order ports(>1024), it does not require root permission.

Tips

When writing a script to automate server start-up, consider these factors:

1. In a domain, the administration server must be started before any dependent managed servers.

2. When starting a managed server as a dependent server, it connects to the admin server to download configurations.

3. When starting a managed server as an independent server, verify that the msi-config.xml file is stored in the server root directory.

4. In Unix use 'nohup' for run the WebLogic Server start script to keep the server running in the background even if you logout.

5. Create a separate WebLogic Server user for installing and starting servers in OS.

6. Store the encrypted user identity, use the boot.properties file to avoid hard coding user identity in startup scripts.

7. Use WebLogic UNIX machine configuration to post bind a UID or GID when binding servers to low order ports (<1024),>

8. To enable automatic restart of the admin server in a WebLogic domain during machine restarts, use the daemon process features provided by the operating systems.
  • Windows services
  • UNIX daemon processes.

9. The admin server in a domain can be made as a service when you create the domain using the domain configuration wizard.

10. Also the installservice.cmd and uninstallservice.cmd scripts, located in the domain folder can be used to add or remove a service from Windows Service Control Manager (SCM).

11. If administration server and managed server share the machine, configure OS-level service dependency between the administration server process and managed server processes.


12. Configure the rc scripts to add the WebLogic startup command at the right run-level.

1 comment:

vijayscsa said...

Hi,

Thanks for your articles. Can you please let me know, can i download weblogic 9.0 for linux server and use the same.

If i use howlong will be validity.

Thanks & regards
VJ.