SlideShare a Scribd company logo
RV College Of Engineering Software Rejuvenation
Dept Of Information Science Page 6
Chapter 2
SOFTWARE REQUIREMENT AND SPECIFICATION
2.1 Project Description
In this project, we implement six different modules of rejuvenation. These modules are on OS
VM and VMM. Here we implement Cold and Warm rejuvenation techniques for OS VM and
VMM. Each module consist of unique working method, which is explain below
2.2 Module Description
There are mainly six modules, they are: OS cold reboot, OS warm reboot, VM cold reboot, VM
warm reboot, VM migration, VMM reboot.
1. Module for OS Cold rejuvenation
In Cold OS reboot process, the system is rebooted immediately at rejuvenation point.
Rejuvenation point is a point where memory consumption of system reaches a threshold value or
predetermined time. When system consumes high amount of ram the OS must be rebooted,
clearing all internal states. Memory consumption may be done by applications or error prone
codes which run for long time consuming large amount of RAM or OS itself
In this process the memory left is compared to our pre-determined threshold value, if the
memory left is greater than the threshold value, the system is allowed to run in normal state i.e.
system have not reached the threshold point of consumption. If it is lesser i.e. the system have
consumed memory greater than the threshold point, then OS is restarted immediately
The amount of free memory left is extracted and compared with predetermined threshold free
memory value, on results of comparison obtained, further process is taken care.
RV College Of Engineering Software Rejuvenation
Dept Of Information Science Page 7
2. Module for OS warm rejuvenation
In OS warm reboot process, before rebooting the kernel state is saved, including all applications
running on kernel, their sates are saved .saving the kernel state is done by creating a complete
image of kernel.
OS reboot process is divided in two stages 1) Suspend, 2) Resume. In Suspend stage kernel is
called to create a snapshot of current system state later snapshot data is written to disk, finally
system is rebooted. In Resume stage, when the system is turned on, grub loader runs from initrd
before mounting any partitions, later all the data of snapshot is read from disk and loaded to
kernel, kernel restores the image and thus system runs from same state where it was suspended.
3 Module for VM cold reboot
In VM cold reboot process, the VM is rebooted immediately at rejuvenation point, hypervisor is
untouched. Rejuvenation point is a point where memory consumption of system reaches a
threshold value or predetermined time. When VM consumes high amount of ram the VM must
be rebooted, clearing all internal states. Memory consumption may be done by applications or
error prone codes which run for long time consuming large amount of RAM or OS itself
In this process the memory left is compared to our pre-determined threshold value, if the
memory left is greater than the threshold value, the system is allowed to run in normal state i.e.
System have not reached the threshold point of consumption. If it is lesser i.e. the system have
consumed memory greater than the threshold point, then rejuvenation time is optimized and
updated to predetermined time, when rejuvenation time is equal to system time then VM is
restarted immediately without saving any state of running VM.
4 module for VM warm reboot
RV College Of Engineering Software Rejuvenation
Dept Of Information Science Page 8
In VM warm reboot process, before rebooting the kernel state of particular failing VM is saved,
including all applications running on kernel, their sates are saved .saving the kernel state is done
by creating a complete image of kernel.
VM reboot process is divided in two stages 1) Suspend, 2) Resume. In Suspend stage kernel is
called to create a snapshot of current system state later snapshot data is written to disk, finally
system is rebooted. In Resume stage, when the system is turned on, grub loader runs from initrd
before mounting any partitions, later all the data of snapshot is read from disk and loaded to
kernel, kernel restores the image and thus system runs from same state where it was suspended.
Here this module provide decrease in request failures and high availability to the VM.
5 module for VMM reboot
In VMM cold reboot process, the VMM is rebooted immediately at rejuvenation point, all the
VM’s running on VMM are shut down before rebooting VMM. Rejuvenation point is a point
where memory consumption of system reaches a threshold value or predetermined time. When
VMM consumes high amount of ram the VMM must be rebooted, clearing all internal states.
Memory consumption may be done by applications or error prone codes which run for long time
consuming large amount of RAM.
In this process the memory left is compared to our pre-determined threshold value, if the
memory left is greater than the threshold value, the system is allowed to run in normal state i.e.
System have not reached the threshold point of consumption. If it is lesser i.e. the system have
consumed memory greater than the threshold point, then rejuvenation time is optimized and
updated to predetermined time, when rejuvenation time is equal to system time then VM is
restarted immediately without saving any state of running VM, If VMM memory consumption
reaches its peak point i.e. VMM tending to crash in soon time then VMM is restarted even if all
VM is running in normal state and no state, data is saved but user is given period of one minute
user can cancel the rebooting process or shutdown the VMM completely.
RV College Of Engineering Software Rejuvenation
Dept Of Information Science Page 9
6. Module for VM migration
In this module, VM from the failing server is transferred to preconfigured secondary server
before the VM tending to fail, the complete data and application running on the main server is
transferred to the secondary with no interruption for application running. When the complete VM
is transferred to another server and loaded, all the applications which were running in main
server will be in same state even after transferred with no loss of data of applications running. As
this is all done by configuring NFS for both servers and configuring virtual manager and virish
packages initially, applying this concept to our project software rejuvenation, when the server get
huge load of request or high memory is consumed which may lead to hang/crash or failure of the
system, when user set the rejuvenation time and threshold memory value, rejuvenation manager
checks for aging problem in system and if aging problem is detected then the rejuvenation timke
predetermined by user is optimized and system is rejuvenated at rejuvenation time, here for
rejuvenation we use migration technique to migrate the VM running and reboot the server, hence
we provide high availability and decrease in request failure.
2.3 Software requirements:
Table 2.1 Software requirements
Minimum Requirements
Operating
System
 Cent OS
 Ubuntu OS
