Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Vsphere Virtualization Application Building

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

I. Topology example

Equipment inventory equipment number virtual machine system installation service IPPC1EXSI192.168.0.120PC2EXSI192.168.0.121PC3Windows server 2012 domain controller 192.168.0.130PC4Windows server 2012Vcenter192.168.0.131PC5Windows server 2012 SQLServer 2012192.168.0.132PC6Windows 7Vsphere192.168.0.133 3, installation step 1. PC1 and PC2 install EXSI1) install EXSi

It is still the old process to create a new virtual machine. It is worth noting that Workstation should choose version 10.0, which is compatible with multiple versions.

There are also memory problems. Try to choose more than 4G to avoid unnecessary trouble. Too small will lead to the failure of the installation system detection.

If the physical machine has only 4G memory, you need to change the configuration file to install the operating system as follows:

Start the installation normally with the CD-ROM; when the installation welcome interface appears, press ALT+ F1 to enter the console and log in with the root user without password Enter the command to enter the util directory: # cd / usr/lib/vmware/weasel/util4 rmupgrade_precheck .pycmv upgrade_precheck .py upgrade_precheck .py.oldcp upgrade_precheck .py.old upgrade_precheck .pychmod 666 upgrade_precheck .pyvi upgrade_precheck .py to find MEM_MIN (: / MEM_MIN enter) MEM_MIN_SIZE= (41024-32) to MEM_MIN_SIZE= (21024-32) wq! Force save to exit ps-c | grep weaselkill-9 process ID will normally jump back to the welcome interface. If not, press ALT+F2 to continue the installation.

15. Just continue to install as usual. 2) Open the virtual machine that has already mounted the image until this interface

3) then continue all the way

4) it means to choose this 40G hard drive

5) enter the boot password twice

6) after the hardware detection, start to install the operating system

7) if you look at the topology again, it is not difficult to find that you need 6 network cards to add them.

8) be sure to uninstall the image when prompted by the system installer to restart the system

9) after booting normally, we need to set the network card information. First, select the first network card.

10) F2 fill in the correct password and enter the settings interface

11) Select Configure Management Network to configure the Nic information

12) Note: if you select the network card as the bridging mode when creating the virtual machine, the IP setting is set according to the information of the physical machine network card. If it is the nat mode, view the IP address pool in the virtual network editor, set the IP within the address pool, and then use the cmd command of the physical machine to ping the IP of the virtual machine. Ping General rules set successfully 13) complete all the above operations, that is, server construction completed 14) install a program named VMware-viclient-all-5.5.0-1618071 on the physical machine, and the installation steps are relatively simple. 15) Open the VMware vSphere Client on the desktop after installation, enter the IP address, user name and password of the server, and connect to the server.

16) after a successful connection, the following interface is displayed

You can set up any configuration and operation on the server side here.

17) however, after a general browse and understanding, some commands are sometimes used to complete some special operations, so you can install X Shell to make up for the deficiency.

2. PC3 install domain controller 1) also install Windows server 2012 in the new virtual machine, the installation method is relatively simple, and we will not repeat here 2) add roles 3) add domain services

4) restart the server and upgrade it to a domain controller

5) enter the domain name and keep in mind

6) enter domain name and password

7) confirm the settings

8) just restart

3. PC4 installs Vcenter service

Make sure the server is added to the domain of PC3

Mount the CD, double-click to run, double-click to open the explorer, and choose to run the autorun.exe inside.

1) install sign-on

a. Choose a custom installation and install sign-on first

b. Must see the conditions before installation

c. Select the first option for the first installation

d. The password must be kept in mind here, otherwise it cannot be done below. The password has a complexity check and must contain uppercase letters, lowercase letters and characters. (note: some people failed the final installation due to the use of more special characters, prompting error 29102. So try not to use too special characters, temporarily find that the use of-and; will lead to failure. The password I use here is asd.1234) this password is important, because the domain name, user name and password used for the first time after VCente installation are filled in at this time.

e. The name of the site. This is not important. You can modify it after installation. Default is fine.

f. Enter the HTTPS port. Default is fine.

g. Default is fine.

h. Select installation

i. Installing Sign-on

J. Sign-on installation completed

2) install vSphere Web Client

A. VSphere Web Client installation prerequisites: vCenter Single Sign-On. Although this is a Client, it is not a Client used to log in, but a service for Web to access vCenter. If VC does not install vSphere Web Client, users cannot log in to VC through Web. [note: this component is required because you need to log in to Web Client when setting permissions]

b. Choose simplified Chinese (good English can choose English)

c. As shown in the picture, the installation process is in preparation for execution

d. Click next to install

e. I accept the agreement in the license. Next step

f. Default is fine.

g. Default is fine.

h. Enter the administrator password for SSO here, that is, the password you set when you installed sign on

i. Choose Yes to continue with the installation

k. Click to install the certificate

L. VMware Web Client installation completed

m. Verify that vSphere Web Client is installed successfully, open the browser and enter the local address

n. Input information

o. Successful landing

3) install inventory service

a. Install inventory service

b. Enter a fully qualified domain name, which has been entered by default. The host of the domain controller must be turned on at this time, otherwise the installation will fail because the domain name cannot be resolved.

c. Default is fine.

d. Select the first item

e. Enter the SSO administrator password here, that is, the password you set when you installed sign on

f. Click Yes to continue with the installation

g. Inventory service installed successfully

4) install ODBC data source application

a. Mount the SQL FULL image file, right-click to open

b. In the search box, type sqlncli

c. Double-click to run the version suitable for your computer to install

d. Select to install on the local disk

e. Wait for the installation to complete

5) install Vcenter Server

