128
Using dtcmodifyconfs
10
User-defined script files
The scriptfile option is used to modify one or more DTCs at a time. The parameters
to be modified are specified in a user-defined script file.
An explanatory text file and example script file are part of the DTC Manager fileset.
These two files (located in
/opt/dtcmgr/tools
directory) are:
•
dtcmodifyconfs.sh—a sample script file for all parameter names and values.
•
dtcmodifyconfs.txt—explains some parameters, options and syntaxes used
in the sample script file (for version A.14.3 and later versions).
You can use the
dtcmodifyconfs.sh
file as basis for creating your own
customized scripts. Copy it to another file name and then adapt it to your needs.
-f
scriptfile
Executes a script file. Modifications to the DTC configuration are made by means of
parameter assignment statements for particular configuration parameters. These are
kept in an ASCII text file (
scriptfile
).
Example
To modify a DTC User Prompt parameter with a script file:
dtcmodifyconfs -m -f modscript dtc1
In this case the file modscript would contain:
User Prompt="dtc1>>";
Summary of Contents for 9000 Series 700
Page 1: ...Using the HP DTC Manager UX HP 9000 Series 700 and 800 Computers ...
Page 2: ......
Page 10: ...10 Contents ...
Page 14: ...xiv Related HP Documentation ...
Page 22: ...1 22 Special DTC terminology ...
Page 84: ...84 Configuring DTC management protocol parameters 7 ...
Page 122: ...122 Copying and pasting configurations 9 ...
Page 136: ...136 Other dtcmodifyconfs parameter definitions 10 ...
Page 140: ...140 Downloading the configuration 11 ...
Page 164: ...164 About dtccheckip 13 ...
Page 174: ...14 174 Event log examples ...
Page 186: ...186 DTC user interface commands A ...
Page 200: ...200 HP UX 9 x file system B ...
Page 202: ...202 C ...
Page 216: ...D 216 ...
Page 221: ......