managegrid - Manage Grid Nodes

managegrid command command-parameters

managegrid allows you to inspect defined bindings and running nodes, as well as start and stop the execution of nodes for defined bindings for the grid application named with the value of the LAENVNAME variable.

Different commands are available, depending on whether the ManageLandmark node is running and on whether only the grid is running.

Program Option Description
Commands available if ManageLandmark node is running
list [-a] exception1 ... exceptionN List the grid nodes and their status. If you use the -a option, the list will include not only nodes defined to always start as part of the Landmark system, but all defined nodes, except any listed as exceptions.
start bindingName1 ... bindingNameN Start the specified grid nodes.
stop bindingName1 ... bindingNameN Stop the specified grid nodes.
startlaw Same as running the startlaw command outside of managegrid.
stoplaw Same as running the stoplaw command outside of managegrid.
adminlaw Same as running the adminlaw command outside of managegrid.
addbinding name nodetype min max initial gridHost1 ... gridHostN

Add a binding to the grid. Specify a name for the binding, the type of node, the minimum bindings that should be running, the maximum bindings that can be running, the initial number of bindings that should be started, and the hosts that the binding applies to.

Note: 

Only bindings delivered with Landmark can contain the "@" character. Do not use this character if creating a new binding.

startda dataarea Start the nodes for a data area.

stopda dataarea

Stop the nodes for a data area.

enabletenant dataarea gridhost[,gridhost]

Infor internal use only.

disabletenant dataarea

Infor internal use only.

stoptenant datarea

Infor internal use only.

addsecurityserver name gridhost

Infor internal use only.

removesecurityserver name

Infor internal use only.
showjdk [-o type | --outputFormat type] Show the JDK for the grid. Specify a type to indicate the output format, such as csv for a comma-separated value format.
setjdk Set the path to the JDK for the grid.
sendnotify "subjectLineText" "messageText" Use to test your e-mail notification setup. See also the setnotify option below and the "Setting Up Grid E-Mail Notification" topic in the Infor Landmark Technology Server Setup and Maintenance Guide.
getprogress [regExKey] Get the progress status of currently running command-line utility programs. If programs were run with a value for the gridstatus parameter, you can enter one of those values or a regular expression to match values in order to view the status of a subset of the programs that are running.
updateprogress key status [msgTimeout] Update the status of a running program with a specific key. The key is the value entered for the gridstatus parameter when the program was started.
clearprogress [regExKey] Clear the progress status of currently running command-line utility programs. If programs were run with a value for the gridstatus parameter, you can enter one of those values or a regular expression to match values in order to clear the status of a subset of the programs that are running.
Commands available if only the grid is running
updatebinding name nodetype min max initial gridHost1 ... gridHostN Update an existing binding in the grid. Specify the name of the binding, the node type, the minimum and maximum number of bindings to run, the initial number of bindings that should be started, and the hosts that the binding applies to.
deletebinding bindingName1 ... bindingNameN Delete an existing binding or bindings from the grid. Specify the name(s) of the binding(s).
setbindingmemory bindingName maxHeap [gridHost[,gridHost]] Set the Java maximum heap memory for a binding. Specify the binding name, the max heap size, and the grid host the setting applies to. The size is a numeric string optionally terminated by a valid Java size indicator.
enableanalytics dataarea GridHost

Enable the grid application that creates cubes for a data area.

Note: 

When using this command, be sure to use the literal string GridHost, not the name of your grid host.

disableanalytics dataarea Disable the cube reporting application for a data area.
startcontroller For internal use only. This option is only used by the installer program to start the Grid node. There is no need to run managegrid with this option from the command line.
setnotify true smtpHostName emailAddresses smtpFromField subjectLinePrefix

An optional way to enable grid e-mail notifications. The other way is to set a grid property through the Grid Management pages. See the "Setting Up Grid E-Mail Notification" topic in the Infor Landmark Technology Server Setup and Maintenance Guide.

The true value turns the e-mail notification on. smtpHostName is the name of your SMTP server, emailAddresses is a list of the e-mail addresses of those who need to receive notifications, smtpFromField is an e-mail address to be used as the "from" address, such as grid-notify@hostname, and subjectLinePrefix is a prefix to appear at the beginning of the subject line for the grid notifications.

Commands available regardless of the state of the ManageLandmark node
checkstatus Check the status of the grid. The command will return such values as Running, Starting, Stopped, or AdminstrativeMode. If the Landmark application is started but not all nodes have started, then the command will list the nodes not yet started.