Other  JDK must be installed to run java codes
 KVM/QEMU must be installed on both the servers.
 NFS must be configured on both the system to migrate the VM
Note: KVM is a hypervisor or Virtual Machine Monitor, NFS (Network
File System) is distributed file system protocol.
RV College Of Engineering Software Rejuvenation
Dept Of Information Science Page 10
2.4 Hardware Requirements:
Table 2.2: Hardware Requirements
Minimum Requirements
Processor
 Intel Pentium or better
Memory
 2 GB RAM
Hard Disk
100 GB of hard disk space required.
Display
1024x 768 or higher-resolution display with 16 bits colors
2.5 Performance Requirements:
Availability
The system shall achieve 100 percent availability at all time.
Portability
The system should be implemented by the java so it can move easily from one system another
system because it is purely platform independent.
Scalability
The system shall uses in multiple approaches.
Maintainability
The system should be optimize for supportability, or ease of maintenance as for as possible. This
may be achieved through the use documentation of coding standard, naming conventions, class
libraries and abstraction.
Language  C, JAVA.
RV College Of Engineering Software Rejuvenation
Dept Of Information Science Page 11
2.7 Functional requirements:
As per the functional requirement specifications, the project shall provide following facilities
 The system collects the current status of the workload based on the RAM utilized by the
running application.
 Check the aging factor which degrades the availability to application. If any aging factor
detected then it will notify.
 The system collects the status of the system periodically.
 This system keeps track of the system time and it is compared with fixed rejuvenation
schedule. If the tracking time is equal to fixed rejuvenation schedule then the system
rejuvenated.
 This system stores the current status of the process; it is useful to again resume the
processor after system rejuvenation takes place.

More Related Content

What's hot

Cluster aware updating v1.0
Cluster aware updating v1.0Cluster aware updating v1.0
Cluster aware updating v1.0
hypervnu
 
Operating System
Operating SystemOperating System
Operating System
krishna partiwala
 
Xen Euro Par07
Xen Euro Par07Xen Euro Par07
Xen Euro Par07congvc
 
Using VMTurbo to boost performance
Using VMTurbo to boost performanceUsing VMTurbo to boost performance
Using VMTurbo to boost performance
Principled Technologies
 
VIO LPAR Introduction | Basics | Demo
VIO LPAR Introduction | Basics | DemoVIO LPAR Introduction | Basics | Demo
VIO LPAR Introduction | Basics | Demo
Kernel Training
 
Memory management in_windows_os
Memory management in_windows_osMemory management in_windows_os
Memory management in_windows_os
VidhyavaniA
 
Ibm san volume controller and ibm tivoli storage flash copy manager redp4653
Ibm san volume controller and ibm tivoli storage flash copy manager redp4653Ibm san volume controller and ibm tivoli storage flash copy manager redp4653
Ibm san volume controller and ibm tivoli storage flash copy manager redp4653Banking at Ho Chi Minh city
 
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...
VMworld
 