a. The final step is to install VCenter Server

b. Click install to enter the installation wizard

c. Click next

d. Enter the license, if not, do not enter it for the time being, you will only have a 180-day trial. One is provided here: NY2R0-82HD1-H85X8-D08Q0-062PD.

e. Select to use an existing supported database and enter the name of the data source you created. (you can select the first item in this step, and you don't have to install the database and configure the data source if you select the first item.) if I choose the second item here, I need to enter the data source name. Therefore, at this time, you need to install the SQL Server 2012 database first, and configure the data source after the installation is completed. Check the installation of PC5 for specific installation steps.

f. Enter the database user name and password. Log in with sa users.

g. If the SQL Server agent service is not started, this prompt error will appear here

h. Just enable the SQL Server proxy service on PC5

i. Then there will be the following reminder, just ignore it. Click OK to proceed to the next step

j. Enter a fully qualified domain name, that is, hostname + domain name. This is VCenter.h4c.com.cn. Remember to open the host of the domain server, that is, SQL Server, otherwise the fully qualified domain name cannot be resolved.

k. Enter each port number, which is fine by default

Note: if there is port occupancy, you only need to change the occupied port, but you must keep in mind

p. Warning remember the modified port. Click OK for the next step.

q. Select the first item

r. Enter the user name and password of SSO, that is, the password set when installing sign on

s. Default is fine.

t. Default is fine.

u. Default is fine.

v. After the preparation work is completed, you can proceed to the installation step.

w. Wait a few minutes before prompting the installation to complete. At this time, VCenter Server is finally installed successfully. The process is very tedious and error-prone, so you need to be careful.

4. PC5 installs SQL Server service 1. First, we mount the image of sqlserver to the windowsserver2012 system, and double-click to open the installer of sqlserver

2.. Click to select sql server stand-alone installation or add features to an existing installation. Note: you need to install .net3.5 dependencies before installing sql server.

3.。 Check the rules and make sure if there are no errors.

4.。 You need to enter the product key here, and Baidu can get it.

5. Check the "I accept the license terms" button to proceed to the next step.

6.。 Click next

7.。 To install the installer, click "install"

8.。 Check the installer support rules. Here are two warnings that we can ignore and proceed to the next step.

9.。 Here you need to select the feature installation of SQL Server and proceed to the next step.

10.。 Select the function, in order to make unnecessary errors, just select all of them. Move on to the next step.

11.。 No problem. Just move on to the next step.

12.. Choose the default instance here, and of course you can name the instance yourself. Move on to the next step.

13.。 Disk space requirements, proceed to the next step.

14.。 Configure the sqlserver server to ensure that each service is turned on. Move on to the next step.

15.。 Configure the server engine, select mixed mode authentication, set a password for the sa account, and add a SQL Server administrator account. Move on to the next step.

16..Analysis Services configuration, add the current account, and proceed to the next step.

17..Reporting Services configuration. Move on to the next step.

18.。 Add the current user to the distributed replay controller and proceed to the next step.

19. In the distributed replay client, specify a controller name. Move on to the next step.

20. Move on to the next step.

21. Check the installation configuration rules and proceed to the next step if there are no errors.

twenty-two。 To start the installation, click install.

23. Installation completed

24. Open the sqlserver configuration Manager to see if all services are running properly.

25. Open SQL Server Management Studio and create a new database

Here I set up a database called sqlserver

twenty-six。 Open Security > > Login name > > sa, check the user's status, and select allow to connect to the database engine. It is allowed by default and generally does not need to be modified.

5. PC6 install Vsphere Services 1) it is relatively simple to install Windows 7 in a virtual machine. 2) add Windows 7 to the domain.

3) Mount the vcenter installation CD

4) double-click the installer and click Vmware vSphere Client

5) start the installer

6) Select the installation language

7) Click OK, next

8) Click install

9) wait for the installation to complete

10) double-click the shortcut created on the desktop

11) enter all information and log in

12) after logging in successfully, add the host

13) add hosts

Note: the first EXSI server here is disconnected, so it is grayed out

14) enter all the information and click next

15) always default to the next step until the interface

16) New virtual machine

17) all settings are as follows

18) choose to install Windows XP here

19) enter the operating system installation, taking into account the performance of the physical machine, so enter the PE micro-system test

Test whether the above installation is correct 1) Open the management tool

2) run the ODBC data source management tool you just installed

3) Select system DSN

4) Click add

5) enter connection information

6) Select the second item and enter the user name and password of the database where SQL Server was previously installed

7) default is fine.

8) default is fine.

9) Test whether the data source is configured correctly

10) the test is successful

Fourth, summary of frequently asked questions 1. There is a log problem installing vsphere

Because of the lack of Miceosoft Visual J# in the system, you only need Baidu to install it.

two。 Join domain problem

Just change the DNS of the computer to join the domain to the IP address of the domain controller.

3. Web Client problem

Google and other browsers with flash plug-ins should be used. If there is no plug-in, the login interface cannot be loaded. Url is https, and the port behind must be added, otherwise the default is port 80.

4. SQL Server question 1) prompt "cannot connect to a database with JDBC URL" when connecting to the data source. It is because the service of the database is not restarted after installing the database. Just restart the service. 2) prompt "may point to a database other than the one specified in the selected DSN". The reason is that the server name of the database was entered incorrectly. 3) prompt "fully qualified domain name resolution cannot be performed". The reason is that the domain controller is not turned on, and SQL Server should be turned on before operation. 4) when connecting to a new SQL Server data source, the link cannot be connected, and special attention must be paid to turning off the firewall in order to connect successfully.

Welcome to follow my official Wechat account "Master Chen without Story".

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report