CN115756729A - Deployment method, device, equipment and storage medium - Google Patents

Deployment method, device, equipment and storage medium Download PDF

Info

Publication number
CN115756729A
CN115756729A CN202211384041.6A CN202211384041A CN115756729A CN 115756729 A CN115756729 A CN 115756729A CN 202211384041 A CN202211384041 A CN 202211384041A CN 115756729 A CN115756729 A CN 115756729A
Authority
CN
China
Prior art keywords
server
cluster
network
vmm
management
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
CN202211384041.6A
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.)
Shanghai Pudong Development Bank Co Ltd
Original Assignee
Shanghai Pudong Development Bank 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 Shanghai Pudong Development Bank Co Ltd filed Critical Shanghai Pudong Development Bank Co Ltd
Priority to CN202211384041.6A priority Critical patent/CN115756729A/en
Publication of CN115756729A publication Critical patent/CN115756729A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a deployment method, a deployment device, deployment equipment and a storage medium. The method comprises the following steps: the MDT server acquires domain control server information, management server information, network server information, storage server information and calculation server information; the MDT server deploys the domain control server, the management server, the network server, the storage server and the calculation server according to the domain control server information, the management server information, the network server information, the storage server information and the calculation server information; the MDT server establishes a management cluster to which the management server belongs, and establishes the VMM server on the management cluster, so that the VMM server establishes a network cluster to which the network server belongs, a storage cluster to which the storage server belongs and a computing cluster to which the computing server belongs.

Description

