It is usually a good choice to host a server of your own purchase to a computer room with two-wire network access, which costs about 10,000 yuan per year.
Virtualization can reduce the cost of running and maintaining physical servers by increasing the utilization of hardware. You can reduce the amount of hardware that is required to run server workloads. The core advantage of virtualization is to increase flexibility and scalability through a "one-to-many" approach, simplifying IT management and reducing the cost of capital and operations. Multiple virtual machine operating systems can be run on a single physical server, and each operating system can access the compute, network, storage, and other resources of the underlying server. The benefits of virtualization can be viewed on the VMware or Microsoft Official website or Google search.
Virtualization can be a good choice if more than one operating system is needed to support the business and the server you are purchasing is performing better.
This article describes some of the server hosting experiences as an example of a Dell PowerEdge rack server with VMware ESXi installed.
The reasons for using VMware virtualization include the following:
Previous experience, very familiar with it, in a short period of time will be able to build the service
Hypervisor system stability, a large number of technical, documentation, knowledge Base support
VMware infrastructure management is powerful and represents the industry's top level
If the server is located in a dual-line network access, then the server usually requires 3-4 public IP.
Best case: 4 IP:
Server Remote management module (e.g. Dell server is typically called Idrac, Cisco UCS CIMC): IP 1 (required)
VMware Infrastructure (VMware ESXi Management Network management address or VMware vCenter Server IP address): IP 1 (optional)
Virtual machine nic: IP 2
The middle management address is optional because VMware infrastructure can be managed through the IP of the virtual machine, especially if there is a virtual machine that can connect to the Internet, and if the operating system happens to be a Windows system, The Linux virtual machine can be forwarded for management through the VMware WEB client.
Before sending the server to the machine room, configure the remote management module of the server (set the IP, username and password, and test it correctly), install the VMware ESXI (Manage network IP configuration, user name and password, test through, do the network interface tags and documents), then you can send away, Communicate well with the machine and keep in touch with the room.
About the computer room network. The server must be connected to the switch in the engine room, but the standard switch for VMware ESXI (vsphere standards switch) and the distributed switch (whether vsphere distributed switch or Cisco Nexus 1000v) serves only as a two-layer switch (most of the functionality) and does not have any routing and NAT capabilities, so the public IP must be assigned to the virtual machine for use.
Usually the machine room switch is connected to the physical server is trunk, that is, no VLAN partition, in the network of VMware ESXI display the VLAN ID of the port group is 0, the observed network should be all.
Here's an example of using Linux as a virtual machine:
If you want to configure 1 IPs for a virtual machine, there is nothing special to say.
If you want to configure two IP (for example, a telecom IP one unicom IP), then you can assign a network adapter (NIC) to the virtual machine, the NIC eth0 configure one of the IP, and set the subnet mask and gateway. Create a new eth0:1, set the IP of this sub-Nic to another IP, Subnet mask fill in 255.255.255.255 (32), do not fill out the gateway (remember: There are only 1 default gateways, if a set of multiple gateways in the configuration file, Linux will usually be the last correct network configuration in the gateway set to enable).
Example (take CentOS6.7 as an example)
# Cat/etc/sysconfig/network-scripts/ifcfg-eth0
Device=eth0 type=ethernet uuid=44fda55f-a701-41b0-9ebc-ace619fc256f onboot=yes NM_CONTROLLED=no BOOTPROTO=n One ipaddr=xxx.xxx.xxx.xxx prefix=26 gateway=xxx.xxx.xxx.xxx dns1=8.8.4.4 dns2=114.114.114.114 DEFROUTE= Yes Ipv4_failure_fatal=yes ipv6init=no name= "System eth0" hwaddr=00:0c:29:02:86:6b last_connect=1461090075
# cat/etc/sysconfig/network-scripts/ifcfg-eth0\:1
Device=eth0:1 type=ethernet uuid=44fda55f-a701-41b0-9ebc-ace619fc256f onboot=yes NM_CONTROLLED=no BOOTPROTO =none ipaddr=xxx.xxx.xxx.xxx prefix=32 defroute=yes ipv4_failure_fatal=yes ipv6init=no NAME= "System eth0 : 1 "hwaddr=00:0c:29:02:86:6b
You can also configure two network cards for the virtual machine, that is, do not use the sub-network card, but one of the network card is set up in the same way as the previous settings.
Other recommendations:
Recommended installation of VMware VCenter Server;
The recommended network adapter type for the virtual machine is VMXNET3;
It is strongly recommended that VMware Tools be installed in VMware virtual machines;
A recommendation that is not recommended: use English as much as possible and minimize the installation of the Linux operating system and choose a stable version, such as the use of CentOS do not use Ubuntu, can use CentOS6 do not use CentOS7;
Related articles:
VMware virtualization experience sharing--esxi host and virtual machine network configuration
VMware VSphere Key Concepts Understanding and Quick Search Handbook
Some of the available references:
Benefits, principles, and getting started with virtualization http://www.vmware.com/cn/virtualization/overview.html
Hyper-V Overview https://technet.microsoft.com/zh-cn/library/cc816638 (v=ws.10). aspx
Set up CIMC for UCS c-series Server http://www.cisco.com/c/en/us/support/docs/servers-unified-computing/ Ucs-c200-m1-high-density-rack-mount-server/111455-setup-cimc-c-series.html
Networking Best Practices http://pubs.vmware.com/vsphere-55/index.jsp?topic=%2Fcom.vmware.vsphere.networking.doc% 2fguid-35b40b0b-0c13-43b2-bc85-18c9c91be2d4.html
Cisco Nexus 1000V Virtual Switch
Tag:vmware network configuration, server hosting, Mware virtual Machine network configuration
--end--
This article is from "Communication, My Favorites" blog, please make sure to keep this source http://dgd2010.blog.51cto.com/1539422/1765796
Data Center server hosting VMware virtualized network configuration best practices