
296
Novell eDirectory 8.8 Administration Guide
n
ov
do
cx (e
n)
11
Ju
ly 20
08
or
Click
View NCP Server
, then click an NCP Server object.
4
Click
Add Policy
.
5
Select 1-3am.wmg from the list of predefined policies, then click
OK
twice.
The policy is displayed in the
Policy
text box, which lets you make changes. For example, if
you want to limit traffic to 2:00 a.m. to 5:00 p.m. rather than from 1:00 a.m. to 3:00 a.m., make
the following changes:
/* This policy limits all traffic to between 2 and 5 pm */
LOCAL BOOLEAN Selected;
SELECTOR
Selected := Now.hour >= 2 AND Now.hour < 17;
IF Selected THEN
RETURN 50; /* between 2am and 5pm this policy has a
high priority */
ELSE
RETURN 1; /* return 1 instead of 0 in case there are
no other policies */
/* if no policies return > 0, WanMan assumes
SEND */
END
END
PROVIDER
IF Selected THEN
RETURN SEND; /* between 2am and 5pm, SEND */
ELSE
RETURN DONT_SEND; /* other times, don’t */
END
END
In the comment lines (set off with /* and */), the hour can be designated using a.m. and p.m. In
the active code, however, it must be designated using 24-hour format. In that case, 5:00 p.m.
becomes 17.
To better understand the structure of a WAN policy, see
Section 12.3, “WAN Policy Structure,”
on page 312
.
To better understand the syntax of a WAN policy, see
“Construction Used within Policy
Sections” on page 315
.
6
After modifying the syntax of the policy, click
Check Policy
to identify errors in syntax or
structure.
The results of the policy check are displayed.
WAN Traffic Manager will not run policies with errors.
7
If you want to keep the original 1-3 am policy, add the new policy under a different name.
7a
Click
Rename Policy
.
7b
Enter a name for the edited policy, then click
OK
.
8
Click
Apply
, then click
OK
.
Summary of Contents for EDIRECTORY 8.8 SP3
Page 4: ...novdocx en 11 July 2008...
Page 72: ...72 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 120: ...120 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 132: ...132 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 190: ...190 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 238: ...238 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 262: ...262 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 288: ...288 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 320: ...320 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 348: ...348 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 388: ...388 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 492: ...492 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 586: ...586 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 599: ...The eDirectory Management Toolbox 599 novdocx en 11 July 2008 Click Help for details...
Page 600: ...600 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 614: ...614 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...