SlideShare una empresa de Scribd logo
1 de 6
Descargar para leer sin conexión
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.

Más contenido relacionado

La actualidad más candente

Xen Euro Par07
Xen Euro Par07Xen Euro Par07
Xen Euro Par07
congvc
 
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
Banking at Ho Chi Minh city
 
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 determination
Yogesh Sharma
 

La actualidad más candente (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
 

Destacado (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 a 2 srs

Hibernation in Linux 2.6.29
Hibernation in Linux 2.6.29Hibernation in Linux 2.6.29
Hibernation in Linux 2.6.29
Varun 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 introduction
hanmya
 
The Pensions Trust - VM Backup Experiences
The Pensions Trust - VM Backup ExperiencesThe Pensions Trust - VM Backup Experiences
The Pensions Trust - VM Backup Experiences
glbsolutions
 
Os files 2
Os files 2Os files 2
Os files 2
Amit Pal
 

Similar a 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
 

Último

VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Último (20)

Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 

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.