CN102651694A - Method and system for managing and controlling host - Google Patents

Method and system for managing and controlling host Download PDF

Info

Publication number
CN102651694A
CN102651694A CN2011100431282A CN201110043128A CN102651694A CN 102651694 A CN102651694 A CN 102651694A CN 2011100431282 A CN2011100431282 A CN 2011100431282A CN 201110043128 A CN201110043128 A CN 201110043128A CN 102651694 A CN102651694 A CN 102651694A
Authority
CN
China
Prior art keywords
management
proxy
windows
control
main frame
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.)
Granted
Application number
CN2011100431282A
Other languages
Chinese (zh)
Other versions
CN102651694B (en
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.)
Bluedon Information Security Technologies Co Ltd
Original Assignee
Bluedon Information Security Technologies 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 Bluedon Information Security Technologies Co Ltd filed Critical Bluedon Information Security Technologies Co Ltd
Priority to CN201110043128.2A priority Critical patent/CN102651694B/en
Publication of CN102651694A publication Critical patent/CN102651694A/en
Application granted granted Critical
Publication of CN102651694B publication Critical patent/CN102651694B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a system for managing and controlling a host and relates to the field of computer networks, aiming to solve the problem that the management and control for a Windows agent host under the Linux are more complex. The method comprises the following steps: a Linux host is in communication with at least one primary Windows agent hot through an SSH (Secure Shell) protocol and manages and controls the primary Windows agent hosts through agent management and control primitive; the primary Windows agent hosts map the agent management and control primitive sent by the Linux host into WMI operating instructions; and the primary Windows agent hosts are in communication with at least one secondary Windows agent host through the WMI, and manage and control the secondary Windows agent through the WMI operating instructions. The system comprises a Linux host, at least one primary Windows agent host and at least one secondary Windows agent host.

Description

