HP 800 User Manual page 364

Network access controller
Hide thumbs Also See for 800:
Table of Contents

Advertisement

System Administration
Adding Custom Tests
CAUTION:
NOTE:
# installCustomTests
Creating custom test script RPM version 5.0-51
Found 5 python files
+ Compiling python scripts
+ Generating test script XML files
If you continue, this will generate an RPM file containing your custom scripts
and will send the new custom script RPM to the Management Server and all
Enforcement Servers.
--> Press Enter to proceed or Ctrl-C to abort <--
+ Generating RPM spec file
+ Creating RPM file 'NAC-custom-testscripts-5.0-51.i386.rpm'
+ Creating update package file (/tmp/customUpdatePkg.29285.tar.gz)
+ Creating XML file to send custom scripts to the MS (/tmp/
installCustomTest.29285.xml)
+ Sending XML message to MS to install and distribute custom scripts
00:22:34 INFO
channel status changed: Channel: TcpTransportChannel:
Socket[addr=localhost/127.0.0.1,port=61616,localport=44041] has connected
Figure 13-4. Example InstallCustomTests Output
13-16
When updating or modifying files, use the Custom directory tree (Custom/
BaseClasses, Custom/Tests). The Custom directory tree is a mirror (with
symbolic links) to the live test tree (scripts/BaseClasses and scripts/Tests).
The live tree is not modified directly, but is modified with the installCus-
tomTests script and the RPM mechanism.
8.
Once your custom test script is complete, and you are ready to push it out
to all of the ESs, verify that the scripts and base classes are under the
Custom directory tree as specified above, and enter the following on the
command line of the NAC 800 MS:
installCustomTests
This command compiles the Python source files, builds an RPM, updates
the policy groups, and sends these changes to all ESs. An example of the
output from the installCustomTests command is shown as follows:
This command affects all ESs, even those that are not currently up and
running. Once a stopped ES comes back up, the ES is updated.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Procurve nac 800

Table of Contents