NAS Storage Node
- Information sited from
- This is an option that has been successfully done on a few occasions and NOT ALL NAS devices work as a Storage node.
- This is a generic setup for NAS devices
Basic Idea
- Install FOG storage node script on NAS and use it as a Storage node for your FOG server.
- A few basic things will need to be installed by the install script ssh, ftp, nfs, and mysql.
Installation
NOTE: It is assumed that you already have a working FOG server at this point in time. If you do not please ask in the forum to get the server working first.
- First you must obtain (enable) ssh on your NAS to be able to even work with it.
- On some devices such as a "My Booklive" you will need to login to the web portal and enable it from there. See your device user manual for this.
- Download FOG from our download page or use a trunk version.
- Unpack the FOG tar and navigate to fog/bin.
- Figure out what operating system your NAS is using and try to figure out if it is closer to Red Hat, Ubuntu, or debian.
- Run the installation script, ./installfog.sh
- Select your operating system.
- When prompted for Server Installation Mode, select S, for storage node.
- Enter the IP address of the storage node.
- Confirm your interface
- Then you will need to enter the IP address or host name of the node running the FOG database (Fog Server IP)
- Then you will be prompted for a username (typically fogstorage) and a password that is located on the FOG server, that will allow the storage node to access the main FOG server's database. This information is located in the FOG management portal for convenience (on the main for server). It can be accessed via Other Information -> FOG settings -> section FOG Storage Nodes.
- You will then be prompted to confirm your installation settings, if they are correct press Y end hit Enter.
- When installation completes, the install will produce a username and password that will be needed to add the storage node to the FOG management portal. Username is "fog", password is in /opt/fog/.fogsettings
- Go to your webgui of your FOG server and Add a Storage Node with the information shown in the installation script on the NAS.
- If you lost or closed the interface before writing down the username and password it can be found in the install log located in /var/log/foginstall.log
- Log into the FOG Management Portal
- Navigate to the Storage Management section.
- Click on Add Storage Nodes.
- For the Storage Node Name, enter any alpha numeric string to represent the storage node.
- Enter any description you wish
- Enter the IP address of the storage node you are adding. This must be the IP address of the node, DO NOT use a hostname or the node will not function correctly.
- Enter the maximum number of unicast clients you would like this node to handle at one time. The value that we recommend is 10.
- Is Master Node is a very dangerous settings, but for right now leave it unchecked, for more details please see: Master Node Status.
- Next, select the storage group you would like this member to be a part of, in our example we will pick Default
- Next, specify the image location on the storage node, typically /images/, your image location should always end with a /.
- Next, you will want to check the box, to enable the node.
- The last two fields take the username and password that are generated during the installation of the storage node. username is "fog", password is in /opt/fog/.fogsettings
- Then click Add to have the node join the storage group.