CN104270430A - Server remote dispatching method suitable for cloud computing - Google Patents
Server remote dispatching method suitable for cloud computing Download PDFInfo
- Publication number
- CN104270430A CN104270430A CN201410484139.8A CN201410484139A CN104270430A CN 104270430 A CN104270430 A CN 104270430A CN 201410484139 A CN201410484139 A CN 201410484139A CN 104270430 A CN104270430 A CN 104270430A
- Authority
- CN
- China
- Prior art keywords
- server
- scheduler program
- virtual machine
- cloud computing
- ipmi
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Sources (AREA)
Abstract
The invention relates to the field of cloud computing, in particular to a server remote dispatching method suitable for cloud computing. The method comprises the steps that a server supports a BMC, an IPMI module in an LAN mode is started on a BIOS of the server, and the IP, the subnet mask and the gateway of the IPMI are set; an IPMI tool is installed on the server where a dispatching program is placed; when the dispatching program monitors the fact that a certain server is not used, the IPMI tool is called to send a shutdown order to the IP of the server; the server is directly shut down; when the dispatching program monitors the fact that resources are not sufficient, the IPMI tool is called to send a starting order to the IP of the server in the shutdown state; the server in the shutdown state is started; and the newly-started server is used. The server remote dispatching method is balanced in energy consumption, recovering speed and universality and can be used in server remote dispatching.
Description
Technical field
The present invention relates to field of cloud calculation, refer to a kind of Server remote dispatching method being applicable to cloud computing especially.
Background technology
Concerning the daily operation of data center, if server leaves unused, so will take measures to reduce the energy consumption level of idle server.In small-scale data center, be all generally that the heart is on-the-spot by KVM or directly find the mains switch of server to carry out power-off operation in the data by keeper.The shortcoming of this method depends on manually exactly, efficiency is low; Simultaneously again start shooting also can only manual operation for server, and the time of resuming operation required for state is longer.Under the epoch of cloud computing, because the service end of application is all deployed in data center, therefore the scale of data center is general all larger, and said method just seems inapplicable, at this time need a kind of more efficiently, Server remote dispatching method that resume speed is higher.At present, the mode of WOL carries out the remote scheduling of server generally to take server dormancy to add in the data center that scale is slightly large.WOL achieves the centralized management to server, and namely at any time, keeper can wake via network remote the server that is in resting state up.The step of said method is as follows:
1, be configured to can by Remote Wake Up for server A;
2, when scheduler program monitors and server A does not have the virtual machine in the virtual machine of operation or server A to be all migrated on other servers, dormancy is carried out in the operating system instruction of invoking server A;
3, the internal storage data of server A is stored in hard disk;
4, when scheduler program monitors inadequate resource, to the transmission wake command of server A, server A date restoring in a hard disk, in internal memory, reverts to running status;
5, scheduler program runs the new virtual machine created on server or the virtual machine (vm) migration on other servers in server A.
Said method has following drawback:
1, need operating system to support dormancy, the operating system of lowest version may be inapplicable, and in addition, need the dormancy instruction of calling specific operating system, different operating system dormancy instructions may be not quite similar, and the method does not have versatility.
2, the hard disk being in the server under resting state must be in the state of running, network interface card also must keep the state be energized, this method is general for the benefit reducing energy consumption, and data shows, the energy consumption being in the server under resting state also can reach 1/5 under open state.
Summary of the invention
The technical problem that the present invention solves is to provide a kind of Server remote dispatching method being applicable to cloud computing, and settlement server relies on concrete underlying operating system dormancy instruction, and is waken up by dormancy and network remote and fall the problems such as low energy consumption economical is general.
The technical scheme that the present invention solves the problems of the technologies described above is:
Comprise the steps:
Step 1: server supports BMC, and enables the IPMI module of LAN mode on the BIOS of server, and the IP of IPMI, subnet mask and gateway are set;
Step 2: install IPMI instrument on the server at scheduler program place;
Step 3: when the scheduler program virtual machine monitored on the virtual machine or this server certain server not having run all is migrated on other servers, the server at scheduler program place directly calls IPMI instrument and sends shutdown command to the IP of this server;
Step 4: this server directly shuts down, releasing resource;
Step 5: when scheduler program monitors inadequate resource, the server at scheduler program place directly calls the server ip transmission power-on command of IPMI instrument to off-mode;
Step 6: the server start of off-mode;
Step 7: scheduler program operates on the server of new start or the virtual machine (vm) migration on other servers the new virtual machine created on this server.
Described server supports that BMC refers to the integrated baseboard management controller of the mainboard of server, and scheduler program, by the BMC module communication with server, carries out Server remote scheduling.
In described step 3, scheduler program is at set intervals by sending resources measurement order to server, detect the running status of server, if detected, server does not have virtual machine to run, then scheduler program sends shutdown command to server, server is shut down, and releasing resource reduces energy consumption.
In described step 5, scheduler program finds that existing server resource is not enough to the resources of virtual machine needed for supporting user, by sending power-on command to server, making server quick turn-on, providing resource to user.
In described step 7, scheduler program detects the running load situation of server at set intervals, if have server load high and exceed normal value, then automatically virtual machine (vm) migration above on the server of new start, the server of high capacity is made to reduce load, the healthy and stable operation of Deterministic service device.
The beneficial effect of the present invention program is as follows:
1, method of the present invention is for the way of the switching on and shutting down employing Long-distance Control of server, can alleviate the workload of keeper;
2, method of the present invention directly carries out power-off operation server, greatly can reduce the energy consumption of data center;
3, the operation of method of the present invention to server is the interface directly calling hardware, does not rely on operating system, is a kind of general method, and still can work when the operating system collapse of server, be a kind of method that adaptive capacity is very strong.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the present invention is further described:
Fig. 1 is flow chart of the present invention.
Embodiment
As shown in the figure, Server remote dispatching method flow process of the present invention is as follows:
First, every platform needs the server configuration-system be scheduled to enable IPMI, and concrete steps are as follows:
(1) start server, in start-up course, see prompting, enter IPMI administration interface by Ctrl+E
(2) arranging IPMI Over LAN is On, is defaulted as Off, looks like for enabling the IPMI by LAN mode
Then arrange the ip address of server ip MI, subnet mask and gateway, then arrange the username and password of IPMI access, remote access IPMI needs checking.The ip address of IPMI can be the same with your the ip address of server, do not have conflict.MAC Address need not be arranged, and VLAN need not be arranged.
Then server source code in scheduler program place installs ipmi management tool: ipmitool
#tar-xvzf?ipmitool-1.8.10.tar.gz
#cd?ipmitool-1.8.10
#./configure
#make&&make?install
Then scheduler program detects, and server A does not have virtual machine to run, and sends shutdown command to server A.Command format is:
The password power on of the user name-P IPMI of the ip address-U IPMI of ipmitool-HIPMI
Then scheduler program monitors inadequate resource, sends power-on command to the server A of having shut down.Command format is:
The password power on of the user name-P IPMI of the ip address-U IPMI of ipmitool-HIPMI
Last scheduler program newly-built virtual machine is operated in server A or the virtual machine (vm) migration on server high for other loads to server A, ensure the healthy and stable operation of each server.
Claims (7)
1. be applicable to a Server remote dispatching method for cloud computing, it is characterized in that:
Comprise the steps:
Step 1: server supports BMC, and enables the IPMI module of LAN mode on the BIOS of server, and the IP of IPMI, subnet mask and gateway are set;
Step 2: install IPMI instrument on the server at scheduler program place;
Step 3: when the scheduler program virtual machine monitored on the virtual machine or this server certain server not having run all is migrated on other servers, the server at scheduler program place directly calls IPMI instrument and sends shutdown command to the IP of this server;
Step 4: this server directly shuts down, releasing resource;
Step 5: when scheduler program monitors inadequate resource, the server at scheduler program place directly calls the server ip transmission power-on command of IPMI instrument to off-mode;
Step 6: the server start of off-mode;
Step 7: scheduler program operates on the server of new start or the virtual machine (vm) migration on other servers the new virtual machine created on this server.
2. the Server remote dispatching method being applicable to cloud computing according to claim 1, it is characterized in that: described server supports that BMC refers to the integrated baseboard management controller of the mainboard of server, scheduler program, by the BMC module communication with server, carries out Server remote scheduling.
3. the Server remote dispatching method being applicable to cloud computing according to claim 1, it is characterized in that: in described step 3, scheduler program is at set intervals by sending resources measurement order to server, detect the running status of server, if detect and server do not have virtual machine to run, then scheduler program sends shutdown command to server, server is shut down, and releasing resource reduces energy consumption.
4. the Server remote dispatching method being applicable to cloud computing according to claim 2, it is characterized in that: in described step 3, scheduler program is at set intervals by sending resources measurement order to server, detect the running status of server, if detect and server do not have virtual machine to run, then scheduler program sends shutdown command to server, server is shut down, and releasing resource reduces energy consumption.
5. the Server remote dispatching method being applicable to cloud computing according to any one of Claims 1-4, it is characterized in that: in described step 5, scheduler program finds that existing server resource is not enough to the resources of virtual machine needed for supporting user, by sending power-on command to server, make server quick turn-on, provide resource to user.
6. the Server remote dispatching method being applicable to cloud computing according to any one of Claims 1-4, it is characterized in that: in described step 7, scheduler program detects the running load situation of server at set intervals, if have server load high and exceed normal value, then automatically virtual machine (vm) migration above on the server of new start, the server of high capacity is made to reduce load, the healthy and stable operation of Deterministic service device.
7. the Server remote dispatching method being applicable to cloud computing according to claim 5, it is characterized in that: in described step 7, scheduler program detects the running load situation of server at set intervals, if have server load high and exceed normal value, then automatically virtual machine (vm) migration above on the server of new start, the server of high capacity is made to reduce load, the healthy and stable operation of Deterministic service device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410484139.8A CN104270430A (en) | 2014-09-19 | 2014-09-19 | Server remote dispatching method suitable for cloud computing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410484139.8A CN104270430A (en) | 2014-09-19 | 2014-09-19 | Server remote dispatching method suitable for cloud computing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104270430A true CN104270430A (en) | 2015-01-07 |
Family
ID=52161919
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410484139.8A Pending CN104270430A (en) | 2014-09-19 | 2014-09-19 | Server remote dispatching method suitable for cloud computing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104270430A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105306225A (en) * | 2015-11-03 | 2016-02-03 | 国云科技股份有限公司 | Openstack-based physical machine remote shutdown method |
CN105426243A (en) * | 2015-11-19 | 2016-03-23 | 国云科技股份有限公司 | Openstack based physical machine remote maintenance method |
CN106201693A (en) * | 2016-07-12 | 2016-12-07 | 浪潮(北京)电子信息产业有限公司 | Dispatching method in a kind of virtualized environment and system |
CN107018032A (en) * | 2017-06-08 | 2017-08-04 | 山东超越数控电子有限公司 | A kind of monitoring system server and method |
CN109917902A (en) * | 2019-03-20 | 2019-06-21 | 浪潮商用机器有限公司 | A kind of server power-economizing method, cluster management controller and energy-saving server |
CN115858135A (en) * | 2023-03-03 | 2023-03-28 | 天津卓朗昆仑云软件技术有限公司 | Cloud computing dynamic resource scheduling method and device and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101772140A (en) * | 2009-12-25 | 2010-07-07 | 中兴通讯股份有限公司 | Self-adaption energy saving method and business system having self-adaption energy saving function |
CN101877640A (en) * | 2009-11-30 | 2010-11-03 | 英业达股份有限公司 | Power control system of server |
CN102158513A (en) * | 2010-02-11 | 2011-08-17 | 联想(北京)有限公司 | Service cluster and energy-saving method and device thereof |
CN103593274A (en) * | 2013-11-01 | 2014-02-19 | 浪潮电子信息产业股份有限公司 | Method for performing dynamic startup and shutdown to save power consumption according to computer cluster resource using conditions |
CN103701889A (en) * | 2013-12-20 | 2014-04-02 | 国云科技股份有限公司 | Data center energy saving method on basis of cloud computing |
-
2014
- 2014-09-19 CN CN201410484139.8A patent/CN104270430A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101877640A (en) * | 2009-11-30 | 2010-11-03 | 英业达股份有限公司 | Power control system of server |
CN101772140A (en) * | 2009-12-25 | 2010-07-07 | 中兴通讯股份有限公司 | Self-adaption energy saving method and business system having self-adaption energy saving function |
CN102158513A (en) * | 2010-02-11 | 2011-08-17 | 联想(北京)有限公司 | Service cluster and energy-saving method and device thereof |
CN103593274A (en) * | 2013-11-01 | 2014-02-19 | 浪潮电子信息产业股份有限公司 | Method for performing dynamic startup and shutdown to save power consumption according to computer cluster resource using conditions |
CN103701889A (en) * | 2013-12-20 | 2014-04-02 | 国云科技股份有限公司 | Data center energy saving method on basis of cloud computing |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105306225A (en) * | 2015-11-03 | 2016-02-03 | 国云科技股份有限公司 | Openstack-based physical machine remote shutdown method |
CN105306225B (en) * | 2015-11-03 | 2018-09-07 | 国云科技股份有限公司 | A kind of physical machine remote power-off method based on Openstack |
CN105426243A (en) * | 2015-11-19 | 2016-03-23 | 国云科技股份有限公司 | Openstack based physical machine remote maintenance method |
CN106201693A (en) * | 2016-07-12 | 2016-12-07 | 浪潮(北京)电子信息产业有限公司 | Dispatching method in a kind of virtualized environment and system |
CN106201693B (en) * | 2016-07-12 | 2019-01-25 | 浪潮(北京)电子信息产业有限公司 | Dispatching method and system in a kind of virtualized environment |
CN107018032A (en) * | 2017-06-08 | 2017-08-04 | 山东超越数控电子有限公司 | A kind of monitoring system server and method |
CN109917902A (en) * | 2019-03-20 | 2019-06-21 | 浪潮商用机器有限公司 | A kind of server power-economizing method, cluster management controller and energy-saving server |
CN115858135A (en) * | 2023-03-03 | 2023-03-28 | 天津卓朗昆仑云软件技术有限公司 | Cloud computing dynamic resource scheduling method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104270430A (en) | Server remote dispatching method suitable for cloud computing | |
US11570937B2 (en) | Methods and apparatus to control power delivery based on predicted power utilization in a data center | |
US10776149B2 (en) | Methods and apparatus to adjust energy requirements in a data center | |
Das et al. | {LiteGreen}: Saving Energy in Networked Desktops Using Virtualization | |
US10613900B2 (en) | Multi-tenant monitoring | |
JP5206750B2 (en) | Power supply and program | |
US20080089338A1 (en) | Methods for remotely creating and managing virtual machines | |
CN103188277A (en) | Load energy consumption management system, method and server | |
CN103076867B (en) | Possess cloud terminal processing method and the system of power button action recognition function | |
CN104899120A (en) | Server stability test method based on BMC startup and shutdown functions | |
CN106933710A (en) | The method of testing that DC is restarted is carried out to server based on WOL functions | |
JP5664362B2 (en) | Power supply and program | |
CN103701889A (en) | Data center energy saving method on basis of cloud computing | |
CN103117874A (en) | Blade server management network rapid configuration method | |
US8533497B2 (en) | Power control method of servers | |
CN102480387A (en) | Rack-mounted server device | |
CN106375476A (en) | Method and system for remote startup and shutdown | |
CN103618634A (en) | Method for automatically finding nodes in cluster | |
CN103164277A (en) | Dynamic resource planning distribution system and method | |
CN107015622B (en) | Spark cluster power-off self-protection and incoming call self-starting method | |
Carrega et al. | OpenStack extensions for QoS and energy efficiency in edge computing | |
CN102819474B (en) | Test method and device for system operation | |
CN105915637A (en) | Remote automatic standby and awakening method based on storage system server | |
CN103064740A (en) | Guest operating system predict migration system and method | |
CN102857360A (en) | Power management system and power management method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150107 |
|
RJ01 | Rejection of invention patent application after publication |