Damn Simics
Damn SimicsDamn Simics
Damn Simics
reinhardx
 
Getting Started With Virtualization
Getting Started With VirtualizationGetting Started With Virtualization
Getting Started With Virtualization
Bill Kalarness
 
Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...
Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...
Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...
Lorscheider Santiago
 
Domain Migration/Administration for the
Domain Migration/Administration for the Domain Migration/Administration for the
Domain Migration/Administration for the webhostingguy
 
Aix student guide system administrations part 2 problem determination
Aix student guide system administrations part 2   problem determinationAix student guide system administrations part 2   problem determination
Aix student guide system administrations part 2 problem determinationYogesh Sharma
 

What's hot (17)

1.introduction
1.introduction1.introduction
1.introduction
 
Cluster aware updating v1.0
Cluster aware updating v1.0Cluster aware updating v1.0
Cluster aware updating v1.0
 
Operating System
Operating SystemOperating System
Operating System
 
Xen Euro Par07
Xen Euro Par07Xen Euro Par07
Xen Euro Par07
 
Using VMTurbo to boost performance
Using VMTurbo to boost performanceUsing VMTurbo to boost performance
Using VMTurbo to boost performance
 
VIO LPAR Introduction | Basics | Demo
VIO LPAR Introduction | Basics | DemoVIO LPAR Introduction | Basics | Demo
VIO LPAR Introduction | Basics | Demo
 
Memory management in_windows_os
Memory management in_windows_osMemory management in_windows_os
Memory management in_windows_os
 
Vsp 41 config_max
Vsp 41 config_maxVsp 41 config_max
Vsp 41 config_max
 
Best ofmms kb_final
Best ofmms kb_finalBest ofmms kb_final
Best ofmms kb_final
 
Unit 2 notes
Unit 2 notesUnit 2 notes
Unit 2 notes
 
Ibm san volume controller and ibm tivoli storage flash copy manager redp4653
Ibm san volume controller and ibm tivoli storage flash copy manager redp4653Ibm san volume controller and ibm tivoli storage flash copy manager redp4653
Ibm san volume controller and ibm tivoli storage flash copy manager redp4653
 
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...
 
Damn Simics
Damn SimicsDamn Simics
Damn Simics
 
Getting Started With Virtualization
Getting Started With VirtualizationGetting Started With Virtualization
Getting Started With Virtualization
 
Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...
Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...
Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...
 
Domain Migration/Administration for the
Domain Migration/Administration for the Domain Migration/Administration for the
Domain Migration/Administration for the
 
Aix student guide system administrations part 2 problem determination
Aix student guide system administrations part 2   problem determinationAix student guide system administrations part 2   problem determination
Aix student guide system administrations part 2 problem determination
 

Viewers also liked

0index
0index0index
0indexhanmya
 
3 design
3 design3 design
3 designhanmya
 
4 implementation
4 implementation4 implementation
4 implementationhanmya
 
The seller of sticks.ppt
The seller of sticks.pptThe seller of sticks.ppt
The seller of sticks.ppt
Mary Hansen
 
6 results
6 results6 results
6 resultshanmya
 
How to start loving everything about your work
How to start loving everything about your workHow to start loving everything about your work
How to start loving everything about your work
Duma Works
 
Comm 201 presentation
Comm 201 presentationComm 201 presentation
Comm 201 presentationLucas060
 
Lecture #1
Lecture #1 Lecture #1
Lecture #1
Longenhagensco
 
Content & function words and stressing words
Content & function words and stressing wordsContent & function words and stressing words
Content & function words and stressing words
James Fabrigas
 

Viewers also liked (9)

0index
0index0index
0index
 
3 design
3 design3 design
3 design
 
4 implementation
4 implementation4 implementation
4 implementation
 
The seller of sticks.ppt
The seller of sticks.pptThe seller of sticks.ppt
The seller of sticks.ppt
 
6 results
6 results6 results
6 results
 
How to start loving everything about your work
How to start loving everything about your workHow to start loving everything about your work
How to start loving everything about your work
 
Comm 201 presentation
Comm 201 presentationComm 201 presentation
Comm 201 presentation
 
