CN111984360A - Method for establishing VMware6.7OS compatibility test environment by using virtual machine - Google Patents
Method for establishing VMware6.7OS compatibility test environment by using virtual machine Download PDFInfo
- Publication number
- CN111984360A CN111984360A CN202010913651.5A CN202010913651A CN111984360A CN 111984360 A CN111984360 A CN 111984360A CN 202010913651 A CN202010913651 A CN 202010913651A CN 111984360 A CN111984360 A CN 111984360A
- Authority
- CN
- China
- Prior art keywords
- server
- virtual machine
- esxi
- test environment
- browser
- 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.)
- Withdrawn
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 48
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000009434 installation Methods 0.000 claims description 29
- 238000004590 computer program Methods 0.000 claims description 5
- 238000011900 installation process Methods 0.000 claims description 4
- 230000005012 migration Effects 0.000 claims description 4
- 238000013508 migration Methods 0.000 claims description 4
- 230000009286 beneficial effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
- G06F9/452—Remote windowing, e.g. X-Window System, desktop virtualisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45591—Monitoring or debugging support
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45595—Network integration; Enabling network access in virtual machine instances
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Human Computer Interaction (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The invention discloses a method for building a VMware6.7OS compatibility test environment by using a virtual machine, which comprises the following steps: A. the server 1 installs Windows; B. the server 2 installs ESXI; C. the server 3 installs ESXI; D. the server 4 is provided with an ESXI, the invention aims at reducing the number of servers used in the VMware6.7 test process, a test environment is deployed by using a new version of the VCSA 6.7, the VCSA is deployed under a linux system, the server for deploying the network service can be realized by using a virtual machine, so that the virtual machine and the VCSA virtual machine jointly occupy one server, the purpose of reducing the number of the servers is achieved, the test environment has an independent network environment, does not depend on the existing network environment and cannot cause interference to the network environment of a laboratory, after the network environment is configured, the VCSA 6.7 is deployed easily, and the deployment problem caused by version change is avoided.
Description
Technical Field
The invention relates to the technical field of servers, in particular to a method for establishing a VMware6.7OS compatibility test environment by utilizing a virtual machine.
Background
vSphere is a leading virtualization and cloud platform in the industry, the updated VMware vSphere 6.7 can realize simpler and efficient management, has enhanced built-in security, is better compatible with a hardware platform, provides safe, efficient and seamless mixed cloud experience, more customers select to use the VMware vSphere 6.7, and the compatibility test of the I's server on the VMware vSphere 6.7 is imperative.
In the prior art, there is a method for deploying vmware6.0 to maintain a test environment by using vCenter 6.0. The method is used for building a VMware6.7OS compatibility test environment, at least 5 servers are needed, and one server is provided with a windows system for testing by testers; a server installs a windows system for deploying vCenter 6.7; one server is provided with a linux system for deploying DHCP and DNS network services; both servers install EXSI for testing.
Firstly, the prior art is VMware6.0 test environment configuration, and when the test environment configuration is used for VMware6.7 test environment deployment, the method is too old, and part of the deployment steps are not applicable; in addition, according to the method in the prior art, the VMware6.7 under test occupies at least 5 servers, and occupies too much test resources; secondly, in the prior art, the existing network environment is used for building a test environment, but the network environment of a laboratory is a public network environment, is accessed without permission, is easy to cause interference to the network environment, and needs to configure the network environment for actual test.
Disclosure of Invention
The invention aims to provide a method for building a VMware6.7OS compatibility test environment by using a virtual machine, so as to solve the problems in the background technology.
In order to achieve the purpose, the invention provides the following technical scheme: a method for building a VMware6.7OS compatibility test environment by using a virtual machine comprises the following steps:
A. the server 1 installs Windows;
B. the server 2 installs ESXI;
C. the server 3 installs ESXI;
D. the server 4 installs the ESXI.
Preferably, the IP of the server 2 is logged in on the server 1 using a browser; a linux system virtual machine is created on the server 2, the virtual machine is installed, and a DHCP service and a DNS service are configured under the virtual machine.
Preferably, the method further comprises the following steps:
the networks of the server 1, the server 2, the server 3 and the server 4 are connected to the same switch.
Preferably, the method further comprises the following steps:
and (3) installing the VCSA on the server 1, filling the IP of the created linux system in the installation process of the DHCP server IP and the DNS server IP, and after the installation is finished, logging in the IP of the server 2 on the server 1 by using a browser to see that two virtual machines are arranged on the server 2.
Preferably, the step D is followed by the following steps:
the IP of the server 3 and the IP of the server 4 are registered in the server 1 using a browser, and a Windows system and a Linux system are installed in the server 3 and the server 4, respectively.
Preferably, the method further comprises the following steps:
logging in the IP of the server 3 and the IP of the server 4 on the server 1 by using a browser to complete a basic information check test;
logging in the IP of the server 3 and the IP of the server 4 on the server 1 by using a browser, and respectively opening the virtual machines on the server 3 and the server 4 to complete the basic function test;
the IP of the virtual machine VCSA on the server 2 is registered on the server 1 using a browser, and after the registration, the IP of the server 3 and the IP of the server 4 are connected to the page, thereby completing the migration test.
Preferably, the device for establishing the VMware6.7OS compatibility test environment by using the virtual machine comprises a Windows installation unit, a first ESXI installation unit, a second ESXI installation unit, a third ESXI installation unit and a connection unit; wherein, the Windows installation unit is used for installing Windows in the server 1; the first ESXI installation unit is used for installing the ESXI by the server 2; the second ESXI installation unit is used for installing the ESXI by the server 3; the third ESXI installation unit is used for installing the ESXI by the server 4; the connection unit is used for connecting the networks of the server 1, the server 2, the server 3 and the server 4 to the same switch.
Preferably, a computer-readable storage medium is characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, realizes the steps of the method according to any one of the above.
Compared with the prior art, the invention has the beneficial effects that: the invention aims to reduce the number of servers used in the VMware6.7 test process, a test environment is deployed by using a new version of VCSA 6.7, the VCSA is deployed under a linux system, the servers for deploying network services can be realized by using a virtual machine, so that the virtual machine and the VCSA virtual machine jointly occupy one server, the purpose of reducing the number of the servers is achieved, the test environment has an independent network environment, does not depend on the existing network environment, cannot cause interference to the network environment of a laboratory, and after the network environment is configured, the VCSA 6.7 is deployed easily, so that the deployment problem caused by version change is avoided.
Drawings
FIG. 1 is a flow chart of the present invention.
Detailed Description
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.
Referring to fig. 1, the present invention provides a technical solution: a method for building a VMware6.7OS compatibility test environment by using a virtual machine comprises the following steps:
A. the server 1 installs Windows;
B. the server 2 installs ESXI;
C. the server 3 installs ESXI;
D. the server 4 installs the ESXI.
Logging in the IP of the server 2 on the server 1 using a browser; a linux system virtual machine is created on the server 2, the virtual machine is installed, and a DHCP service and a DNS service are configured under the virtual machine.
The invention also comprises the following steps:
the networks of the server 1, the server 2, the server 3 and the server 4 are connected to the same switch.
The invention also comprises the following steps:
and (3) installing the VCSA on the server 1, filling the IP of the created linux system in the installation process of the DHCP server IP and the DNS server IP, and after the installation is finished, logging in the IP of the server 2 on the server 1 by using a browser to see that two virtual machines are arranged on the server 2.
In the invention, the step D is followed by the following steps:
the IP of the server 3 and the IP of the server 4 are registered in the server 1 using a browser, and a Windows system and a Linux system are installed in the server 3 and the server 4, respectively.
In addition, the invention also comprises the following steps:
logging in the IP of the server 3 and the IP of the server 4 on the server 1 by using a browser to complete a basic information check test;
logging in the IP of the server 3 and the IP of the server 4 on the server 1 by using a browser, and respectively opening the virtual machines on the server 3 and the server 4 to complete the basic function test;
the IP of the virtual machine VCSA on the server 2 is registered on the server 1 using a browser, and after the registration, the IP of the server 3 and the IP of the server 4 are connected to the page, thereby completing the migration test.
Example (b):
the server 1 installs Windows 2016 to automatically obtain IP, for example: 100.2.36.1, respectively;
server 2 installs ESXI to automatically obtain IP, example: 100.2.36.2, respectively;
100.2.36.2, logging in the IP of the server 2 on the server 1 by using a browser, creating a Redhat 7.6 system virtual machine on the server 2, completing the installation of the virtual machine, and configuring DHCP service and DNS service under the virtual machine. Assume the virtual machine IP is 192.168.1.1; an assignable IP address range 192.168.1.1 through 192.168.1.30;
and connecting the networks of the server 1, the server 2, the server 3 and the server 4 to the same switch to ensure that the server 1, the server 2, the server 3 and the server 4 can automatically acquire the IP address through a virtual machine Redhat 7.6. Assume that server 1 has an IP of 192.168.1.2; the IP of server 2 is 192.168.1.3;
and (3) installing the VCSA on the server 1, filling the IP of the Redhat 7.6 created in the step (3) with the DHCP server IP and the DNS server IP in 192.168.1.1 in the installation process, and after the installation is finished, logging in the IP of the server 2 on the server 1 by using a browser: 192.168.1.3, it can be seen that there are two virtual machines on server 2. Assume the VCSA system IP is 192.168.1.4;
ESXI is installed in the server 3 and the server 4, IP of the server 3 and the server 4 is registered in the server 1 by using a browser, and a Windows system and a Linux system are installed in the server 3 and the server 4. Assume that the IP of server 3 is 192.168.1.5; the IP of the server 4 is 192.168.1.6;
the server 1 logs in the IP of the server 3, 192.168.1.5 and the IP of the server 4 using the browser: 192.168.1.6, completing the basic information checking test;
the server 1 logs in the IP of the server 3, 192.168.1.5 and the IP of the server 4 using the browser: 192.168.1.6, respectively opening the virtual machines on the server 3 and the server 4 to complete the basic function test;
IP of virtual machine VCSA on server 2 is logged on server 1 using a browser: 192.168.1.4, and after logging in, connecting the IP of server 3: 192.168.1.5 and the IP of server 4: 192.168.1.6, the migration test is completed.
The invention also discloses a device for building the VMware6.7OS compatibility test environment by using the virtual machine, which comprises a Windows installation unit, a first ESXI installation unit, a second ESXI installation unit, a third ESXI installation unit and a connection unit; wherein, the Windows installation unit is used for installing Windows in the server 1; the first ESXI installation unit is used for installing the ESXI by the server 2; the second ESXI installation unit is used for installing the ESXI by the server 3; the third ESXI installation unit is used for installing the ESXI by the server 4; the connection unit is used for connecting the networks of the server 1, the server 2, the server 3 and the server 4 to the same switch.
Furthermore, the invention discloses a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of any of the above.
In summary, the present invention aims to reduce the number of servers used in the VMware6.7 test process, and a test environment is deployed by using a new version of the VCSA 6.7, because the VCSA is deployed in the linux system, the server for deploying network services can be implemented by using a virtual machine, so that the virtual machine and the VCSA virtual machine jointly occupy one server, thereby achieving the purpose of reducing the number of servers used.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Claims (8)
1. A method for building a VMware6.7OS compatibility test environment by using a virtual machine is characterized in that: the method comprises the following steps:
A. the server 1 installs Windows;
B. the server 2 installs ESXI;
C. the server 3 installs ESXI;
D. the server 4 installs the ESXI.
2. The method for building the VMware6.7OS compatibility test environment by using the virtual machine according to claim 1, wherein: logging in the IP of the server 2 on the server 1 using a browser; a linux system virtual machine is created on the server 2, the virtual machine is installed, and a DHCP service and a DNS service are configured under the virtual machine.
3. The method for building the VMware6.7OS compatibility test environment by using the virtual machine according to claim 2, wherein: also comprises the following steps:
the networks of the server 1, the server 2, the server 3 and the server 4 are connected to the same switch.
4. The method for building the VMware6.7OS compatibility test environment by using the virtual machine according to claim 3, wherein: further comprising the steps of:
and (3) installing the VCSA on the server 1, filling the IP of the created linux system in the installation process of the DHCP server IP and the DNS server IP, and after the installation is finished, logging in the IP of the server 2 on the server 1 by using a browser to see that two virtual machines are arranged on the server 2.
5. The method for building the VMware6.7OS compatibility test environment by using the virtual machine according to claim 1, wherein: the step D is followed by the following steps:
the IP of the server 3 and the IP of the server 4 are registered in the server 1 using a browser, and a Windows system and a Linux system are installed in the server 3 and the server 4, respectively.
6. The method for building the VMware6.7OS compatibility test environment by using the virtual machine according to claim 5, wherein: further comprising the steps of:
logging in the IP of the server 3 and the IP of the server 4 on the server 1 by using a browser to complete a basic information check test;
logging in the IP of the server 3 and the IP of the server 4 on the server 1 by using a browser, and respectively opening the virtual machines on the server 3 and the server 4 to complete the basic function test;
the IP of the virtual machine VCSA on the server 2 is registered on the server 1 using a browser, and after the registration, the IP of the server 3 and the IP of the server 4 are connected to the page, thereby completing the migration test.
7. An apparatus for establishing a VMware6.7OS compatibility test environment by using a virtual machine, the apparatus comprising: the device comprises a Windows installation unit, a first ESXI installation unit, a second ESXI installation unit, a third ESXI installation unit and a connection unit; wherein, the Windows installation unit is used for installing Windows in the server 1; the first ESXI installation unit is used for installing the ESXI by the server 2; the second ESXI installation unit is used for installing the ESXI by the server 3; the third ESXI installation unit is used for installing the ESXI by the server 4; the connection unit is used for connecting the networks of the server 1, the server 2, the server 3 and the server 4 to the same switch.
8. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method according to any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010913651.5A CN111984360A (en) | 2020-09-03 | 2020-09-03 | Method for establishing VMware6.7OS compatibility test environment by using virtual machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010913651.5A CN111984360A (en) | 2020-09-03 | 2020-09-03 | Method for establishing VMware6.7OS compatibility test environment by using virtual machine |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111984360A true CN111984360A (en) | 2020-11-24 |
Family
ID=73447999
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010913651.5A Withdrawn CN111984360A (en) | 2020-09-03 | 2020-09-03 | Method for establishing VMware6.7OS compatibility test environment by using virtual machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111984360A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114915545A (en) * | 2022-05-20 | 2022-08-16 | 深圳市证通电子股份有限公司 | Application scheduling deployment management method based on DHCP network high-availability cluster |
CN116303099A (en) * | 2023-05-17 | 2023-06-23 | 北京天信瑞安信息技术有限公司 | Cross-platform rapid deployment method, device, medium and equipment for automatic test environment |
-
2020
- 2020-09-03 CN CN202010913651.5A patent/CN111984360A/en not_active Withdrawn
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114915545A (en) * | 2022-05-20 | 2022-08-16 | 深圳市证通电子股份有限公司 | Application scheduling deployment management method based on DHCP network high-availability cluster |
CN114915545B (en) * | 2022-05-20 | 2024-01-26 | 深圳市证通电子股份有限公司 | Application scheduling deployment management method based on DHCP network cluster |
CN116303099A (en) * | 2023-05-17 | 2023-06-23 | 北京天信瑞安信息技术有限公司 | Cross-platform rapid deployment method, device, medium and equipment for automatic test environment |
CN116303099B (en) * | 2023-05-17 | 2023-08-18 | 北京天信瑞安信息技术有限公司 | Cross-platform rapid deployment method, device, medium and equipment for automatic test environment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107911421B (en) | Method, apparatus, and computer storage medium for configuring cross-network communications in a blockchain | |
US11252228B2 (en) | Multi-tenant multi-session catalogs with machine-level isolation | |
US9910765B2 (en) | Providing testing environments for software applications using virtualization and a native hardware layer | |
CN102412978B (en) | Method for carrying out network configuration for VM and system thereof | |
CN103595801B (en) | Cloud computing system and real-time monitoring method for virtual machine in cloud computing system | |
CN111984360A (en) | Method for establishing VMware6.7OS compatibility test environment by using virtual machine | |
EP2329370A1 (en) | Securing live migration of a virtual machine within a service landscape | |
CN103327051A (en) | Long-distance desktop management system and method | |
US20080072222A1 (en) | Client outsourcing service | |
CN106330546A (en) | System and method for deploying application cluster in private cloud environment | |
CN107171854A (en) | A kind of method that independent wide area network server is simulated in automatic test | |
CN104461804A (en) | Server stability test method based on VSphere test software | |
CN110071918B (en) | Data communication method and device based on hybrid cloud | |
CN107733717B (en) | Network configuration method for mobile operation and maintenance of cloud platform | |
CN101917461B (en) | A kind of interface simulation system of mobile terminal and method | |
CN105389254A (en) | System and method for verifying compatibility of server and Oracle Linux system | |
CN104967515A (en) | Identity authentication method and server | |
CN104378449A (en) | Virtual IP realization method | |
CN106254419A (en) | System and method virtual machine operated by control station server | |
CN111475198B (en) | Mimicry method and device of network server | |
EP3060985A1 (en) | Methods and systems for automatic configuration of algorithms in a system based on self aware algorithms | |
CN114008599B (en) | Remote control plane with automatic failover | |
CN115185637A (en) | Communication method and device for PaaS component management end and virtual machine agent | |
US20210234757A1 (en) | Information processing device, information processing system, and network communication confirmation method | |
CN106657177A (en) | Network reconstruction method and network reconstruction system |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20201124 |