CN105915637A - Remote automatic standby and awakening method based on storage system server - Google Patents

Remote automatic standby and awakening method based on storage system server Download PDF

Info

Publication number
CN105915637A
CN105915637A CN201610396402.7A CN201610396402A CN105915637A CN 105915637 A CN105915637 A CN 105915637A CN 201610396402 A CN201610396402 A CN 201610396402A CN 105915637 A CN105915637 A CN 105915637A
Authority
CN
China
Prior art keywords
standby
server
storage system
standby server
storage
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
Application number
CN201610396402.7A
Other languages
Chinese (zh)
Inventor
柳灿红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XIAMEN NAWANG TECHNOLOGY Co Ltd
Original Assignee
XIAMEN NAWANG TECHNOLOGY Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by XIAMEN NAWANG TECHNOLOGY Co Ltd filed Critical XIAMEN NAWANG TECHNOLOGY Co Ltd
Priority to CN201610396402.7A priority Critical patent/CN105915637A/en
Publication of CN105915637A publication Critical patent/CN105915637A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/10Current supply arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a remote automatic standby and awakening method based on a storage system server. The method comprises the following steps that a storage system application program of a standby server autonomously inspects whether there is a storage service process in a server storage system, if there is no storage service process, the storage system application program of the standby server sends an automatic standby instruction to a machine so that the standby server automatically carries out standby dormancy; when having service data to sent to the standby server in a standby dormancy state, a main server sends a starting-up instruction to a network card of the standby server in the standby dormancy state so that the standby server is powered on; the storage system application program receives storage service data; the standby server autonomously inspects whether there is the storage service process in the server storage system, and if there is no storage service process, the standby server sends the automatic standby instruction to the machine so that the standby server automatically carries out standby dormancy. By using the method of the invention, a problem that under the condition that there is no service contact in the server storage system, the standby server is powered on and idle so that power sources are wasted is solved.

Description

