D
doknet
Guest
I want to configure the system to sync with drbd,
I follow the steps set out in
http://pve.proxmox.com/wiki/DRBD#Network
In each machine (server1 and server2) I have two eth connected via a crossover cable between the eth1 ( networking 10.0.7.0 )
server1
Server2
But in both cases in the web interface tells me that the node has the IP of eth0 and do not of eth1 and when I continue on this path when creating the cluster fails me watch it authenticates with the network of eth0 (192.168.1.0) and not network eth1.
Because the connection between the machines is set by the network card eth1
SERVER1
en el server1 (vm1) , web interface
System
Interface Active Ports/Slaves Autostart IP Address Subnet Mask Gateway
eth1 yes 10.0.7.105 255.255.240.0
vmbr0 yes eth0 192.168.1.201 255.255.255.0 192.168.1.1
Cluster
Hostname IP Address Role State Uptime Load CPU IODelay Memory Disk
vm1 192.168.1.201 Master active 00:10 0.00 0% 0% 4% 1%
Server2
en server2 web interface
cluster
You can change the ip of the node, to take the ip network made with eth1?
I ask this because if I continue down this path when creating the cluster master and try to synchronize the 192.168.0.0 network and not through the 10.0.7.0 network cards
step 1
server1
En server 2
And get error
Server1
server2
Hosts
If in server2
pveca -a -h 10.0.7.105
Also fails
Any idea where my errors
Sorry my inglis
I follow the steps set out in
http://pve.proxmox.com/wiki/DRBD#Network
In each machine (server1 and server2) I have two eth connected via a crossover cable between the eth1 ( networking 10.0.7.0 )
server1
Code:
cat /etc/network/interfaces
# network interface settings
auto lo
iface lo inet loopback
iface eth0 inet manual
auto eth1
iface eth1 inet static
address 10.0.7.105
netmask 255.255.240.0
auto vmbr0
iface vmbr0 inet static
address 192.168.1.201
netmask 255.255.240.0
gateway 192.168.2.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
Server2
Code:
And from the second node:
# network interface settings
auto lo
iface lo inet loopback
iface eth0 inet manual
auto eth1
iface eth1 inet static
address 10.0.7.106
netmask 255.255.240.0
auto vmbr0
iface vmbr0 inet static
address 192.168.1.202
netmask 255.255.240.0
gateway 192.168.2.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
Because the connection between the machines is set by the network card eth1
SERVER1
Code:
cat /etc/hosts
127.0.0.1 localhost
10.0.7.105 vm1
192.168.1.201 vm1.iuoglocal vm1pvelocalhost
10.0.7.106 vm2
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
en el server1 (vm1) , web interface
System
Interface Active Ports/Slaves Autostart IP Address Subnet Mask Gateway
eth1 yes 10.0.7.105 255.255.240.0
vmbr0 yes eth0 192.168.1.201 255.255.255.0 192.168.1.1
Cluster
Hostname IP Address Role State Uptime Load CPU IODelay Memory Disk
vm1 192.168.1.201 Master active 00:10 0.00 0% 0% 4% 1%
Server2
Code:
cat /etc/hosts
127.0.0.1 localhost
10.0.7.106 vm2
192.168.1.202 vm2.iuoglocal vm2 pvelocalhost
10.0.7.105 vm1
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
en server2 web interface
Code:
Interface Active Ports/Slaves Autostart IP Address Subnet Mask Gateway
eth1 yes 10.0.7.106 255.255.240.0
vmbr0 yes eth0 192.168.1.202 255.255.255.0 192.168.1.1
cluster
Code:
Hostname IP Address Role State Uptime Load CPU IODelay Memory Disk
vm2 192.168.1.202 - active 00:36 0.00 0% 0% 3% 1%
You can change the ip of the node, to take the ip network made with eth1?
I ask this because if I continue down this path when creating the cluster master and try to synchronize the 192.168.0.0 network and not through the 10.0.7.0 network cards
step 1
server1
Code:
pveca -c
pvca -l
pveca -l
CID----IPADDRESS----ROLE-STATE--------UPTIME---LOAD----MEM---DISK
1 : 192.168.1.201 M A 00:14 0.06 4% 1%
En server 2
Code:
vm2:/etc/pve# pveca -a -h 192.168.1.201
The authenticity of host '192.168.1.201 (192.168.1.201)' can't be established.
RSA key fingerprint is 96:3d:7c:94:b7:fe:29:6d:c8:29:a9:da:96:e6:86:80.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.201' (RSA) to the list of known hosts.
root@192.168.1.201's password:
And get error
Server1
Code:
Hostname IP Address Role State Uptime Load CPU IODelay Memory Disk
vm1 192.168.1.201 Master nosync 00:52 0.08 0% 0% 4% 1%
vm2 192.168.1.202 Node ERROR: 500 Can't connect to 127.0.0.1:50000 (connect: Connection refused)
server2
Hosts
Code:
Hostname IP Address Role State Uptime Load CPU IODelay Memory Disk
vm1 192.168.1.201 Master ERROR: Ticket authentication failed - invalid ticket 'root::root::1281214686::dfdf121dfee04bc947943653bde4c28be06e9a7f::e5ca3ad03b2c0b1dcab2dec527b279d6e948e25f'
vm2 192.168.1.202 Node nosync 01:17 0.00 0% 0% 4% 1%
If in server2
pveca -a -h 10.0.7.105
Also fails
Any idea where my errors
Sorry my inglis
Last edited by a moderator: