Forums

Home / Forums

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

Cluster Network Reconfiguration + VLANS

Hello all,

We have been using PetaSAN for almost a year and a half and there is nothing else to say than good stuff, thank you a lot for all the work you put on this, this is a great great product!

We are running 2 clusters at the moment (both runing the latest version of PetaSAN), one of them hooked to our Hyper-V Cluster, all working great. Recently our business needs have been increasing and we wanted to give a shoot to the support for S3, but we found an issue related to networking, our servers have 4x 10 Gb/s NICs configured on 2 bond interfaces as follow:

Cluster #1

NIC #1 + NIC #2 = BOND0 ( CEPH Backend + CEPH Public)

NIC #3 + NIC #4 = BOND1 (iSCSI)

Cluster #2

NIC #1 + NIC #2 = BOND0 ( CEPH Backend + CEPH Public)

NIC #3 + NIC #4 = BOND1 (FREE)

Our goal here is to divide traffic on BOND1 on both clusters through VLANs, but we want to avoid (or minimize the most we can) the downtime. Is there any good practice recommendations or a guide you could share with us to accomplish this since both cluster are up and running on production ?

Please let me know if you have any question about our setup and/our goals with our configuration.

Thank you

With iSCSI, if you change network setting for vlans, it will not affect current running disks, it will take effect for new disks or current disks if you stop them and start them again, or if a path is moved from node to node. So it is possible due to multipath to perform a change then use the path assignment page to move a subset of the paths at a time so in effect the disk will be served by both old and new configuration. This is just from PetaSAN end, you will need to figure from switches and also your clients how to achieve smooth transition.

For S3, if you change the vlans, the web server on the gateways running the S3 services are restarted to listen on the new vlan interface. This will be a few seconds, S3 clients should have no problem dealing with this short pause.

With iSCSI, if you change network setting for vlans, it will not affect current running disks, it will take effect for new disks or current disks if you stop them and start them again, or if a path is moved from node to node. So it is possible due to multipath to perform a change then use the path assignment page to move a subset of the paths at a time so in effect the disk will be served by both old and new configuration. This is just from PetaSAN end, you will need to figure from switches and also your clients how to achieve smooth transition.

For S3, if you change the vlans, the web server on the gateways running the S3 services are restarted to listen on the new vlan interface. This will be a few seconds, S3 clients should have no problem dealing with this short pause.

Thank you for your reply. Last question on this thread, how PetaSAN handles the network config gor iSCSI, S3, etc I couldn't find config files for this, is this handled by consul?

PetaSAN does its own network configuration rather than use Ubuntu setup so to provide a consistent configuration to all nodes in the cluster, it is a cluster wide configuration.

Services iSCSI/NFS/CIFS/S3 have their network config stored in Consul
Management an Backend "core" networks are done via config files:

/opt/petasan/config/cluster_info.json
/opt/petasan/config/node_info.json

So if Consul is down, you still have core network up, also Consul itself needs Backend to be up for it to work.

Note: if needed, an admin can customise any network setup by adding any setup commands to script:

/opt/petasan/scripts/custom/post_start_network.sh

Thank you for sharing this info. I managed to figure this outsetting the network port as a hybrid (trunk and access at the same time).