CN107800810A - A kind of Server remote control method and system - Google Patents
A kind of Server remote control method and system Download PDFInfo
- Publication number
- CN107800810A CN107800810A CN201711214031.7A CN201711214031A CN107800810A CN 107800810 A CN107800810 A CN 107800810A CN 201711214031 A CN201711214031 A CN 201711214031A CN 107800810 A CN107800810 A CN 107800810A
- Authority
- CN
- China
- Prior art keywords
- server
- control
- address
- controller
- controlled
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a kind of Server remote control method and system, wherein, the system includes:Controller, interchanger and at least one server;One end of the interchanger is connected with the controller, and the other end is connected with each server;The controller, script is controlled for setting;It is each described server-assignment IP address using the control script;Obtain the IP address of control server to be controlled, according to the IP address of the control server to be controlled, by the baseboard management controller BMC web interfaces of control server to be controlled described in the switch-access, remote control is carried out to the control server to be controlled using the BMC web interfaces of the control server to be controlled.Scheme provided by the invention can improve the remote control efficiency of server.
Description
Technical field
The present invention relates to network communication technology field, more particularly to a kind of Server remote control method and system.
Background technology
With the enhancing of data processing needs, the quantity of server gradually increases, in order to improve server controls efficiency, far
Process control turns into a kind of important means.
In the prior art, server is carried out needing the network environment outside dependence during remote control.For example, actually should
With in scene, each server needs to obtain IP under same external web environment, and then, technical staff goes each service
The IP got is confirmed on device, and remote control is carried out to each server using the IP of each server.
But the control efficiency of this method is relatively low.
The content of the invention
The embodiments of the invention provide a kind of Server remote control method and system, it is possible to increase the long-range control of server
Efficiency processed.
In a first aspect, the embodiments of the invention provide a kind of Server remote control system, including:Controller, interchanger
With at least one server;
One end of the interchanger is connected with the controller, and the other end is connected with each server;
The controller, script is controlled for setting;It is each described server-assignment IP using the control script
Address;The IP address of control server to be controlled is obtained, according to the IP address of the control server to be controlled, passes through the switch-access
BMC (Baseboard Management Controller, baseboard management controller) web interface of the control server to be controlled,
Remote control is carried out to the control server to be controlled using the BMC web interfaces of the control server to be controlled.
Preferably,
The controller, for determining configuration parameter;The MAC of each server is obtained using the control script
Location, it is each described server-assignment IP address according to the configuration parameter and the MAC Address of each server.
Preferably,
The configuration parameter, including:The controller title, initial address, end address, subnet mask, gateway, first choice
DNS (Domain Name System, domain name system) and standby DNS.
Second aspect, the embodiments of the invention provide a kind of Server remote control method, including:Controller is pre-set
Script is controlled, in addition to:
The controller utilizes the control script, is each server-assignment IP address;
The controller obtains the IP address of control server to be controlled;
The controller passes through control server to be controlled described in switch-access according to the IP address of the control server to be controlled
BMC web interfaces, the control server to be controlled is remotely controlled using the BMC web interfaces of the control server to be controlled
System.
Preferably,
The controller utilizes the control script, is each server-assignment IP address, including:
The controller determines configuration parameter, and the MAC Address of each server, root are obtained using the control script
It is each described server-assignment IP address according to the configuration parameter and the MAC Address of each server.
Preferably,
The configuration parameter, including:The controller title, initial address, end address, subnet mask, gateway, first choice
DNS and standby DNS.
The third aspect, the embodiments of the invention provide a kind of computer-readable recording medium, including execute instruction, when the place of storage control
When managing the device execution execute instruction, the storage control performs the method described in any of the above-described embodiment.
Fourth aspect, the embodiments of the invention provide a kind of storage control, including:Processor, memory and bus;
The memory is used to store execute instruction, and the processor is connected with the memory by the bus, when
During the storage control operation, the execute instruction of memory storage described in the computing device, so that the storage
Controller performs the method described in any of the above-described embodiment.
The embodiments of the invention provide a kind of Server remote control method and system, wherein, within the system, controller
It is connected by interchanger with each server, using controlling script to be each server-assignment IP address, and utilizes server
IP address access server BMC web interfaces, using BMC web interfaces to server carry out remote control.The system without
Need manually to the IP for confirming on each server to get, it is possible to increase the remote control efficiency of server.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of structural representation for Server remote control system that one embodiment of the invention provides;
Fig. 2 is a kind of flow chart for Server remote control method that one embodiment of the invention provides;
Fig. 3 is a kind of flow chart for Server remote control method that another embodiment of the present invention provides.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, the embodiments of the invention provide a kind of Server remote control system, including:Controller 101, hand over
Change planes 102 and at least one server 103;
One end of interchanger 102 is connected with controller 101, and the other end is connected with each server 103;
Controller 101, script is controlled for setting;Using script is controlled, IP address is distributed for each server 103;
The IP address of control server to be controlled is obtained, according to the IP address of control server to be controlled, passes through switch-access control server to be controlled
BMC web interfaces, using control server to be controlled BMC web interfaces to server to be controlled carry out remote control.
Within the system, controller is connected by interchanger with each server, is serviced using script is controlled for each
Device distributes IP address, and the BMC web interfaces of the IP address access server using server, using BMC web interfaces to clothes
Business device carries out remote control.The system is without manually to the IP for confirming on each server to get, it is possible to increase server
Remote control efficiency.
In one embodiment of the invention, in order to for each server-assignment is unique, the IP address that determines, controller
101, for determining configuration parameter;Using the MAC Address for controlling script to obtain each server 103, according to configuration parameter and respectively
The MAC Address of individual server 103, IP address is distributed for each server 103.
Because server has unique MAC Address, thus can be using MAC Address as server mark, to be each
Individual one IP address of server-assignment.For example, the MAC Address of server is A1, the IP address of distribution is A2;The MAC of server
Address is A3, and the IP address of distribution is A4.
In one embodiment of the invention, configuration parameter, including:Controller title, initial address, end address, son
Net mask, gateway, preferred DNS and standby DNS.
Wherein, initial address and end address determine the scope of the IP address of distribution.
As shown in Fig. 2 the embodiments of the invention provide a kind of Server remote control method, including:
Step 201:Controller sets control script;
Step 202:Controller is each server-assignment IP address using script is controlled;
Step 203:Controller obtains the IP address of control server to be controlled;
Step 204:Controller passes through switch-access control server to be controlled according to the IP address of control server to be controlled
BMC web interfaces, remote control is carried out to server to be controlled using the BMC web interfaces of control server to be controlled.
In one embodiment of the invention, controller is each server-assignment IP address using script is controlled, bag
Include:
Controller determines configuration parameter, using the MAC Address for controlling script to obtain each server, according to configuration parameter and
The MAC Address of each server, it is each server-assignment IP address.
In one embodiment of the invention, configuration parameter, including:Controller title, initial address, end address, son
Net mask, gateway, preferred DNS and standby DNS.
The embodiments of the invention provide a kind of computer-readable recording medium, including execute instruction, when the computing device of storage control
During execute instruction, the method for any of the above-described embodiment of storage control execution.
As shown in figure 3, the embodiment of the present invention is so that controller carries out remote controls by interchanger to three servers as an example,
Server remote control method is described in detail, this method includes:
Step 301:Controller sets control script.
Step 302:Controller determines configuration parameter.
Configuration parameter includes:Controller title ZHANGWK00, initial address 192.168.1.10, end address
192.168.1.250, it is subnet mask 255.255.255.0, preferred DNS202.103.0.68, gateway 192.168.1.1, standby
DNS202.103.44.150。
Step 303:Controller is using the MAC Address for controlling script to obtain each server, according to configuration parameter and each
The MAC Address of server, it is each server-assignment IP address.
Obtain the MAC Address of each server.For example, wherein server M MAC Address is 6C-92-EF-23-A6-47,
IP address for its distribution is 192.168.1.10;Server N MAC Address is 6C-92-EF-23-A6-48, for its distribution
IP address is 192.168.1.11;Server X MAC Address is 6C-92-EF-23-A6-49, and the IP address for being its distribution is
192.168.1.12。
Step 304:Controller obtains the IP address of control server to be controlled.
The IP address that controller obtains the control server to be controlled that external user determines is 192.168.1.11.
Step 305:Controller passes through switch-access control server to be controlled according to the IP address of control server to be controlled
BMC web interfaces, remote control is carried out to server to be controlled using the BMC web interfaces of control server to be controlled.
Because controller, each server are in same network, therefore, controller can be according to control server to be controlled
IP address 192.168.1.11, server N BMC web interfaces are accessed, using server N BMC web interfaces to be controlled
Control server carries out remote control.
Outside user can be by server operation server N BMC web interfaces, and then to server N operation
Parameter etc. carries out remote control.
The embodiments of the invention provide a kind of storage control, including:Processor, memory and bus;
Memory is used to store execute instruction, and processor is connected with memory by bus, when storage control is run,
The execute instruction of computing device memory storage, so that the method that storage control performs any of the above-described embodiment.
The embodiments of the invention provide a kind of computer-readable recording medium, including execute instruction, when the computing device of storage control
During execute instruction, the method for any of the above-described embodiment of storage control execution.
The contents such as the information exchange between each step, implementation procedure in the above method, due to implementing with present system
Example is based on same design, and particular content can be found in the narration in present system embodiment, and here is omitted.
To sum up, each embodiment of the present invention at least has the effect that:
1st, in embodiments of the present invention, within the system, controller is connected by interchanger with each server, utilizes control
Script processed is each server-assignment IP address, and the BMC web interfaces of the IP address access server using server, profit
Remote control is carried out to server with BMC web interfaces.What the system manually need not be got to confirmation on each server
IP, it is possible to increase the remote control efficiency of server.
2nd, in embodiments of the present invention, this method avoids external network is unstable from leading to not independent of external network
Remote control is carried out to server, reliability is higher.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity
Or operation makes a distinction with another entity or operation, and not necessarily require or imply and exist between these entities or operation
Any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant be intended to it is non-
It is exclusive to include, so that process, method, article or equipment including a series of elements not only include those key elements,
But also the other element including being not expressly set out, or also include solid by this process, method, article or equipment
Some key elements.In the absence of more restrictions, by sentence " including the key element that a 〃 〃 " is limited, it is not excluded that
Other identical factor in the process including the key element, method, article or equipment also be present.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Programmed instruction related hardware is completed, and foregoing program can be stored in computer-readable storage medium, the program
Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, is merely to illustrate the skill of the present invention
Art scheme, is not intended to limit the scope of the present invention.Any modification for being made within the spirit and principles of the invention,
Equivalent substitution, improvement etc., are all contained in protection scope of the present invention.
Claims (8)
- A kind of 1. Server remote control system, it is characterised in that including:Controller, interchanger and at least one server;One end of the interchanger is connected with the controller, and the other end is connected with each server;The controller, script is controlled for setting;It is each server-assignment IP using the control script Location;The IP address of control server to be controlled is obtained, according to the IP address of the control server to be controlled, passes through the switch-access institute The baseboard management controller BMC web interfaces of control server to be controlled are stated, utilize the BMC web interfaces pair of the control server to be controlled The control server to be controlled carries out remote control.
- 2. Server remote control system according to claim 1, it is characterised in thatThe controller, for determining configuration parameter;The MAC Address of each server is obtained using the control script, It is each described server-assignment IP address according to the configuration parameter and the MAC Address of each server.
- 3. Server remote control system according to claim 2, it is characterised in thatThe configuration parameter, including:The controller title, initial address, end address, subnet mask, gateway, preferred domain name System DNS and standby DNS.
- A kind of 4. Server remote control method, it is characterised in that controller pre-sets control script, in addition to:The controller utilizes the control script, is each server-assignment IP address;The controller obtains the IP address of control server to be controlled;The controller passes through the base of control server to be controlled described in switch-access according to the IP address of the control server to be controlled Board management controller BMC web interfaces, the control server to be controlled is entered using the BMCWeb interfaces of the control server to be controlled Row remote control.
- 5. Server remote control method according to claim 4, it is characterised in thatThe controller utilizes the control script, is each server-assignment IP address, including:The controller determines configuration parameter, the MAC Address of each server is obtained using the control script, according to institute The MAC Address of configuration parameter and each server is stated, is each described server-assignment IP address.
- 6. Server remote control method according to claim 5, it is characterised in thatThe configuration parameter, including:The controller title, initial address, end address, subnet mask, gateway, preferred domain name System DNS and standby DNS.
- 7. a kind of computer-readable recording medium, it is characterised in that including execute instruction, refer to when being performed described in the computing device of storage control When making, the storage control perform claim requires any described method in 4-6.
- A kind of 8. storage control, it is characterised in that including:Processor, memory and bus;The memory is used to store execute instruction, and the processor is connected with the memory by the bus, when described When storage control is run, the execute instruction of memory storage described in the computing device, so that the storage control Device perform claim requires any described method in 4-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711214031.7A CN107800810A (en) | 2017-11-28 | 2017-11-28 | A kind of Server remote control method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711214031.7A CN107800810A (en) | 2017-11-28 | 2017-11-28 | A kind of Server remote control method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107800810A true CN107800810A (en) | 2018-03-13 |
Family
ID=61536882
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711214031.7A Pending CN107800810A (en) | 2017-11-28 | 2017-11-28 | A kind of Server remote control method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107800810A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111181787A (en) * | 2019-12-30 | 2020-05-19 | 浪潮电子信息产业股份有限公司 | BMC parameter configuration method, device, equipment and medium |
CN113791607A (en) * | 2021-08-05 | 2021-12-14 | 太原重工股份有限公司 | Many-to-many intelligent remote operation and centralized control system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102195809A (en) * | 2011-03-25 | 2011-09-21 | 杭州再灵电子科技有限公司 | Network transmission and control system |
CN104104720A (en) * | 2014-07-10 | 2014-10-15 | 浪潮(北京)电子信息产业有限公司 | Server cluster management method and system |
CN106572200A (en) * | 2016-11-10 | 2017-04-19 | 郑州云海信息技术有限公司 | IP address configuration method and IP address configuration device for baseboard management controller BMC |
CN106685725A (en) * | 2017-01-11 | 2017-05-17 | 郑州云海信息技术有限公司 | Central management control panel, method and system |
CN107038101A (en) * | 2017-04-11 | 2017-08-11 | 广东浪潮大数据研究有限公司 | A kind of multiserver remote monitoring and administration method and system |
-
2017
- 2017-11-28 CN CN201711214031.7A patent/CN107800810A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102195809A (en) * | 2011-03-25 | 2011-09-21 | 杭州再灵电子科技有限公司 | Network transmission and control system |
CN104104720A (en) * | 2014-07-10 | 2014-10-15 | 浪潮(北京)电子信息产业有限公司 | Server cluster management method and system |
CN106572200A (en) * | 2016-11-10 | 2017-04-19 | 郑州云海信息技术有限公司 | IP address configuration method and IP address configuration device for baseboard management controller BMC |
CN106685725A (en) * | 2017-01-11 | 2017-05-17 | 郑州云海信息技术有限公司 | Central management control panel, method and system |
CN107038101A (en) * | 2017-04-11 | 2017-08-11 | 广东浪潮大数据研究有限公司 | A kind of multiserver remote monitoring and administration method and system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111181787A (en) * | 2019-12-30 | 2020-05-19 | 浪潮电子信息产业股份有限公司 | BMC parameter configuration method, device, equipment and medium |
CN111181787B (en) * | 2019-12-30 | 2023-10-13 | 浪潮电子信息产业股份有限公司 | BMC parameter configuration method, device, equipment and medium |
CN113791607A (en) * | 2021-08-05 | 2021-12-14 | 太原重工股份有限公司 | Many-to-many intelligent remote operation and centralized control system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105577420B (en) | Automatically generate the method and system of servomechanism network topology | |
CN104636184B (en) | The dispositions method and device and equipment of virtual machine instance | |
CN107580083A (en) | A kind of method and system of container IP address distribution | |
CN103475682B (en) | File transfer method and file transfer equipment | |
CN107003983A (en) | Configuration network | |
CN103312836A (en) | Large local network internet protocol (IP) address administration method | |
CN104811473B (en) | A kind of method, system and management system for creating virtual non-volatile storage medium | |
CN113625589B (en) | Equipment control method and device, electronic equipment and storage medium | |
CN108011846A (en) | The method and device of management business in network function virtualization architecture | |
CN103441935A (en) | Method and device capable of automatically recognizing adjacency relation between server and access switch | |
CN108574590A (en) | A kind of opening network element method and apparatus and computer readable storage medium | |
CN105471662A (en) | Cloud server and virtual network strategy centralized control system and method | |
CN106233694A (en) | The head management sequential value of interpolation is utilized in calculating equipment | |
WO2020151447A1 (en) | Offline configuration method and apparatus for smart device | |
CN108141384A (en) | The automatic arranging of LISP two mobility networks | |
CN114500523A (en) | Fixed IP application release method based on container cloud platform | |
CN107800810A (en) | A kind of Server remote control method and system | |
CN106708573A (en) | System and method used for automatic installation of Hadoop cluster | |
CN109218462B (en) | IP distribution method of physical host of cloud data center | |
CN109819064A (en) | Method, operating system module and the meeting plate of intermodule communication | |
CN102143506A (en) | Management processing method, management processing device and management processing system for wireless repeater | |
CN109995890A (en) | A kind of method and server managing network address translation NAT gateway | |
CN109714208A (en) | A kind of equipment is included in method, storage medium and the electronic equipment of network management | |
CN110620706A (en) | Processing method and equipment | |
CN106843971A (en) | BIOS method for refreshing, server, BMC, medium and storage control |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180313 |
|
RJ01 | Rejection of invention patent application after publication |