Deployment method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a deployment method, a deployment device, deployment equipment and a storage medium.
Background
The SDDC (Software defined data center) virtualizes and softwarzes all traditional, physical and hardware resources of the data center. Data centers are globally coordinated networks of devices that are used to expedite the transfer of information over the Internet network infrastructure.
The existing deployment and expansion technical scheme is based on the combination of a UI interface and a Powershell script, and due to the unique technical complexity of the Microsoft SDDC environment, the deployment operation is complex, and a large amount of preparation work needs manual confirmation.
Disclosure of Invention
The embodiment of the invention provides a deployment method, a deployment device, deployment equipment and a storage medium, and solves the problems that deployment operation is complicated and a large amount of preparation work needs manual confirmation due to the unique technical complexity of a Microsoft SDDC environment.
According to an aspect of the present invention, there is provided a method of deployment, the method comprising:
the MDT server acquires domain control server information, management server information, network server information, storage server information and calculation server information;
the MDT server deploys the domain control server, the management server, the network server, the storage server and the calculation server according to the domain control server information, the management server information, the network server information, the storage server information and the calculation server information;
the MDT server creates a management cluster to which the management server belongs, and establishes a VMM server on the management cluster, so that the VMM server creates a network cluster to which the network server belongs, a storage cluster to which the storage server belongs, and a computing cluster to which the computing server belongs.
According to another aspect of the present invention, there is provided a deployment apparatus configured in an MDT server, the deployment apparatus including:
the acquisition module is used for acquiring domain control server information, management server information, network server information, storage server information and calculation server information;
the deployment module is used for deploying the domain control server, the management server, the deployment network server, the storage server and the calculation server according to the domain control server information, the management server information, the network server information, the storage server information and the calculation server information;
and the creating module is used for creating a management cluster to which the management server belongs and establishing a VMM (virtual machine monitor) server on the management cluster so that the VMM server creates a network cluster to which the network server belongs, a storage cluster to which the storage server belongs and a computing cluster to which the computing server belongs.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the deployment method of any of the embodiments of the invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement a deployment method according to any one of the embodiments of the present invention when the computer instructions are executed.
The embodiment of the invention obtains domain control server information, management server information, network server information, storage server information and calculation server information through an MDT server; the MDT server deploys the domain control server, the management server, the network server, the storage server and the calculation server according to the domain control server information, the management server information, the network server information, the storage server information and the calculation server information; the MDT server creates a management cluster to which the management server belongs, and establishes the VMM server on the management cluster, so that the VMM server creates a network cluster to which the network server belongs, a storage cluster to which the storage server belongs and a computing cluster to which the computing server belongs, the problems that deployment operation is complicated due to unique technical complexity of the Microsoft SDDC environment, a large amount of preparation work needs manual confirmation are solved, deployment difficulty can be reduced, labor cost is reduced, and automatic deployment is achieved.
It should be understood that the statements in this section are not intended to identify key or critical features of the embodiments of the present invention, nor are they intended to limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a flow chart of a method of deployment in accordance with one embodiment of the present invention;
FIG. 2 is a diagram illustrating a bare metal push in a process of deploying a server according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating the deployment of a VMM server in the process of deploying the server according to one embodiment of the present invention;
FIG. 4 is a diagram illustrating a software-defined networking cluster deployment in a server deployment process according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a storage cluster deployment in a process of deploying a server according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating a deployment of a computing cluster during server deployment according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating the deployment of an SDDC monitoring component in the process of deploying a server according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a deployment apparatus according to a second embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device in a third embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Fig. 1 is a flowchart of a deployment method in one embodiment of the present invention, where the embodiment is applicable to the case of automated deployment based on microsoft SDDC environment, and the method may be executed by a deployment apparatus in an embodiment of the present invention, where the deployment apparatus may be implemented in a software and/or hardware manner, as shown in fig. 1, and the method specifically includes the following steps:
s110, the MDT server acquires domain control server information, management server information, network server information, storage server information and calculation server information.
The SDDC comprises all components, namely an AD (Active direct) server, a management cluster, an SDN (Software Defined network) cluster, a computing cluster and a storage cluster, which are mainly deployed by a graphical interface and an independent script. Because the cabinet position, server role and number, object name, network IP, etc. of each AZ (Available zone) are different, various deployment operations need to be adaptively adjusted and modified according to the AZ conditions, and the overall deployment efficiency and the normalization degree are low. In order to improve deployment efficiency and achieve AZ deployment standardization and automation, an MDT (Microsoft deployment tool) server may be used to perform flow layout, thereby achieving automated one-click deployment.
Specifically, the manner of acquiring the domain control server information, the management server information, the network server information, the storage server information, and the calculation server information by the MDT server may be: at the beginning of the deployment of the MDT server, various server information needs to be acquired and imported, that is, the MDT server acquires domain control (AD) server information, management (MGMT) server information, software Defined Network (SDN) server information, storage server information, and calculation server information, where the Network server information refers to Software Defined Network server information.
And S120, the MDT server deploys the domain control server, the management server, the network server, the storage server and the calculation server according to the domain control server information, the management server information, the network server information, the storage server information and the calculation server information.
Specifically, the manner in which the MDT server deploys the domain control server, the management server, the network server, the storage server, and the computation server according to the domain control server information, the management server information, the network server information, the storage server information, and the computation server information may be: and acquiring and importing domain control server information, management server information, network server information, storage server information and calculation server information, and deploying the domain control server, the management server, the network server, the storage server and the calculation server in sequence by the MDT server according to the information.
S130, the MDT server creates a management cluster to which the management server belongs, and establishes a VMM server on the management cluster, so that the VMM server creates a network cluster to which the network server belongs, a storage cluster to which the storage server belongs, and a computing cluster to which the computing server belongs.
The MDT server creates a management cluster to which the management server belongs, so as to create a VMM (Virtual machine management) server on the basis of the management cluster.
Specifically, the way for the MDT server to create the management cluster to which the management server belongs and establish the VMM server on the management cluster, so that the VMM server creates the network cluster to which the network server belongs, the storage cluster to which the storage server belongs, and the computing cluster to which the computing server belongs may be: after the disks are cleaned, a management cluster to which the management server belongs is created, an SQL server is deployed, a VMM server is deployed, after the VMM server is established, the subsequent deployment process is transferred to be operated and controlled on the VMM server, and a network cluster to which the network server belongs, a storage cluster to which the storage server belongs and a computing cluster to which the computing server belongs are created.
Optionally, after the MDT server creates the management cluster to which the management server belongs, the method further includes:
the MDT server sets a fault-tolerant domain, a heartbeat, a shared volume and a network type of the management cluster;
the MDT server disables automatic load balancing of the management cluster.
It should be noted that when the MDT server creates the management cluster to which the management server belongs, the disk needs to be cleaned first, and if the MDT server is a new computer, the disk does not need to be cleaned, and if the MDT server is an already used computer, the disk needs to be cleaned.
Wherein the shared volume includes a Library shared volume and an MGMT shared volume.
Specifically, the MDT server sets the fault-tolerant domain, the heartbeat, the shared volume, and the network type of the management cluster, and the way in which the MDT server disables the automatic load balancing of the management cluster may be: the method comprises the steps of carrying out systematic verification on environment and configuration, carrying out related configuration on an AD (AD-hoc) server, cleaning a disk, creating a management cluster, setting a fault-tolerant domain, a heartbeat, a Library shared volume, an MGMT shared volume and a cluster network type of the created management cluster by the MDT server, and forbidding automatic load balancing of the cluster. Besides the MDT server setting the fault-tolerant domain, heartbeat, shared volume, and network type of the management cluster and the MDT server disabling the automatic load balancing of the management cluster, it is also necessary to start a Storage Space Direct (S2D), create a file service role, and share a file directory.
Optionally, establishing a VMM server on the management cluster, including:
the MDT server creates a virtual machine of the management cluster;
the MDT server deploys an SQL server on the virtual machines of the management cluster based on the SQL configuration file;
the MDT server deploys at least two VMM servers on the virtual machines of the management server based on the VMM configuration file.
Specifically, the way for the MDT server to create the virtual machine of the management cluster may be: the method comprises the steps of enabling to realize cross-layer remote access server Credential SSP, and disabling the Credential SSP for safety consideration after a virtual machine and a cluster role are created.
Specifically, the way for the MDT server to deploy the SQL server on the virtual machine of the management cluster based on the SQL configuration file may be: and performing systematic verification of environment and configuration, creating a virtual machine of a management cluster and a virtual machine cluster by the MDT server, acquiring an SQL configuration file, and deploying the SQL server based on the SQL configuration file. The SQL server is deployed for storing data of the VMM server, and therefore the SQL server needs to be deployed first and then the VMM server needs to be deployed.
Specifically, the manner in which the MDT server deploys at least two VMM servers on the virtual machines of the management server based on the VMM configuration file may be: after the SQL server is deployed, VMM installation preparation is well made, a VMM configuration file is generated, and at least two VMM servers are deployed based on the VMM configuration file.
It should be noted that the MDT deployment progress needs to be tracked all the way through the MDT deployment process.
Optionally, the method further includes:
the MDT service sets the operation mode account number, the host group, the port information, the virtual network adapter port definition, the logic network address pool, the managed network server, the managed storage server, the managed computing server, the uplink port definition, the physical network card, the virtual network card and the logic switch of each VMM server.
The port information is port classification information, the managed network server is a managed SDN server, the managed Storage server is a managed Storage server, and the managed computing server is a managed computer server.
Optionally, after the VMM server creates the network cluster to which the network server belongs, the method further includes:
the VMM server sets the fault-tolerant domain, the heartbeat, the shared volume and the network type of the network cluster;
the VMM server disables automatic load balancing for the network cluster.
It should be noted that after the VMM server is established, the subsequent deployment process is transferred to run and control on the VMM server, and the VMM basic network environment, the network virtualization component, the network cluster, the computing cluster, the storage cluster, and the like are sequentially established, and after the VMM server establishes the network cluster, the computing cluster, and the storage cluster, the fault-tolerant domain, the heartbeat, the shared volume, the network type, and other parameters of the cluster need to be set, and the automatic load balancing of the cluster is disabled.
Optionally, the method further includes:
if the disk parameters meet preset conditions, the VMM server creates a virtual machine of the network cluster;
the VMM server deploys an NC server on the virtual machines of the network cluster according to an NC service template;
the VMM server starts the NC server;
the VMM server creates a logic network, a network definition and a network address pool of the NC server;
the VMM server deploys a MUX server on the virtual machines of the network cluster according to the MUX service template;
the VMM server starts the MUX server;
the VMM server deploys a GW server on a virtual machine of the network cluster according to a GW service template;
the VMM server starts the GW server.
The preset condition is that the amount of memory required for creating the cluster is reserved in the disk. The VMM server includes, in creating a Network cluster and deploying a Network service, installing Feature, creating a cluster, deploying an NC (Network Controller component) server, deploying an SLB MUX (Software load balancer component) server, deploying a GW (GateWay component) server, and the like.
Optionally, after the VMM server creates the storage cluster to which the storage server belongs, the method further includes:
the VMM server sets the fault-tolerant domain, the heartbeat, the shared volume and the network type of the storage cluster;
the VMM server disables automatic load balancing for the storage cluster.
It should be noted that after the VMM server sets the fault-tolerant domain, the heartbeat, the shared volume, and the network type of the storage cluster and disables the automatic load balancing of the storage cluster, it is also necessary to create an extended file server for capacity expansion, and at the same time, create storage classifications, add storage devices, set storage devices, create file shares, and share storage authorization.
Optionally, after the VMM server creates the computing cluster to which the computing server belongs, the method further includes:
the VMM server sets the fault-tolerant domain, the heartbeat, the shared volume and the network type of the computing cluster;
the VMM server disables automatic load balancing for the metering cluster.
It should be noted that after deployment is completed, a single module may be used for verification, including network card configuration such as MTU, RDMA, QOS, SMB binding, and the like, ncagent and slb agent of SDN, and fault domain of a storage cluster, and the like, and whether there is any acceptance item that has not been configured correctly is displayed by one key.
In a specific example, the MDT server establishes an AZ (Available zone) domain control server according to domain control server information, deploys a management server according to the management server information, establishes a management cluster to which the management server belongs, and establishes a required basic Virtual machine on the management cluster, including a database and a VMM (Virtual machine management) server. The related flow chart and the detailed steps are as follows:
fig. 2 is a schematic diagram related to bare metal pushing in a process of deploying a server according to an embodiment of the present invention, as shown in fig. 2, the detailed steps are as follows:
Start-A0_ADBareMetal
Start-BareMetaActions _ ImportBMCInfo-get and import Domain control Server information, management Server information, web Server information, storage Server information, and compute Server information
Start-BareMetaActions _ DeployADHost-deploy AD (Domain control) Server
Start-A1_MGMTBareMetal
Start-BareMetaActions _ DeployMGMTHost-deploy MGMT (management) Server
Start-A2_SDNBareMetal
Start-BareMetaActions _ DeploySDNHOSt-deployment SDN (software defined network)
Server
Start-A3_StorageBareMetal
Start-BareMetaActions _ DeployStoragHost-deploy Storage Server
Start-A4_ComputerBareMetal
Start-BareMetaActions _ DeployComputeHost-deployment computer Server
Fig. 3 is a schematic diagram of VMM server deployment in a process of deploying a server according to an embodiment of the present invention, and as shown in fig. 3, specific detailed steps are as follows:
Start-B0_ ModulePrecheck-check-before deployment
Start-B1_ AD-AD Server related configuration
Start-B2_ MGMTClaster (Detachable as the following steps.)
Start-OsActions _ Cleardisks-clean disks
Start-B02_ u Cluster Actions _CreateCluster-creation of Management Cluster
Start-ClusterActions _ CreateFaltDomain-creation of Fault tolerant Domain
Start-Cluster NetworkActions-Cluster HeartBando Qos-setting Cluster heartbeats
Start-B02_05 disabled Cluster Balancer-disabled Cluster automatic load Balancing
Start-B02_06 _SetClusterNetworkType-set Cluster network type
Start-S2dActions _ Enable S2D-Start S2D (Storage Space Direct)
Start-B02_08 CreateVvolumes-creating a Library shared volume
Start-B02_09 CreateMegVolumes-Create MGMT shared volume
Start-B02_10 _AddFileServiceRole-Create File service role
Start-B02_11 _AddShareFiles-creating a shared File directory
Start-B3_ CA (name of cloud management portal server, detachable steps)
Start-B3_ Enable WSManCredSSP-Enable creditial SSP (Cross-tier remote Access Server can be implemented, the same applies to the following actions)
Start-HostActions _ CreateVM-Create virtual machine
Start-HostActions _ AddVMCluster Role-Create virtual machine Cluster role
Start-B3_ DisableWSManCredSSP-Disable Credential SSP (for security reasons, create completion to shut down this function, the same applies to this action below)
Start-HostActions _ StartCluster VM-Start Cluster virtual machine (since the default is off after the virtual machine creation is completed)
Start-B3_ CheckMDTDepolyoProcess-tracking MDT deployment progress Start-B4_ VMM & SQLSetup
Start-B0_ ModulePrecheck-before deployment
Start-B4_ EnableWSManCredSSP-EnableCredental SSP
Start-HostActions _ CreateVM-Create virtual machine
Start-HostActions _ AddVMCluster Role-Add virtual machine Cluster role
Start-B4_ DisableWSManCredSSP-Disable creditial SSP
Start-HostActions _ StartClusterVM-Start Cluster virtual machine
Start-B4_ CheckMDTDepoyProcess-check deployment flow
Start-HostActions _ CreateVMCluster-Create virtual machine Cluster
Start-B4_ GeneratesqlConfigureFile-get SQL configuration File
Start-B4_ InstallSqlServer — install SQL Server
Start-B4_ EnableWSManCredSSP-Start Credental SSP
Start-HostActions _ CreateVM-Create virtual machine
Start-HostActions _ AddVMClusterRole-Add virtual Cluster role
Start-B4_ DisableWSManCredSSP-close Credential SSP
Start-HostActions _ StartClusterVM-Start Cluster virtual machine
Start-B4_ CheckMDTDepoyProcess-track MDT deployment progress
Start-HostActions _ CreateVMCluster-Create virtual machine Cluster
Start-B4_ InstallPrerequisiteForSCVMM-VMM install prepare
Start-B4_ GeneratesCVMMConfigureFile-generating a VMM Profile
Start-B4_ InstallSCVMM-install VMM node 1 (deploying at least two VMM servers)
Start-B4_ InstallSCVMM-installation VMM node 2Start-B5_ MGMTSetupInVMM
Start-B5_01 CreateRunAsAccounts-Create run mode Account
Start-B5_02 CreateParentHostgroups-creation of the Upper host group
Start-B5_03 _CreatePortClassification-CreatePort Classification-Create Port Classification
Start-B5_04 _CreateVNAdaptNativePortProfile-Create virtual network adapter Port definition
Start-B5_05 CreateMegmStoragLogicalNet-creation of MGMT and SMB logical network
Start-HostActions _ CreateHostgroup-CreateHostGroup-CreateMGMT host group
Start-HostActions _ CreateHostgroup-Create SDN host group
Start-VmmActions _ CreateLogicalNetworkDefinition-creation of logical network definitions
Start-VmmActions _ AllocateLogicalNetworkIPPool-Create logical network Address pool
Start-VmmActions _ CreateUpLinkProfile-Create Up Port definition
Start-VmmActions _ CreateLogicalSwitch-CreateLogicallogical switch
Start-B5_12 _MgmtHostAddToVMM-Nami MGMT cluster Start-B6_ DeployWDS & DHCPServices-deployment WDS & DHCP service Start-B7_ ModulePost-check completed-deployment acceptance
After the VMM is established, a VMM basic network environment, a network virtualization component, an SDN cluster, a computing and storing cluster and the like are sequentially established on a VMM server. Fig. 4 is a schematic diagram of a software-defined network cluster deployment in a process of deploying a server according to an embodiment of the present invention, and as shown in fig. 4, specific detailed steps are as follows:
Start-C0_ ModulePrecheck-check-before deployment
Start-C1_PushSDNHostOS
Start-HostActions _ HostAddToVMM-nanotube SDN Server
Start-VmmActions _ CreateUpLinkProfile-Create Up Port definition
Start-VmmActions _ CreateLogicalSwitch-CreateLogicallogical switch
Start-HostActions _ SetPhysicalNetworkAdap-setting physical network card
Start-VmmActions _ DeployLogicalSwitch-deployment logical switch
Start-HostActions _ SetVirtualNetworkAdap-setup virtual network adapter
Start-C2_SDNCluster
Start-OsActions _ Cleardisks-clear disks
Start-OsActions _ InstallCluster Feature-install Windows Feature
Start-Cluster Actions _ CreateCluster-CreateCluster creation
Start-ClusterActions _ CreateFaltDomain-creation of Fault tolerant Domain
Start-Cluster NetworkActions-Cluster HeartBando Qos-setting Cluster heartbeats
Start-Cluster NetworkActions _ DisableCluster Balancer-Disable Cluster automatic load balancing
Start-Cluster NetworkActions _ SetCluster NetworkType-setting Cluster network
Start-S2dActions _ EnablS 2D-Enabled S2D
Start-C02_09 CreateVvolumes-creating shared volumes
Start-C3_ NC (network controller component name)
Start-C03_01 \CheckParameters parameter examination
Start-C03_02 \ ImporServiceTemplate-import service template
Start-C03_ ConfigureAndDeployService-configuration deployment NC
Start-C03_04 _OnBoardDowncontroller-Start NC
Start-C03_05 _CreateLogicalnetworks-creation of logical network
Start-C03_06 _CreatesDNLogicalNetworkDefinition-creation of logical network definition
Start-C03_ 07. CreatesDNLogicalNetworkIPPool-creating a pool of logical network addresses
Start-C4_ VMMSDNSetup, networks (deploying software-defined related networks in VMM)
Start-C5_ MUX (load balancer component name)
Start-C04_01 \CheckParameters-parameters inspection
Start-C04_02 \ ImporServiceTemplate-import service template
Start-C04_03_ ConfigureAndDeployService-configuration deployment MUX
Start-C04_04 _OnBoardSLB-Start MUX
Start-C6_ GW (gateway component name)
Start-C05_01 \CheckParameters-parameters inspection
Start-C05_02 \ ImporServiceTemplate-import service template
Start-C05_03_ ConfigureAndDeployService-configuration deployment GW
Start-C05_04 u OnBoardGW-Start GW
Acceptance of Start-C7_ ModulePost-check-deployment completion
Fig. 5 is a schematic diagram of storage cluster deployment in a process of deploying a server according to an embodiment of the present invention, and as shown in fig. 5, specific detailed steps are as follows:
Start-D0_ ModulePrecheck-check before deployment
Start-D1_PushStorageHostOS
Start-HostActions _ HostAddToVMM-nanotube Storage Server
Start-VmmActions _ CreateLogicalNetworkDefinition-creation of logical network
Start-D1_02 \ u AllocateLogicalNetworkIPPool-Create IP pool
Start-VmmActions _ CreateUpLinkProfile-Create switch Port Profile
Start-VmmActions _ CreateLogicalSwitch-CreateLogicallogical switch
Start-HostActions _ SetPhysicalNetworkAdap-setting network card
Start-VmmActions _ DeployLogicalSwitch-deploying logical switch
Start-HostActions _ SetVirtualNetworkAdap-virtual network card setting Start-D2_ StorageCluster
Start-OsActions _ Cleardisks-clean disks
Start-D2_01 _InstallStoragClusterFeture-install storage Cluster feature
Start-D2_02 CreateCluster-CreateCluster
Start-OsActions _ InstallClusterfeature-install Windows Feature
Start-D2_03 CreateFaultDomain-Create Fault Domain (FailDomain)
Start-Cluster NetworkActions-Cluster HeartHeatBeatQos-setting Cluster Heart beat
Start-Cluster NetworkActions _ DisableCluster Balancer-Disable Cluster load Balancing
Start-Cluster NetworkActions _ SetCluster NetworkType-setting Cluster network type
Start-D3_SOFS
Start-D3_02 _S2D-Enable S2D
Start-D3_03 _CreateClustScaleOutFileServerRole-Create extended File Server
Start-D03_ CreateStoragClassification-creation of storage Classification
Start-D03_04 _AddStoragDevice-Add storage device
Start-D03_05 _SetStorageDevice-setup storage device
Start-D03_06 _CreateFileShare-Create File sharing
Start-D03_07_ u GrantSharePermission-shared storage authorization
Start-D4_ ModulePost-check-deployment completion acceptance
Fig. 6 is a schematic diagram related to computing cluster deployment in a process of deploying a server according to an embodiment of the present invention, and as shown in fig. 6, specific detailed steps include:
Start-E0_ ModulePrecheck-check-before deployment
Start-E1_PushComputeHostOS
Start-HostActions _ HostAddToVMM-NameCompute Server
Start-VmmActions _ CreateLogicalNetworkDefinition-creation of logical network definitions
Start-VmmActions _ AllocateLogicalNetworkIPPool-Create logical network Address pool
Start-VmmActions _ CreateUpLinkProfile-Create Up Port definition
Start-VmmActions _ CreateLogicalSwitch-CreateLogicallogical switch
Start-HostActions _ SetPhysicalNetworkAdap-setting physical network card
Start-VmmActions _ DeployLogicalSwitch-push virtual switch
Start-HostActions _ SetVirtualNetworkAdap-setting virtual network card
Start-E2_ComputeCluster
Start-OsActions _ InstallClusterfeature-install Windows Feature
Start-Cluster Actions _ CreateCluster-CreateCluster creation
Start-ClusterActions _ CreateFaltDomain-creation of Fault tolerant Domain
Start-Cluster NetworkActions-Cluster HeartBando Qos-setting Cluster heartbeats
Start-Cluster NetworkActions _ DisableCluster Balancer-Disable Cluster automatic load balancing
Start-Cluster NetworkActions _ SetCluster NetworkType-setting Cluster network type
Start-E3_VMMStor-compSetup
Start-E03_01 _AddComputerFileShare-register store
Acceptance of Start-E4_ ModulePost-check-deployment completion
Fig. 7 is a schematic diagram related to the deployment of an SDDC monitoring component in the process of deploying a server according to an embodiment of the present invention, and as shown in fig. 7, specific detailed steps are as follows:
Start-F0_ ModulePrecheck-check-before deployment and installation
Start-F1_ SCOMinstall-install SDDC monitoring component
Acceptance of Start-F2_ ModulePost-check-installation completion
According to the technical scheme of the embodiment, domain control server information, management server information, network server information, storage server information and calculation server information are acquired through an MDT server; the MDT server deploys the domain control server, the management server, the network server, the storage server and the calculation server according to the domain control server information, the management server information, the network server information, the storage server information and the calculation server information; the MDT server creates a management cluster to which the management server belongs, and establishes the VMM server on the management cluster, so that the VMM server creates a network cluster to which the network server belongs, a storage cluster to which the storage server belongs and a computing cluster to which the computing server belongs, the problems that deployment operation is complicated due to unique technical complexity of the Microsoft SDDC environment, a large amount of preparation work needs manual confirmation are solved, deployment difficulty can be reduced, labor cost is reduced, and automatic deployment is achieved.
Example two
Fig. 8 is a schematic structural diagram of a deployment apparatus according to a second embodiment of the present invention. The present embodiment is applicable to the case of automated deployment based on microsoft SDDC environment, and the apparatus may be implemented in software and/or hardware, and the apparatus may be integrated in any device providing deployed functions, as shown in fig. 8, where the deployed apparatus specifically includes: an acquisition module 210, a deployment module 220, and a creation module 230.
The obtaining module 210 is configured to obtain domain control server information, management server information, network server information, storage server information, and computation server information;
a deployment module 220, configured to deploy the domain control server, the management server, the deployment network server, the storage server, and the computation server according to the domain control server information, the management server information, the network server information, the storage server information, and the computation server information;
a creating module 230, configured to create a management cluster to which the management server belongs, and establish a VMM server on the management cluster, so that the VMM server creates a network cluster to which the network server belongs, a storage cluster to which the storage server belongs, and a computing cluster to which the computing server belongs.
Optionally, the method further includes:
the setting module is used for setting the fault-tolerant domain, the heartbeat, the shared volume and the network type of the management cluster by the MDT server;
and the disabling module is used for disabling the automatic load balancing of the management cluster by the MDT server.
Optionally, the creating module is specifically configured to:
the MDT server creates a virtual machine of the management cluster;
the MDT server deploys an SQL server on the virtual machines of the management cluster based on the SQL configuration file;
the MDT server deploys at least two VMM servers on the virtual machines of the management server based on the VMM configuration file.
Optionally, the creating module is further configured to:
the MDT service sets the operation mode account number, the host group, the port information, the virtual network adapter port definition, the logic network address pool, the managed network server, the managed storage server, the managed computing server, the uplink port definition, the physical network card, the virtual network card and the logic switch of each VMM server.
Optionally, the method further includes:
the VMM server sets the fault-tolerant domain, the heartbeat, the shared volume and the network type of the network cluster;
the VMM server disables automatic load balancing for the network cluster.
Optionally, the method further includes:
if the disk parameters meet preset conditions, the VMM server creates a virtual machine of the network cluster;
the VMM server deploys an NC server on the virtual machines of the network cluster according to an NC service template;
the VMM server starts the NC server;
the VMM server creates a logic network, a network definition and a network address pool of the NC server;
the VMM server deploys a MUX server on the virtual machines of the network cluster according to the MUX service template;
the VMM server starts the MUX server;
the VMM server deploys a GW server on a virtual machine of the network cluster according to a GW service template;
the VMM server starts the GW server.
Optionally, the method further includes:
the VMM server sets the fault-tolerant domain, the heartbeat, the shared volume and the network type of the storage cluster;
the VMM server disables automatic load balancing for the storage cluster.
Optionally, the method further includes:
the VMM server sets the fault-tolerant domain, the heartbeat, the shared volume and the network type of the computing cluster;
the VMM server disables automatic load balancing for the metering cluster.
The product can execute the method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
According to the technical scheme of the embodiment, domain control server information, management server information, network server information, storage server information and calculation server information are acquired through an MDT server; the MDT server deploys the domain control server, the management server, the network server, the storage server and the calculation server according to the domain control server information, the management server information, the network server information, the storage server information and the calculation server information; the MDT server creates a management cluster to which the management server belongs, and establishes the VMM server on the management cluster, so that the VMM server creates a network cluster to which the network server belongs, a storage cluster to which the storage server belongs and a computing cluster to which the computing server belongs, the problems that deployment operation is complicated due to unique technical complexity of the Microsoft SDDC environment, a large amount of preparation work needs manual confirmation are solved, deployment difficulty can be reduced, labor cost is reduced, and automatic deployment is achieved.
EXAMPLE III
Fig. 9 is a schematic structural diagram of an electronic device in a third embodiment of the present invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 9, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM12, and the RAM13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
Processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the various methods and processes described above, such as the deployment method.
In some embodiments, the deployment method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM12 and/or the communication unit 19. When the computer program is loaded into RAM13 and executed by processor 11, one or more steps of the deployment method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the deployment method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user may provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired result of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (11)

