284
Novell eDirectory 8.8 Administration Guide
no
vd
ocx (
E
NU)
01
F
ebr
ua
ry
200
6
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 11.3, “WAN Policy Structure,”
on page 300
.
To better understand the syntax of a WAN policy, see
“Construction Used within Policy
Sections” on page 303
.
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 - GUIDE
Page 4: ...novdocx ENU 01 February 2006...
Page 16: ...16 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 68: ...68 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 90: ...90 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 116: ...116 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 128: ...128 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 184: ...184 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 249: ...250 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 307: ...308 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 333: ...334 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 371: ...372 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 439: ...440 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 519: ...520 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 529: ...530 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...
Page 555: ...556 Novell eDirectory 8 8 Administration Guide novdocx ENU 01 February 2006...