centralized server manager

62
PROJECT ON CENTRALIZED SERVER MANAGER FOR S P SOFT TECHNOLOGIES (I) PVT. LTD. By ASHISH S. RAHURKAR

Upload: a-r

Post on 10-May-2015

346 views

Category:

Education


2 download

TRANSCRIPT

Page 1: Centralized Server Manager

PROJECT ONCENTRALIZED SERVER MANAGERFORS P SOFT TECHNOLOGIES (I) PVT. LTD.

By ASHISH S. RAHURKAR

Page 2: Centralized Server Manager

INDEXIntroductionObjectiveExisting SystemScope of SystemModule DescriptionHardware & Software RequirementProposed SystemE-R DiagramDiagramDatabase DesignScreen DesignReportTest CaseDrawbacks & LimitationsProposed EnhancementConclusionBibliography

Page 3: Centralized Server Manager

INTRODUCTION

“CENTRALIZED SERVER MANAGER” is a web portal which is used to manage server side activities which are managed & done by the Network Administrator.

QUICK GLANCE INDEX

Page 4: Centralized Server Manager

QUICK GLANCE

INDEX

USER AGENT CENTRALIZED

SERVERMANAGER

BACKUP RECOVERY SYSTEM

Page 5: Centralized Server Manager

OBJECTIVES

Time and Cost Effective Mobility – Accessible over the network Security – Data stored is secure Flexible – Any changes in future should be easy

INDEX

Page 6: Centralized Server Manager

EXISTING SYSTEM

Manual work Tasks are to be done with the help of command line tool Too much workload on Network Administrator Very much time consuming

INDEX

Page 7: Centralized Server Manager

SCOPE OF SYSTEM

This system provides facilities for - Finding out source disks or partitions Creating pools Creating volumes Creating file system Creating groups Creating users Viewing reports

INDEX

Page 8: Centralized Server Manager

MODULE DESCRIPTION

Administration Module :- This module is used to perform administration task such as changing of password.

Storage Manager Module :- This module is used to find source disks or partitions.

INDEX

Page 9: Centralized Server Manager

MODULE DESCRIPTION...

Pool Manager Module :- This module is used to perform task such as creation of pool from the selected disks or partitions & other tasks related to pool.

Volume Manager Module :- This module is used to create volumes from the available pools.

INDEX

Page 10: Centralized Server Manager

MODULE DESCRIPTION...

File System Manager Module :- This module is used to create & mount file systems on existing volumes.

Group Manager Module :- This module is used to create groups & all other related activities regarding groups.

INDEX

Page 11: Centralized Server Manager

MODULE DESCRIPTION...

User Manager Module :- This module is used to create user & all other related tasks regarding user management.

Report Manager Module :- This module is used to report generated bythe system.

INDEX

Page 12: Centralized Server Manager

HARDWARE & SOFTWARE REQUIREMENT

INDEX

Hardware Requirements :-

Server:

PROCESSOR: Intel Pentium 4 (3.0 GHz or above). RAM: 2 GB (or above). HDD: 350 GB (or Above).

Page 13: Centralized Server Manager

HARDWARE & SOFTWARE REQUIREMENT...

INDEX

Software Requirements :-PHP – 5.1 & above.MYSQL – 4.1 & above.APACHE 2 or IIS 5 or 6.ZEND ENGINE 2.2 & ZEND OPTIMIZER 3.3GD Library Support – For thumbnail generation.CURL Library – To communicate with other servers.JQUERY

Page 14: Centralized Server Manager

PROPOSED SYSTEM

Network administrator can use the system without much efforts. All manual tasks required to be done must be automated. Various activities regarding allocation & management of the space are to be done fromthe single application. The system must be feasible & user friendly.

INDEX

Page 15: Centralized Server Manager

E-R DIAGRAM

DATABASE DESIGN INDEX

Page 16: Centralized Server Manager

DIAGRAM

INDEX

CLASS DIAGRAM

Page 17: Centralized Server Manager

DIAGRAM

INDEX

USE CASE DIAGRAM

NetworkAdministrator

Login

Select StorageLocation

CreateStorage Pool

CreateVolume

Create FileSystem

CreateGroup

CreateUser

View Back andRestore Report

