Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

Cluster Replication Network prerequisites/Requirements

Hi Team,
I have been working on petasan for some time, and i was experimenting on all the features it provides.  As i was testing on the cluster replication of an iscsi disk. Documentation does not completely explain the network requirements for implementing this. So mainly i have two clusters  with  cluster 1 and 2 -> (1) Management Network  (2) Backend Network (3) iSCSI   network on different subnet.
Cluster 1 is actually a production setup one and Cluster 2 is a test environment.
Both has 3 nic cards a

Management networks of both the cluster communicates.
the iSCSI network does not communicate since i have short of nic ports, ( Does communication between two iscsi networks is also necessary ? ).
The backend network communication between clusters is not required, I assume.

While adding the destination cluster, it throws an error  saying connection test failed.

What all should I consider and configure for the disk replication to work, I am not really concerned about the performance, just want to test the functionality of this.

Thanks in advance.

We do have a replication guide under the documentation, it should help.

The remote cluster ip should be accessible from the current cluster (at least from nodes running the replication servce), this could be a routable external ip, and does access via ssh, port 22.

Thanks for the reply.
I did go through the replication guide and those instructions were followed and made the appropriate changes. So i have enabled the replication service on all the nodes on the destination side.  Ping and SSH is working from the source and destination and vise versa.
But the logs say  " Permission Denied "
What am i missing ?? Or is anything more information required.

Below are the log report

19/07/2022 13:42:16 ERROR Manage Destination Cluster | Permission denied , Error = Traceback (most recent call last):

19/07/2022 13:38:24 ERROR Permission denied

ing/handlers.py", line 57, ing, delay)

File "/usr/lib/python3.6/logging/handlers.py", line 150, in __init__

handler_info = RotatingFileHandler(__info_path, mode='a', maxBytes=10*1024*1024, backupCount=1, encoding=None, delay=0)

File "/usr/lib/python3/dist-packages/PetaSAN/core/common/log.py", line 35, in <module>/lib/python3/dist-packages/PetaSAN/core/consul/ps_consul.py", line 24, in <module>

from PetaSAN.core.consul.ps_consul import Consul

File "/usr/lib/python3/dist-packages/PetaSAN/core/consul/base.py", line 18, in <module>

from PetaSAN.core.consul.base import BaseAPI

File "/usr/lib/python3/dist-packages/PetaSAN/core/config/api.py", line 22, in <module>

from PetaSAN.core.config.api import ConfigAPI

File "/opt/petasan/scripts/backups/replication.py", line 18, in <module>

19/07/2022 13:38:24 ERROR Manage Destination Cluster | Permission denied , Error = Traceback (most recent call last):

19/07/2022 13:38:20 ERROR Permission denied

PermissionError: [Errno 13] Permission denied: '/opt/petasan/log/PetaSAN.log

 

So i have enabled the replication service on all the nodes on the destination side

should be the source side.