International
Conference On
"Emerging Techniques
in
Computing,
Electronics,
Embedded System and VLSI
Design
,20-21 March
2008
ICEVD 2008
PDVVP College of Engineering,
,Ahmadnagar,
INDIA
Vandana S.Mahadik
Server Configuration
Manager
Lecturer ,Computer Dept Bharati Vidyapeeth's College of Engg, Pune [email protected]
Shilpa P. Gaikwad A.P. ,Electronics
Dept, Bharati Vidyapeeth's College of Engg Pune [email protected]
Prof. Suhas H. Patil HOD ,Computer Dept
Bharati Vidyapeeth's college of Engg Pune [email protected]
ABSTRACT
This Paper described server COlifiguration manager system Currently system server is configured using configuration information maintained in files
but ill this system server will read the configuration information from data base instead offiles It is client server system In this system each time the startsit readsvarious COlifiguration parametersfrom
COilfiguration files residing at tile server currently
server can not be configured from remote site our
system provides facility totile user to configure tile
serverfrom remote site
Index
Terms:
Configuration,
Client-Server
system
I.INTRODUCTION
Server Configuration Manager is mainly developed for maintaining server-side configuration files by providing proper user interface. This is a web-based utility, which can be used to maintain the configuration files from the remote site. Maintaining configuration tiles includes the configuration of key-value pairs in those files. Each configuration file is divided
into sections and these sections can be configured using this system.
Currently Element Management Systems Server is configured using configuration information, maintained In files. We have decided that the server will read the configuration information from database instead of files. Shifting to database system from file system will provide various advantages to user which traditional file system cannot offer. such as:
A. Maintenance of data is simplified by use of database. Data isstored insingle database rather than many files. Database can be designed in proper way with setting proper constraints, which avoids duplicate or erroneous entries.
B. Avoids extra errors. If data is stored in database user has not to worry about file formats, which avoids various errors, which creep in due to no supp- orted formats, or some typing errors. Due to use of database there is no question of File Formats. itself.
C. system can be stated with the fact that
currently if any user wants to modify configuration information then that user must be
present on the server machine, where he can get all configuration files. But this system provides the facility to update any configuration
information from the remote site. User can login
remotely on the server machine and can modify server configuration information according tohis
privilege.
D. System also proves tobe useful because of its user-friendly interface provided to carry on all
these configuration operations. II. SYSTEM DESCRIPTION:
Server Configuration Manager is mainly
developed for maintaining server-side configuration files by providing proper user interface. User interface allows user to perform
alI sort of configuration operations without
worrying about these system constraints. All these details are abstracted from the end user.
Maintaining configuration files includes
the configuration of key-value pairs in those
files. Each configuration file is divided into
sections and these sections can be configured using this system. System provides different options to add/modify/delete sections and also to
add/modify/delete the keys present inside those
sections.
The privileges are assigned to each user and depending on the privilege a user can just view
or also configure the section contents. All configuration operations are logged or stored in the database so as to keep the track of changes.
User can import configuration parameters from the configuration file to the system database, as
well as export configuration parameters from system database to the file.
A.System requirement:
Client: IE,
Server: Hardware :Pentium machine, 64 MB
RAM, Hard Disk
up to75 MB
Software : Tomcat Server (Version 4.0.6) space
PostgreSQL Database (Version 7.1.2), 10K1.3+ Ill.METHODS:
S
erv
er
de
s
i
g
ned
C
o
nfi
g
u
rati
o
n
ma
n
ager
u
si
n
g
Mode
l
v
i
ew
contr
o
ll
er(MVC)
A
r
c
h
itec
tu
re
T
h
e goa
l
of th
e
MV
C
d
esig
n p
a
tt
er
n
is to separate
t
h
e app
lic
ation
o
bj
ect model from the
wa
y
it i
s
repr
ese
nt
e
d to th
e
u
se
r
(view)
from th
e way
in wh
i
ch th
e
u
ser c
ontrol
s
it
c
ontr
o
ll
er
.
A
.
M
od
e
l
V
i
ew Co
n
t
r
o
ll
e
r
(
MV
C)
Architectur
e
Server Configuration Manager is
designed using Model View Controller (MVC)
CON
T
RO
LLE
R
re
ques
(Ser
vl
e
t/
J
S
P)
tos
elect
M
OD
EL
;:u 0~
~
iews
A
p
pl
ic
a
t
i
o
n
Serve
r
Database Serv
e
r
Here the Model includes the databases (System
database, EMSUser database, and AuditTrail
database), systemconfig.txt file and the resource
files such as properties file (English and Korean
properties file).
System database contains the
information about all the sections and section
contents. AuditTrail database is used to log the
configuration operations. EMS User database is
used for authentication of users. The
systemconfig.txt file is used to get the paths,
username, password, etc. And the resource files
such as English properties file and Korean
properties file are used for internationalization
support
All the JSP pages act as views which represents
the data from the model. The JSP pages such as
viewSectionList.jsp, viewSectionContents.jsp,
editSection.jsp, addNewSection.jsp,
addNewKeys.jsp, etc. fetch the data from the
Model using the SQL queries and then render
that data asrequired.
requestHandler.jsp acts as a controller.
It receives all the requests about updating the
data from the client browser. It then changes the
data in the model. These changes includes
change in section information, change in keys
and their values, adding new sections, deleting
the section, adding new keys, etc. After making
the changes in the model it then selects
appropriate JSP page to reflect the changes to the
client.
For example consider the case of adding a new
section to the database. Inthis example we can
clearly define these three section and their
respective functions.
I.Model: In the above example of adding new
sections to database, System database acts as a
Model. When this database gets the notification
from controller itsimply adds that information to
that database irrespective of which view is
shown on the screen. Here we can isolate
functioning of Model from Views shown on the
Browser.
2.Controller: In the above example of adding
sections to database, requestHandler.jsp acts as a
controller. Whenever user wants to add any
section, he cannot directly change anything in
Model. User sends the desired information to
controller and controller then forwards this
request to Model. So whenever 'Add Section'
button is pressed, that event is captured by
requesthandler.jsp and then proper query is made
by requestHandler.jsp telling Model to add the
desired section.
3.Views: Inthis example of adding new section,
addSection.jsp and viewSectionList.jsp act as
views. addsection.jsp creates the view which
helps user to pass on the information required to
add a new section. This information is passed to
controller. Controller asks Model to add the new
section and then controller loads
viewSectionlist.jsp as new view, which
acknowledges user that desired action is
IV.RESULTS
Performance tests conducted for Server
Configuration Manager:
A. System compatibility is tested with various browsers such as Internet Explorer, Netscape Navigator, Opera, and Smart Explorer etc. System was also tested with as many versions possible of these browsers.
B. System was also tested for multiple users logging in the system and doing all sorts of operations.
C. System was thoroughly tested for importing and exporting files. File format for configuration files is strictly followed. Here system was also checked for atomicity,
v
.
LIM
I
TAT
IO
NS:
A. User is not able toadd multiple files at atime
by specifying a directory containing configuration files.
B. If multiple users are configuring the same section orthe key concurrently,
action of one user is not notified to the second user immediately.
VI. CONCLUSION
Server Configuration Manager is mainly
developed for maintaining server-side
configuration files by providing proper user
interface. This is a web-based utility, which can
be used to maintain the configuration files from theremote site. Maintaining configuration files includes the configuration of key-value pairs.
The server configuration manager system server will read the configuration information
from data base instead of files It is client server
system. In this system each time the starts it reads various configuration parameters from configuration files residing at theserver
Reference
s
[I] Gaurav Banga, Peter Druschel, and Jeffrey
C. Mogul. Resource Containers: A New Facility
for Resource Management in Server Systems. In
Proceedings of the Third Symposium on
Operating Systems Design and Implementation
(OSDI), February 1999.
[2] Raouf Boutaba, Salima Omari, and Ajay Pal
Singh VirkSELFCON: "An Architecturefor Se
lf-Configuration 0 jNetworks ''journal of
communications and networks, vol.3, no.4,
december 2001
[3] Lucent Technologies, "IPNetwork Configurator ",http://www.lucent.com/OS/ipnc.ht ml
[4] Proceedings of the 2001 American Society for Engineering Education Annual Conference &
Exposition Copyrigh(200J, American Society for
Engineering Education
Session 3532Steve Liu, Willis Marti, Wei
ZhaoVirtual Networking Lab (VNL): its concepts
[5J Fletcher J Buckley, Implementing
Configuration Management: Hardware,
Software and Firmware, IEEE Press,
Piscataway, NJ, 1993
[6J Database system concepts by
silberschaz,korth,sudarshan Me graw Hill