A kind of remote auto based on storage system service device is standby and awakening method
Technical field
The present invention relates to that a kind of remote auto based on storage system service device is standby and awakening method.
Background technology
nullAs shown in Figure 1,The server storage system built based on LAN,Its system architecture is made up of main control end computer and controlled terminal computer,Main control end computer and controlled terminal computer are also the hardware servers that storage system business accesses,Every day, computer was respectively mounted corresponding storage system applications program,Storage system applications procedure set Tomcat server (the Web application server of a free open source code)、Nginx (Web server/Reverse Proxy of a lightweight and Email (IMAP/POP3) proxy server)、OpenStack swift (the cloud computing management platform that is increased income) and program code etc.,Wherein,Tomcat、Nginx is to provide web instrument to realize WEB for system to access,Openstack swift is to provide storage service for system.
In server storage system, main control end computer provides WEB to access as master server for outer net, controlled terminal computer is as standby server, prevent main control end computer from delaying machine and use as guest machine, avoid the redundancy of storage service, traditional storage system is in use, the server of all each storage systems related to all can be in open state, including standby server, and standby server master server normal in the case of (master server normal operating condition) be there is no business contact, and now, the open state of all standby servers can cause the waste of power supply to use, therefore, the use of system business server now, often use two-shipper, client/server, cause the Railway Project being difficult to avoid that:
Secondary node server causes power supply to waste problem often in idle state;
The electrical source consumption problem of other servers.
Generally speaking, server storage system is not in the case of having business contact, and standby server exists that start is idle causes power supply to waste situation always.
Main control end computer i.e. master server externally provides the access service of storage system, and standby server is in idle condition, needs standby.
Summary of the invention
The present invention solves the problems referred to above, it is provided that a kind of remote auto based on storage system service device is standby and awakening method, with in settlement server storage system in the case of there is no business contact the idle power supply waste problem caused of standby server start.
For achieving the above object, the technical solution used in the present invention is:
A kind of remote auto based on storage system service device is standby and awakening method, comprises the following steps:
Whether the storage system applications program of standby server independently checks storage service process in server storage system, if not having, then the storage system applications program of standby server sends automatic stand-by instruction to the machine, makes standby server automatic stand-by dormancy;The each server of server storage system sets up association by LAN, by its storage system applications program, standby server and master server all can obtain whether whole server storage system exists storage service process;
During standby server automatic stand-by dormancy, when master server has business datum to be sent to the standby server being in standby resting state, master server first passes through whether ping confirmation command standby server starts shooting, if being not keyed up, then master server sends start-up command by LAN to the network interface card of the standby server being in standby resting state, makes standby server wake up start up;
After standby server wakes up start up, its storage system applications Automatic Program is run, and returns up to instruction to master server, and standby server receives the storage service data of primary server;
Storage service data have accepted, and whether standby server independently checks storage service process in server storage system, if not having, then the storage system applications program of standby server sends automatic stand-by instruction to the machine, makes standby server automatic stand-by dormancy.
During described standby server automatic stand-by dormancy, mutually detecting between master server and standby server, master server sends ping to the network interface card of the standby server being in standby resting state at set intervals by LAN and instructs.
Described master server sends ping every 10s to the network interface card of the standby server being in standby resting state by LAN and instructs.
After using such scheme, the invention have the advantages that
1, detect ruuning situation (the specifically operation process of storage service) in server storage system by the storage system applications Automatic Program of server, judge whether to need standby server standby;
When 2, not having storage service to use, master server sends standby command automatically makes standby server enter dormancy, saves electrical source consumption;
3, master server automatically sends start-up command and realizes standby server Auto Power On by network interface card, it is ensured that storage service normally uses.
Below in conjunction with accompanying drawing, the present invention is described in further details.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the present invention, and the schematic description and description of the present invention is used for explaining the present invention, is not intended that inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the Organization Chart of server storage system;
Fig. 2 is the general flow chart of the present invention.
Detailed description of the invention
In order to make the technical problem to be solved, technical scheme and beneficial effect clearer, clear, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
As in figure 2 it is shown, a kind of based on storage system service device the remote auto of present invention announcement is standby and awakening method, it comprises the following steps:
Step 1: whether the storage system applications program of standby server independently checks storage service process in server storage system, if not having, then the storage system applications program of standby server sends automatic stand-by instruction to the machine, makes standby server automatic stand-by dormancy;The each server of server storage system sets up association by LAN, by its storage system applications program, standby server and master server all can obtain whether whole server storage system exists storage service process;
Step 2: during standby server automatic stand-by dormancy, mutually detect between master server and standby server, master server sends ping every 10s to the network interface card of the standby server being in standby resting state by LAN and instructs, when master server has business datum to be sent to the standby server being in standby resting state, master server sends start-up command by LAN to the network interface card of the standby server being in standby resting state, makes standby server wake up start up;The effect of Ping instruction is the standby server being confirmed whether to have data to be sent to standby resting state, if it has, after then standby server receives start-up command, send start-up command by self network interface card to its mainboard;The main frame of standby dormancy standby server, is premise by Ping instruction, wakes up start the most again up;
As a example by server based on Windows, its start-up command is: c: > rundll32.exe powrprof.dll, SetSuspendState;
With based on As a example by the server of Linux, its start-up command is: echo " disk " > /sys/power/state;
Step 3: after standby server wakes up start up, its storage system applications Automatic Program is run, and is received the storage service data of primary server to master server return up to instruction, standby server;
Step 4: storage service data have accepted, whether standby server independently checks storage service process in server storage system, if no, then the storage system applications program of standby server sends automatic stand-by instruction to the machine, makes standby server automatic stand-by dormancy.Circulate successively, make standby server switch between standby and open state, it is to avoid standby server is started shooting operations when without storage service for a long time, and minimizing power supply is wasted.
As a example by server based on Windows, its automatic stand-by instructs: C: > WolCmd.exe 00:30:67:99:D9:64 192.168.1.22 255.255.255.0;
Mac address and IP address are revised accordingly with specific reference to particular network;
As a example by server based on Linux, its automatic stand-by instructs: wol 00:30:67:99:D9:64;
Mac address is revised accordingly with specific reference to specific network.
The ping instruction that in the present invention, master server is sent to the network interface card of the standby server being in standby resting state every 10s by LAN is an order under Windows, Unix and linux system, ping falls within a communication protocol, it it is a part for ICP/IP protocol, utilize " ping " order can check whether network connects, us can be helped to analyze well and judge network failure.
Described above illustrate and describes the preferred embodiments of the present invention, it is to be understood that the present invention is not limited to form disclosed herein, it is not to be taken as the eliminating to other embodiments, and can be used for other combinations various, amendment and environment, and can be modified by above-mentioned teaching or the technology of association area or knowledge in invention contemplated scope herein.And the change that those skilled in the art are carried out and change are without departing from the spirit and scope of the present invention, the most all should be in the protection domain of claims of the present invention.