A kind of method and system of main frame being carried out management and control
Technical field
The present invention relates to computer network field, particularly relate to a kind of method and system of main frame being carried out management and control.
Background technology
WMI is the abbreviation of Windows management regulation (Windows Management Instrumentation), is the Windows administrative skill of a core; The user can use WMI management this locality and remote computer.WMI is that daily management provides a continuous consistent approach through programming with script.
SSH is the abbreviation of Secure Shell, is formulated by the networking work group (Network WorkingGroup) of IETF; SSH is the security protocol that is based upon on application layer and the transport layer basis.The Linux release of each manufacturer has generally all been installed SSH.
At present; Under Linux, realize the mode of Windows proxy management and control comparatively complicated; Need or SSH service end and Agent be installed on every Windows proxy in exploitation WMI communication journey under the Linux environment, waste a large amount of development times, strengthen workload.
Summary of the invention
The present invention provides a kind of method and system that main frame is carried out management and control, in order to solve at present under Linux realization to the mode of Windows proxy management and control complicated problems comparatively.
Method of the present invention comprises the following steps: the Linux main frame through SSH agreement and at least one one-level Windows proxy communication, and through acting on behalf of the said one-level Windows proxy of management and control primitive management and control; The management and control primitive of acting on behalf of that one-level Windows proxy is sent the Linux main frame is mapped as the WMI operational order; One-level Windows proxy passes through WMI and at least one secondary Windows proxy communication, and through the said secondary Windows proxy of WMI operational order management and control.
Further, the Linux main frame will be acted on behalf of management and control primitive through the SSH agreement and mail to one-level Windows proxy.
Further, the SSH serve end program is installed on Linux main frame and one-level Windows proxy.
Further, act on behalf of management and control primitive at one-level Windows proxy end for each and write order line program one to one, accomplish said mapping WMI operational order; And, accomplish the secondary Windows proxy of management and control at order line program intrinsic call WMI interface.
Further, secondary Windows proxy passes through WMI and at least one three grades of Windows proxies communication, and through three grades of Windows proxies of WMI operational order management and control.
System of the present invention comprises: the Linux main frame; At least one one-level Windows proxy is through SSH agreement and Linux host communication; At least one secondary Windows proxy is through WMI and the one-level Windows proxy communication under it; Wherein, the Linux main frame is through acting on behalf of management and control primitive management and control one-level Windows proxy; The management and control primitive of acting on behalf of that one-level Windows proxy is sent the Linux main frame is mapped as the WMI operational order, and through the secondary Windows proxy of this WMI operational order management and control.
Further, the Linux main frame will be acted on behalf of management and control primitive through the SSH agreement and mail to one-level Windows proxy.
Further, Linux main frame and one-level Windows proxy are provided with the SSH serve end program.
Further, act on behalf of management and control primitive at one-level Windows proxy end for each and write order line program one to one, accomplish mapping WMI operational order; And, accomplish the secondary Windows proxy of management and control at order line program intrinsic call WMI interface.
Further, also comprise: at least one three grades of Windows proxy, through WMI and the secondary Windows proxy communication under it, and through three grades of Windows proxies of WMI operational order management and control.
The present invention is through the mode of installation agent program on a Windows proxy; With respect to developing WMI communication journey under the Linux main frame or SSH service end and Agent being installed on every Windows proxy; Both can save the workload of developing the WMI communication program and the influence that does not receive the standards change of WMI itself, can avoid on every Windows proxy, installing the trouble of SSH service end again.
Description of drawings
Fig. 1 is the flow chart of steps among the inventive method embodiment;
Fig. 2 is the management and control mode sketch map among the inventive method embodiment;
Fig. 3 is the structural representation in the system embodiment of the present invention.
Embodiment
In order to optimize the mode that under Linux, realizes at present the management and control of Windows proxy, the embodiment of the invention provides a kind of method that main frame is carried out management and control, referring to shown in Figure 1, comprises the following steps:
S101, Linux main frame pass through SSH agreement and at least one one-level Windows proxy communication, and through acting on behalf of management and control primitive management and control one-level Windows proxy.
Wherein, The Linux main frame has generally all been installed the ssh client program; And the Windows main frame does not generally all have, so present embodiment installs the serve end program of SSH on one-level Windows proxy, makes the Linux main frame can pass through SSH agreement and the communication of each one-level Windows proxy.
Acting on behalf of management and control primitive is the management and control to equipment, and present embodiment predefine goes out to act on behalf of management and control primitive, includes but not limited to inquire about the current running status of main frame, the hardware list of inquiry main frame; The software matrix of inquiry main frame, the user list of inquiry main frame, the system service of inquiry main frame; The system service of inquiry main frame, Shutdown Hosts is restarted main frame; The operation local program transmits file, collects 12 basic primitive of file.The Linux host side mails to each one-level Windows proxy with the predefined management and control primitive of acting on behalf of through the SSH agreement, and realizes each one-level of management and control Windows proxy through acting on behalf of management and control primitive.
The management and control primitive of acting on behalf of that S102, one-level Windows proxy are sent the Linux main frame is mapped as the WMI operational order.
Wherein, can act on behalf of management and control primitive for each at one-level Windows proxy end and write order line program one to one, accomplish mapping WMI operational order.
S103, one-level Windows proxy pass through WMI and at least one secondary Windows proxy communication, and through the secondary Windows proxy of WMI operational order management and control.
Wherein, One-level Windows proxy can pass through WMI and the communication of secondary Windows proxy; And one-level Windows proxy is at mentioned order line program intrinsic call WMI interface, thereby realizes the secondary Windows proxy of management and control through the WMI mode.
Referring to shown in Figure 2, realize acting on behalf of management and control through the SSH protocol mode between final Linux main frame and the one-level Windows proxy; Realize acting on behalf of management and control through the WMI mode between one-level Windows proxy and the secondary Windows proxy, and then the virtual WMI mode of realization is acted on behalf of management and control between Linux main frame and the secondary Windows proxy.Therefore; Present embodiment can be on a Windows proxy installation agent program; With respect to developing WMI communication journey under the Linux main frame or SSH service end and Agent being installed on every Windows proxy; The workload of developing the WMI communication program and the influence that does not receive the standards change of WMI itself both can have been saved; Can avoid on every Windows proxy installing the trouble of SSH service end again, and then optimize under Linux mode the management and control of Windows proxy.
The present invention also provides another embodiment; Can be applicable to the three-level network framework (certainly; Also but expanded application is in level Four and other network architecture of higher level), promptly secondary Windows proxy passes through WMI and at least one three grades of Windows proxies communication, and through three grades of Windows proxies of WMI operational order management and control; Wherein particular content is close with the secondary Windows proxy of one-level Windows proxy management and control, repeats no more.
Referring to shown in Figure 3, the invention provides a kind of system implementation example that main frame is carried out management and control, present embodiment comprises: comprising: the Linux main frame; At least one one-level Windows proxy is through SSH agreement and Linux host communication; At least one secondary Windows proxy is through WMI and the one-level Windows proxy communication under it.
Wherein, the Linux main frame is through acting on behalf of management and control primitive management and control one-level Windows proxy.Concrete; The Linux main frame has generally all been installed the ssh client program; And the Windows main frame does not generally all have; Therefore present embodiment is provided with the serve end program of SSH on one-level Windows proxy, makes the Linux main frame can pass through SSH agreement and the communication of each one-level Windows proxy.Acting on behalf of management and control primitive is the management and control to equipment, and present embodiment predefine goes out to act on behalf of management and control primitive, includes but not limited to inquire about the current running status of main frame, the hardware list of inquiry main frame; The software matrix of inquiry main frame, the user list of inquiry main frame, the system service of inquiry main frame; The system service of inquiry main frame, Shutdown Hosts is restarted main frame; The operation local program transmits file, collects 12 basic primitive of file.The Linux host side mails to each one-level Windows proxy with the predefined management and control primitive of acting on behalf of through the SSH agreement, and realizes each one-level of management and control Windows proxy through acting on behalf of management and control primitive.
The management and control primitive of acting on behalf of that one-level Windows proxy is sent the Linux main frame is mapped as the WMI operational order, and through the secondary Windows proxy of this WMI operational order management and control.Concrete, can act on behalf of management and control primitive for each at one-level Windows proxy end and write order line program one to one, accomplish mapping WMI operational order.One-level Windows proxy can pass through WMI and the communication of secondary Windows proxy, and one-level Windows proxy is at mentioned order line program intrinsic call WMI interface, thereby realizes the secondary Windows proxy of management and control through the WMI mode.
Realize acting on behalf of management and control through the SSH protocol mode between final Linux main frame and the one-level Windows proxy; Realize acting on behalf of management and control through the WMI mode between one-level Windows proxy and the secondary Windows proxy, and then the virtual WMI mode of realization is acted on behalf of management and control between Linux main frame and the secondary Windows proxy.Therefore; Present embodiment can be on a Windows proxy installation agent program; With respect to developing WMI communication journey under the Linux main frame or SSH service end and Agent being installed on every Windows proxy; The workload of developing the WMI communication program and the influence that does not receive the standards change of WMI itself both can have been saved; Can avoid on every Windows proxy installing the trouble of SSH service end again, and then optimize under Linux mode the management and control of Windows proxy.
The present invention also provides another embodiment; Can be applicable to the three-level network framework (certainly; Also but expanded application is in level Four and other network architecture of higher level); Promptly also can comprise at least one three grades of Windows proxy, through WMI and the secondary Windows proxy communication under it, and through three grades of Windows proxies of WMI operational order management and control.Wherein particular content is close with the secondary Windows proxy of one-level Windows proxy management and control, repeats no more.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.