Lecture #1
Lecture #1 Lecture #1
Lecture #1
 
Content & function words and stressing words
Content & function words and stressing wordsContent & function words and stressing words
Content & function words and stressing words
 

Similar to 2 srs

Boot prom basics
Boot prom basicsBoot prom basics
Boot prom basics
Ganesh Kumar Veerla
 
Hibernation in Linux 2.6.29
Hibernation in Linux 2.6.29Hibernation in Linux 2.6.29
Hibernation in Linux 2.6.29Varun Mahajan
 
1. What is the value of requiring the OS to provide status informati.pdf
1. What is the value of requiring the OS to provide status informati.pdf1. What is the value of requiring the OS to provide status informati.pdf
1. What is the value of requiring the OS to provide status informati.pdf
udit652068
 
1 introduction
1 introduction1 introduction
1 introductionhanmya
 
system state backup restore
system state backup restoresystem state backup restore
system state backup restore
ssuser1eca7d
 
Vmware srm 6.1
Vmware srm 6.1Vmware srm 6.1
Vmware srm 6.1
faz4eva_27
 
To pass ite chapter 5 exam
To pass ite chapter 5 examTo pass ite chapter 5 exam
To pass ite chapter 5 exam
Ahmed Abdullah
 
VirutualMemory.docx
VirutualMemory.docxVirutualMemory.docx
VirutualMemory.docx
rangarajansoft69
 
The Pensions Trust - VM Backup Experiences
The Pensions Trust - VM Backup ExperiencesThe Pensions Trust - VM Backup Experiences
The Pensions Trust - VM Backup Experiencesglbsolutions
 
Lecture1,2,3 (1).pdf
Lecture1,2,3 (1).pdfLecture1,2,3 (1).pdf
Lecture1,2,3 (1).pdf
Taufeeq8
 
Introduction to OS.
Introduction to OS.Introduction to OS.
Introduction to OS.
Reham Maher El-Safarini
 
Boot loader
Boot loader Boot loader
Boot loader
Aalay Kapadia
 
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...
vtunotesbysree
 
Virtual Machine Migration & Hypervisors
Virtual Machine Migration & HypervisorsVirtual Machine Migration & Hypervisors
Virtual Machine Migration & Hypervisors
Arun Shukla
 
NetApp against ransomware
NetApp against ransomwareNetApp against ransomware
NetApp against ransomware
Damien Berezenko
 
Nachos 2
Nachos 2Nachos 2
Nachos 2
Eduardo Triana
 
Unit 5 ppt
Unit 5 pptUnit 5 ppt
Unit 5 ppt
jayanarayana reddy
 
Os files 2
Os files 2Os files 2
Os files 2Amit Pal
 
Operating System-Concepts of Process
Operating System-Concepts of ProcessOperating System-Concepts of Process
Operating System-Concepts of Process
Shipra Swati
 
Faster recovery from operating system failure & file cache missing
Faster recovery from operating system failure & file cache missingFaster recovery from operating system failure & file cache missing
Faster recovery from operating system failure & file cache missing
Athambawa Jaleel
 

Similar to 2 srs (20)

Boot prom basics
Boot prom basicsBoot prom basics
Boot prom basics
 
Hibernation in Linux 2.6.29
Hibernation in Linux 2.6.29Hibernation in Linux 2.6.29
Hibernation in Linux 2.6.29
 
1. What is the value of requiring the OS to provide status informati.pdf
1. What is the value of requiring the OS to provide status informati.pdf1. What is the value of requiring the OS to provide status informati.pdf
1. What is the value of requiring the OS to provide status informati.pdf
 
1 introduction
1 introduction1 introduction
1 introduction
 
system state backup restore
system state backup restoresystem state backup restore
system state backup restore
 
Vmware srm 6.1
Vmware srm 6.1Vmware srm 6.1
Vmware srm 6.1
 
To pass ite chapter 5 exam
To pass ite chapter 5 examTo pass ite chapter 5 exam
To pass ite chapter 5 exam
 
VirutualMemory.docx
VirutualMemory.docxVirutualMemory.docx
VirutualMemory.docx
 
The Pensions Trust - VM Backup Experiences
The Pensions Trust - VM Backup ExperiencesThe Pensions Trust - VM Backup Experiences
The Pensions Trust - VM Backup Experiences
 