Claims (3)

1. a remote auto based on storage system service device is standby and awakening method, it is characterised in that comprise the following steps:
Whether the storage system applications program of standby server independently checks storage service process in server storage system, if not having, then the storage system applications program of standby server sends automatic stand-by instruction to the machine, makes standby server automatic stand-by dormancy;
During standby server automatic stand-by dormancy, when master server has business datum to be sent to the standby server being in standby resting state, master server first passes through whether ping confirmation command standby server starts shooting, if being not keyed up, then master server sends start-up command by LAN to the network interface card of the standby server being in standby resting state, makes standby server wake up start up;
After standby server wakes up start up, its storage system applications Automatic Program is run, and returns up to instruction to master server, and standby server receives the storage service data of primary server;
Storage service data have accepted, and whether standby server independently checks storage service process in server storage system, if not having, then the storage system applications program of standby server sends automatic stand-by instruction to the machine, makes standby server automatic stand-by dormancy.
A kind of remote auto based on storage system service device is standby and awakening method, it is characterized in that: during described standby server automatic stand-by dormancy, mutually detecting between master server and standby server, master server sends ping to the network interface card of the standby server being in standby resting state at set intervals by LAN and instructs.
A kind of remote auto based on storage system service device is standby and awakening method, it is characterised in that: described master server sends ping every 10s to the network interface card of the standby server being in standby resting state by LAN and instructs.
CN201610396402.7A 2016-06-07 2016-06-07 Remote automatic standby and awakening method based on storage system server Pending CN105915637A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610396402.7A CN105915637A (en) 2016-06-07 2016-06-07 Remote automatic standby and awakening method based on storage system server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610396402.7A CN105915637A (en) 2016-06-07 2016-06-07 Remote automatic standby and awakening method based on storage system server

Publications (1)

Publication Number Publication Date
CN105915637A true CN105915637A (en) 2016-08-31

Family

ID=56750563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610396402.7A Pending CN105915637A (en) 2016-06-07 2016-06-07 Remote automatic standby and awakening method based on storage system server

Country Status (1)

