How to configure VMware multi-node environment

How to configure VMware multi-node environment

This tutorial uses CentOS 7 64-bit. Allocate 2GB of memory and 20G of hard disk space to each virtual machine. Please allocate memory and hard disk space as needed. Use bridge mode for network connection.

Start the virtual machine and use the dhclient tool to automatically assign an available IP address to the virtual machine (dhclient is a DHCP protocol client that uses the DHCP protocol or BOOTP protocol or uses static addresses to configure one or more network interfaces when both protocols are unavailable.). You can see that the IP address assigned to the virtual machine by the tool is 192.168.0.103.

Fixed IP address: Edit the network configuration file vim /etc/sysconfig/network-scripts/ifcfg-ens33, change the value of BOOTPROTO from dhcp to static, indicating the use of static IP, and add the value of the field IPADDR at the end of the configuration file with the IP address obtained by executing the dhclient command just now, add the value of the subnet mask field NETMASK with 255.255.255.0, the value of the gateway GATWAY with the host gateway address, and add a DNS server value of 119.29.29.29 (Tencent DNS)

Save and exit, restart the network card: systemctl restart network.service Repeat the above steps to configure other nodes. Use the SSH tool to test whether the host and nodes, nodes and nodes, and nodes and the external network can ping each other, and use the FTP tool to test whether files can be uploaded to the node server normally.

Note: The network mode of the virtual machine is bridge mode: Bridge mode is to use the virtual bridge to communicate between the host network card and the virtual network card of the virtual machine. It is similar to virtualizing a physical host into a switch, so that they can access each other without interfering with each other. In bridge mode, the virtual machine's IP address needs to be in the same network segment as the host. If networking is required, the gateway and DNS need to be consistent with the host's network card. NAT (Address Translation Mode): In NAT mode, the host network card is directly connected to the virtual NAT device, and the virtual NAT device and virtual DHCP server are used to connect the virtual machine to the external network. Host-only mode: Host-only mode is actually NAT mode without the virtual NAT device, which separates the virtual machine from the external network, making the virtual machine an independent system that only communicates with the host.

Summarize

This is the end of this article about how to configure a multi-node environment with VMware. For more information about configuring a multi-node environment with VMware, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • Simple setup of VMware ESXi6.7 (with pictures and text)
  • Summary of pitfalls in importing ova files into vmware
  • VMware vSphere6.0 server virtualization deployment and installation diagram (detailed steps)

<<:  VS2019 connects to mysql8.0 database tutorial with pictures and text

>>:  JS+AJAX realizes the linkage of province, city and district drop-down lists

Recommend

Centos6.5 glibc upgrade process introduction

Table of contents Scenario Requirements glibc ver...

Analysis of the process of simply deploying nginx in Docker container

1. Deploy nginx service in container The centos:7...

Import backup between mysql database and oracle database

Import the data exported from the Oracle database...

CentOS7.x uninstall and install MySQL5.7 operation process and encoding format modification method

1. Uninstalling MySQL 5.7 1.1查看yum是否安裝過mysql cd y...

How to use TypeScript in Vue

introduction In recent years, the call for TypeSc...

VMware installation of Centos8 system tutorial diagram (command line mode)

Table of contents 1. Software and system image 2....

MySQL multi-instance installation boot auto-start service configuration process

1.MySQL multiple instances MySQL multi-instance m...

In-depth study of JavaScript array deduplication problem

Table of contents Preface 👀 Start researching 🐱‍🏍...

A brief summary of my experience in writing HTML pages

It has been three or four months since I joined Wo...

HTML+CSS to achieve drop-down menu

1. Drop-down list example The code is as follows:...

Simple steps to configure Nginx reverse proxy with SSL

Preface A reverse proxy is a server that receives...

How to install elasticsearch and kibana in docker

Elasticsearch is very popular now, and many compa...

Basic usage examples of Vue named slots

Preface Named slots are bound to elements using t...