Claims (10)

1. the method that main frame is carried out management and control is characterized in that, comprises the following steps:
The Linux main frame passes through SSH agreement and at least one one-level Windows proxy communication, and through acting on behalf of the said one-level Windows proxy of management and control primitive management and control;
The management and control primitive of acting on behalf of that one-level Windows proxy is sent the Linux main frame is mapped as the WMI operational order;
One-level Windows proxy passes through WMI and at least one secondary Windows proxy communication, and through the said secondary Windows proxy of said WMI operational order management and control.
2. according to claim 1 main frame is carried out the method for management and control, it is characterized in that, said Linux main frame will be acted on behalf of management and control primitive through the SSH agreement and mail to one-level Windows proxy.
3. according to claim 1 main frame is carried out the method for management and control, it is characterized in that, the SSH serve end program is installed on said Linux main frame and one-level Windows proxy.
4. according to claim 1 main frame is carried out the method for management and control, it is characterized in that, act on behalf of management and control primitive at one-level Windows proxy end for each and write order line program one to one, accomplish said mapping WMI operational order; And, accomplish the secondary Windows proxy of said management and control at said order line program intrinsic call WMI interface.
5. according to claim 1 main frame is carried out the method for management and control, it is characterized in that, said secondary Windows proxy passes through WMI and at least one three grades of Windows proxies communication, and through three grades of Windows proxies of said WMI operational order management and control.
6. the system that main frame is carried out management and control is characterized in that, comprising: the Linux main frame; At least one one-level Windows proxy is through SSH agreement and said Linux host communication; At least one secondary Windows proxy is through WMI and the one-level Windows proxy communication under it;
Wherein, said Linux main frame is through acting on behalf of management and control primitive management and control one-level Windows proxy;
The management and control primitive of acting on behalf of that said one-level Windows proxy is sent the Linux main frame is mapped as the WMI operational order, and through the secondary Windows proxy of this WMI operational order management and control.
7. like the said system that main frame is carried out management and control of claim 6, it is characterized in that said Linux main frame will be acted on behalf of management and control primitive through the SSH agreement and mail to one-level Windows proxy.
8. like the said system that main frame is carried out management and control of claim 6, it is characterized in that said Linux main frame and one-level Windows proxy are provided with the SSH serve end program.
9. like the said system that main frame is carried out management and control of claim 6, it is characterized in that, act on behalf of management and control primitive at one-level Windows proxy end for each and write order line program one to one, accomplish said mapping WMI operational order; And, accomplish the secondary Windows proxy of said management and control at said order line program intrinsic call WMI interface.
10. like the said system that main frame is carried out management and control of claim 6, it is characterized in that, also comprise:
At least one three grades of Windows proxy, through WMI and the secondary Windows proxy communication under it, and through three grades of Windows proxies of said WMI operational order management and control.
CN201110043128.2A 2011-02-23 2011-02-23 Method and system for managing and controlling host Active CN102651694B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110043128.2A CN102651694B (en) 2011-02-23 2011-02-23 Method and system for managing and controlling host

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110043128.2A CN102651694B (en) 2011-02-23 2011-02-23 Method and system for managing and controlling host

