Cluster Replication Network prerequisites/Requirements
pradeep suresh
32 Posts
July 16, 2022, 4:00 pmQuote from pradeep suresh on July 16, 2022, 4:00 pmHi 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.
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.
admin
2,930 Posts
July 16, 2022, 8:54 pmQuote from admin on July 16, 2022, 8:54 pmWe 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.
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.
Ramadass K
9 Posts
July 19, 2022, 4:41 pmQuote from Ramadass K on July 19, 2022, 4:41 pmThanks 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
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
admin
2,930 Posts
July 19, 2022, 8:02 pmQuote from admin on July 19, 2022, 8:02 pmSo i have enabled the replication service on all the nodes on the destination side
should be the source side.
So i have enabled the replication service on all the nodes on the destination side
should be the source side.
Cluster Replication Network prerequisites/Requirements
pradeep suresh
32 Posts
Quote from pradeep suresh on July 16, 2022, 4:00 pmHi 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 aManagement 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.
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.
admin
2,930 Posts
Quote from admin on July 16, 2022, 8:54 pmWe 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.
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.
Ramadass K
9 Posts
Quote from Ramadass K on July 19, 2022, 4:41 pmThanks 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
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
admin
2,930 Posts
Quote from admin on July 19, 2022, 8:02 pmSo i have enabled the replication service on all the nodes on the destination side
should be the source side.
So i have enabled the replication service on all the nodes on the destination side
should be the source side.