1. A method of deployment, comprising:
the MDT server acquires domain control server information, management server information, network server information, storage server information and calculation server information;
the MDT server deploys the domain control server, the management server, the network server, the storage server and the calculation server according to the domain control server information, the management server information, the network server information, the storage server information and the calculation server information;
the MDT server creates a management cluster to which the management server belongs, and establishes a VMM server on the management cluster, so that the VMM server creates a network cluster to which the network server belongs, a storage cluster to which the storage server belongs, and a computing cluster to which the computing server belongs.
2. The method of claim 1, wherein after the MDT server creates the management cluster to which the management server belongs, the method further comprises:
the MDT server sets a fault-tolerant domain, a heartbeat, a shared volume and a network type of the management cluster;
the MDT server disables automatic load balancing of the management cluster.
3. The method of claim 2, wherein establishing the VMM server on the management cluster comprises:
the MDT server creates a virtual machine of the management cluster;
the MDT server deploys an SQL server on the virtual machines of the management cluster based on the SQL configuration file;
the MDT server deploys at least two VMM servers on the virtual machines of the management server based on the VMM configuration file.
4. The method of claim 3, further comprising:
the MDT service sets the operation mode account number, the host group, the port information, the virtual network adapter port definition, the logic network address pool, the managed network server, the managed storage server, the managed computing server, the uplink port definition, the physical network card, the virtual network card and the logic switch of each VMM server.
5. The method of claim 4, after the VMM server creates the network cluster to which the network server belongs, further comprising:
the VMM server sets the fault-tolerant domain, the heartbeat, the shared volume and the network type of the network cluster;
the VMM server disables automatic load balancing for the network cluster.
6. The method of claim 5, further comprising:
if the disk parameters meet preset conditions, the VMM server creates a virtual machine of the network cluster;
the VMM server deploys an NC server on the virtual machines of the network cluster according to an NC service template;
the VMM server starts the NC server;
the VMM server creates a logic network, a network definition and a network address pool of the NC server;
the VMM server deploys a MUX server on the virtual machines of the network cluster according to the MUX service template;
the VMM server starts the MUX server;
the VMM server deploys a GW server on a virtual machine of the network cluster according to a GW service template;
the VMM server starts the GW server.
7. The method of claim 6, after the VMM server creates the storage cluster to which the storage server belongs, further comprising:
the VMM server sets the fault-tolerant domain, the heartbeat, the shared volume and the network type of the storage cluster;
the VMM server disables automatic load balancing for the storage cluster.
8. The method of claim 7, after the VMM server creates the computing cluster to which the computing server belongs, further comprising:
the VMM server sets the fault-tolerant domain, the heartbeat, the shared volume and the network type of the computing cluster;
the VMM server disables automatic load balancing for the metering cluster.
9. A deployment apparatus, configured in an MDT server, the deployment apparatus comprising:
the acquisition module is used for acquiring domain control server information, management server information, network server information, storage server information and calculation server information;
the deployment module is used for deploying the domain control server, the management server, the deployment network server, the storage server and the calculation server according to the domain control server information, the management server information, the network server information, the storage server information and the calculation server information;
and the creating module is used for creating a management cluster to which the management server belongs and establishing a VMM (virtual machine monitor) server on the management cluster so that the VMM server creates a network cluster to which the network server belongs, a storage cluster to which the storage server belongs and a computing cluster to which the computing server belongs.
10. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the deployment method of any one of claims 1-8.
11. A computer-readable storage medium storing computer instructions for causing a processor to perform the deployment method of any one of claims 1-8 when executed.
CN202211384041.6A 2022-11-07 2022-11-07 Deployment method, device, equipment and storage medium Pending CN115756729A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211384041.6A CN115756729A (en) 2022-11-07 2022-11-07 Deployment method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211384041.6A CN115756729A (en) 2022-11-07 2022-11-07 Deployment method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115756729A true CN115756729A (en) 2023-03-07