Lecture1,2,3 (1).pdf
Lecture1,2,3 (1).pdfLecture1,2,3 (1).pdf
Lecture1,2,3 (1).pdf
 
Introduction to OS.
Introduction to OS.Introduction to OS.
Introduction to OS.
 
Boot loader
Boot loader Boot loader
Boot loader
 
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...
 
Virtual Machine Migration & Hypervisors
Virtual Machine Migration & HypervisorsVirtual Machine Migration & Hypervisors
Virtual Machine Migration & Hypervisors
 
NetApp against ransomware
NetApp against ransomwareNetApp against ransomware
NetApp against ransomware
 
Nachos 2
Nachos 2Nachos 2
Nachos 2
 
Unit 5 ppt
Unit 5 pptUnit 5 ppt
Unit 5 ppt
 
Os files 2
Os files 2Os files 2
Os files 2
 
Operating System-Concepts of Process
Operating System-Concepts of ProcessOperating System-Concepts of Process
Operating System-Concepts of Process
 
Faster recovery from operating system failure & file cache missing
Faster recovery from operating system failure & file cache missingFaster recovery from operating system failure & file cache missing
Faster recovery from operating system failure & file cache missing
 

Recently uploaded

power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
BrazilAccount1
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 

Recently uploaded (20)

power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 

