@Daniel_ said in Storage node in different subnet - deployment:
At the moment I am copying the images with rsync (manually or cronjob). Is there a way to copy images via the web GUI of the main server?
If the fog server and storage node are part of the same storage group the fog server will sync the image files from the main fog server to all storage nodes in the storage group. That is by design. The storage nodes don’t need to be a fog install storage node, a NAS will work with some configuration. The active component for the replication is on the master node in a fog storage group.
At the moment the storage node is not visible in the dashboard (storage node disk usage) although Graph Enabled (On Dashboard) is enabled. Do I need more ports open so that the main server can reach and get information from the node?
This sounds suspicious. You need to have the following protocols enabled. http, https, ftp, and mysql between the fog server and storage node.
How can I configure the node so that clients pull their images from the node only? At the moment they seem to try reaching the main server.
In this case you need to install the location plugin. When its installed then you can 1) create your locations. 2) assign a storage node to a location, 3) when you register a new computer, you assign it to a location.
When your target computers pxe boot, you can have your remote storage node configured to send the ipxe menu files, but the target computers will always reach out to the master node it find out about their local storage node. But this initial checkin is very quick and has low bandwidth requirements.
Is there a way to configure the PXE menu which is shown there independently from the main server menu?
You can if you want to be creative. You would need to intercept the call to default.ipxe with your own default.ipxe, but you would really need to look into the use case before going down that path. It is possible, yes. Will it take some work, yes. Is it plug and play, no.