Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
Control scripts
The ISM control scripts reside in the ism/control
directory. Control scripts perform housekeeping or maintenance tasks for an application after it has been installed.
Installation hooks can run control scripts. If a task is performed during an installation (or uninstallation) but might also be performed on a regular basis, it should be coded as a control script. For example, the ism_post_install
hook can invoke the ism_start
control script to start an application immediately after installation. Also, the ism_pre_uninstall
hook can invoke the ism_stop
control script to shutdown the application.
Users can run control scripts from the ISM Control window of the SA Client. Advanced users can run control scripts from the command line in the Global Shell.
Creating control scripts
Unlike installation hooks, control scripts are not created by the ISMTool; you create control scripts with a text editor. You may add any number of control scripts to the ism/control
subdirectory. By convention, the file names for control scripts are as follows:
Unix:
ism/control/ ism_start ism_stop ism_configure ism_reconfigure
Windows:
ism\control\ ism_start.cmd ism_stop.cmd ism_configure.cmd IDK Scripts 83 ism_reconfigure.cmd
The control script name might appear differently in the ISM Control window of the SA Client. The Action field of the ISM Control window displays the name of the control script, but without the leading ism_
or the file type extension. For example, a control script named ism_start.cmd
appears in Action field as start
. The Action field displays only the first 25 characters of a control script name. Therefore, the first 25 characters of the names should be unique. For both Unix and Windows, the leading ism_
must be lower case; otherwise, the Action field displays the prefix.
For Unix, make sure that the control scripts under ism/control
are executable. Otherwise, they will not appear in the SA Client.
Control script functions
Control scripts are for repetitive tasks needed to manage an application. The following table summarizes typical uses for control scripts.
Control Script |
Common functions |
---|---|
|
Notifies any companion or dependent servers, starts the application |
|
Notifies any companion or dependent servers, stops the application |
|
Performs configuration operations |
|
Similar |
Location of control scripts on managed servers
Like installation hooks, control scripts are bundled into the control package by the
command. On the managed server, control scripts reside in the directory indicated by the ISM
--buildctlprefix
value. By default, control scripts are installed in the following directory on a managed server:
Unix:
/var/opt/OPSWism/<ism-name>/control
Windows (except for NT4):
%ProgramFiles%\OPSWism\<ism-name>\control
To change the default directory, specify the --ctlprefix
option with ISMTool. For Windows NT4, --ctlprefix
must be specified and cannot contain variables.
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to hpe_sa_docs@hpe.com.
Help Topic ID:
Product:
Topic Title:
Feedback: