Previous | Home | Next
Work with deployment manager
Deployment manager configuration settings
A deployment manager is built by creating a deployment manager profile. After it is built, there is usually not much needed to do regarding the configuration of the deployment manager. However, there are settings that we can modify from the administration tools:
- Configuration
- Runtime
To view the deployment manager from the dmgr console, click System administration | Deployment manager. You have two pages available, the Runtime tab and the Configuration tab.
The four options on this window to note are:
- Java SDKs
View and chose the required version of SDKs for the deployment manager process. WAS V8.5 lets you select between Java SDK versions 1.6 and 1.7, both of them available for 32 and 64-bit systems. To be able to select between Java SDK versions 1.6 and 1.7, install both versions first. The default version selected when installing is Java SDK 1.6. If both versions are installed on the system, we can choose one of them and set it as default by clicking the Make Default button. Save your changes and restart the deployment manager process to use the newly selected JAVA SDK version.
- Job managers
Click the Job managers link to work with job managers. We can view the job managers that this deployment manager is registered to, and we can register or unregister the deployment manager with a job manager.
- Ports
Select the Ports link to view and manage the ports used by the deployment manager. Useful for finding the SOAP connector port required when federating a custom profile.
- All Deployment Managers
Select the All Deployment Mangers link and, if we have a configured high-availability (HA) deployment manager environment, we can view and manage the configured deployment managers
Deployment manager Runtime tab
The dmgr console contains a Runtime tab for the deployment manager. To view the Runtime tab, click System administration | Deployment manager, and click the Runtime tab at the top of the page.
The state is Started; otherwise, we cannot access the dmgr console. The items on this window panel to note, are:
- Diagnostic Provider service
Query components for current configuration data, state data, and to run a self-diagnostic test routine. Most of the time, you use these options at the request of IBM Support.
- Product information
Selecting this link opens a new page that provides information about the level of code running on the deployment manager system. It also provides links for more detailed information, including the installation history for the product and maintenance.
The product information is stored as XML files in...
INSTALL_ROOT/properties/version/
...and can be viewed with the dmgr console.
Other common deployment manager configurations
In busy environments, you might consider adjusting the maximum file size and the maximum number of the historical log files for the JVM logs of the deployment manager process. To do this, change the file size values of the System.out and System.err and the maximum number of historical log files to be saved.
Consider having all of your server logs in a file system outside of the default location by setting...
- The values of the System.out and System.err file names paths in...
Deployment manager | dmgrname | JVM Logs
- The value of the Trace Output file name path in...
Deployment manager | dmgrname | Diagnostic trace service window
- The values of the Stdout and Stderr file names paths in...
Deployment manager | dmgrname | Process Logs window
- The value of the IBM Service Logs file name path in...
Deployment manager | dmgrname | IBM Service Logs window
- The values of the NCSA Access logging and Error logging file names paths in...
Deployment manager | dmgrname | NCSA Access and HTTP error logging window
Sometimes, for example, when we have a large cell with many managed nodes and applications, you need more memory for the deployment manager process to run in the java run time. In this case, adjust the values of the initial heap size and maximum heap size properties in the Configuration tab of the Deployment manager | Process definition | JVM window. The default value for the maximum heap size is 256 MB.
Start and stop the deployment manager
The deployment manager can be started and stopped using command line utilities (commands). The dmgr console is not available unless the deployment manager is running.
Starting the deployment manager with startManager
The startManager command is used to start the deployment manager on distributed systems.
PROFILE_HOME/bin/startManager.sh
ADMU0116I: Tool information is being logged in file PROFILE_HOME/logs/dmgr/startServer.log
ADMU0128I: Starting tool with the dmgr_85_01 profile
ADMU3100I: Reading configuration for server: dmgr
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server dmgr open for e-business; process id is 704652
Run this command from the deployment manager PROFILE_HOME/bin directory. If you run it from the INSTALL_ROOT/bin directory, use the -profileName parameter to ensure the command is run against the deployment manager profile.
The syntax of the startManager command is:
startManager.bat(sh) [options]
startManager options...
Usage: startManager [options] options: -nowait -quiet -logfile <filename> -replacelog -trace -script [<script filename>] [-background] -timeout <seconds> -statusport <portnumber> -profileName <profile> -recovery -helpAll arguments are optional.
Starting the deployment manager on z/OS (START command)
On z/OS, the deployment manager can be started using a JCL start procedure. The exact command can be found in the BBOCCINS instruction member of the JCL generated to create the profile. For example:
START WPDCR,JOBNAME=WPDMGR,ENV=WPCELL.WPDMNODE.WPDMGR
The meaning of the command syntax is:
- WPDCR is the JCL start procedure.
- WPDMGR is the Job name.
- ENV is the concatenation of the cell short name, node short name, and server short name.
Starting the deployment manager also starts the following components:
daemon In our example, it is named WPDEMN. There is one daemon per cell, per MVS image. One of the functions of the daemon server is to provide the location name service for the cell. All daemons in the cell are fully aware of all of the objects in the cell and use the same port values. controller region In our example, it is named WPDMGR. The controller region serves many functions, including acting as the endpoint for communications. servant region In our example, it is named WPDMGRS. The servant region contains the JVM where the applications are run. If we are using messaging, we can also see a control region adjunct the server start. Stopping the deployment manager
The deployment manager is stopped with the stopManager command. If administrative security is enabled, provide an administrative user name and password for the command. We can provide this information using the -username and -password options on the command line. If we do not provide the options on the command line, you are prompted to provide credentials.
stopManager command
PROFILE_HOME/bin/stopManager.sh
ADMU0116I: Tool information is being logged in file PROFILE_HOME/logs/dmgr/stopServer.log
ADMU0128I: Starting tool with the dmgr_85_01 profile
ADMU3100I: Reading configuration for server: dmgr
ADMU3201I: Server stop request issued. Waiting for stop status.
ADMU4000I: Server dmgr stop completed.
Syntax of stopManager
The syntax of the stopManager command is:
stopManager.bat(sh) [options]
startManager options
Usage: stopManager [options] options: -nowait -quiet -logfile <filename> -replacelog -trace -timeout <seconds> -statusport <portnumber> -conntype <connector type> -port <portnumber> -username <username> -password <password> -profileName <profile> -helpAll arguments are optional.
Stopping the deployment manager on z/OS (STOP command)
To stop the deployment manager with a STOP command, use the following format:
STOP dmgr_job
For example:
STOP WPDMGR
Stopping the daemon server also stops all servers for that cell, and all the servers on that daemon instance’s MVS image are stopped in an orderly fashion, one by one. For example:
STOP WPDEMN
Windows start menu and services
On a Windows system, we have the option of starting and stopping the deployment manager using the Start menu, for example, click...
Start | All Programs | IBM WebSphere | IBM WAS ND V8.5 | Profiles | profile_name | Start the deployment manager
Also, on a Windows system, we have the option of registering the deployment manager as a Windows service. To have it registered, select this option when you create the deployment manager profile or register it later using the WASService command.
If the deployment manager is registered as a Windows service, all other options for starting the dmgr process are unchanged from the administrator's point of view. However, the command used starts or stops the process through the Windows service. In addition, we have the option to allow the service to be started automatically when the operating system starts.
The high-availability deployment manager function
The high availability (HA) deployment manager function is configured using a shared-file system. When this configuration option is chosen, multiple deployment managers are configured. The benefit of the HA deployment manager function is the deployment manager is no longer the single point of failure for cell administration. This is important in environments relying on automated operations, including application deployment and server monitoring.
The deployment managers exist as peers. One is considered active, also known as primary, and hosts the administrative function of the cell. The others are backups in standby mode. If the active manager fails, a standby takes over and is designated the new active deployment manager. A command line utility is provided to clone the original cell deployment manager into additional deployment managers. Each deployment manager is installed and configured to run on a different physical or logical computer. The deployment managers need not be hosted on homogenous operating platforms, although like platforms are recommended. Each deployment manager shares the same instance of the master configuration repository and workspace area. These must be located on a shared file system.
The file system must support fast lock recovery. The IBM General Parallel File System (GPFS) is recommended, and the Network File System Version 4 (NFS) is also an option. If you use the high-availability deployment manager on AIX v5.3 and are using NFS Version 4, have bos.net.nfs.client version 5.3.0.60 or later.
Normal operation includes starting at least two deployment managers. A new highly-available deployment manager component runs in each deployment manager to control which deployment manager is elected as the active one. Any other deployment manager in the configuration is in standby mode. The on demand router (ODR) is configured with the communication endpoints for the dmgr console, wsadmin, and scripting. The ODR recognizes which deployment manager instance is active and routes all administrative communication to that instance. The HA deployment manager function supports only use of the JMX SOAP connector. The JMX RMI connector is not supported in this configuration.