The NIS/NIS+ test monitors the amount of time required to log into the specified NIS or NIS+ server and request a specific map file. You can also choose to download the map file.
Options and Arguments
NIS/NIS+ tests require the following specific options and arguments:
Note: IPv6 addresses can be used, but they must be embedded in brackets, for example [0aff::230:6eff:fe4b:51db]:8080. Here 0aff::230:6eff:fe4b:51db represents the IPv6 address and 8080 represents the port number.
Specify these options and arguments when you create or modify tests.
Example
Use this example to create a test that downloads the hosts map file from the Test domain at nisserver.yourdomain once every 300 seconds. The test waits up to 20 seconds for a successful response and calculates response time and availability statistics over the last 7200 seconds (2 hours).
To create a new test in a policy
The New test pane appears.
When you commit your changes, SRM adds an entry similar to the following to the svcrsp.cf file:
{ index=63 type=nis desc="NIS-Test" dest="nisserver.yourdomain" args="domain=Test.com&map=hosts&download=true" interval=300 samples=1 timeout=20 window=7200 tos=0 limit=0 status=active name="NIS-Test" class="" context="" flags="1" loglevel=1 }
For information about errors you may encounter when running NIS or NIS+ tests, see NIS Test Error Codes.
Copyright © 2013 CA. All rights reserved. |
|