Hello,
I have an primary AS set up and it has been working fine for some time. As our VPN is critical to business, I am trying to configure a secondary AS but cannot get it to validate from the primary AS.
Set up is as follows:
Primary node:
Name ACCESS1
IP 192.168.100.70
Installed as primary node on Ubuntu server under the main user of the server USER1
Secondary node:
Name ACCESS2
IP 192.168.100.71
Installed as secondary node on Ubuntu server under the main user of the server USER1
So, the username and password of both AS's is the same
On ACCESS1 I go to Failover Settings
Select LAN Model
Share virtual IP 192.168.100.72
Primary node IP 192.168.100.70
SSH username USER1
SSH password the password of USER1
SSH port 22
Secondary node IP 192.168.100.71
SSH username USER1
SSH password the password of USER1
SSH port 22
Validate gives the error below
ERROR: u'None: COPY_SECONDARY: error copying test file from 192.168.100.70 to 192.168.100.71: USER1@192.168.100.71\'s password: \r\nrsync: mkstemp "/usr/local/openvpn_as/etc/tmp/.fct-UngqixPlHc90.tmp.zPFOzM" failed: Permission denied (13)\r\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1060) [sender=3.0.7]\r\n: internet/defer:102,ssh/foctest:76,ssh/foctest:45 (pyovpn.ssh.foctest.Error)'
What I gather is that USER1 on ACCESS1 does not have permissions to access ACCESS2
Please could someone help with getting this up and running. My Ubuntu skills are limited. I guess I need to create a failover user on both machines that have root access but am not sure how to go about this.
Thanks,
Paul
Failover Cluster
-
- OpenVpn Newbie
- Posts: 4
- Joined: Mon Jul 30, 2012 3:08 pm
Re: Failover Cluster
I solved this soon after posting here...
For anyone who needs the solution I used, I enabled root access on both Ubuntu servers using:
sudo passwd
For anyone who needs the solution I used, I enabled root access on both Ubuntu servers using:
sudo passwd
-
- OpenVpn Newbie
- Posts: 4
- Joined: Mon Jul 30, 2012 3:08 pm
Re: Failover Cluster
I solved this soon after posting here.
The solution I used was to enable root access on both Ubuntu servers using the following command:
sudo passwd
The solution I used was to enable root access on both Ubuntu servers using the following command:
sudo passwd