DiscoverTarget

List Pool

ExtendPool

RemovePool

List Volume

ExtendVolume

RemoveVolume

List FileSystem

RemoveFile System

List Group

RemoveGroup

List User

RemoveUser

<<extends>>

Page 18: Centralized Server Manager

DIAGRAM

INDEX

ACTIVITY DIAGRAM

Page 19: Centralized Server Manager

DIAGRAM

INDEX

STATE TRANSITION DIAGRAM

Page 20: Centralized Server Manager

DIAGRAM

INDEX

COMPONENT DIAGRAM

Web Browser Gui SP ProtectWeb Portal

MySQLServer

Page 21: Centralized Server Manager

DIAGRAM

INDEX

DEPLOYMENT DIAGRAM

Page 22: Centralized Server Manager

DATABASE DESIGN

INDEX

ADMIN TABLE

Table Name admin

Table Description This table stores all admin user details.

Field

Name

Data

Type

Size Not

Null

P

K

F

K

Description

admin_id INT 10 Y Y   Generated using Auto-

increment database

mechanism.

admin_username VARCHAR 30       User name

admin_password VARCHAR 30       Password

Page 23: Centralized Server Manager

DATABASE DESIGN

INDEX

GROUP TABLE

Table Name group

Table Description This table used to store group details.

Field

Name

Data

Type

Size Not

Null

PK FK Description

group_id INT 10 Y

 

Y   Generated using Auto-

increment database

mechanism.

group_name VARCHAR 30       Group name

db_adddate DATE TIME 15       Record insertion date

db_update_date DATE TIME 15       Record update date

Page 24: Centralized Server Manager

DATABASE DESIGN

INDEX

USERJOB TABLE

Table Name UserJobs

Table Description This table used to store user job details.

Field

Name

Data

Type

Size Not

Null

PK FK Description

job_id INT 10 Y

 

Y

 

  Generated using Auto-increment database mechanism.

user_id INT 10 Y Y Y User id

job_name VARCHAR 30 Y     Job Name

job_dest_type TINY INT 2  

 

    Original / New Location

job_type TINY INT 2       Backup / Recovery job

job_ex_type TINY INT 2  

 

    Job extension types

(Files/Folders, Exchange, Sql, Oracle, Granular)

client_job_name VARCHAR 30       Job name given by client

status TINY INT 2       Status of the job

backup_time DATE TIME 15       Back up time

Page 25: Centralized Server Manager

DATABASE DESIGN

INDEX

USERACCESS-CONTROL TABLE

Table Name useraccesscontrol

Table Description This table stores the information about access controls given to the user.

Field

Name

Data

Type

Size Not

Null

PK FK Description

access_id INT 10 Y

 

Y

 

  Generated using Auto-increment database mechanism.

access_name VARCHAR 30       Access name

Page 26: Centralized Server Manager

DATABASE DESIGN

INDEX

OS TABLE

Table Name os

Table Description Table stores the operating system details of the user.

Field

Name

Data

Type

Size Not

Null

PK FK Description

os_id INT 10 Y

 

Y

 

  Generated using Auto-increment database mechanism.

os_name VARCHAR 30 Y     Operating System name

Page 27: Centralized Server Manager

DATABASE DESIGN

INDEX

PROTECTIONTYPETABLE

Table Name protectiontype

Table Description This table is used to store protection type details of the folder of

the user.

Field

Name

Data

Type

Size Not

Null

PK FK Description

protection_id INT 10 Y

 

Y

 

  Generated using Auto-increment

database mechanism.

protection_na

me

VARCHAR 30       Protection name

Page 28: Centralized Server Manager

DATABASE DESIGN

INDEX

USERPROTECTION-TYPE TABLE

Table Name userprotectiontype

Table Description This table used for storing user protection types.

Field

Name

Data

Type

Size Not

Null

PK FK Description

userprotectio

n_id

INT 10 Y

 

Y

 

  Generated using Auto-increment

database mechanism.

user_id INT 10 Y   Y User id

protection_id INT 10 Y   Y Protection id

Page 29: Centralized Server Manager

DATABASE DESIGN

INDEX

FILES TABLE

Table Name files

Table Description This table used for storing file details.

Field

Name

Data

Type

Size Not

