CN109871680A - A kind of physical machine cipher set-up method based on Openstack - Google Patents
A kind of physical machine cipher set-up method based on Openstack Download PDFInfo
- Publication number
- CN109871680A CN109871680A CN201910220244.3A CN201910220244A CN109871680A CN 109871680 A CN109871680 A CN 109871680A CN 201910220244 A CN201910220244 A CN 201910220244A CN 109871680 A CN109871680 A CN 109871680A
- Authority
- CN
- China
- Prior art keywords
- physical machine
- password
- metadata
- cloud computing
- openstack
- 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
Landscapes
- Stored Programmes (AREA)
Abstract
The present invention discloses a kind of physical machine cipher set-up method based on Openstack, is related to technical field of virtualization;Cloud computing based on Openstack manages platform, receive operating system mirror image and password that physical machine user provides, call nova reloading method repacking operation system, and update the metadata of physical machine runtime parameter example, Ironic driving is called to re-start physical machine deployment according to repacking operation system, the script of the customized setting password of starting cloud computing management platform after physical machine is restarted, obtain updated metadata, physics secret code is set according to metadata, cloud computing management platform is called to update modification physical machine password.
Description
Technical field
The present invention discloses a kind of physical machine cipher set-up method based on Openstack, is related to technical field of virtualization.
Background technique
Cloud computing (cloudcomputing) is the increase, use and delivery mode of related service Internet-based, is led to
Often it is related to providing the resource of dynamic easily extension and often virtualization by internet.Cloud computing is distributed in greatly by making to calculate
On the distributed computer of amount, rather than in local computer or remote server, virtualization at present is to realize one kind of cloud computing
Mainstream technology.
Virtualization (Virtualization) is to optimize resource for streamlining management, refer to computing element on virtual basis
The solution above rather than on the basis of true run.
Openstack:OpenStack is the cloud computing management platform project of an open source, by several main component groups
Specific works are completed altogether.OpenStack supports almost all kinds of cloud environment, project objective be to provide implementation it is simple,
It can extend, enrich on a large scale, the cloud computing management platform that standard is unified.
Ironic:Ironic is the plug-in unit that physical machine is managed in OpenStack, and OpenStack uses the driving of Ironic
Physical machine is managed as management virtual machine.
Cloud-Init:cloud-init is used to match virtual machine substantially by Metadata Service when creating virtual machine
It sets.
The Pike version of Openstack can not pass through the password of parameter setting physical machine when repacking operation system.
Queens can be equipped with password, virtual machine repacking operation system with version later by user_data and cloud-init
System can be realized in such a way that personality parameter uses and injects configuration file to operating system, since file injection is
It is realized by libvirt driving, the driving that this method is not available ironic is realized, physical machine is caused not to be available.This hair
It is bright that a kind of physical machine cipher set-up method based on Openstack, ginseng when Openstack is according to cloud physics host implementation are provided
The metadata of number setting example;Ironic is disposed after physical machine completion, sends request metadata to Openstack;From
The password of physical machine is arranged according to the data in metadata for dynamicization script.It is automatically performed password reset process by physical machine, no
It needs user to be operated manually physical machine operating system, there is no technical requirements to user, it is easy to operate.
Summary of the invention
The present invention is directed to problem of the prior art, provides a kind of physical machine cipher set-up method based on Openstack, this
The concrete scheme that invention proposes is:
A kind of physical machine cipher set-up method based on Openstack, the cloud computing based on Openstack manage platform,
Operating system mirror image and password that physical machine user provides are received, calls nova reloading method repacking operation system, and update object
The metadata of reason machine runtime parameter example calls Ironic driving to re-start physical machine deployment according to repacking operation system,
The script of the customized setting password of starting cloud computing management platform, obtains updated metadata after physical machine is restarted, according to
Physics secret code is arranged in metadata, and cloud computing management platform is called to update modification physical machine password.
The method medium cloud management of computing platform carries out the verification of password complexity to the password that user provides, and passes through password
Nova reloading method repacking operation system is then called in complexity verification, otherwise user is needed to provide password again.
The method medium cloud management of computing platform calls the side Server Rebuild in the nova component of openstack
Method, repacking operation system update the metadata of physical machine runtime parameter example.
It is called certainly after physical machine is restarted in the method by the cloud-init that cloud computing manages platform openstack
The script of definition setting password obtains updated metadata, and physics secret code is arranged according to metadata, passes through cloud-init
Update modification physical machine password.
The script of customized setting password manages the metadata of platform openstack by cloud computing in the method
Service acquisition metadata, the physical machine password of setting.
A kind of physical machine password setting system based on Openstack, it is flat including the cloud computing management based on Openstack
Platform and physical machine,
Wherein cloud computing management platform receives operating system mirror image and password that physical machine user provides, calls nova refitting
Method repacking operation system, and the metadata of physical machine runtime parameter example is updated, it is called according to repacking operation system
Ironic driving re-starts physical machine deployment, the customized setting password of starting cloud computing management platform after physical machine is restarted
Script obtains updated metadata, and physics secret code is arranged according to metadata, and cloud computing management platform is called to update modification object
Manage secret code.
The system medium cloud management of computing platform carries out the verification of password complexity to the password that user provides, and passes through password
Nova reloading method repacking operation system is then called in complexity verification, otherwise user is needed to provide password again.
The system medium cloud management of computing platform calls the side Server Rebuild in the nova component of openstack
Method, repacking operation system update the metadata of physical machine runtime parameter example.
It is called certainly after physical machine is restarted in the system by the cloud-init that cloud computing manages platform openstack
The script of definition setting password obtains updated metadata, and physics secret code is arranged according to metadata, passes through cloud-init
Update modification physical machine password.
The script of customized setting password manages the metadata of platform openstack by cloud computing in the system
Service acquisition metadata, the physical machine password of setting.
Usefulness of the present invention is:
The present invention provides a kind of physical machine cipher set-up method based on Openstack, the cloud computing based on Openstack
Platform is managed, operating system mirror image and password that physical machine user provides are received, calls nova reloading method repacking operation system,
And the metadata of physical machine runtime parameter example is updated, call Ironic driving to re-start physics according to repacking operation system
Machine deployment, the script of the customized setting password of starting cloud computing management platform after physical machine is restarted, obtains updated first number
According to according to metadata setting physics secret code, calling cloud computing management platform updates modification physical machine password;
Pass through first number of parameter setting example of the Openstack according to cloud physics host implementation when using the method for the present invention
According to Ironic is disposed after physical machine completion, sends request metadata to Openstack;The foot of automated setting password
The password of physical machine originally can be set according to the data in metadata, and password reset process is automatically performed by physical machine, is not needed
User is operated manually physical machine operating system, does not have technical requirements to user, and easy to operate, especially for
The Pike version of Openstack can not pass through parameter setting object when resetting the operating system of physical machine of Ironic management
The password of reason machine, and physical machine password setting can be carried out by present method invention automatically.
Detailed description of the invention
Fig. 1 is the method for the present invention flow diagram;
Fig. 2 is metadata service acquisition metadata schematic diagram.
Specific embodiment
The present invention provides a kind of physical machine cipher set-up method based on Openstack, the cloud computing based on Openstack
Platform is managed, operating system mirror image and password that physical machine user provides are received, calls nova reloading method repacking operation system,
And the metadata of physical machine runtime parameter example is updated, call Ironic driving to re-start physics according to repacking operation system
Machine deployment, the script of the customized setting password of starting cloud computing management platform after physical machine is restarted, obtains updated first number
According to according to metadata setting physics secret code, calling cloud computing management platform updates modification physical machine password.
A kind of physical machine password setting system based on Openstack corresponded to the above method is provided simultaneously, including
Cloud computing management platform and physical machine based on Openstack,
Wherein cloud computing management platform receives operating system mirror image and password that physical machine user provides, calls nova refitting
Method repacking operation system, and the metadata of physical machine runtime parameter example is updated, it is called according to repacking operation system
Ironic driving re-starts physical machine deployment, the customized setting password of starting cloud computing management platform after physical machine is restarted
Script obtains updated metadata, and physics secret code is arranged according to metadata, and cloud computing management platform is called to update modification object
Manage secret code.
The present invention will be further explained below with reference to the attached drawings and specific examples, so that those skilled in the art can be with
It more fully understands the present invention and can be practiced, but illustrated embodiment is not as a limitation of the invention.
Example, detailed process are automatically set as with the physical machine password of certain cloud computing management platform based on Openstack are as follows:
Cloud computing based on Openstack manages platform, receives operating system mirror image and password that physical machine user provides,
Wherein cloud computing management platform is provided to one graphic user interface of user, is used to select repacking operation system to use to user
Mirror image and input need the password that resets,
The management platform of cloud computing simultaneously carries out the verification of password complexity to the password that user provides, unverified to need to use
Family provides password again,
The mirror image and password then inputted according to user by the verification of password complexity, calls the nova component of openstack
In Rebuild Server method, repacking operation system, and update the metadata of physical machine runtime parameter example, according to
Repacking operation system calls Ironic driving to re-start physical machine deployment,
Restarting is completed in physical machine deployment, physical machine restart after by cloud computing management platform openstack
Initial configuration when the achievable os starting of cloud-init, and the script of customized setting password is called, it is customized
The script that password is arranged manages the metadata service acquisition metadata of platform openstack by cloud computing, wherein customized
The IP address 169.254.169.254 (http: // 169.254.169.254/ that the script of password is serviced from metadata is set
Openstack/latest/meta_data.json) entering metadata server, OpenStack continues to use Amazon and is designing,
Metadata is requested to 169.254.169.254 when example starts, the request for obtaining metadata can manage platform by cloud computing
Default gateway be routed to the management platform of the cloud computing on network node where virtual network virtual gateway device on, and pass through
The NAT rule of iptables is redirected to neutron-ns-metadata-proxy service, then via neutron-
Metadata-agent is finally returned to the virtual machine of cloud computing management platform by the metadata service provided in nova-api, and
And when calling the repacking operation systems approach of nova, admin_pass in settable metadata saves user's input
Password,
Physics secret code is set further according to metadata after the script acquisition metadata of customized setting password, calls cloud computing
The setting crypto module for managing platform cloud-init updates the password of administrator, completes the mistake for updating modification physical machine password
Journey.
The present invention is suitable for the Pike version of Openstack, automatic that physical machine administrator's password is arranged.
Embodiment described above is only to absolutely prove preferred embodiment that is of the invention and being lifted, protection model of the invention
It encloses without being limited thereto.Those skilled in the art's made equivalent substitute or transformation on the basis of the present invention, in the present invention
Protection scope within.Protection scope of the present invention is subject to claims.
Claims (10)
1. a kind of physical machine cipher set-up method based on Openstack, it is characterized in that the cloud computing management based on Openstack
Platform receives operating system mirror image and password that physical machine user provides, calls nova reloading method repacking operation system, and more
The metadata of new physics machine runtime parameter example calls Ironic driving to re-start physical machine portion according to repacking operation system
Administration, the script of the customized setting password of starting cloud computing management platform, obtains updated metadata, root after physical machine is restarted
Physics secret code is set according to metadata, cloud computing management platform is called to update modification physical machine password.
2. according to the method described in claim 1, it is characterized in that cloud computing, which manages platform, carries out password to the password that user provides
Complexity verification then calls nova reloading method repacking operation system by the verification of password complexity, otherwise needs user again
Password is provided.
3. method according to claim 1 or 2, it is characterized in that cloud computing management platform calls the nova group of openstack
Rebuild Server method in part, repacking operation system update the metadata of physical machine runtime parameter example.
4. according to the method described in claim 3, it is characterized in that physical machine restart after by cloud computing manage platform openstack
Cloud-init call the script of customized setting password to obtain updated metadata, physics secret is arranged according to metadata
Code updates modification physical machine password by cloud-init.
5. according to the method described in claim 4, it is characterized in that the script of customized setting password manages platform by cloud computing
The metadata service acquisition metadata of openstack, the physical machine password of setting.
6. system is arranged in a kind of physical machine password based on Openstack, it is characterized in that including the cloud computing based on Openstack
Platform and physical machine are managed,
Wherein cloud computing management platform receives operating system mirror image and password that physical machine user provides, calls nova reloading method
Repacking operation system, and the metadata of physical machine runtime parameter example is updated, call Ironic to drive according to repacking operation system
Dynamic to re-start physical machine deployment, the script of the customized setting password of starting cloud computing management platform, is obtained after physical machine is restarted
Updated metadata is taken, physics secret code is arranged according to metadata, cloud computing management platform is called to update modification physics secret
Code.
7. system according to claim 6, it is characterized in that cloud computing, which manages platform, carries out password to the password that user provides
Complexity verification then calls nova reloading method repacking operation system by the verification of password complexity, otherwise needs user again
Password is provided.
8. system according to claim 6 or 7, it is characterized in that cloud computing management platform calls the nova group of openstack
Rebuild Server method in part, repacking operation system update the metadata of physical machine runtime parameter example.
9. system according to claim 8, it is characterized in that physical machine by cloud computing manages platform openstack after restarting
Cloud-init call the script of customized setting password to obtain updated metadata, physics secret is arranged according to metadata
Code updates modification physical machine password by cloud-init.
10. system according to claim 9, it is characterized in that the script of customized setting password manages platform by cloud computing
The metadata service acquisition metadata of openstack, the physical machine password of setting.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910220244.3A CN109871680A (en) | 2019-03-22 | 2019-03-22 | A kind of physical machine cipher set-up method based on Openstack |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910220244.3A CN109871680A (en) | 2019-03-22 | 2019-03-22 | A kind of physical machine cipher set-up method based on Openstack |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109871680A true CN109871680A (en) | 2019-06-11 |
Family
ID=66920985
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910220244.3A Pending CN109871680A (en) | 2019-03-22 | 2019-03-22 | A kind of physical machine cipher set-up method based on Openstack |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109871680A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111858037A (en) * | 2020-06-30 | 2020-10-30 | 苏州浪潮智能科技有限公司 | Service arranging method, device, equipment and storage medium of physical machine |
CN113312149A (en) * | 2021-06-18 | 2021-08-27 | 浪潮云信息技术股份公司 | Password resetting method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105701414A (en) * | 2015-12-31 | 2016-06-22 | 北京金山安全软件有限公司 | Method and device for multiplexing electronic equipment based on multiple accounts and electronic equipment |
US20180183762A1 (en) * | 2016-12-22 | 2018-06-28 | Vmware, Inc. | Secure execution and tracking of workflows in a private data center by components in the cloud |
CN108833335A (en) * | 2018-04-16 | 2018-11-16 | 中山大学 | A kind of network security function service catenary system based on cloud computing management platform Openstack |
CN108984272A (en) * | 2018-07-23 | 2018-12-11 | 郑州云海信息技术有限公司 | The control method and device of OpenStack cloud computing management platform |
-
2019
- 2019-03-22 CN CN201910220244.3A patent/CN109871680A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105701414A (en) * | 2015-12-31 | 2016-06-22 | 北京金山安全软件有限公司 | Method and device for multiplexing electronic equipment based on multiple accounts and electronic equipment |
US20180183762A1 (en) * | 2016-12-22 | 2018-06-28 | Vmware, Inc. | Secure execution and tracking of workflows in a private data center by components in the cloud |
CN108833335A (en) * | 2018-04-16 | 2018-11-16 | 中山大学 | A kind of network security function service catenary system based on cloud computing management platform Openstack |
CN108984272A (en) * | 2018-07-23 | 2018-12-11 | 郑州云海信息技术有限公司 | The control method and device of OpenStack cloud computing management platform |
Non-Patent Citations (1)
Title |
---|
张园: "一种基于工作流的云系统自动化部署架构", 《电信科学》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111858037A (en) * | 2020-06-30 | 2020-10-30 | 苏州浪潮智能科技有限公司 | Service arranging method, device, equipment and storage medium of physical machine |
WO2022001135A1 (en) * | 2020-06-30 | 2022-01-06 | 苏州浪潮智能科技有限公司 | Service orchestration method, apparatus and device for physical machine, and storage medium |
CN111858037B (en) * | 2020-06-30 | 2023-07-14 | 苏州浪潮智能科技有限公司 | Service arrangement method, device and equipment of physical machine and storage medium |
US11861428B2 (en) | 2020-06-30 | 2024-01-02 | Inspur Suzhou Intelligent Technology Co., Ltd. | Service orchestration method, apparatus and device for physical machine, and storage medium |
CN113312149A (en) * | 2021-06-18 | 2021-08-27 | 浪潮云信息技术股份公司 | Password resetting method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10740090B2 (en) | Efficient application patching in heterogeneous computing environments | |
JP6971341B2 (en) | Allocation of compute resources Policy-based allocation | |
JP7203096B2 (en) | Real-time debugging of instances on deployed container platforms | |
CN109478266B (en) | Resource allocation for database provisioning | |
EP3511821A1 (en) | Method and system for managing access to artifacts in a cloud computing environment | |
CN103443783B (en) | For having the device and method of the supply based on state of the local client computer of embedded image based on Windows | |
WO2017088388A1 (en) | Method and system for upgrading sdk of application | |
US9021005B2 (en) | System and method to provide remote device management for mobile virtualized platforms | |
JP2020536312A (en) | Utilization of microservices containers to provide tenant isolation in multi-tenant API gateways | |
CN108604186B (en) | Method and apparatus for creating and managing a controller-based remote solution | |
CN106878334A (en) | The automatically dispose system and method for cloud | |
CN108984272A (en) | The control method and device of OpenStack cloud computing management platform | |
WO2016048415A1 (en) | Unified provisioning of applications on devices in an enterprise system | |
US11363117B2 (en) | Software-specific auto scaling | |
CN111865629B (en) | Method, apparatus and computer program product for configuring service instances | |
CN104113430A (en) | Cloud computing data center automatic deployment software framework design | |
CN109871680A (en) | A kind of physical machine cipher set-up method based on Openstack | |
CN106487815A (en) | A kind of container operation safety verification processing method based on white list and system | |
US11822932B2 (en) | Provisioning services (PVS) cloud streaming with read cache | |
JP7174107B2 (en) | Scheduling method, device, facility, storage facility, and program | |
US10628148B1 (en) | Resource deployment for inter-platform application manager | |
US9898488B2 (en) | Preserving deprecated database columns | |
CN108848155A (en) | A kind of method and apparatus for the function controlling physical machine | |
JP6562744B2 (en) | System and control method | |
CN107844302B (en) | Production environment simulation system based on virtual machine |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190611 |