Adding Storage Nodes
Fog Version = 1.4.4
OS = Ubuntu 16.04
Needing some clarity on the process for adding a storage node. My hope is that I’ll be able to use it for both image replication and as a separate place to dump individual images. I have several NAS’s at my disposal, all with plenty of extra space. So my questions are:
1.) How do I create a NAS storage node for replication? I previously attempted the suggestion here: https://forums.fogproject.org/topic/8668/qnap-nas-storage but when that node was enabled it resulted in me not being able to communicate with the master node, so I deleted it.
2.) Is it possible to set up a secondary node and not perform replication of images? I would like to use it as a simple way of “expanding” my available storage space. I’ve not been able to find any documentation, so if there’s already something out there I’d love to read it.
Well lets start out with NAS devices are not officially supported as storage nodes. The only supported storage nodes are FOG servers configured as a storage node.
With that said, you can turn most nas devices into storage nodes as long as they can support nfs shares, a ftp server, and a tftp server. All three services must be able to point to the same storage location. I know I’ve personally configured a synology nas as a storage node.
Secondly yes you can configure a storage node in a different storage group than your master fog server. No replication will happen, but you can direct your image files to that storage group. It is much less complex to just add the space to your FOG server than doing it this way, but in theory it should work. Just be aware you can only capture to a master node in each storage group. You can not capture to storage nodes in the storage group.