• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Alex78
    A
    • Profile
    • Following 0
    • Followers 1
    • Topics 2
    • Posts 9
    • Best 1
    • Controversial 0
    • Groups 0

    Alex78

    @Alex78

    1
    Reputation
    121
    Profile views
    9
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    Alex78 Unfollow Follow

    Best posts made by Alex78

    • FOG: 1.5.4 -> How to setup NAS - Synology DiskStation as Master Node

      Follow this tutorial step by step, and you will have everything configured, I spent a lot of hours to understand where my mistakes were and I make this tutorial to help the maximum number of people.

      To begin, let’s configure the NAS - Synology DiskStation:

      First, go to --> Control Panel --> File services --> SMB/AFP/NFS, scroll down:
      0_1530532707570_15Capture.PNG
      -Check “Activer NFS” = “Enable NFS”.
      -Check “Activer la prise en charge de NFSv4.1” = “Enable support for NFSv4.1”.

      Go to --> Control Panel --> File services --> FTP:
      0_1530532896947_17Capture.PNG
      -Check “Activer le service FTP (pas de chiffrage)” = “Enable FTP service (no encryption)”.
      -Check “Utiliser la plage de ports par défaut (55536-55567)” = “Use the default port range (55536-55567)”

      Go to Control Panel --> User --> Select the advanced window:
      0_1530533429741_19Capture.PNG
      -Check “Activer le service d’accueil de l’utilisateur” = “Enable the user’s home service”.

      -Let’s create the folders to share.
      -Go to Control Panel --> shared folders --> create and follow the pictures below:
      0_1530524367151_Capture.PNG
      -Click “Suivant” = “Next”.
      -0_1530524481236_Captu1re.PNG
      -Click “Suivant” = “Next”.
      0_1530524539420_1Capture.PNG
      -Click “Suivant” = “Next”.
      0_1530524586272_2Capture.PNG
      -Click “Appliquer” = “Apply”.
      0_1530539089067_3Capture.PNG
      -Click “Ok”.

      Create two more shared folders with the name “tftpboot” and “snapins”, with the same configuration as the shared folder that we create together “images”

      Go to --> Control Panel --> File services – TFTP:
      0_1530533113659_18Capture.PNG
      -Check “Activer le service TFTP” = “Enable TFTP Service”.
      -Dossier racine TFTP = “TFTP root folder” : tftpboot (choose the tftpboot folder you created).

      After doing that, you have to create a user.
      -Go to Control Panel --> User --> Create and follow the pictures below:
      0_1530531144677_6Capture.PNG
      0_1530531263724_7Capture.PNG
      -Here the username = userFOG and password = FOGuser.
      -Check --> “Ne pas autoriser l’utilisateur à changer le mot de passe du compte” = “Do not allow the user to change the password of the account”.
      -Click “Next”.
      0_1530531554556_8Capture.PNG
      -Check only --> users.
      -Click “Next”.
      0_1530540007952_9Capture.PNG
      -Folder “images” --> Reading/writing.
      -Folder “snapins” --> Reading/writing.
      -Folder “tftpboot” --> Reading/writing.
      -Click “Next”.
      0_1530531850542_10Capture.PNG
      -Click “Next”.
      0_1530531902534_11Capture.PNG
      -Click “Next”.
      0_1530531946111_12Capture.PNG
      -Click “Next”.
      0_1530532020494_13Capture.PNG
      -Click “Apply”.

      Go to Control Panel --> Shared folders --> select the folder “images” you created before --> Right click on folder --> edit --> NFS permissions --> “Créer” = “Create”:
      0_1530533735359_20Capture.PNG
      0_1530533808677_5Capture.PNG
      -Privilege: R/W
      -Squash: no mapping
      -Security: sys
      -Check “Activer le mode asynchrone” = “Enable asynchronous mode”.
      -Check “Permettre à des utilisateurs d’accéder aux sous-dossiers montés” = “Allow users to access mounted subfolders”.
      -Click “Ok”.
      DO THE SAME THINGS ON THE OTHER TWO FOLDERS: “tftpboot” and “snapins”.

      DO NOT ACTIVATE THIS IN FOLDERS:
      0_1530534302248_Capture21.PNG

      NAS is now configured.

      Let’s move on the FOG server. (I host the server fog on ubuntu):

      CREATE THE SAME USER THAT WE CREATED ON THE NAS ON THE FOG SERVER

      Connect to your FOG server and open the terminal and enter these lines:

      sudo -s
      mount -t nfs "Your_NAS_IP":/volume1/images /mnt
      mkdir /mnt/dev
      touch /mnt/.mntcheck
      umount /mnt
      
      mount -t nfs <syno_nas_ip>:/volume1/images/dev /mnt
      touch /mnt/.mntcheck
      umount /mnt
      
      mount -t nfs <syno_nas_ip>:/volume1/snapins /mnt
      mkdir /mnt/ssl
      cp -R /opt/fog/ssl/* /mnt/ssl
      umount /mnt
      
      mount -t nfs <syno_nas_ip>:/volume1/tftpboot /mnt
      cp -R /tftpboot/* /mnt
      umount /mnt
      

      When you have done that, you have nothing to do on the FOG server.

      Go to the FOG Management GUI, select Storage --> Add storage Node:
      0_1530535123716_22Capture.PNG
      0_1530535331683_23Capture.PNG
      -Management Username it’s the user we created before on NAS.
      -Management Password it’s the same password of the user we created on the NAS.
      -Check master node.
      -Storage Group: default.
      -Click on ADD.

      Go to Storage --> All storage nodes --> Click on DefaultMember:
      0_1530535528744_24Capture.PNG
      0_1530535572347_25Capture.PNG
      -Uncheck “Master Node”.
      -Click “Update”.

      Now create a new image and try to capture a image:
      0_1530535723474_26Capture.PNG
      Go to hosts --> List all hosts --> Click on your host:
      0_1530536882404_27Capture.PNG
      0_1530536802781_28Capture.PNG
      -Click “Update”.
      And now capture the image:
      0_1530536848164_30Capture.PNG

      YOU CAN DEPLOY IMAGE TOO 🙂

      There is already a very good tutorial on this subject, but I wanted to enhance it with images that it is more understandable.
      https://forums.fogproject.org/topic/9430/synology-nas-as-fog-storage-node?page=1

      posted in Tutorials
      A
      Alex78

    Latest posts made by Alex78

    • RE: Snapin create fail

      @Wayne-Workman No they are not

      posted in FOG Problems
      A
      Alex78
    • Snapin create fail

      Hello, has anyone ever encountered this problem?
      0_1531380586083_Capture.PNG
      0_1531381567747_Capture1.PNG

      To know that I use as a master a NAS for storage, I can do everything for the image but for snapins it does not want to create them.

      Thanks

      posted in FOG Problems
      A
      Alex78
    • RE: FOG: 1.5.4 -> How to setup NAS - Synology DiskStation as Master Node

      @tom-elliott Quite right, but then we can put the 3 folders in one and the same shared folder. For the tutorial I did like that but we could also make a central shared folder for example name “FOG” with the 3 folders in, “images”, “snapins” and “tftpboot” except that the path would be /volume1/FOG/images, /volume1/FOG/snapins…

      posted in Tutorials
      A
      Alex78
    • RE: FOG: 1.5.4 -> How to setup NAS - Synology DiskStation as Master Node

      @tom-elliott Yes it will work, look at the capture that I made directly on the NAS without going through the storage of the FOG server:
      0_1530539272095_image1.jpeg
      while capturing the image is stocked on /volume1/images/dev folder:
      0_1530538288129_Capture12.PNG
      and when he is captured 100%, it will appear on the folder /volume1/images directly:
      0_1530538343709_Capture4.PNG

      I’m capturing one right now:
      0_1530538799576_Capture.PNG

      posted in Tutorials
      A
      Alex78
    • FOG: 1.5.4 -> How to setup NAS - Synology DiskStation as Master Node

      Follow this tutorial step by step, and you will have everything configured, I spent a lot of hours to understand where my mistakes were and I make this tutorial to help the maximum number of people.

      To begin, let’s configure the NAS - Synology DiskStation:

      First, go to --> Control Panel --> File services --> SMB/AFP/NFS, scroll down:
      0_1530532707570_15Capture.PNG
      -Check “Activer NFS” = “Enable NFS”.
      -Check “Activer la prise en charge de NFSv4.1” = “Enable support for NFSv4.1”.

      Go to --> Control Panel --> File services --> FTP:
      0_1530532896947_17Capture.PNG
      -Check “Activer le service FTP (pas de chiffrage)” = “Enable FTP service (no encryption)”.
      -Check “Utiliser la plage de ports par défaut (55536-55567)” = “Use the default port range (55536-55567)”

      Go to Control Panel --> User --> Select the advanced window:
      0_1530533429741_19Capture.PNG
      -Check “Activer le service d’accueil de l’utilisateur” = “Enable the user’s home service”.

      -Let’s create the folders to share.
      -Go to Control Panel --> shared folders --> create and follow the pictures below:
      0_1530524367151_Capture.PNG
      -Click “Suivant” = “Next”.
      -0_1530524481236_Captu1re.PNG
      -Click “Suivant” = “Next”.
      0_1530524539420_1Capture.PNG
      -Click “Suivant” = “Next”.
      0_1530524586272_2Capture.PNG
      -Click “Appliquer” = “Apply”.
      0_1530539089067_3Capture.PNG
      -Click “Ok”.

      Create two more shared folders with the name “tftpboot” and “snapins”, with the same configuration as the shared folder that we create together “images”

      Go to --> Control Panel --> File services – TFTP:
      0_1530533113659_18Capture.PNG
      -Check “Activer le service TFTP” = “Enable TFTP Service”.
      -Dossier racine TFTP = “TFTP root folder” : tftpboot (choose the tftpboot folder you created).

      After doing that, you have to create a user.
      -Go to Control Panel --> User --> Create and follow the pictures below:
      0_1530531144677_6Capture.PNG
      0_1530531263724_7Capture.PNG
      -Here the username = userFOG and password = FOGuser.
      -Check --> “Ne pas autoriser l’utilisateur à changer le mot de passe du compte” = “Do not allow the user to change the password of the account”.
      -Click “Next”.
      0_1530531554556_8Capture.PNG
      -Check only --> users.
      -Click “Next”.
      0_1530540007952_9Capture.PNG
      -Folder “images” --> Reading/writing.
      -Folder “snapins” --> Reading/writing.
      -Folder “tftpboot” --> Reading/writing.
      -Click “Next”.
      0_1530531850542_10Capture.PNG
      -Click “Next”.
      0_1530531902534_11Capture.PNG
      -Click “Next”.
      0_1530531946111_12Capture.PNG
      -Click “Next”.
      0_1530532020494_13Capture.PNG
      -Click “Apply”.

      Go to Control Panel --> Shared folders --> select the folder “images” you created before --> Right click on folder --> edit --> NFS permissions --> “Créer” = “Create”:
      0_1530533735359_20Capture.PNG
      0_1530533808677_5Capture.PNG
      -Privilege: R/W
      -Squash: no mapping
      -Security: sys
      -Check “Activer le mode asynchrone” = “Enable asynchronous mode”.
      -Check “Permettre à des utilisateurs d’accéder aux sous-dossiers montés” = “Allow users to access mounted subfolders”.
      -Click “Ok”.
      DO THE SAME THINGS ON THE OTHER TWO FOLDERS: “tftpboot” and “snapins”.

      DO NOT ACTIVATE THIS IN FOLDERS:
      0_1530534302248_Capture21.PNG

      NAS is now configured.

      Let’s move on the FOG server. (I host the server fog on ubuntu):

      CREATE THE SAME USER THAT WE CREATED ON THE NAS ON THE FOG SERVER

      Connect to your FOG server and open the terminal and enter these lines:

      sudo -s
      mount -t nfs "Your_NAS_IP":/volume1/images /mnt
      mkdir /mnt/dev
      touch /mnt/.mntcheck
      umount /mnt
      
      mount -t nfs <syno_nas_ip>:/volume1/images/dev /mnt
      touch /mnt/.mntcheck
      umount /mnt
      
      mount -t nfs <syno_nas_ip>:/volume1/snapins /mnt
      mkdir /mnt/ssl
      cp -R /opt/fog/ssl/* /mnt/ssl
      umount /mnt
      
      mount -t nfs <syno_nas_ip>:/volume1/tftpboot /mnt
      cp -R /tftpboot/* /mnt
      umount /mnt
      

      When you have done that, you have nothing to do on the FOG server.

      Go to the FOG Management GUI, select Storage --> Add storage Node:
      0_1530535123716_22Capture.PNG
      0_1530535331683_23Capture.PNG
      -Management Username it’s the user we created before on NAS.
      -Management Password it’s the same password of the user we created on the NAS.
      -Check master node.
      -Storage Group: default.
      -Click on ADD.

      Go to Storage --> All storage nodes --> Click on DefaultMember:
      0_1530535528744_24Capture.PNG
      0_1530535572347_25Capture.PNG
      -Uncheck “Master Node”.
      -Click “Update”.

      Now create a new image and try to capture a image:
      0_1530535723474_26Capture.PNG
      Go to hosts --> List all hosts --> Click on your host:
      0_1530536882404_27Capture.PNG
      0_1530536802781_28Capture.PNG
      -Click “Update”.
      And now capture the image:
      0_1530536848164_30Capture.PNG

      YOU CAN DEPLOY IMAGE TOO 🙂

      There is already a very good tutorial on this subject, but I wanted to enhance it with images that it is more understandable.
      https://forums.fogproject.org/topic/9430/synology-nas-as-fog-storage-node?page=1

      posted in Tutorials
      A
      Alex78
    • RE: Synology NAS as FOG Storage node

      @tom-elliott I just unchecked “Enable advanced sharing permissions in affected folders”:
      0_1530513445336_Capture111.PNG

      posted in Tutorials
      A
      Alex78
    • RE: Synology NAS as FOG Storage node

      I think it’s working thanks you 🙂

      posted in Tutorials
      A
      Alex78
    • RE: Synology NAS as FOG Storage node

      @george1421
      Ok, I am still checking all the steps of your tutorial and I will come back to you, if it not solved the problem or on the contrary if it solved it, thank you for your answer.

      posted in Tutorials
      A
      Alex78
    • RE: Synology NAS as FOG Storage node

      @george1421 Hello, i did all the things you say, but i stay with this error, and i don’t know what this means:
      0_1530264310568_ok.PNG

      Did someone known this problem ?

      posted in Tutorials
      A
      Alex78