Null

PK FK Description

file_id INT 10 Y

 

Y   Generated using Auto-increment

database mechanism.

file_name VARCHAR 30 Y     File Name

dir_id INT 10 Y     Directory Id

is_directory TINY INT 2 Y

 

    Is this a directory?

user_id INT 10 Y

 

  Y User id

is_duplicate TINY INT 2 Y     Is it a duplicate folder / file?

Page 30: Centralized Server Manager

DATABASE DESIGN

INDEX

USER TABLE

Table Name User

Table Description This table used for storing user details.

Field

Name

Data

Type

Size Not

Null

PK FK Description

user_id INT 10 Y

 

Y   Generated using Auto-increment database mechanism.

user_name VARCHAR 30       User name

password VARCHAR 30       Password

email VARCHAR 50       Email

host_ip VARCHAR 30       IP address of the user machine

os_id INT 10 Y   Y Operating System id

mount_path VARCHAR 30       Path of the user's home folder

access_id INT 10 Y   Y Access id for the folder or files.

backup_size INT 10       Size of the back up files

sync_size INT 10       Folder Synchronization size

db_adddate DATE TIME 15       Record insertion date

group_id INT 10 Y   Y Group id

db_update_date DATE TIME 15       Record update date

protections VARCHAR 30     Protections given to the folder or file

Page 31: Centralized Server Manager

SCREEN DESIGN

INDEX

LOGIN PAGE

Page 32: Centralized Server Manager

SCREEN DESIGN

INDEX

CHANGE PASSWORD PAGE

Page 33: Centralized Server Manager

SCREEN DESIGN

INDEX

DISCOVER TARGET PAGE

Page 34: Centralized Server Manager

SCREEN DESIGN

INDEX

CREATE POOL PAGE

Page 35: Centralized Server Manager

SCREEN DESIGN

INDEX

EXTEND POOL PAGE

Page 36: Centralized Server Manager

SCREEN DESIGN

INDEX

REMOVE POOL PAGE

Page 37: Centralized Server Manager

SCREEN DESIGN

INDEX

CREATE VOLUME PAGE

Page 38: Centralized Server Manager

SCREEN DESIGN

INDEX

EXTEND VOLUME PAGE

Page 39: Centralized Server Manager

SCREEN DESIGN

INDEX

REMOVE VOLUME PAGE

Page 40: Centralized Server Manager

SCREEN DESIGN

INDEX

CREATE FILE SYSTEM PAGE

Page 41: Centralized Server Manager

SCREEN DESIGN

INDEX

REMOVE FILE SYSTEM PAGE

Page 42: Centralized Server Manager

SCREEN DESIGN

INDEX

CREATE GROUPPAGE

Page 43: Centralized Server Manager

SCREEN DESIGN

INDEX

REMOVE GROUPPAGE

Page 44: Centralized Server Manager

SCREEN DESIGN

INDEX

CREATE USERPAGE

Page 45: Centralized Server Manager

SCREEN DESIGN

INDEX

REMOVE USERPAGE

Page 46: Centralized Server Manager

SCREEN DESIGN

INDEX

BACKUP REPORT FORM PAGE

Page 47: Centralized Server Manager

REPORT

INDEX

STORAGE POOL REPORT

Page 48: Centralized Server Manager

REPORT

INDEX

VOLUME REPORT

Page 49: Centralized Server Manager

REPORT

INDEX

FILE SYSTEM REPORT

Page 50: Centralized Server Manager

REPORT

INDEX

GROUP REPORT

Page 51: Centralized Server Manager

REPORT

INDEX

USER REPORT

Page 52: Centralized Server Manager

REPORT

INDEX

BACKUP REPORT

Page 53: Centralized Server Manager

TEST CASE

INDEX

FOR LOGIN PAGE

Sr. No. Steps to be

executed

Expected Result Actual Result Remark

1 Enter User name

with less than 6

characters.

It should display error

message “Enter user

name with minimum 6

characters.”

It should display error

message “Enter user

name with minimum 6

characters.”

Pass

2 Entered user name

more than 20

characters.

Will show error

message “Please enter

the valid User Name”

Error message “Please

enter the valid User

Name”

Pass

3 Entered blank user

name.

Will show error

