Background technology
Cloud computing (Cloud Computing) is the development of Distributed Calculation (Distributed Computing), parallel computation (Parallel Computing) and grid computing (Grid Computing); Its ultimate principle is to carry out for many computing machines through network allocation calculation task, and every computing machine is called a node of system for cloud computing.
In the existing system for cloud computing, exist the various services that run on the different operating system to use, this means increase and security reduction the complicacy of network management.At present, occurred utilizing virtual machine to come the virtual operation different operating systems on the market, the mode of simulated operating system instruction realizes.Common Intel Virtualization Technology is meant that CPU is virtual, comes to move a plurality of operating systems simultaneously through virtual a plurality of CPU, makes each operating system all operate on one or more virtual CPU.But this just means the reduction greatly to service performance, and must independently operating system be installed respectively on each virtual machine, has wasted storage space greatly.
In system for cloud computing, below an operating system, need not the virtual attendant application that can move different operating system simultaneously in order to solve, the invention provides a kind of Cloud Server operating system and method thereof.
Summary of the invention
Technical matters to be solved by this invention provides a kind of Cloud Server operating system; It can be below an operating system need not be virtual and need not different operating systems be installed to each virtual environment; But the service that but can move different operating system is simultaneously used; This system deployment need not to install under the prerequisite of other operating systems, is moved the service of various operating systems with high efficient on the server of system for cloud computing.
In order to solve above technical matters, the invention provides a kind of Cloud Server operating system, said system deployment is on the server of system for cloud computing, and said system comprises: the Host kernel module, it is configurable multiple task operating system bottom; Security module: realize forcing the access control system; The system service kernel module, but it is the loaded type nucleus module, through loading the different operating systems plug-in module, directly at the service routine that moves on the cloud service operating system under this operating system.
Beneficial effect of the present invention is: can be below an operating system need not be virtual and need not different operating systems be installed to each virtual environment; But the service that but can move different operating system is simultaneously used; This system deployment is on the server of system for cloud computing; Need not to install under the prerequisite of other operating systems, move the service of various operating systems with high efficient.
The present invention also provides the implementation method of above-mentioned Cloud Server operating system, comprises the steps:
In the 1st step, start Host kernel operations system;
In the 2nd step, the Host operating system nucleus loads security module;
In the 3rd step, the Host operating system nucleus loads corresponding system service kernel adaptor module;
The 4th step, carry out the service of different operating system according to different execute file forms and use, at first the binary image form of execute file is discerned, judge it is the kernel adaptor module of any correspondence then.
In the 5th step, whether the system kernel adaptor module of the correspondence that the inspection service is used exists and launches;
The 6th step, should service application if launch then carry out according to the security strategy of formulating.
Embodiment
The invention discloses a kind of Cloud Server operating system, it is deployed on each service node of system for cloud computing, need not to install under the prerequisite of other operating systems; Move various operating system (Linux with high efficient; Windows, BSD etc.) service is raised the efficiency thereby reduce cost.
As shown in Figure 1, said system comprises: Host kernel module, security module, operating system service kernel module (Linux, Windows, BSD etc.).The Host kernel module: essence is highly configurable POSIX (Portable Operating System Interface) multiple task operating system core; Operating system service kernel adaptor module (Linux, Windows, BSD etc.): but be loaded type core adaptor module; In fact, Linux, windows; The API of BSD just has difference, but each operating system has all realized similar function, and mode or the step just called are different; So should " adapter " module be exactly kernel calls as its name suggests with different operating system; Convert the kernel calls form of this operating system into through " adapter ", load the different operating systems plug-in module, realize the directly purpose of the service routine under this operating system of operation on the cloud service operating system thereby reach.Security module: realized high strength but force access control (MAC) system flexibly; Information isolation based on confidentiality and integrity is provided; Can antagonism deception and attempt the threat of bypass safety machine, limited the harm that causes because of malicious code and application program defective.Support multiple Security Policy Model, the flexible change of support policy, type of service ruling and come configuration-system based on role's access control;
The Cloud Server operating system that the present invention sets up, also the caching system of system for cloud computing capable of using and method thereof (as: CN200810043744.6, the caching system of system for cloud computing and method thereof) are set up into perfect cloud computing service cluster.
Technical scheme provided by the invention need not be virtual below an operating system and need not different operating systems be installed to each virtual environment; But the service that but can move different operating system is simultaneously used, and a kind of Cloud Server operating system is provided, and system deployment is on the server of system for cloud computing; Need not to install under the prerequisite of other operating systems; Move the service of various operating systems (Linux, Windows, BSD etc.) with high efficient.
The present invention relates to a kind of server OS and method thereof, particularly a kind of server OS and method thereof that is used for system for cloud computing.
As shown in Figure 2, according to the implementation method of Cloud Server operating system of the present invention, said method comprises the steps:
In the 1st step, start Host kernel operations system
In the 2nd step, the Host operating system nucleus loads Linux security module (LSM) security module;
In the 3rd step, the Host operating system nucleus loads corresponding system service kernel adaptor module;
The 4th step, carry out the service of different operating system according to different execute file forms and use, at first to discern the binary image form of execute file, judge it is the kernel adaptor module of any correspondence then.
In the 5th step, whether the system kernel adaptor module of the correspondence that the inspection service is used exists and launches
The 6th step, should service application if launch then carry out according to the corresponding security strategy that LSM formulates
Through Cloud Server operating system of the present invention and method thereof, its advantage is:
Not to adopt virtual machine to come the virtual operation different operating systems, therefore do not need to buy operating system above that yet, and install on the virtual machine;
Because it does not adopt simulation, so performance is higher;
Owing to do not need the installing operating system mirror image, so volume is also littler.Need not buy windows like this and authorize, just can run the service routine of windows in the above.
The present invention is not limited to the embodiment that preceding text are discussed.More than the description of embodiment is intended in order to describe and explain the technical scheme that the present invention relates to.Based on the conspicuous conversion of the present invention enlightenment or substitute and also should be considered to fall into protection scope of the present invention.Above embodiment is used for disclosing best implementation method of the present invention, so that those of ordinary skill in the art can use numerous embodiments of the present invention and multiple alternative reaches the object of the invention.