Country Link
CN (1) CN105915637A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795293A (en) * 2019-09-27 2020-02-14 苏州浪潮智能科技有限公司 Method, system and device for testing soft shutdown of server
WO2022043386A1 (en) * 2020-08-25 2022-03-03 Softiron Limited Shadow node with cold and warm server standby
US11748478B2 (en) 2020-08-07 2023-09-05 Softiron Limited Current monitor for security
US12019528B2 (en) 2020-08-25 2024-06-25 Softiron Limited Centralized server management for shadow nodes

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510117A (en) * 2009-03-12 2009-08-19 成都市华为赛门铁克科技有限公司 Method, apparatus and storage apparatus for controlling state of storage apparatus
CN101662370A (en) * 2008-08-26 2010-03-03 华为技术有限公司 Dormancy/wakening method for server and server with dormancy/wakening function
CN102262435A (en) * 2010-05-28 2011-11-30 Lsi公司 Methods and apparatus for low power out-of-band communications
CN102467468A (en) * 2010-11-05 2012-05-23 三星电子株式会社 Memory system and method of operating a memory system
CN102681791A (en) * 2012-04-13 2012-09-19 华中科技大学 Energy saving storage method of cluster storage system
CN102768571A (en) * 2012-06-13 2012-11-07 上海交通大学 Energy saving method of PCM-based (phase change memory based) data center
CN103873540A (en) * 2012-12-15 2014-06-18 李祥明 Low-energy-consumption remote storage system and design method thereof
CN105429799A (en) * 2015-11-30 2016-03-23 浙江宇视科技有限公司 Server backup method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662370A (en) * 2008-08-26 2010-03-03 华为技术有限公司 Dormancy/wakening method for server and server with dormancy/wakening function
CN101510117A (en) * 2009-03-12 2009-08-19 成都市华为赛门铁克科技有限公司 Method, apparatus and storage apparatus for controlling state of storage apparatus
CN102262435A (en) * 2010-05-28 2011-11-30 Lsi公司 Methods and apparatus for low power out-of-band communications
CN102467468A (en) * 2010-11-05 2012-05-23 三星电子株式会社 Memory system and method of operating a memory system
CN102467468B (en) * 2010-11-05 2016-11-23 三星电子株式会社 Storage system and the method for operation storage system
CN102681791A (en) * 2012-04-13 2012-09-19 华中科技大学 Energy saving storage method of cluster storage system
CN102768571A (en) * 2012-06-13 2012-11-07 上海交通大学 Energy saving method of PCM-based (phase change memory based) data center
CN103873540A (en) * 2012-12-15 2014-06-18 李祥明 Low-energy-consumption remote storage system and design method thereof
CN105429799A (en) * 2015-11-30 2016-03-23 浙江宇视科技有限公司 Server backup method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795293A (en) * 2019-09-27 2020-02-14 苏州浪潮智能科技有限公司 Method, system and device for testing soft shutdown of server
CN110795293B (en) * 2019-09-27 2022-07-15 苏州浪潮智能科技有限公司 Method, system and device for testing soft shutdown of server
US11748478B2 (en) 2020-08-07 2023-09-05 Softiron Limited Current monitor for security
US11755729B2 (en) 2020-08-07 2023-09-12 Softiron Limited Centralized server management for current monitoring for security
WO2022043386A1 (en) * 2020-08-25 2022-03-03 Softiron Limited Shadow node with cold and warm server standby
WO2022043398A1 (en) * 2020-08-25 2022-03-03 Softiron Limited Centralized server management for shadow nodes
GB2612276A (en) * 2020-08-25 2023-04-26 Softiron Ltd Shadow node with cold and warm server standby
US12019528B2 (en) 2020-08-25 2024-06-25 Softiron Limited Centralized server management for shadow nodes

Similar Documents

Publication Publication Date Title
US8332869B2 (en) Systems and methods for providing wake on LAN (WoL) support
US8954784B2 (en) Reduced power failover
US8024477B2 (en) System and method to establish a peer-to-peer IT backbone
CN107749797B (en) Computing equipment and implementation method thereof
US10613900B2 (en) Multi-tenant monitoring
CN111917846A (en) Kafka cluster switching method, device and system, electronic equipment and readable storage medium
CN105915637A (en) Remote automatic standby and awakening method based on storage system server
US8903960B2 (en) Activate attribute for service profiles in unified computing system
KR20070008668A (en) Dynamic migration of virtual machine computer programs
US10284436B2 (en) Cloud based wake-on-LAN for thin clients
CN109982355B (en) Method for saving and restoring network path, apparatus, terminal and storage medium thereof
US20210224167A1 (en) Method to Disable or Reboot Unresponsive Device with Active Uplink in a Ring Network
CN101877640A (en) Power control system of server
CN102299944B (en) Method for automatically starting or awakening computer through network
US9712647B2 (en) Optimization of computing resources through monitoring and manipulating availabilty
CN104270430A (en) Server remote dispatching method suitable for cloud computing
CN104158833A (en) Method for constructing intelligent desktop system
CN115695060B (en) Power-off protection method, device, equipment and storage medium
US9720670B2 (en) Deploying software in a computer network
CN102299818B (en) Method for managing computer working condition based on network access data
JP6044225B2 (en) Blade server and blade server control method
CN104158835A (en) Method for intelligent desktop system server to control clients
US9665156B2 (en) Systems and methods for providing wake-on-LAN (WoL) support
US10652168B2 (en) Packet inspection to determine destination node
CN114598643B (en) Data backup method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160831

WD01 Invention patent application deemed withdrawn after publication