AUTOMATED NETWORK ADMINISTRATION TOOL
-
Upload
gouse-baig -
Category
Documents
-
view
101 -
download
0
description
Transcript of AUTOMATED NETWORK ADMINISTRATION TOOL
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
1/67
AUTOMATED NETWORK ADMINISTRATION TOOL
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
2/67
CONTENTS
SNO CONTENTS PAGE NO
1 ABSTRACTION
2 INTRODUCTION
about the project3 SYSTEM ANAYSIS
3!1 e"#$t#%& $'$te(3!2 propo$e) $'$te(
* PROBEM ANAYSIS*!1 +ea$#b#,#t' $tu)'
- SYSTEM RE.UIREMENTS
-!1 har)/are re0u#re(e%t$
-!2 $o+t/are re0u#re(e%t$
SYSTEM DESIGN!1 DD
SYSTEM TESTING
4 SYSTEM IMPEMENTATION
15 UTURE EN6ANCEMENT
11 CONCUSION
12 BIBIOGRAPY
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
3/67
ABSTRACT
Auto(ate) Net/or7 A)(#%#$trat#o% Too, 8ANAT9 #$ a% #%%o:at#:e too, +or
(a%a%& the %et/or7 auto(at#ca,,' a%) e"ecut#%& the co((a%)$ o% the Gate/a' (ach#%e$
a%) re$tr#ct#%& acce$$ to $er:er (ach#%e$ o% the %et/or7 +or )#++ere%t u$er$ #% the %et/or7!
No/ a )a'; there are (a%' too,$ a:a#,ab,e +or %et/or7 (o%#tor#%& a%) (a%a&e(e%t!
But ANAT pro:#)e$ a u%#0ue /a' o+ (a%a%& the %et/or7; that #$; auto(at#c %et/or7
(a%a&e(e%t ba$e) o% the three (a#% co%$tra#%t$ ,#7e t#(e; ho$t; a%) u$er! Th#$ auto(at#c
a)(#%#$trat#o% re,#e:e$ the a)(#%#$trator +ro( h#$ u$ua, te)#ou$ ta$7!
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
4/67
INTRODUCTION
Auto(ate) Net/or7 A)(#%#$trat#o% Too, 8ANAT9 #$ a% #%%o:at#:e too, +or
(a%a%& a %et/or7 auto(at#ca,,' #% the ab$e%ce o+ a% a)(#%#$trator! ANAT #$ u$e) +or
e"ecut#%& the co((a%)$ o% the Gate/a' (ach#%e$ a%) re$tr#ct#%& acce$$ to $er:er (ach#%e$ o%
the %et/or7 +or )#++ere%t u$er$ #% the %et/or7!
I% Auto(ate) Net/or7 A)(#%#$trat#o% too, a% a,&or#th( #$ )e:e,ope) +or
the purpo$e o+ auto(at#ca,,' (a%a%& the %et/or7 ba$e) o% the cr#ter#a ,#7e T#(e; 6o$t a%)
U$er! Th#$ a,&or#th( /#,, re$tr#ct the acce$$ o+ the u$er to app,#cat#o%$ or re$ource$ o% a $'$te(
accor)#%& to the acce$$ co%tro, ru,e$ $et b' the a)(#%#$trator! A$ a part o+ %et/or7 (a%a&e(e%t
pac7et +#,ter#%&; pac7et b,oc7#%& etc! are )o%e! #re/a,,$ are act#:ate) a%) )eact#:ate) a%) Pac7et
re)#rect#%& #$ )e:e,ope) accor)#%& to the re0u#re(e%t o+ the Net/or7 a)(#%#$trator!
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
5/67
SYSTEM ANALYSIS
Existing System:
No/ a )a'; the ta$7 o+ co%tro,,#%& the co((u%#cat#o% acro$$ the %et/or7 #$ :er'
te)#ou$! There are (a%' %et/or7 (o%#tor#%& too,$ a:a#,ab,e to)a' /h#ch (o%#tor the %et/or7
ho$t but /h#ch ca%%ot re$tr#ct the %et/or7 acce$$ ba$e) o% the three co%$tra#%t$ #!e! t#(e; ho$t
a%) u$er!
A,, the co%$tra#%t$ a%) acce$$ r#&ht$ o+ a %et/or7 u$er are /r#tte% #% the +#re/a,,
o+ a re$pect#:e Ba$t#o% (ach#%e! or (ore $ecur#t'; the$e ru,e$ /#,, ha:e to be /r#tte% #% (ore
tha% o%e Ba$t#o% (ach#%e! I% the e"#$t#%& $'$te(; a %et/or7 a)(#%#$trator /#,, ha:e to /r#te a,,
$uch ru,e$ #% the +#re/a,,$ o+ the re$pect#:e Ba$t#o%$ $eparate,'!
The a)(#%#$trator /#,, ha:e to (a%ua,,' reco%+#&ure a,, $uch ru,e$ /he% the
%et/or7 u$er$ (o:e #% the %et/or7 or the' cha%&e the#r po$#t#o%! The a)(#%#$trator /#,, ha:e to
be there #% the curre%t %et/or7 +or reco%+#&ur#%& the %et/or7 #!e!; he ca%%ot )o th#$ job +ro( a
re(ote $#te or a%other p,ace
A,$o there #$ a,/a'$ a cha%ce +or the (#$u$e o+ the pr#:#,e&e$; b' the %et/or7
u$er$ :e% b' the a)(#%#$trator! 6e (a' (#$u$e h#$ pr#:#,e&e to acce$$ the port$ o+ )#++ere%t
$er:er (ach#%e$ #% the %et/or7 u$#%& ut#,#t#e$ $uch a$ SS6; TENET; TP etc!
The a)(#%#$trator /#,, ha:e to co%t#%uou$,' re/r#te the ru,e$; to re$tr#ct the acce$$
to )#++ere%t $er:er$ #% the %et/or7 b' the %et/or7 u$er$!
There #$ %o %et/or7 (a%a&e(e%t or co%tro,,#%& too,; /h#ch co(p,ete,' ho,)$ the
%ece$$#t#e$ )#$cu$$e) abo:e! The a)(#%#$trator ha$ %o too,$ curre%t,' a:a#,ab,e; /h#ch ca% be
u$e) to up)ate the +#re/a,, /r#tte% +or a bu$#%e$$ +#r(!
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
6/67
Proose! System:
The propo$e) $'$te( #$ +or a %et/or7 /h#ch co%$#$t$ o+ )#++ere%t $er:er$
co%%ecte) to a &ate/a' (ach#%e a%) the c,#e%t$ co%%ecte) to the ba$t#o% $er:er throu&h a hub or
$/#tch! The propo$e) $'$te( #$ e"pecte) to rect#+' a,, )ra/bac7$ o+ the e"#$t#%& $'$te(! The
a)(#%#$trator $hou,) be ab,e to co%tro, a%) (o%#tor the /ho,e %et/or7 +ro( a ce%tra, Ba$t#o%!
There /#,, be pro:#$#o% +or /r#t#%& the +#re/a,, ru,e$ #% a ce%tra, Ba$t#o%! The po,#c#e$ or ru,e$
+or each u$er are $tore) #% the ce%tra, )ataba$e #% the Ba$t#o% Ser:er! The a)(#%#$trator ca% ,o%
to the ce%tra, Ba$t#o%; /h#ch #$ ba$#ca,,' a /eb $er:er +ro( a%'/here #% the /or,) #!e!; +ro( a%'
other %et/or7; pro:#)e) that he (u$t ha:e acce$$ to the I%ter%et!
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
7/67
Login:
o% /#,, )#$p,a' the u$er%a(e a%) the pa$$ /or)!
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
8/67
Po#i'y:
Th#$ /#,, )#$p,a' a,, the po,#c#e$ /h#ch ca% be $et +or u$er$ the %e/ po,#c' $tore$
the )eta#,$ o+ :ar#ou$ po,#c#e$ tha% ca% be app,#e) to )#++ere%t u$er$ #% %e/ po,#c' /e are u$#%&
the po,#c' #) !#t $tore$ the #) o+ :ar#ou$ po,#c#e$!Po,#c' )e$cr#pt#o% #t $tore$ )e$cr#pt#o% o+ the
po,#c#e$ $cr#pt #) $tore$ the %a(e$ o+ $cr#pt#,e$ #% /h#ch the #t tab,e$ ru,e$ are /r#tte%!po,#c' #$
%oth#%& but a ru,e$ a%) re&u,at#o%$ #% the %e/ po,#c' /e are ha:#%& the )#++ere%t t'pe$ o+ ru,e$
!E:er' u$er ha:#%& the o/% #) a%) the pa$$/or)!
To M"n"ge T(e Entire Net)or* Users:
The a)(#%#$trator $hou,) be ab,e to (a%a&e the e%t#re %et/or7 u$er$ #!e! b'
re$tr#ct#%& the#r acce$$ to the $er:er$ #% the %et/or7!
User +rien!#y Inter,"'e:
The a)(#%#$trator $hou,) be pro:#)e) /#th a u$er?+r#e%),' #%ter+ace to a)) %e/
u$er$; )e,ete u$er$; (o)#+' u$er$; a)) po,#c'; a)) &roup$ etc!
M"*e U!"tes Anytime- Any)(ere:
The a)(#%#$trator $hou,) be ab,e to up)ate the u$er po,#c#e$ or the )ataba$e e:e%
he #$ %ot #% the ,oca, %et/or7!
+"st- Sim#e An! E"sy To Use: O%ce $o+t/are #%$ta,,e) a%) co%+#&ure) the auto(ate)
(a%a&e(e%t $hou,) be )o%e!
M"xim%m E,,i'ien'y An! S'"#".i#ity: The $o+t/are $hou,) be e++#c#e%t a%) $ca,ab,e!
Se'%rity An! A%t(enti'"tions: Authe%t#cat#o% $hou,) be pro:#)e) +or better $ecur#t'
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
9/67
PROBLEM ANALYSIS
EASIBIITY ANAYSIS=
I% +ea$#b#,#t' $tu)' a% e$t#(ate #$ (a)e o+ /hether the #)e%t#+#e) u$er %ee)$ (a' be
$at#$+#e) u$#%& curre%t $o+t/are a%) har)/are tech%#0ue$! The $tu)' /#,, )ec#)e #+ the propo$e)
$'$te( /#,, be co$t e++ect#:e +ro( a bu$#%e$$ po#%t o+ :#e/; a%) #+ #t ca% be )e:e,ope) :e%
e"#$t#%& bu)&etar' co%$tra#%t$! The re$u,t $hou,) #%+or( the )ec#$#o% /hether to &o ahea) /#th a
(ore )eta#,e) a%a,'$#$!
SYSTEM PER+ORMANCE DE+INITION
There #$ %o pr#%te) )ocu(e%t or report a$ the output o+ propo$e) $'$te(! The o%,'
#%te%)e) output o+ the $'$te( #$ u$er?+r#e%),' $cree%$ +or &ett#%& $o(e #%put$ a%) proce$$#%&
the(!
+EASIBILITY CONSIDERATION
Three 7e' co%$#)erat#o%$ are #%:o,:e) #% the +ea$#b#,#t' a%a,'$#$; eco%o(#c;
tech%#ca,; a%) beha:#ora,!
ECONOMIC +EASIBILITY
Eco%o(#c a%a,'$#$ #$ the (o$t +re0ue%t,' u$e) (etho) +or e:a,uat#%& the
e++ect#:e%e$$ o+ a ca%)#)ate $'$te(! More co((o%,' 7%o/% a$ co$t be%e+#t a%a,'$#$; the
proce)ure #$ to )eter(#%e the be%e+#t$ a%) $a:#%& are e"pecte) +ro( a ca%)#)ate $'$te( a%)
co(pare) the( /#th co$t$! The be%e+#t$ out/e#&h co$t$; the )ec#$#o% #$ (a)e to )e$#&% a%)
#(p,e(e%t the $'$te(! Other/#$e +urther ju$t#+#cat#o% a%) a,ter%at#o% #% the propo$e) $'$te(
ha:e to be (a)e!
ANAT; $a:e$ (o%e' a%) t#(e! The a)(#%#$trator #$ re,#e:e) +ro( the )a' to )a'
+#re/a,, co%+#&urat#o%!
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
10/67
TEC&NICAL +EASIBILITY :
ANAT ca% be (a%a&e) +ro( a%' part o+ the /or,) pro:#)e); a% #%ter%et
co%%ect#o%!
BE&A/IORAL +EASIBILITY
I% beha:#ora, +ea$#b#,#t'; a% e$t#(ate $hou,) be (a)e o+ ho/ $tro%& a react#o% the
u$er $ta++ #$ ,#7e,' to ha:e to/ar) the %e/ $'$te(! A$ +ar a$ co%cer%e) /#th th#$ project ANAT;
the c,#e%t$ ca% ru% o% a%' p,at+or(! A (#%#(u( (e(or' o+ 2-MB #$ re0u#re) +or the &ate/a'
$'$te(! A har) )#$7 o+ (#%#(u( 25GB #$ a,$o reco((e%)e)!
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
11/67
SYSTEM RE0UIREMENT
&ARDWARE AND SO+TWARE RE0UIREMENTS
The $o+t/are re0u#re(e%t $pec#+#cat#o% #$ pro)uce) at the cu,(#%at#o% o+ the
a%a,'$#$ ta$7! The +u%ct#o% a%) per+or(a%ce a,,ocate) to $o+t/are a$ part o+ $'$te( e%%eer#%&
are re+#%e) b' e$tab,#$h#%& a co(p,ete #%+or(at#o% )e$cr#pt#o% a$ +u%ct#o%a, repre$e%tat#o%; a
repre$e%tat#o% o+ $'$te( beha:#or; a% #%)#cat#o% o+ per+or(a%ce re0u#re(e%t$ a%) )e$#&%
co%$tra#%t$; appropr#ate :a,#)at#o% cr#ter#a!
&"r!)"re Re1%irements
$"te)"y m"'(ine:
Me(or' 2- MB RAM
6ar) D#$7 25 GB
T/o 15@155(bp$ NIC car)$
C#ient M"'(ine:
Me(or' 12 MB RAM
6ar) D#$7 2GB
15@155(bp$ NIC car)$
So,t)"re Re1%irements
$"te)"y m"'(ine:
Re)hat #%u" 4
Reco(p#,e) Re)hat E%terpr#$e #%u" 2!*!" er%e,
M' S. 3!23!-* +or #%u"
or co((u%#cat#o% RMI C,#e%t a%) RMI Stub #$ %ee)e)!
C#ient M"'(ine:
Re)hat #%u" 4 or
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
12/67
So,t)"re Des'rition :
a:a /a$ co%ce#:e) b' a(e$ Go$,#%&; Patr#c7 Nau&hto%; Chr#$
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
13/67
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
14/67
T(e 2"3" P#"t,orm
Aplatform#$ the har)/are or $o+t/are e%:#ro%(e%t #% /h#ch a pro&ra( ru%$!
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
15/67
What Can Java Technology Do?
The (o$t co((o% t'pe$ o+ pro&ra($ /r#tte% #% the a:a pro&ra((#%& ,a%&ua&e are applets
a%) applications! I+ 'ouH:e $ur+e) the e)
pro&ra( #$ a servlet! A $er:,et ca% a,(o$t be thou&ht o+ a$ a% app,et that ru%$ o% the $er:er
$#)e! a:a Ser:,et$ are a popu,ar cho#ce +or bu#,)#%& #%teract#:e /eb app,#cat#o%$; rep,ac#%&
the u$e o+ CGI $cr#pt$! Ser:,et$ are $#(#,ar to app,et$ #% that the' are ru%t#(e e"te%$#o%$ o+
app,#cat#o%$! I%$tea) o+ /or7#%& #% bro/$er$; thou&h; $er:,et$ ru% /#th#% a:a
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
16/67
So,t)"re 'omonents= %o/% a$ a:aBea%$TM; ca% p,u& #%to e"#$t#%& co(po%e%t
arch#tecture$!
O.6e't seri"#i5"tion= A,,o/$ ,#&ht/e#&ht per$#$te%ce a%) co((u%#cat#o% :#a Re(ote
Metho) I%:ocat#o% 8RMI9!
2"3" D"t"."se Conne'ti3ity 72DBCTM8= Pro:#)e$ u%#+or( acce$$ to a /#)e ra%&e o+
re,at#o%a, )ataba$e$!
The a:a p,at+or( a,$o ha$ API$ +or 2D a%) 3D &raph#c$; acce$$#b#,#t'; $er:er$;
co,,aborat#o%; te,epho%'; $peech; a%#(at#o%; a%) (ore! The +o,,o/#%& +#&ure )ep#ct$ /hat
#$ #%c,u)e) #% the a:a 2 SD!
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
17/67
2"3" Ser3er P"ge 72SP8
SP #$ a tech%o,o&' that a,,o/$
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
18/67
retr#e:#%& the )ata #t$e,+; or #+ DBC?ODBC Br#)&e a%) the ODBC )r#:er ca% be u$e) to $tore
a%) retr#e:e the #%+or(at#o%!
DATABASE MODELS:
DBC a%) acce$$#%& the )ataba$e throu&h app,et$ a%) DBC API :#a a% #%ter(e)#ate $er:er
re$u,te) $er:er re$u,te) #% a %e/ t'pe o+ )ataba$e (o)e, /h#ch #$ )#++ere%t +ro( the c,#e%t?
$er:er (o)e,! Ba$e) o% %u(ber o+ #%ter(e)#ate $er:er throu&h the re0ue$t $hou,) &o #t #$
%a(e) a$ $#%&,e t#re; t/o t#re a%) (u,t# t#re arch#tecture
Sing#e Tier:
I% a $#%&,e t#er the $er:er a%) c,#e%t are the $a(e #% the $e%$e that a c,#e%t pro&ra( that %ee)$
#%+or(at#o% 8c,#e%t9 a%) the $ource o+ th#$ t'pe o+ arch#tecture #$ a,$o po$$#b,e #% ja:a; #% ca$e+,at +#,e$ are u$e) to $tore the )ata! 6o/e:er th#$ #$ u$e+u, o%,' #% ca$e o+ $(a,, app,#cat#o%$!
The a):a%ta&e /#th th#$ #$ the $#(p,#c#t' a%) portab#,#t' o+ the app,#cat#o% )e:e,ope)!
T)o Tier 7'#ientser3er8:
I% t/o t#erarch#tecture the )ataba$e re$#)e$ #% o%e (ach#%e a%) c,#e%t #% )#++ere%t (ach#%e
the' are co%%ecte) throu&h the %et/or7! I% th#$ t'pe o+ arch#tecture a )ataba$e (a%a&e(e%t
ta7e$ co%tro, o+ the )ataba$e a%) pro:#)e$ acce$$ to c,#e%t$ #% a %et/or7! Th#$ $o+t/are
bu%),e #$ a,$o ca,,e) a$ the $er:er! So+t/are #% )#++ere%t (ach#%e$; re0ue$t#%& +or #%+or(at#o%
are ca,,e) a$ the c,#e%t$!
)ataba$e
)ataba$e
T(ree tier "n! NTier:
Ser:er
C,#e%t
C,#e%t
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
19/67
I% the three?t#er arch#tecture; a%' %u(ber $er:er$ ca% acce$$ the )ataba$e that re$#)e$ o%
$er:er!
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
20/67
Th#$ )r#:er tra%$,ate$ DBC ca,,$ #%to a DBMS #%)epe%)e%t %et protoco,; /h#ch #$ the%
tra%$,ate); to a DBMS protoco, b' a $er:er! Th#$ %et $er:er (#)),e?/are #$ ab,e to co%%ect #t$
a,, ja:a c,#e%t$ to (a%' )#++ere%t )ataba$e$! The Spec#+#c protoco, u$e) )epe%)$ o% the
:e%)or! I% &e%era,; th#$ (o$t +,e"#b,e DBC a,ter%at#:e! It #$ ,#7e,' that a,, :e%)or$ o+ th#$
$o,ut#o% /#,, pro:#)e pro)uct$ $u#tab,e +or #%tra%et u$e! I% or)er +or the$e pro)uct$ to a,$o
$upport I%ter%et acce$$; the' (u$t ha%),e the a))#t#o%a, re0u#re(e%t$ +or $ecur#t'; acce$$
throu&h +#re/a,,$; etc that the /eb #(po$e$! Se:era, :e%)or$ are a))#%& DBC )r#:er$ to the#r
e"#$t#%& )ataba$e (#)),e/are pro)uct$!
NATI/E PROTOCOL ALL2A/A DRI/ER
Th#$ 7#%) o+ )r#:er co%:ert$ DBC ca,,$ #%to the %et/or7 protoco, u$e) b' DBMS )#rector'!
Th#$ a,,o/$ a )#rect ca,, +ro( the c,#e%t (ach#%e to the DBMS $er:er that #$ pract#ca, $o,ut#o%
+or #%tra%et acce$$! S#%ce (a%' o+ the$e protoco,$ are propr#etar'; the )ataba$e :e%)or$
the($e,:e$ /#,, be the pr#(ar' $ource! Se:era, )ataba$e :e%)or$ ha:e the$e #% pro&re$$!
E:e%tua,,'; /e e"pect that )r#:er cate&or#e$ 3 a%) * /#,, be the pre+erre) /a' to acce$$
)ataba$e$ +ro( DBC! Dr#:er cate&or#e$ o%e a%) t/o are #%ter#( $o,ut#o%$ /here )#rect a,,
ja:a )r#:er$ are %ot 'et a:a#,ab,e! Cate&or' * #$ #% $o(e $e%$e the #)ea,J ho/e:er; there are
(a%' ca$e$ /here cate&or' 3 (a' be pre+erab,e= e&= ?/here a th#% DBMS?#%)epe%)e%t c,#e%t
#$ )e$#re); or #+ a DBMS F#%)epe%)e%t protoco, #$ $ta%)ar)#>e) a%) #(p,e(e%te) )#rect,' b'
(a%' DBMS :e%)or$!
2DBC $o"#s
e/ $o+t/are pac7a&e$ are )e$#&%e) /#thout &oa,$ #% (#%)! DBC #$ o%e that; becau$e o+ #t$
(a%' &oa,$; )ro:e the )e:e,op(e%t o+ the API! The$e &oa,$; #% co%ju%ct#o% /#th ear,'
re:#e/er +ee)bac7; ha:e +#%a,#>e) the DBC c,a$$ ,#brar' #%to a $o,#) +ra(e/or7 +or bu#,)#%&
)ataba$e app,#cat#o%$ #% a:a!
The &oa,$ that /ere $et +or DBC are #(porta%t! The' /#,, :e 'ou $o(e #%$#&ht a$ to /h'
certa#% c,a$$e$ a%) +u%ct#o%a,#t#e$ beha:e the /a' the' )o! The e#&ht )e$#&% &oa,$ +or DBC
are a$ +o,,o/$=
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
21/67
MYS0L
M'S. ha$ beco(e o%e o+ the (o$t popu,ar #%u" )ataba$e$ o% the (ar7et a%) #tco%t#%ue$ to #(pro:e each )a'! M'S. #$ a popu,ar $tructure) 0uer' ,a%&ua&e 8S.9 )ataba$e
$er:er! #7e other S. $er:er$; M'S. pro:#)e$ the (ea%$ o+ acce$$#%& a%) (a%a%& S.
)ataba$e$! 6o/e:er; M'S. a,$o pro:#)e$ too,$ +or creat#%& )ataba$e $tructure$; a$ /e,, a$ +or
a))#%&; (o)#+'#%& a%) re(o:#%& )ata +ro( tho$e $tructure$! Becau$e M'S. #$ a re,at#o%a,
)ataba$e; )ata ca% be $tore) a%) (a%a&e) #% $(a,,; (a%a&eab,e tab,e$! Tho$e tab,e$ ca% be u$e)
#% co(b#%at#o% to create +,e"#b,e 'et co(p,e" )ata $tructure$!
IPTABLES
It".#es#$ u$e) to $et up; (a#%ta#%; a%) #%$pect the tab,e$ o+ IP pac7et +#,ter ru,e$
#% the #%u" 7er%e,! There are $e:era, )#++ere%t tab,e$ ,#7e ITER; NAT a%) MANGE /h#ch
(a' be )e+#%e); a%) each tab,e co%ta#%$ a %u(ber o+ bu#,t?#% cha#%$ ,#7e INPUT; OUTPUT;
OR
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
22/67
U%,#7e a/t co(po%e%t$; $/#%& co(po%e%t$ are %ot #(p,e(e%te) b' p,at+or(
$pec#+#c co)e !I%$tea) the' are /r#tte% e%t#re,' #% ja:a a%) are there+ore p,at+or( #%)epe%)e%t!
The ter( ,#&ht/e#&ht #$ u$e) to )e$cr#be $uch e,e(e%t$!
S)ing;s Re#"tions(i to t(e AWT
Intro!%'tion to Ser3#ets
Ser:,et$ pro:#)e a a:a8TM9?ba$e) $o,ut#o% u$e) to a))re$$ the prob,e($ curre%t,' a$$oc#ate)
/#th )o#%& $er:er?$#)e pro&ra((#%&; #%c,u)#%& #%e"te%$#b,e $cr#pt#%& $o,ut#o%$; p,at+or(?
$pec#+#c API$; a%) #%co(p,ete #%ter+ace$!
S/#%& 6ea:' /e#&ht
Co(po%e%t$ S/#%& #&ht/e#&ht
Co(po%e%t$
A
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
23/67
Ser:,et$ are object$ that co%+or( to a $pec#+#c #%ter+ace that ca% be p,u&&e) #%to a a:a?ba$e)
$er:er! Ser:,et$ are to the $er:er?$#)e /hat app,et$ are to the c,#e%t?$#)e ?? object b'teco)e$
that ca% be )'%a(#ca,,' ,oa)e) o++ the %et! The' )#++er +ro( app,et$ #% that the' are +ace,e$$
object$ 8/#thout &raph#c$ or a GUI co(po%e%t9! The' $er:e a$ p,at+or(?#%)epe%)e%t;
)'%a(#ca,,'?,oa)ab,e; p,u&&ab,e he,per b'teco)e object$ o% the $er:er $#)e that ca% be u$e)
to )'%a(#ca,,' e"te%) $er:er?$#)e +u%ct#o%a,#t'!
W("t s " Ser3#et4
Ser:,et$ are (o)u,e$ that e"te%) re0ue$t@re$po%$e?or#e%te) $er:er$; $uch a$ a:a?e%ab,e) /eb
$er:er$! or e"a(p,e; a $er:,et (#&ht be re$po%$#b,e +or ta7#%& )ata #% a% 6TM or)er?e%tr'
+or( a%) app,'#%& the bu$#%e$$ ,oc u$e) to up)ate a co(pa%'$ or)er )ataba$e!
Ser:,et$ are to $er:er$ /hat app,et$ are to bro/$er$! U%,#7e app,et$; ho/e:er; $er:,et$ ha:e
%o &raph#ca, u$er #%ter+ace!
Ser:,et$ ca% be e(be))e) #% (a%' )#++ere%t $er:er$ becau$e the $er:,et API; /h#ch 'ou u$e
to /r#te $er:,et$; a$$u(e$ %oth#%& about the $er:er$ e%:#ro%(e%t or protoco,! Ser:,et$ ha:e
beco(e (o$t /#)e,' u$e) /#th#% 6TTP $er:er$J (a%' /eb $er:er$ $upport the Ser:,et API!
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
24/67
U$e Ser:,et$ #%$tea) o+ CGI Scr#pt$Q
Ser:,et$ are a% e++ect#:e rep,ace(e%t +or CGI $cr#pt$! The' pro:#)e a /a' to &e%erate
)'%a(#c )ocu(e%t$ that #$ both ea$#er to /r#te a%) +a$ter to ru%! Ser:,et$ a,$o a))re$$ the
prob,e( o+ )o#%& $er:er?$#)e pro&ra((#%& /#th p,at+or(?$pec#+#c API$= the' are )e:e,ope)
/#th the a:a Ser:,et API; a $ta%)ar) a:a e"te%$#o%!
So u$e $er:,et$ to ha%),e 6TTP c,#e%t re0ue$t$! or e"a(p,e; ha:e $er:,et$ proce$$ )ata
POSTe) o:er 6TTPS u$#%& a% 6TM +or(; #%c,u)#%& purcha$e or)er or cre)#t car) )ata! A
$er:,et ,#7e th#$ cou,) be part o+ a% or)er?e%tr' a%) proce$$#%& $'$te(; /or7#%& /#th pro)uct
a%) #%:e%tor' )ataba$e$; a%) perhap$ a% o%?,#%e pa'(e%t $'$te(!
Other U$e$ +or Ser:,et$ = 6ere are a +e/ (ore o+ the (a%' app,#cat#o%$ +or $er:,et$=
A,,o/#%& co,,aborat#o% bet/ee% peop,e! A $er:,et ca% ha%),e (u,t#p,e re0ue$t$
co%curre%t,'; a%) ca% $'%chro%#>e re0ue$t$! Th#$ a,,o/$ $er:,et$ to $upport $'$te($ $uch
a$ o%?,#%e co%+ere%c#%&!
or/ar)#%& re0ue$t$! Ser:,et$ ca% +or/ar) re0ue$t$ to other $er:er$ a%) $er:,et$! Thu$
$er:,et$ ca% be u$e) to ba,a%ce ,oa) a(o%& $e:era, $er:er$ that (#rror the $a(e co%te%t;
a%) to part#t#o% a $#%&,e ,oca, $er:#ce o:er $e:era, $er:er$; accor)#%& to ta$7 t'pe or
or&a%#>at#o%a, bou%)ar#e$!
Arch#tecture o+ the Ser:,et Pac7a&e
Theja:a"!$er:,etpac7a&e pro:#)e$ #%ter+ace$ a%) c,a$$e$ +or /r#t#%& $er:,et$! The arch#tecture
o+ the pac7a&e #$ )e$cr#be) be,o/!
T(e Ser3#et Inter,"'e:
The ce%tra, ab$tract#o% #% the Ser:,et API #$ the Ser:,et#%ter+ace! A,, $er:,et$ #(p,e(e%t th#$
#%ter+ace; e#ther )#rect,' or; (ore co((o%,'; b' e"te%)#%& a c,a$$ that #(p,e(e%t$ #t $uch a$
6ttpSer:,et!
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
25/67
The Ser:,et#%ter+ace )ec,are$; but )oe$ %ot #(p,e(e%t; (etho)$ that (a%a&e the $er:,et a%)
#t$ co((u%#cat#o%$ /#th c,#e%t$! Ser:,et /r#ter$ pro:#)e $o(e or a,, o+ the$e (etho)$ /he%
)e:e,op#%& a $er:,et!
REMOTE MET&OD IN/OCATION
Re(ote Metho) I%:ocat#o% 8or RMI +or $hort9 a,,o/$ u$ to e"ecute (etho)$ o%
re(ote $er:er$! A$ the %a(e $u&&e$t$; #t he,p$ u$ to ,ocate a%) e"ecute (etho)$ o+ re(ote
object$! It$ ,#7e p,ac#%& a c,a$$ o% Mach#%e A a%) ca,,#%& (etho)$ o+ that c,a$$ +ro( Mach#%e B
a$ thou&h the' /ere +ro( the $a(e (ach#%e!
RMI #$ a pure a:a $o,ut#o% u%,#7e CORBA /here /e ca% ha:e object$ +ro(
)#++ere%t pro&ra((#%& ,a%&ua&e$ #%teract#%&! I% RMI e:er'th#%& /e co)e /#,, be #% AKA! Th#$
/ho,e proce$$ /#,, ,oo7 tra%$pare%t to the e%) u$er!
Object$ /h#ch ha:e to be (a)e a:a#,ab,e to other (ach#%e$ ha:e to be e"porte) to
$o(eth#%& ca,,e) a Re(ote Re$tr' Ser:er $o that the' ca% be #%:o7e)! Re(ote Re$tr' Ser:er
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
26/67
#$ a $er:#ce that ru%$ o% the $er:er a%) he,p$ c,#e%tH$ $earch a%) acce$$ object$ o% the $er:er
re(ote,'! I+ a% object ha$ to be capab,e o+ be#%& e"porte) the% #t (u$t #(p,e(e%t the Re(ote
I%ter+ace pre$e%t #% the RMI pac7a&e! RMI u$e$ $o(eth#%& ca,,e) a $tub a%) a $7e,eto%!
The $tub #$ pre$e%t o% the c,#e%t $#)e; a%) the $7e,eto% the $er:er $#)e! There are a
%u(ber o+ e:e%t$ that ha:e to ta7e p,ace be+oreha%) /h#ch he,p #% the co((u%#cat#o% o+ the
)ata! The $tub #$ ,#7e a ,oca, object o% the c,#e%t $#)e; /h#ch act$ ,#7e a pro"' o+ the object o% the
$er:er $#)e! It pro:#)e$ the (etho)$ to the c,#e%t /h#ch ca% be #%:o7e) o% the $er:er! The Stub
the% $e%)$ the (etho) ca,, to the S7e,eto%; /h#ch #$ pre$e%t o% the $er:er $#)e! The $7e,eto% the%
#(p,e(e%t$ the (etho) o% the $er:er $#)e!
The Stub a%) the S7e,eto% co((u%#cate /#th each other throu&h $o(eth#%&
ca,,e) a Re(ote Re+ere%ce a'er! Th#$ ,a'er :e$ the $tub a%) $7e,eto% the capab#,#t' to $e%)
)ata u$#%& the TCP@IP protoco,! A $#(p,e tech%#0ue ca,,e) B#%)#%& #$ #%:o,:e) #% RMI!
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
27/67
SYSTEM DESI$N
D"t" ,#o) !i"gr"ms 8DD9
Data +,o/ )#a&ra($ 8DD$9 re:ea, re,at#o%$h#p$ a(o%& a%) bet/ee% the :ar#ou$ co(po%e%t$
#% a pro&ra( or $'$te(! DD$ are a% #(porta%t tech%#0ue +or (o)e,#%& a $'$te(H$ h#&h?,e:e,
)eta#, b' $ho/#%& ho/ #%put )ata #$ tra%$+or(e) to output re$u,t$ throu&h a $e0ue%ce o+
+u%ct#o%a, tra%$+or(at#o%$! DD$ co%$#$t o+ +our (ajor co(po%e%t$= e%t#t#e$; proce$$e$; )ata
$tore$; a%) )ata +,o/$! The $'(bo,$ u$e) to )ep#ct ho/ the$e co(po%e%t$ #%teract #% a $'$te(
are $#(p,e a%) ea$' to u%)er$ta%); ho/e:er; there are $e:era, DD (o)e,$ to /or7 +ro(;
each ha:#%& #t$ o/% $'(bo,o&'! DD $'%ta" )oe$ re(a#% co%$ta%t b' u$#%& $#(p,e :erb a%)
%ou% co%$truct$! Such a $'%tact#ca, re,at#o%$h#p o+ DD$ (a7e$ the( #)ea, +or object?
or#e%te) a%a,'$#$ a%) par$#%& +u%ct#o%a, $pec#+#cat#o%$ #%to prec#$e DD$ +or the $'$te($a%a,'$t!
Data +,o/ )#a&ra( #$ a &raph#ca, too, u$e) to )e$cr#be a%a,'>e the (o:e(e%t o+ )ata throu&h
a $'$te( (a%ua, or auto(ate) #%c,u)#%& the proce$$e$; $tore$ o+ )ata; a%) )e,a'$ #% the
$'$te(!
Data +,o/ )#a&ra($ are the ce%tra, too, a%) ba$#$ +or +or( /h#ch other co(po%e%t$ are
)e:e,ope)! The )ata +,o/ )#a&ra( #$ a,$o 7%o/% a )ata +,o/ &raph or bubb,e Data +,o/
)#a&ra($ #,,u$trate ho/ )ata #$ proce$$e) b' a $'$te( #% ter($ o+ #%put$ a%) output! Data
+,o/ )#a&ra($ 8DD$9 are the (etho) o+ cho#ce o:er tech%#ca, )e$cr#pt#o%$ +or three
pr#%c#pa, rea$o%$!
1! DD$ are ea$#er to u%)er$ta%) b' tech%#ca, a%) %o%tech%#ca, au)#e%ce$
2! DD$ ca% pro:#)e a h#&h ,e:e, $'$te( o:er:#e/; co(p,ete /#th bou%)ar#e$ a%)
co%%ect#o%$ to other $'$te($
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
28/67
3! DD$ ca% pro:#)e a )eta#,e) repre$e%tat#o% o+ $'$te( co(po%e%t$!
DDH$ repre$e%t the +o,,o/#%&=
1! E"ter%a, )e:#ce$ $e%)#%& a%) rece#:#%& )ata
2! Proce$$e$ that cha%&e that )ata!
3! Data +,o/$ the($e,:e$!
*! Data $tora&e ,ocat#o%$
The h#erarch#ca, DD t'p#ca,,' co%$#$t$ o+ a top?,e:e, )#a&ra( 8e:e, 59 u%)er,a#% b'
ca$ca)#%& ,o/er ,e:e, )#a&ra($ 8e:e, 1; e:e, 29 that repre$e%t )#++ere%t part$ o+ the
$'$te(!
D"t" +#o):
Data +,o/ #$ the (o:e(e%t o+ )ata bet/ee% the e%t#t'; the proce$$; a%) the )ata $tore! Data
+,o/ portra'$ the #%ter+ace bet/ee% the co(po%e%t$ o+ the DD! The +,o/ o+ )ata #% a DD
#$ %a(e) to re+,ect the %ature o+ the )ata u$e) 8the$e %a(e$ $hou,) a,$o be u%#0ue /#th#% a
$pec#+#c DD9! Data +,o/ #$ repre$e%te) b' a% arro/; /here the arro/ #$ a%%otate) /#th the
)ata %a(e!
Context !i"gr"m:
A co%te"t )#a&ra( #$ a top ,e:e, 8a,$o 7%o/% a$ ,e:e, 59 )ata +,o/ )#a&ra(! It o%,' co%ta#%$
o%e proce$$ %o)e 8proce$$ 59 that &e%era,#>e$ the +u%ct#o% o+ the e%t#re $'$te( #% re,at#o%$h#p
to e"ter%a, e%t#t#e$!
The top?,e:e, )#a&ra( #$ o+te% ca,,e) a context diagram! It co%ta#%$ a $#%&,e proce$$; but #t
p,a'$ a :er' #(porta%t ro,e #% $tu)'#%& the curre%t $'$te(!
The co%te"t )#a&ra( )e+#%e$ the $'$te( that /#,, be $tu)#e) #% the $e%$e that #t )eter(#%e$ the
bou%)ar#e$!A%'th#%& that #$ %ot #%$#)e the proce$$ #)e%t#+#e) #% the co%te"t )#a&ra( /#,, %ot be part o+
the $'$te( $tu)'!
It repre$e%t$ the e%t#re $o+t/are e,e(e%t a$ a $#%&,e bubb,e /#th #%put a%) output )ata
#%)#cate) b' #%co(#%& a%) out&o#%& arro/$ re$pect#:e,'!
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
29/67
A!3"nt"ges "n! Dis"!3"nt"ges o, D+Ds:
A!3"nt"ges:
A$ /e ha:e $ee%; the DD (etho) #$ a% e,e(e%t o+ objector#e%te) a%a,'$#$ a%) #$ /#)e,'
u$e)! U$e o+ DD$ pro(ote$ 0u#c7 a%) re,at#:e,' ea$' project co)e )e:e,op(e%t! DD$ are
ea$' to ,ear% /#th the#r +e/?a%) $#(p,e?to?u%)er$ta%) $'(bo,$ 8o%ce 'ou )ec#)e o% a
part#cu,ar DD (o)e,9! The $'%ta" u$e) +or )e$#&%#%& DD$ #$ $#(p,e; e(p,o'#%& E%&,#$h
%ou%$ or %ou%a)ject#:e? :erb co%$truct$!
Dis"!3"nt"ges:
DD$ +or ,ar&e $'$te($ ca% beco(e cu(ber$o(e; )#++#cu,t to tra%$,ate a%) rea); a%) be t#(e
co%$u(#%& #% the#r co%$truct#o%! Data +,o/ ca% beco(e co%+u$#%& to pro&ra((er$; but DD$
are u$e,e$$ /#thout the prere0u#$#te )eta#,!
S'$te( co(po%e%t$
S'(bo,#>e$ proce$$
S'(bo,#>e$ )ata +,o/
S'(bo,#>e$ E"ter%a, e%t#t'
S'(bo,#>e$ )ata $tore
The )ata +,o/ )#a&ra( #$ o%e o+ the (o$t #(porta%t too,$ u$e) +or the $'$te(
a%a,'$#$! ADEMACRO 8149 a%) SARSON 81449 popu,ate) the u$e o+ )ata +,o/ )#a&ra($
a$ (o)e,#%& too, throu&h the#r $tructure) a%a,'$#$ (etho)o,oe$! The' $u&&e$te) that a )ata
+,o/ )#a&ra( $hou,) be the +#r$t too, u$e) b' the a%a,'$t to (o)e, the $'$te( co(po%e%t$!
There are +our t'pe$ o+ $'$te( co(po%e%t$! The' are
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
30/67
Pro'ess:
Proce$$ $ho/$ /hat $'$te( )oe$! A proce$$ #$ repre$e%te) b' a c#rc,e a$ $ho/% abo:e! Each
proce$$ #$ :e% a u%#0ue %a(e a%) a u%#0ue %u(ber! Each proce$$ ta7e$ o%e or (ore )ata
#%put$ a%) pro)uce$ o%e or (ore )ata output$!
D"t" ,#o)s:
Data +,o/$ (a)e the pa$$a&e o+ )ata a%) are repre$e%te) b' the ,#%e jo#%#%& the $'$te(
co(po%e%t$! A% arro/ #$ u$e) to #%)#cate the )#rect#o% o+ )ata +,o/ $ho/% #% the abo:e a%)
the ,#%e #$ ,abe,e) b' the %a(e o+ the )ata +,o/!
D"t" stores:
Data $tore #$ u$e) to repre$e%t the repo$#tor' o+ the )ata that (a#%ta#%$ #% the $'$te(! Aproce$$ ca% $tore )ata #%to a )ata $tore or retr#e:e the )ata +ro( the )ata $tore! A )ata $tore #$
repre$e%te) b' a th#% ,#%e a$ $ho/% #% the abo:e!
Extern"# Entities:
E"ter%a, e%t#t#e$ are the out $#)e the $'$te( but the' e#ther $upp,' #%put #%to $'$te( or u$e
$'$te( output! The )e$#&%er ha$ to co%tro, o:er the$e e%t#t#e$! The$e are repre$e%te) b' a
$0uare or recta%&,e output$ a$ $ho/% #% the abo:e!
The co%te"t ,e:e, )ata +,o/ )#a&ra( $ho/% abo:e :e$ a br#e+ #)ea about the +,o/ o+
)ata $hou,) be a%) #t #$ a,$o $ho/$ the co%tro, #+ $o(e )ata are #%:a,#)!
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
31/67
D"t" +#o) Di"gr"m:
LE/EL < :
SYSTEM DESI$N
DATAFLOW DIAGRAM
ANAT ON
GATEWAYCLIENT2
CLIENT n
SERVER2
SERVER n
SERVER1CLIENT1
LEVEL 0
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
32/67
LE/EL = :
Client
authentication on
Gatea! "achine
Chat Inte#$ace
$o# client
Lo%out
client
&olicie' $o# the
client a#e
#e"o(e)
A))in% u'e#' an)
*olicie'
&olicie' $o#
Client i' 'et on
Gatea! "achine
CLIENT
ADMINISTRATOR
&olicie'
+'e# )etail'
LEVEL 1
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
33/67
LE/EL > 7C#ient8
Chec,in% cu##ent
a(aila-ilit! o$ the '!'te"
in hich client i' lo%%e) in
Settin% u'e# *olicie'
on the %atea!
Re"o(in%
*olicie' $o#
client
lo%out
Chat $o# client
Chec,in% hethe#
client i' alloe) to 'it
on the cu##ent "achine
Chec,in% the
alloa-le ti"e to n.
+'e# )etail'
+'e# authentication
/o't )etail'
&olicie'
client
+'e#0ho't )etail'
LEVEL 2 (Client)
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
34/67
LE/EL ? 7A!ministr"tor8 :
ADMINISTRATOR
A)) u'e#'1
*olicie' an)%#ou*'
Mo)i$! u'e#'1
*olicie' 2 %#ou*'
Delete u'e#'1*olicie'2 %#ou*'
+'e# )etail'
G#ou* )etail'
&olic! )etail'
u'e#)etail'
&olic! )etail'
G#ou* )etail'
LEVEL 3 (Administrator3
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
35/67
@9> In%t Design:
I%put )e$#&% #$ the proce$$ o+ co%:ert#%& u$er?or#%ate) #%put to a co(puter?
ba$e) +or(at! The &oa, o+ )e$#&%#%& #%put )ata #$ to (a7e )ata e%tr' a$ ea$'; ,oca, a%) +ree
+ro( error$! I%put )ata are co,,ecte) a%) or&a%#>e) #%to &roup$ o+ $#(#,ar )ata! Appropr#ate #%put
(e)#a are $e,ecte) +or proce$$#%&! The project re0u#re$ a $et o+ #%+or(at#o% +ro( the u$er to
prepare a report! I% or)er to prepare a report; or&a%#>e) #%put )ata are %ee)e)!
I%put )e$#&% #$ o%e o+ the (o$t e"pe%$#:e pha$e$ o+ the operat#o% o+ co(puter#>e)
$'$te( a%) #$ o+te% the (ajor prob,e( o+ a $'$te(! I%accurate #%put )ata are the (o$t co((o%
cau$e o+ error #% )ata proce$$#%&! Error$ e%tere) b' )ata e%tr' operator$ ca% be co%tro,,e) b'
#%put )e$#&%!
The object#:e o+ #%put )e$#&% #$=
To pro)uce a co$t e++ect#:e (etho) o+ #%put!
To (a7e the #%put +or($ u%)er$ta%)ab,e to the u$er!
To e%$ure the :a,#)at#o% o+ the )ata #%put!
To ach#e:e the h#&he$t po$$#b,e ,e:e, o+ accurac'!
The :ar#ou$ act#:#t#e$ to be per+or(e) +or the o:era,, #%put proce$$ are=
Data recor)#%& at #t$ o/%
Data tra%$+er to #%put +or(
Data co%:er$#o% to co(puter acce$$#b,e (o)e
Data :a,#)at#o%
Data +,o/ co%tro,
Data correct#o% #+ %ece$$ar'
The )e$#&% o+ #%put co:er$ a,, pha$e$ o+ #%put +or( +ro( the creat#o% o+ #%#t#a,
)ata to actua, e%ter#%& o+ the )ata o+ the $'$te( +or proce$$#%&! The )e$#&% o+ #%put #%:o,:e$
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
36/67
#)e%t#+'#%& the )ata %ee)e)J $pec#+'#%& the character#$t#c$ o+ each )ata #te(; captur#%& a%)
prepar#%& )ata +or co(puter proce$$#%& a%) e%$ur#%& correct%e$$ o+ )ata !
I% ANAT #%put )e$#&% #$ )o%e /#th $e:era, co(po%e%t$ ,#7e +or($ a%) #t$
e,e(e%t$ ,#7e butto%$; te"tbo"e$; ,abe,$ etc! ANAT pro:#)e$ #%ter+ace$ +or a)(#%#$trator$ a%)
u$er$ o+ the %et/or7!
A!ministr"tor Inter,"'e :
A)(#%#$trator #$ pro:#)e) /#th :ar#ou$ +or($ +or (a%#pu,at#%& u$er$; po,#c#e$ a%)
&roup$! or($ are (a)e /#th the he,p o+ ht(,; SP a%) a:aScr#pt! A)(#%#$trator ca% ea$#,' )o
h#$ /or7 /#th the he,p o+ the$e +or($!
User Inter,"'e :
U$er$ are pro:#)e) /#th a ,o% +or( throu&h /h#ch he ca% ,o& o% to the %et/or7!
U$er +or($ are )e$#&%e) /#th the he,p o+ S/#%& pac7a&e +ro( ja:a! A,$o +or($ are pro:#)e) +or
co((u%#cat#%& u$er$ /#th the Ser:er (ach#%e (a%a&er$!
O%t%t Design :
I% Output )e$#&%; the e(pha$#$ #$ o% pro)uc#%& a har) cop' o+ #%+or(at#o% or
)#$p,a'#%& the output! Output )e$#&% &e%era,,' re+er$ to the re$u,t$ &e%erate) b' the $'$te(!Co(puter output #$ the (o$t #(porta%t a%) )#rect $ource o+ #%+or(at#o% to the u$er! E++#c#e%t;
#%te,,#&e%t output )e$#&% $hou,) #(pro:e $'$te( re,at#o%$h#p$ /#th the u$er a%) he,p #% )ec#$#o%
(a7#%&!
or (a%' e%)?u$er$; output #$ the (a#% rea$o% +or )e:e,op#%& the $'$te( a%) the
ba$#$ o% /h#ch the' e:a,uate the u$e+u,%e$$ o+ the app,#cat#o%! Pr#%t out$ $hou,) be )e$#&%e)
arou%) the output re0u#re(e%t$ o+ the u$er! O%e o+ the (o$t #(porta%t rea$o%$; /h#ch te(pt the
u$er to &o +or a %e/ $'$te(; #$ the output! Output$ a,$o pro:#)e a (ea%$ o+ $tora&e b' cop'#%&
the re$u,t$ +or ,ater re+ere%ce #% co%$u,tat#o%! There #$ a cha%ce that $o(e o+ the e%)?u$er$ /#,,
%ot actua,,' operate the #%put )ata or #%+or(at#o%!
Output$ o+ a $'$te( ca% ta7e :ar#ou$ +or($! The (o$t co((o% are report$; $cree%
)#$p,a'$; pr#%te) +or($; &raph#ca, )ra/#%&$ etc! T/o pha$e$ o+ output )e$#&% are=
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
37/67
Output De+#%#t#o%
Output Spec#+#cat#o%
Output )e+#%#t#o% ta7e$ #%to accou%t the t'pe o+ output co%te%t$; #t$ +re0ue%c' a%)
#t$ :o,u(e! The appropr#ate output (e)#a #$ )eter(#%e) +or output$! O%ce the output (e)#a #$
cho$e%; the )eta#, $pec#+#cat#o%$ o+ output )ocu(e%t$ are carr#e) out! The %ature o+ output
re0u#re) +ro( the propo$e) $'$te( #$ )eter(#%e) )ur#%& the ,oca, $ta&e #t$e,+!
The output$ &e%erate) b' the $'$te( are o+te% re&ar)e) to be the cr#ter#o% +or
e:a,uat#%& the $'$te( u$e+u,%e$$ a%) re$ource+u,%e$$! The output$ o+ a $'$te( are the
ju$t#+#cat#o% +or #t$ e"#$te%ce! I+ the output$ are #%a)e0uate #% a%' /a'; the $'$te( #t$e,+ #$
#%a)e0uate! The ba$#c re0u#re(e%t o+ output #$ that #t $hou,) be accurate; t#(e,' a%) appropr#ate
#% ter($ o+ co%te%t; (e)#u( a%) ,a'out +or #t$ #%te%)e) purpo$e! 6e%ce #t #$ %ece$$ar' to )e$#&%
output$ $o that the object#:e$ o+ the $'$te( are atta#%e)!
The +o,,o/#%& are $o(e o+ the output$ &e%erate) #% the propo$e) $'$te(!
Po#i'y set ,or " %ser )(o #ogge! in9
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
38/67
List Po#i'ies
Th#$ /#,, )#$p,a' a,, the po,#c#e$ /h#ch ca% be $et +or u$er$!
List gro%s
Th#$ /#,, )#$p,a' a,, the &roup$ /h#ch are re$tere) #% the %et/or7!
D"t"."se Design :
Auto(ate) Net/or7 A)(#%#$trat#o% Too, u$e$ a re,at#:e,' co(p,e" )ataba$e ha:#%& $e:e%
tab,e$!
1! A)(#% ab,e
2! U$er tab,e
3! 6o$t tab,e
*! U$er ho$t tab,e
-! Group tab,e
! U$er &roup tab,e
! Po,#c' tab,e
! o% )eta#, tab,e
Databa$e Tab,e$=
The )ataba$e tab,e$ u$e) +or the project are=
A!min T".#e:
Tab,e De$cr#pt#o%= Th#$ t$b,e #$ u$e) to $tore A)(#% #%+or(at#o%
S%o Co,u(% Na(e Data T'pe Nu,, opt#o% e' De$cr#pt#o%
1 A)(#% ID KarChar8259 Not %u,, Pr#(ar'e'
Store$ a)(#% #)
2 A)(#% p/) KarChar8259 Not %u,, Store$ a)(#%p/)
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
39/67
$ro% T".#e:
Tab,e De$cr#pt#o%= Th#$ t$b,e #$ u$e) to Store Group #%+or(at#o%
S%o Co,u(%Na(e
Data T'pe Nu,, opt#o% e' De$cr#pt#o%
1 Group#) KarChar8259 Not %u,, Pr#(ar' e' Store$ &roup#)
2 Group)e$c KarChar8259 Not %u,, Store$
&roup)e$c
3 &roupPo,#c' KarChar8259 Not %u,, Store$Po,oc'
&ost T".#e:
Tab,e De$cr#pt#o%= Th#$ t$b,e #$ u$e) to Store 6o$t #%+or(at#o%
S%o Co,u(%
Na(e
Data T'pe Nu,, opt#o% e' De$cr#pt#o%
1 6o$t#) KarChar8259 Not %u,, Pr#(ar'7e' Store$
6o$t#)
2 Startt#(e T#(e Not %u,, Store$
$tartt#(e
3 E%)t#(e T#(e Not %u,, Store$
E%)t#(e
Login Det"i#s T".#e :
Tab,e De$cr#pt#o%= Th#$ t$b,e #$ u$e) to Store U$er #%+or(at#o%
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
40/67
S%o Co,u(%Na(e
Data T'pe Nu,, opt#o% e' De$cr#pt#o%
1 o%%u(ber
Nu(ber Not %u,, Store$,o%%u(ber
2 U$er#) KarChar8259 Not %u,, Pr#(ar' 7e' Store$U$er#)
3 6o$t#) KarChar8259 Not %u,, Store$6o$t#)
* o% t#(e Nu(ber Not %u,, Store$ ,o%
t#(e
- o&out t#(e Nu(ber Not %u,, Store$
,o&out t#(e
User T".#e :
Tab,e De$cr#pt#o%= Th#$ t$b,e #$ u$e) to Store U$er #%+or(at#o%
S%o Co,u(%
Na(e
Data T'pe Nu,, opt#o% e' De$cr#pt#o%
1 U$er#) KarChar8259 Not %u,, Pr#(ar'e' Store$
U$er#)
2 U$erPa$$/or) KarChar8259 Not %u,, Store$
U$erp/)
3 U$erpo,#c' KarChar8259 Not %u,, Store$u$erpo,#c'
* Group$#% KarChar8259 Not %u,, Store$Group$#%
- Start t#(e T#(e Not %u,, Store$ Startt#(e
E%) t#(e T#(e Not %u,, Store$ e%)t#(e
E(a#, KarChar8259 Not %u,, Store$
U$erE(a#,
User(ost T".#e :
Tab,e De$cr#pt#o%= Th#$ t$b,e #$ u$e) to Store U$erho$t #%+or(at#o%
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
41/67
S%o Co,u(%
Na(e
Data T'pe Nu,, opt#o% e' De$cr#pt#o%
1 U$er#) KarChar8259 Not %u,, Pr#(ar'7e' Store$
U$er#)
2 U$erp/) KarChar8259 Not %u,, U$erp/)
Usergro% T".#e :
Tab,e De$cr#pt#o%= Th#$ t$b,e #$ u$e) to Store U$erGroup #%+or(at#o%
S%o Co,u(%
Na(e
Data T'pe Nu,, opt#o% e' De$cr#pt#o%
1 U$er#) KarChar8259 Not %u,, Pr#(ar'7e' Store$
U$er#)
2 Group#) KarChar8259 Not %u,, Store$
Group#)
Po#i'y T".#e :
Tab,e De$cr#pt#o%= Th#$ t$b,e #$ u$e) to Store Po,#c' #%+or(at#o%
S%o Co,u(%Na(e
Data T'pe Nu,, opt#o% e' De$cr#pt#o%
1 Po,#c'#) KarChar8259 Not %u,, Store$
Po,#c'#)2 Po,#c')e$c KarChar8259 Not %u,, Store$
po,o#c')e$c
3 Scr#pt#) KarChar8259 Not %u,, Store$ po,#c'
Scr#pt#)
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
42/67
SYSTEM TESTIN
System testing :
The a#( o+ a%' $o+t/are )e:e,op(e%t #$ to create bu& +ree; re,#ab,e a%) $ecure $'$te($ that
pro:#)e $o,ut#o% to u$er re0u#re(e%t! The #(p,e(e%tat#o% o+ %e/,' )e$#&%e) pac7a&e #$
#(porta%t #% a)opt#%& a $ucce$$+u, %e/ $'$te(!
Te$t#%& #$ a% #(porta%t a%) cr#t#ca, )e$#&% #% $o+t/are )e:e,op(e%t! It accou%t$ +or the
,ar&e$t a(ou%t o+ tech%#ca, e++ort #% the $o+t/are )e:e,op(e%t proce$$! It p,a'$ a cr#t#ca, ro,e
#% )eter(#%#%& ,#+e c'c,e :a,#)ate$ the co)e a&a#%$t the +u%ct#o%a, $pec#+#cat#o%! The +ee)bac7
+ro( the te$t $ta&e /#,, be #%corporate) /h#ch there b' e%$ure$ h#&h re,#ab#,#t'!
Te$t#%& #%:o,:e$ operat#o%$ o+ a $'$te( or app,#cat#o% u%)er co%tro,,e) co%)#t#o%$ a%)
e:a,uat#%& the re$u,t$! The co%tro,,e) co%)#t#o%$ $hou,) #%c,u)e both %or(a, a%) ab%or(a,
co%)#t#o%$! Te$t#%& $hou,) #%te%t#o%a,,' atte(pt to (a7e th#%&$ &o /ro%& to )eter(#%e #+
th#%&$ happe% /he% the' $hou,)! It #$ (ea%t to )etect#o% or#e%te)!
Test Plan
I(porta%ce o+ the Te$t#%& pha$e ca%%ot be u%)er(#%e)! So+t/are te$t#%& #$ a cr#t#ca, e,e(e%t
o+ $o+t/are 0ua,#t' a$$ura%ce a%) repre$e%t$ the u,t#(ate re:#e/ o+ $pec#+#cat#o%; )e$#&% a%)
co)#%&! Rea,#>#%& the #(porta%ce o+ the te$t#%& pha$e #% the )e:e,op(e%t c'c,e o+ a pro)uct!
Thou&h +e/ o+ the (#%or error chec7#%& ta7e$ p,ace )ur#%& the co)#%& #t$e,+; but to chec7 the$tab#,#t' o+ the $'$te( a%) a,$o to $ee /hether the +#%#$he) pro)uct #$ #% accor)a%ce to the
$'$te( re0u#re(e%t $pec#+#cat#o%; the pro)uct %ee)$ to u%)er&o e"te%$#:e te$t#%&!
The Proce$$ ca% be )#:#)e) #%to t/o cate&or#e$; %a(e,'!
Testing O.6e'ti3es:
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
43/67
The (a#% object#:e o+ te$t#%& #$ to u%co:er a ho$t o+ error$; $'$te(at#ca,,' a%) /#th (#%#(u(
e++ort a%) t#(e!
Te$t#%& #$ a proce$$ o+ e"ecut#%& a pro&ra( /#th the #%te%t o+ +#%)#%& a% error!
$ucce$$+u, te$t #$ o%e that u%co:er$ a% a$ 'et u%)#$co:ere) error!
A &oo) te$t ca$e #$ o%e that ha$ a h#&h probab#,#t' o+ +#%)#%& error; #+ #t e"#$t$!
The te$t$ are #%a)e0uate to )etect po$$#b,' pre$e%t error$!
The $o+t/are (ore or ,e$$ co%+#r($ to the 0ua,#t' a%) re,#ab,e $ta%)ar)$!
+UNCTIONAL TESTIN$:
A,$o 7%o/% a$ B,ac7 Bo" te$t#%& #t +ocu$e$ o% the u%ct#o%a, Re0u#re(e%t o+ the $'$te(!
The (ajor a#( o+ th#$ t'pe o+ te$t#%& #$ to chec7 /hether a,, the pre $tate) +u%ct#o%a,
re0u#re(e%t$ 8a$ #% the S'$te( re0u#re(e%t $pec#+#cat#o%9 o+ the $'$te( are (u$t!
B,ac7 Bo" te$t#%& /a$ a% atte(pt to +#%) error$ #% the +o,,o/#%& cate&or#e$=
qI%correct or (#$$#%& +u%ct#o%a,#t#e$!
qThe GUI /a$ e"te%$#:e,' chec7e) to $ee #+ a%' o+ the $pec#+#cat#o%$ /a$ %ot #%c,u)e)!
qI%ter+ace error!
qA thorou&h chec7 /a$ (a)e to $ee #+ a,, the pa&e$ /ere up to the $ta%)ar) )e$#&%!
qError$ #% )ataba$e acce$$!
qThe re,ate) tab,e$ /ere chec7e) to $ee #+ the +u%ct#o%a,#t#e$ o+ the pha$e are &ett#%&
re+,ecte) proper,'!
qPer+or(a%ce error$!
qThe +ocu$ /a$ to $ee ho/ accurate,' the +u%ct#o%a,#t#e$ are carr#e) out /#thout a%' error!
UNIT TESTIN$
The #%)#:#)ua, pro&ra($ are te$te) to )eter(#%e /hether the' are ab,e to ha%),e a,, 7#%)$ o+
rea, t#(e $#tuat#o%$! The' are chec7e) to )eter(#%e /hether the r#&ht output$ are &e%erate)
a%) /hether the ,oc #$ /or7#%& accurate,'; a$ per )e$#&% $pec#+#cat#o%$!
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
44/67
The )ata e%tr' $cree%$ /ere te$te) #%)#:#)ua,,' +or co(pat#b#,#t' a%) appeara%ce a%)
e%$ur#%& that the $cree%$ /ere a$ per the )e$#&% $pec#+#cat#o%$! The (ore (e$$a&e$ /ere
#%c,u)e) to (a7e #t (ore u$er +r#e%),'! I% the )ataba$e; the re0u#re) tab,e$ /ere create)! The
#%$ert#o%; )e,et#o%$ a%) up)at#%& o+ recor)$ /ere per+or(e) to e%$ure correct operat#o%$ o+
the )ataba$e!
I% ca$e o+ pro&ra($; #%)#:#)ua, /ere te$te) thorou&h,' +or a,, po$$#b,e )e+ect$! Te$t $et to
)eter(#%e a,, po$$#b,e output$ /a$ to chec7 the correct%e$$ o+ the pro&ra(! The )e+ect$ /ere
,o&&e) a%) the% rect#+#e) b' appropr#ate (o)#+#cat#o%$ to the co)e!
TESTING MET6ODS=
A Strate&' +or $o+t/are te$t#%& #%te&rate$ $o+t/are te$t ca$e$ #%to a $er#e$ o+ /e,, p,a%%e)
$tep$ that re$u,t #% the $ucce$$+u, co%$truct#o% o+ $o+t/are! So+t/are te$t#%& #$ a broa)er top#c +or
/hat #$ re+erre) to a$ Ker#+#cat#o% a%) Ka,#)at#o%! Ker#+#cat#o% re+er$ to the $et o+ act#:#t#e$ that
e%$ure that the $o+t/are correct,' #(p,e(e%t$ a $pec#+#c +u%ct#o%!
Unit testing:
U%#t te$t#%& +ocu$e$ :er#+#cat#o% e++ort o% the $(a,,e$t u%#t o+ $o+t/are )e$#&% that #$ the
(o)u,e! U$#%& proce)ura, )e$#&% )e$cr#pt#o% a$ a &u#)e; #(porta%t co%tro, path$ are te$te) to
u%co:er error$ /#th#% the bou%)ar#e$ o+ the (o)u,e!
Integr"tion Testing:
I%te&rat#o% te$t#%& #$ a $'$te(at#c tech%#0ue +or co%$truct#%& the pro&ra( $tructure; /h#,e
co%)uct#%& te$t to u%co:er error$ a$$oc#ate) /#th the #%ter+ace! The object#:e #$ to ta7e u%#t te$te)
(etho)$ a%) bu#,) a pro&ra( $tructure that ha$ bee% )#ctate) b' )e$#&%!
To!o)n Integr"tion:
Top )o/% #%te&rat#o%$ #$ a% #%cre(e%ta, approach +or co%$truct#o% o+ pro&ra( $tructure!
Mo)u,e$ are #%te&rate) b' (o:#%& )o/%/ar) throu&h the co%tro, h#erarch'; be%%#%& /#th the
(a#% co%tro, pro&ra(! Mo)u,e$ $ubor)#%ate to the (a#% pro&ra( are #%corporate) #% the
$tructure e#ther #% the breath?+#r$t or )epth?+#r$t (a%%er!
Bottom% Integr"tion:
Th#$ (etho) a$ the %a(e $u&&e$t$; be%$ co%$truct#o% a%) te$t#%& /#th ato(#c (o)u,e$
#!e!; (o)u,e$ at the ,o/e$t ,e:e,! Becau$e the (o)u,e$ are #%te&rate) #% the botto( up (a%%er
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
45/67
the proce$$#%& re0u#re) +or the (o)u,e$ $ubor)#%ate to a :e% ,e:e, #$ a,/a'$ a:a#,ab,e a%) the
%ee) +or $tub$ #$ e,#(#%ate)!
/"#i!"tion Testing:
At the e%) o+ #%te&rat#o% te$t#%& $o+t/are #$ co(p,ete,' a$$e(b,e) a$ a pac7a&e!
Ka,#)at#o% te$t#%& #$ the %e"t $ta&e; /h#ch ca% be )e+#%e) a$ $ucce$$+u, /he% the $o+t/are
+u%ct#o%$ #% the (a%%er rea$o%ab,' e"pecte) b' the cu$to(er! Rea$o%ab,e e"pectat#o%$ are tho$e
)e+#%e) #% the $o+t/are re0u#re(e%t$ $pec#+#cat#o%$!
System Testing:
S'$te( te$t#%& #$ actua,,' a $er#e$ o+ )#++ere%t te$t$ /ho$e pr#(ar' purpo$e #$ to +u,,'
e"erc#$e the co(puter?ba$e) $'$te(! A,thou&h each te$t ha$ a )#++ere%t purpo$e; a,, /or7 to:er#+' that a,, $'$te( e,e(e%t$ ha:e bee% proper,' #%te&rate) to per+or( a,,ocate) +u%ct#o%$!
Se'%rity Testing:
Atte(pt$ to :er#+' the protect#o% (echa%#$($ bu#,t #%to the $'$te(!
Per,orm"n'e Testing:
Th#$ (etho) #$ )e$#&%e) to te$t ru%t#(e per+or(a%ce o+ $o+t/are /#th#% the co%te"t o+
a% #%te&rate) $'$te(
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
46/67
SNAP S&OTS
S'reen s(ots B:
A,ter Login :
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
47/67
User Det"i#s:
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
48/67
/ie) User Det"i# :
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
49/67
User!et"i# En1i%iry U!"te :
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
50/67
Ne) User In,orm"tion :
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
51/67
User U!"ting :
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
52/67
User En1%iry U!"ting :
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
53/67
Po#i'y En1%iry U!"ting :
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
54/67
$ro% /ie) +orm :
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
55/67
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
56/67
&ost Det"i#s :
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
57/67
SYSTEM IMPLEMENTATION
I(p,e(e%tat#o% #$ the proce$$ o+ co%:ert#%& a %e/ or re:#$e) $'$te( )e$#&% #%to a%
operat#o%a, o%e! Apart +ro( p,a%%#%&; the (ajor ta$7$ o+ prepar#%& +or #(p,e(e%tat#o% or
e)ucat#o% a%) tra#%#%& o+ u$er$! I(p,e(e%tat#o% #%c,u)e$ +o,,o/#%& act#:#t#e$=
Obta#%#%& a%) #%$ta,,#%& the $'$te( har)/are
Pro:#)#%& u$er acce$$ to the $'$te(
Creat#%& a%) up)at#%& the )ataba$e
Tra#%#%& the u$er$ o% the %e/ $'$te(
Docu(e%t#%& the $'$te( +or #t$ u$er$
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
58/67
E:a,uat#%& the operat#o% a%) u$e o+ the $'$te(
Im#ement"tion Met(o!s
There are +our ba$#c (etho)$ o+ #(p,e(e%tat#o%=
D#rect co%:er$#o%
Para,,e, co%:er$#o%
P#,ot co%:er$#o%
Pha$#%& co%:er$#o%
Dire't Con3ersion:
Des'rition:
I% th#$ (etho) the %e/ o%e rep,ace$ the o,) $'$te(! Th#$ (a7e$ or&a%#>at#o% to +u,,' re,'
o% the %e/ $'$te(!
A!3"nt"ges:
Th#$ (etho) +orce$ u$er$ to (a7e the %e/ $'$te( /or7! There are #((e)#ate be%e+#t$
+ro( %e/ (etho)$ a%) co%tro,$!
Dis"!3"nt"ges:
There #$ %o other $'$te( to +a,, bac7 o% #+ )#++#cu,t#e$ ar#$e /#th %e/ $'$te(! Th#$ (etho)
a,$o re0u#re$ (o$t care+u, p,a%%#%&!
P"r"##e# Con3ersion:
Des'rition:
I% th#$ (etho); the o,) $'$te( #$ operate) a,o%& /#th the %e/ $'$te(!
A!3"nt"ges:
Th#$ (etho) o++er$ &reate$t $ecur#t'! The o,) $'$te( ca% ta7e o:er #+ error$ are +ou%) #%
the %e/ $'$te( or #+ $o(e u$a&e prob,e($ occur!Dis"!3"nt"ges:
Th#$ (etho) )oub,e$ operat#%& co$t$ a,$o the %e/ $'$te( (a' %ot &et +a#r tra#,!
Pi#ot Con3ersion:
Des'rition:
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
59/67
I% th#$ (etho) the $'$te( #$ #(p,e(e%te) to a $(a,, part o+ the or&a%#>at#o%! Ba$e) o%
the +ee)bac7; cha%&e$ are (a)e a%) the $'$te( #$ #%$ta,,e) #% the re$t o+ the or&a%#>at#o%
b' o%e o+ the other (etho)$!
A!3"nt"ges:
Th#$ (etho) pro:#)e$ e"per#e%ce a%) ,#:e te$t be+ore #(p,e(e%tat#o%!
Dis"!3"nt"ges:
Th#$ (etho) (a' :e the #(pre$$#o% that the o,) $'$te( #$ u%re,#ab,e a%) %ot error +ree!
P("se! Con3ersion:
Des'rition:
I% th#$ (etho); the $'$te( #$ #(p,e(e%te) &ra)ua,,' acro$$ a,, u$er$!
A):a%ta&e$=
It a,,o/$ $o(e u$er$ to ta7e a):a%ta&e$ o+ the $'$te( ear,'! It a,,o/$ tra#%#%& a%)
#%$ta,,#%& /#thout u%%ece$$ar' u$e o+ re$ource$!
D#$a):a%ta&e$=
A ,o%& pha$e?#% cau$e$ u$er prob,e($ /hether the project &oe$ /e,, 8o:er e%thu$#a$(9 or
%ot 8re$#$ta%ce or ,ac7 o+ +a#r tra#,9!
or )e$#&%#%& our $'$te( /e u$e) para,,e, co%:er$#o% #% /h#ch operate)
a,o%& /#th the o,) $'$te(!
System Im#ement"tion:
I(p,e(e%tat#o% #$ the $ta&e #% the project /here the theoret#ca, )e$#&% #$
tur%e) I%to a /or7#%& $'$te( a%) #$ :#%& co%+#)e%ce o% the %e/ $'$te( +or the u$er$; /h#ch #t
/#,, /or7 e++#c#e%t,' a%) e++ect#:e,'! It #%:o,:e$ care+u, p,a%%#%&; #%:e$t#&at#o% o+ the curre%t
S'$te(! Apart +ro( p,a%%#%& (ajor ta$7 o+ prepar#%& the #(p,e(e%tat#o% are e)ucat#o% a%)
tra#%#%& o+ u$er$!
I(p,e(e%tat#o% #%c,u)e$ a,, tho$e act#:#t#e$ that ta7e p,ace to co%:ert +ro(
the o,) $'$te( to the %e/! The %e/ $'$te( (a' be tota,,' %e/; rep,ac#%& a% e"#$t#%& $'$te( or #t
(a' be (ajor (o)#+#cat#o% to the $'$te( curre%t,' put #%to u$e! Th#$ $'$te( Auto(ate)
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
60/67
Net/or7 A)(#%#$trat#o% #$ a %e/ $'$te(! I(p,e(e%tat#o% a$ a /ho,e #%:o,:e$ a,, tho$e ta$7$
that /e )o +or $ucce$$+u,,' rep,ac#%& the e"#$t#%& or #%tro)uce %e/ $o+t/are to $at#$+' the
re0u#re(e%t!
User Tr"ining:
A+ter the $'$te( #$ #(p,e(e%te) $ucce$$+u,,'; tra#%#%& o+ the u$er #$ o%e
o+ the (o$t #(porta%t $ubta$7$ o+ the )e:e,oper!! Thu$ the u$er$ are tra#%e) to operate the
)e:e,ope) $'$te($ $ucce$$+u,,' #% +uture! Preparat#o% o+ u$er a%) $'$te( )ocu(e%tat#o%
co%)uct#%& u$er tra#%#%& /#th )e(o a%) ha%)$ o% te$t ru% +or $o(e per#o) to e%$ure $(ooth
$/#tch#%& o:er the $'$te(!
So%r'e Co!eA=
2SP CODIN$ +OR LO$IN92SP:
V pa&e ,a%&ua&eWja:a #(port Wja:a!$0,!X
Co%%ect#o% co%W%u,,J
State(e%t $tW%u,,J
Str#%& a)(#%#)Wre0ue$t!&etPara(eter8a)(#%#)9!tr#(89J
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
61/67
Str#%& a)(#%p/)Wre0ue$t!&etPara(eter8$u)ha9!tr#(89J
Str#%& #)W%u,,J
Str#%& pa$$W%u,,J
tr'
Z
C,a$$!+orNa(e8$u%!j)bc!o)bc!)bcO)bcDr#:er9J
co%WDr#:erMa%a&er!&etCo%%ect#o%8j)bc=o)bc=c);$a;9J
$tWco%!createState(e%t89J
Re$u,tSet r$W$t!e"ecute.uer'8$e,ect X +ro( a)(#%tab,e /here
a)(#%#)W[a)(#%#)[AND a)(#%p/)W[$u)ha[9J
/h#,e8r$!%e"t899
Z
#)Wr$!&etStr#%&819!tr#(89J
pa$$Wr$!&etStr#%&829!tr#(89J
\
#+8a)(#%#)!e0ua,$I&%oreCa$e8#)9 $u)ha!e0ua,$8pa$$99
Z re$po%$e!$e%)Re)#rect8D#$p,a'!ht(,9J
\
e,$e
Z
re$po%$e!$e%)Re)#rect8#%:a,#)!ht(,9J
\
\
catch8C,a$$Notou%)E"cept#o% e9
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
62/67
Z
@@out!pr#%t8Error #$ [e!&etMe$$a&e899J
\
catch8S.E"cept#o% e29
Z
@@out!pr#%t8Error #$ [e2!&etMe$$a&e899J
\
catch8E"cept#o% e19
Z
@@out!pr#%t8Error #$ [e1!&etMe$$a&e899J
\
DBCone'tion 96"3":
pac7a&e )bJ
#(port ja:a!$0,!XJ
pub,#c c,a$$ DBCo%%ect#o%Z
pub,#c $tat#c Co%%ect#o% &etCo%%ect#o%89
Z
Co%%ect#o% co%%ect#o% W %u,,J
tr'
Z
C,a$$!+orNa(e8co(!('$0,!j)bc!Dr#:er9!%e/I%$ta%ce89J
co%%ect#o% W
Dr#:erMa%a&er!&etCo%%ect#o%8j)bc=('$0,=@@,oca,ho$t@a%at; root; 123*9J
\
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
63/67
catch8E"cept#o% e9
Z
S'$te(!out!pr#%t,%8Error #% co% = [ e9J
@@thro/ %e/ $pE"cept#o%8#% co%%ect#o%!9J
\
retur% co%%ect#o%J
\
\
2SP +OR USER/IEW92SP
V pa&e ,a%&ua&eWja:a #(portWja:a!$0,!X
ht(,
hea)
h1uE%0u#r' Up)at#%&@u
@h1
@hea)
bo)' bac7&rou%)We)&b7&%)!+ b&co,orW] +or( %a(eWe)#t)e,ete (etho)W&et act#o%WKIE
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
64/67
Str#%& $ub(#tJ
tr'
Z
@@co% W Dr#:erMa%a&er!&etCo%%ect#o%8j)bc=('$0,=@@,oca,ho$t@a%at; root;
123*9J
C,a$$!+orNa(e8&etSer:,etCo%te"t89!&etI%#tPara(eter8)r#:er99J
Co%%ect#o% co%WDr#:erMa%a&er!&etCo%%ect#o%8
&etSer:,etCo%te"t89!&etI%#tPara(eter8ur,9;
&etSer:,etCo%te"t89!&etI%#tPara(eter8u%a(e9;
&etSer:,etCo%te"t89!&etI%#tPara(eter8pa$$99J
$tWco%!createState(e%t89J
Str#%& cu$%a(eWre0ue$t!&etPara(eter8$e,ect#)9J
r$W$t!e"ecute.uer'8$e,ect X +ro( u$ertab,e /here u$er#)W[cu$%a(e[9J
/h#,e8r$!%e"t899
Z
P a,#&%W,e+tU$er#)
ID%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ
INPUT :a,ueWWr$!&etStr#%&819 %a(eWc#)@P
P a,#&%W,e+tU$er Pa$$/or)%b$pJ%b$pJ INPUT :a,ueWWr$!&etStr#%&829
%a(eWcp/) @P
P
a,#&%W,e+tU$erpo,#c'%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ
%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ
INPUT $#>eW*5 :a,ueWWr$!&etStr#%&839 %a(eWcpo,#c' @P
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
65/67
Pa,#&%W,e+tGroup$#%%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ
%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ
INPUT $#>eW*5 :a,ueWWr$!&etStr#%&8*9 %a(eWc&roup @P
P
a,#&%W,e+tStart^T#(e%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ
%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ
%b$pJ%b$pJ%b$pJ
INPUT :a,ueWWr$!&etStr#%&8-9 %a(eWc$t#(e @P
Pa,#&%W,e+tE%)^T#(e%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$
pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ
INPUT :a,ueWWr$!&etStr#%&89 %a(eWcet#(e @P
Pa,#&%W,e+tE(a#,%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b
$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ
INPUT :a,ueWWr$!&etStr#%&89 %a(eWe(a#, @P
P a,#&%W,e+tB
A hre+Wu$er/#%)o/!ht(,C,#c7 6ere To Go Bac7
u$er 6o(e Pa&e@A@B@P@ORM
b+o%t +aceWGeora
a hre+W:#e/u$er#)!j$p
Pa,#&%W,e+tU$er#)ID%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ%b$pJ
INPUT :a,ueWWr$!&etStr#%&819 %a(eWc#)@P
P a,#&%W,e+tU$er Pa$$/or)%b$pJ%b$pJ INPUT :a,ueWWr$!&etStr#%&829
+o%t co,orW]5555C,#c7 6ere To Go Bac7 @+o%t @a
@+o%t@b
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
66/67
\
\
catch8C,a$$Notou%)E"cept#o% e9
Z
@@out!pr#%t8Error #$ [e!&etMe$$a&e899J
\
catch8S.E"cept#o% e29
Z
@@out!pr#%t8Error #$ [e2!&etMe$$a&e899J
\
catch8E"cept#o% e19
Z
@@out!pr#%t8Error #$ [e1!&etMe$$a&e899J
\
@ht(,
+UTURE EN&ANCEMENTS
S'oe O, +%t%re Ex"nsion
1! Pro:#)#%& +ac#,#t' +or o++,#%e (e$$a%&!
2! Pro:#)#%& +ac#,#t' +or )etect#%& #%tru$#o%!
3! Re$tr#ct#%& c,#e%t to c,#e%t co((u%#cat#o%!
*! Pro:#)#%& +ac#,#t' +or :o#ce chat!
-! Pro:#)#%& +ac#,#t#e$ +or %et/or7 (o%#tor#%& a%) co%tro,!
! Pro:#)#%& +ac#,#t' +or re(ote )e$7top $har#%&!
-
5/28/2018 AUTOMATED NETWORK ADMINISTRATION TOOL
67/67
! Pro:#)#%& +ac#,#t#e$ +or co%tro,,#%& ho$t$ o+ )#++ere%t p,at+or($!
! Pro:#)#%& +ac#,#t#e$ +or co%tro,,#%& (u,t#p,e %et/or7$ at a t#(e!
4! Pro:#)#%& +ac#,#t#e$ +or $upport#%& (u,t#p,e Ba$t#o% 6o$t$ +or the purpo$e o+ h#&h
a:a#,ab#,#t'!
15! Pro:#)#%& +ac#,#t#e$ +or $ett#%& the ru,e$ accor)#%& to the ba%)/#)th %ee)$ o+ the u$er!