Publications (2)

Publication Number Publication Date
CN102651694A true CN102651694A (en) 2012-08-29
CN102651694B CN102651694B (en) 2015-05-20

Family

ID=46693590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110043128.2A Active CN102651694B (en) 2011-02-23 2011-02-23 Method and system for managing and controlling host

Country Status (1)

Country Link
CN (1) CN102651694B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833451A (en) * 2018-09-04 2018-11-16 郑州信大壹密科技有限公司 Multistage managing and control system and management-control method based on domestic safety control platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1746844A (en) * 2005-09-29 2006-03-15 浪潮电子信息产业股份有限公司 Method for monitoring and managing machine group system of cross-operation platform
CN101159621A (en) * 2001-12-05 2008-04-09 微软公司 Configuration management systems for mobile and embedded devices and method of including limited-resource client device in same
CN101221516A (en) * 2008-01-18 2008-07-16 清华大学 Interface seamless integration method and system across operating system platform
US20090100248A1 (en) * 2006-03-14 2009-04-16 Nec Corporation Hierarchical System, and its Management Method and Program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159621A (en) * 2001-12-05 2008-04-09 微软公司 Configuration management systems for mobile and embedded devices and method of including limited-resource client device in same
CN1746844A (en) * 2005-09-29 2006-03-15 浪潮电子信息产业股份有限公司 Method for monitoring and managing machine group system of cross-operation platform
US20090100248A1 (en) * 2006-03-14 2009-04-16 Nec Corporation Hierarchical System, and its Management Method and Program
CN101221516A (en) * 2008-01-18 2008-07-16 清华大学 Interface seamless integration method and system across operating system platform

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833451A (en) * 2018-09-04 2018-11-16 郑州信大壹密科技有限公司 Multistage managing and control system and management-control method based on domestic safety control platform

Also Published As

Publication number Publication date
CN102651694B (en) 2015-05-20

Similar Documents

Publication Publication Date Title
US8725274B2 (en) Energy use control system and method
US10922192B2 (en) Method, device and computer program product for data backup including determining a hardware configuration allocated to a proxy virtual machine based on a workload of a backup job
CN102457512B (en) A kind of thin client server virtual method and virtual thin client server
US20120089981A1 (en) Method and system for power management in a virtual machine environment without disrupting network connectivity
CN102664758B (en) Method for binding and automatically recovering network configuration
US8463882B2 (en) Server cloning in a computing-on-demand system
US8095661B2 (en) Method and system for scaling applications on a blade chassis
WO2013104217A1 (en) Cloud infrastructure based management system and method for performing maintenance and deployment for application system
US20120218120A1 (en) Meter processing communication system
CN106713053A (en) Method and device for batch updating server firmware based on Linux
US20100293201A1 (en) Nfs agent upgrade
CN111367542A (en) Household appliance and household appliance firmware upgrading method
US9607275B2 (en) Method and system for integration of systems management with project and portfolio management
CN111966374A (en) Container-based energy controller terminal software deployment and management method
CN105406983A (en) Cloud calculation network management control method based on user demands
CN102148839A (en) Method, device and system for managing FTP (file transfer protocol) server
CN102651694B (en) Method and system for managing and controlling host
CN102567006B (en) Application service expanding method, device and system
CN103297515A (en) Mobile office system
CN103023700A (en) Management operating system and method of information centre hardware equipment
CN103209127B (en) Virtual flow-line retransmission method and device is realized based on linux system
CN103428305A (en) Network equipment batch upgrading method
CN105912371A (en) Method for automatically deploying operation systems on basis of CS mode
CN116016307A (en) Method and device for transmitting calculation network parameters and electronic equipment
KR100929235B1 (en) Dynamic Reconfiguration Method of Wireless Sensor Network and Its System

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PP01 Preservation of patent right

Effective date of registration: 20220422

Granted publication date: 20150520

PP01 Preservation of patent right