Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

How to connect vmware virtual machine server using putty & pgadmin ?

In this artice i will explained about  how to connect vmware virtual machine server using putty utility.

Step 1.check the network adapter of vmnet0,vmnet8 change the ip of same network example for 

Issue the ncpa.cpl at windows search box you will get (Control Panel\All Control Panel Items\Network Connections) direct path of physical netcard
if you have multiple physical netcard like vmne0,vmnet8 ...etc
first try to connect the putty which one netcard having 192.168.2.1 ip after that use ssh 192.168.2.3 like that

Here our physical netcard vmnet0 only having 192.168.2.1 it combined with virual machine of 192.168.2.2

so first i tried to connect 192.168.2.2 using putty next i used ssh remote command
our physical machine :
IP:192.168.2.1 
subnetmask:255.255.255.0

VMware machine Ip series should be(2.1-255):
192.168.2.2
192.168.2.3
192.168.2.4
192.168.2.5 

Step 2.Go to your VM machine select VM->setting->network->NAT THEN GIVE ok,IF you have multiple machine do it same

Step 3.Check the firewall of all vm machine then stop that

using
#systemctl stop firewalld.service

Step 4.Disable the Selinux also
vi /etc/sysconfig/selinux
SELINUX=disabled
:wq
then reboot the server using "# init 6"

Step 5.stop the windows firewall also means our physical machine

#Control Panel->All Control Panel Items->Windows Defender Firewall->OFF

Step 6.IF you want to use pgadmin4 from your physical machine put the physical machine ip to all pg_hba.con file(how many server want to access from pgadmin)
192.168.2.2 master server pg_hba.conf:
host    all             all             192.168.2.1/32          md5 

192.168.2.3 slave_1 server pg_hba.conf:
host    all             all             192.168.2.1/32          md5

192.168.2.4 slave_2 server pg_hba.conf:
host    all             all             192.168.2.1/32          md5

192.168.2.5 slave_3 server pg_hba.conf:
host    all             all             192.168.2.1/32          md5


No comments:

Post a Comment