Family

ID=85356889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211384041.6A Pending CN115756729A (en) 2022-11-07 2022-11-07 Deployment method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115756729A (en)

Similar Documents

Publication Publication Date Title
US10198284B2 (en) Ensuring operational integrity and performance of deployed converged infrastructure information handling systems
CN107566165B (en) Method and system for discovering and deploying available resources of power cloud data center
CN112653758B (en) Method, device, equipment and medium for updating edge node
CN105404530B (en) It is a kind of to realize easy deployment and the system and method using private clound
CN104092747B (en) USB dynamic connection methods and device under virtualized environment
CN114650223A (en) Network configuration method and device of Kubernetes cluster and electronic equipment
CN112925811B (en) Method, apparatus, device, storage medium and program product for data processing
CN114598586A (en) Multi-cloud scene computing power gridding method and system
CN113608765A (en) Data processing method, device, equipment and storage medium
CN115373861B (en) GPU resource scheduling method and device, electronic equipment and storage medium
CN114070889B (en) Configuration method, traffic forwarding device, storage medium, and program product
EP4180956A1 (en) Virtual-machine cold migration method and apparatus, electronic device and storage medium
CN115756729A (en) Deployment method, device, equipment and storage medium
CN115599438A (en) Method, device, equipment and medium for constructing application program publishing package
CN110413373A (en) Restoration methods, device, electronic equipment and the storage medium of fault virtual machine
CN116225312A (en) Mirror image cleaning method and device, electronic equipment and storage medium
CN114116288A (en) Fault processing method, device and computer program product
CN113326192A (en) Application testing method, device, equipment and storage medium for mobile terminal
CN109818998B (en) Information synchronization method and device
CN113360689B (en) Image retrieval system, method, related device and computer program product
CN115168050A (en) Control method, device, equipment and storage medium based on distributed monitoring agent
CN116800665A (en) Edge node management method, device, equipment and storage medium
CN115309568A (en) Method, device, equipment and medium for realizing multi-process file sharing
CN115617454A (en) Containerization service deployment method, device, equipment and storage medium
CN115964243A (en) Interface simulation method, device, electronic equipment and storage medium

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