message “Please enter

the valid User Name”

Error message “Please

enter the valid User

Name”

Pass

Page 54: Centralized Server Manager

TEST CASE

INDEX

FOR LOGIN PAGE

Sr. No. Steps to be

executed

Expected Result Actual Result Remark

1 Leave text field

blank.

Will show error message

“Please enter the password”

Data accepted Fail

2 Entered Incorrect

(not matching

with the user

name) password.

Will show error message

“Please enter the valid User

name/Password”.

Error message

“Please enter the

valid User

name/Password”.

Pass

3 Entered matching

Password to the

user name.

Will accept the data. Data accepted Pass

Page 55: Centralized Server Manager

TEST CASE

INDEX

FOR BACKUP REPORTFORM PAGE

Sr No Steps to be executed Expected Result Actual Result Remark

1 Leave User Name

Combo box

unselected.

Will show error message

“User name is required”.

Error message “ User

name is required.”

Pass

2 Leave Job Type

Combo box

unselected.

Will show error message

“ Job Type is required”.

Error message “ Job

Type is required.”

Pass

3 Leave Job Ex Type

Combo box

unselected.

Will show error message

“ Job Ex Type is

required”.

Error message “ Job Ex

Type is required.”

Pass

4 Leave Destination

Combo box

unselected.

Will show error message

“ Destination is

required”.

Error message “

Destination is required.”

Pass

Page 56: Centralized Server Manager

TEST CASE

INDEX

REMOVE USER PAGE

Sr

No

Steps to be

executed

Expected Result Actual Result Remark

1 Leave Radio

buttons

denoting user

entry

unselected.

Will show error

message “User

entry is required to

be selected”.

Error message “

User name is

required.”

Pass

Page 57: Centralized Server Manager

TEST CASE

INDEX

CREATE POOL PAGE

Sr.

No

Steps to be executed Expected Result Actual Result Remark

1 Leave check boxes

denoting disks or partition

entry unselected.

Will show error message

“At least one entry is

required to be selected”.

Error message “ At

least one Disk is

required.”

Pass

2 Entered Storage pool

name as numbers or

special characters.

Will show error message

“Pool name is incorrect”.

Error message “

Pool name is

incorrect.”

Pass

Page 58: Centralized Server Manager

TEST CASE

INDEX

CREATE FILE SYSTEM PAGE

Sr. No. Steps to be executed Expected Result Actual Result Remark

1 Leave radio button

denoting volume entry

unselected.

Will show error message

“Volume is required to be

selected”.

Error message “

Volume is required.”

Pass

2 Entered File Device name

as numbers or special

characters.

Will show error message

“Device name is incorrect”.

Error message “

Device name is

incorrect.”

Pass

3 Entered File Device size

as regular or special

characters.

Will show error message

“File device size is

incorrect”.

Error message “

Device size is

incorrect.”

Pass

4 Leave Device type combo

box unselected.

Will show error message

“Device type is required”.

Error message “

Device type is

required.”

Pass

Page 59: Centralized Server Manager

DRAWBACKS & LIMITATIONS

INDEX

• For local area network System requires Xampp Server and MYSQL Server 5.0.51 onward, Otherwise System will not work properly.

• Failure of the server leads to the loss of data in all log files.

• Many modules in the system are dependent on the log entry & not on the database values.

• This Centralized Server Manager web portal is vast. It will be stress on web server.

• Very much reliable on server-side execution of system commands.

Page 60: Centralized Server Manager

PROPOSED ENHANCEMENTS

INDEX

• To store backup on the cloud.• Will provide SMS Alert for any kind of failure or

alarm.• To store log values in the database.• It will avoid redundant access to the log files.

Page 61: Centralized Server Manager

CONCLUSION

INDEX

Using this excellent tool will enhance the capabilities of the network administrator. He will be able to do his tasks much faster & with relative ease. Also network administrator can enjoy User Interfaces to do his most rigid tasks. He can manage & control wider number of users on his network with very much ease.

Page 62: Centralized Server Manager

BIBLIOGRAPHY

INDEX

• http://www.w3schools.com• http://www.php.net• http://www.mysql.com• http://www.searchquery.com

BOOKS -• Web Programming For PHP• MYSQL Black Book.