Novell ADMINSTUDIO 9.5 User Manual page 1664

Hide thumbs Also See for ADMINSTUDIO 9.5:
Table of Contents

Advertisement

Chapter 21: License-Enabling Packages Using FLEXwrap
Managing FLEXwrap License Files
Table 21-18 • FLEXwrap License Parameters (cont.)
Parameter
Runtime
Name
Note •
See
A
line with all possible attributes enabled would look like this:
FEATURE
FEATURE feature_name swrap 1.0 expiration_date count 0 \
w_binary=full_path_to_binary \
w_argv=argv \
PREREQ=suite_name \
W_LIC_LOSS=#minutes \
VENDOR_STRING=failsafe \
HOSTID=node_lock_hostid \
DUP_GROUP=[U, H, UH, S] \
w_queue=[not set, 1, 2] \
w_term_signal=signal#
1664
Description
Some application programs require that their
application file name. To accommodate these rare cases, FLEXwrap allows you to specify what
value to pass as
argv[0]
For example, the
vi
if its
is
. If you were to rename the binary for
argv[0]
vi
then you would want to specify
Another reason to use the
by calling the
exec()
executed, the
exec()
checking out a second license.
By setting
argv[0]
program to
program.orig
Wrapper, and the second license is not checked out.
Note •
If the user does not have the program in his path, then the argv[0] parameter will need to be the
full path name of the wrapped program. This will not work in the case where the Wrapper is used to wrap
multiple architecture binaries (since they will be in different directories and only one directory can be
specified to argv[0] in this manner). In this case, the user will need to place the binary directory into his
shell path and set argv[0] to the program name, without the path. There are very, very few cases in
Windows when this setting is needed.
Understanding FLEXwrap License File FEATURE Lines
to the application.
program will only operate in what would be considered a "normal" manner
as the
vi
argv[0]
parameter would be for programs that do an internal restart
argv[0]
function. When the function which causes the product to call
call causes a second copy of the FLEXwrap Wrapper to run, thereby
to
(and using the standard renaming convention of renaming
program.orig
), then the
exec()
is different from the last part of the
argv[0]
to
vi
/usr/ucb/vi_real
parameter.
call executes the real program rather than the
for additional explanation of these parameters.
ADS-0950-UG00
, for example,
is
exec()
AdminStudio 9.5 User Guide

Advertisement

Table of Contents
loading

Table of Contents