R3204P16-HP Load Balancing Module High Availability Command Reference-6PW101
40
nqa schedule
Syntax
nqa schedule admin-name operation-tag start-time { hh:mm:ss [ yyyy/mm/dd ] | now } lifetime
{ lifetime | forever }
undo nqa schedule admin-name operation-tag
View
System view
Default level
2: System level
Parameters
admin-name: Specifies the name of the NQA test group administrator who creates the NQA test
operation, which is a case-insensitive string of 1 to 32 characters.
operation-tag: Specifies the test operation tag, which is a case-insensitive string of 1 to 32 characters.
start-time: Specifies the start time and date of a test group.
hh:mm:ss: Start time of a test group.
yyyy/mm/dd: Start date of a test group. The default value is the current system time, and yyyy ranges
from 2000 to 2035.
now: Starts the tests for a test group immediately.
lifetime: Specifies the duration of the test operation.
lifetime: Duration of the test operation in seconds, which ranges from 1 to 2147483647.
forever: Specifies that the tests are performed for a test group forever.
Description
Use the nqa schedule command to configure the test start time and test duration for a test group.
Use the undo nqa schedule command to stop the test for the test group.
You cannot enter test group view or test type view after a test group is scheduled.
A test group performs a test when the system time is between the start time and the end time (the start time
plus test duration). If the system time is behind the start time when you execute the nqa schedule
command, a test is started when the system time reaches the start time; if the system time is between the
start time and the end time, a test is started at once; if the system time is ahead of the end time, no test
is started. To view the current system time, use the display clock command.
Related commands: display clock.
Examples
# Start the tests for the test group with the administrator name admin and operation tag test. The start
time and duration of the test group are 08:08:08 2008/08/08 and 1000 seconds respectively.
<Sysname> system-view
[Sysname] nqa schedule admin test start-time 08:08:08 2008/08/08 lifetime 1000