2 srs

  • 1. RV College Of Engineering Software Rejuvenation Dept Of Information Science Page 6 Chapter 2 SOFTWARE REQUIREMENT AND SPECIFICATION 2.1 Project Description In this project, we implement six different modules of rejuvenation. These modules are on OS VM and VMM. Here we implement Cold and Warm rejuvenation techniques for OS VM and VMM. Each module consist of unique working method, which is explain below 2.2 Module Description There are mainly six modules, they are: OS cold reboot, OS warm reboot, VM cold reboot, VM warm reboot, VM migration, VMM reboot. 1. Module for OS Cold rejuvenation In Cold OS reboot process, the system is rebooted immediately at rejuvenation point. Rejuvenation point is a point where memory consumption of system reaches a threshold value or predetermined time. When system consumes high amount of ram the OS must be rebooted, clearing all internal states. Memory consumption may be done by applications or error prone codes which run for long time consuming large amount of RAM or OS itself In this process the memory left is compared to our pre-determined threshold value, if the memory left is greater than the threshold value, the system is allowed to run in normal state i.e. system have not reached the threshold point of consumption. If it is lesser i.e. the system have consumed memory greater than the threshold point, then OS is restarted immediately The amount of free memory left is extracted and compared with predetermined threshold free memory value, on results of comparison obtained, further process is taken care.
  • 2. RV College Of Engineering Software Rejuvenation Dept Of Information Science Page 7 2. Module for OS warm rejuvenation In OS warm reboot process, before rebooting the kernel state is saved, including all applications running on kernel, their sates are saved .saving the kernel state is done by creating a complete image of kernel. OS reboot process is divided in two stages 1) Suspend, 2) Resume. In Suspend stage kernel is called to create a snapshot of current system state later snapshot data is written to disk, finally system is rebooted. In Resume stage, when the system is turned on, grub loader runs from initrd before mounting any partitions, later all the data of snapshot is read from disk and loaded to kernel, kernel restores the image and thus system runs from same state where it was suspended. 3 Module for VM cold reboot In VM cold reboot process, the VM is rebooted immediately at rejuvenation point, hypervisor is untouched. Rejuvenation point is a point where memory consumption of system reaches a threshold value or predetermined time. When VM consumes high amount of ram the VM must be rebooted, clearing all internal states. Memory consumption may be done by applications or error prone codes which run for long time consuming large amount of RAM or OS itself In this process the memory left is compared to our pre-determined threshold value, if the memory left is greater than the threshold value, the system is allowed to run in normal state i.e. System have not reached the threshold point of consumption. If it is lesser i.e. the system have consumed memory greater than the threshold point, then rejuvenation time is optimized and updated to predetermined time, when rejuvenation time is equal to system time then VM is restarted immediately without saving any state of running VM. 4 module for VM warm reboot
  • 3. RV College Of Engineering Software Rejuvenation Dept Of Information Science Page 8 In VM warm reboot process, before rebooting the kernel state of particular failing VM is saved, including all applications running on kernel, their sates are saved .saving the kernel state is done by creating a complete image of kernel. VM reboot process is divided in two stages 1) Suspend, 2) Resume. In Suspend stage kernel is called to create a snapshot of current system state later snapshot data is written to disk, finally system is rebooted. In Resume stage, when the system is turned on, grub loader runs from initrd before mounting any partitions, later all the data of snapshot is read from disk and loaded to kernel, kernel restores the image and thus system runs from same state where it was suspended. Here this module provide decrease in request failures and high availability to the VM. 5 module for VMM reboot In VMM cold reboot process, the VMM is rebooted immediately at rejuvenation point, all the VM’s running on VMM are shut down before rebooting VMM. Rejuvenation point is a point where memory consumption of system reaches a threshold value or predetermined time. When VMM consumes high amount of ram the VMM must be rebooted, clearing all internal states. Memory consumption may be done by applications or error prone codes which run for long time consuming large amount of RAM. In this process the memory left is compared to our pre-determined threshold value, if the memory left is greater than the threshold value, the system is allowed to run in normal state i.e. System have not reached the threshold point of consumption. If it is lesser i.e. the system have consumed memory greater than the threshold point, then rejuvenation time is optimized and updated to predetermined time, when rejuvenation time is equal to system time then VM is restarted immediately without saving any state of running VM, If VMM memory consumption reaches its peak point i.e. VMM tending to crash in soon time then VMM is restarted even if all VM is running in normal state and no state, data is saved but user is given period of one minute user can cancel the rebooting process or shutdown the VMM completely.
  • 4. RV College Of Engineering Software Rejuvenation Dept Of Information Science Page 9 6. Module for VM migration In this module, VM from the failing server is transferred to preconfigured secondary server before the VM tending to fail, the complete data and application running on the main server is transferred to the secondary with no interruption for application running. When the complete VM is transferred to another server and loaded, all the applications which were running in main server will be in same state even after transferred with no loss of data of applications running. As this is all done by configuring NFS for both servers and configuring virtual manager and virish packages initially, applying this concept to our project software rejuvenation, when the server get huge load of request or high memory is consumed which may lead to hang/crash or failure of the system, when user set the rejuvenation time and threshold memory value, rejuvenation manager checks for aging problem in system and if aging problem is detected then the rejuvenation timke predetermined by user is optimized and system is rejuvenated at rejuvenation time, here for rejuvenation we use migration technique to migrate the VM running and reboot the server, hence we provide high availability and decrease in request failure. 2.3 Software requirements: Table 2.1 Software requirements Minimum Requirements Operating System  Cent OS  Ubuntu OS Other  JDK must be installed to run java codes  KVM/QEMU must be installed on both the servers.  NFS must be configured on both the system to migrate the VM Note: KVM is a hypervisor or Virtual Machine Monitor, NFS (Network File System) is distributed file system protocol.
  • 5. RV College Of Engineering Software Rejuvenation Dept Of Information Science Page 10 2.4 Hardware Requirements: Table 2.2: Hardware Requirements Minimum Requirements Processor  Intel Pentium or better Memory  2 GB RAM Hard Disk 100 GB of hard disk space required. Display 1024x 768 or higher-resolution display with 16 bits colors 2.5 Performance Requirements: Availability The system shall achieve 100 percent availability at all time. Portability The system should be implemented by the java so it can move easily from one system another system because it is purely platform independent. Scalability The system shall uses in multiple approaches. Maintainability The system should be optimize for supportability, or ease of maintenance as for as possible. This may be achieved through the use documentation of coding standard, naming conventions, class libraries and abstraction. Language  C, JAVA.
  • 6. RV College Of Engineering Software Rejuvenation Dept Of Information Science Page 11 2.7 Functional requirements: As per the functional requirement specifications, the project shall provide following facilities  The system collects the current status of the workload based on the RAM utilized by the running application.  Check the aging factor which degrades the availability to application. If any aging factor detected then it will notify.  The system collects the status of the system periodically.  This system keeps track of the system time and it is compared with fixed rejuvenation schedule. If the tracking time is equal to fixed rejuvenation schedule then the system rejuvenated.  This system stores the current status of the process; it is useful to again resume the processor after system rejuvenation takes place.