• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. robin-masters
    3. Posts
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 14
    • Best 3
    • Controversial 0
    • Groups 0

    Posts made by robin-masters

    • RE: FOG StorageNode as an own deployment server in an seperate Subnet

      Thx for this. The plugin is exactly what i need.

      The site deployment server is only a storage node with own pxe\tftp and mysql-client. It uses the MySQL DB of the Master Server.

      posted in FOG Problems
      R
      robin-masters
    • FOG StorageNode as an own deployment server in an seperate Subnet

      Greetings,

      configuration:
      Management and MasterNode (Ubuntu 14.04 FOG 1.2.0) Subnet 1
      StorageNode (Ubuntu 14.04 FOG 1.2.0) Subnet 2
      Both Fog Servers are in one StorageGroup.

      Synchronisation between Master and StorageNode is okay and boot from pxe (dnsProxy with dnsMasq) in both subnets also works.

      My problem is that clients in subnet 1 get`s the Image from the StorageNode in subnet 2 and vice versa.
      Between this both subnets is only a internet connection so … not a good way to deploy Images… 😉

      I dont want two storage groups and 2 images with same content but other name. (one Image for each subnet)

      I there a possibility to advice the client to take the FOG-Server of it`s own subnet?

      posted in FOG Problems
      R
      robin-masters
    • RE: Multiple TFTP servers multi subnet fog 1.2.0

      @Sebastian-Roth

      sry haven`t found this thread before.

      Thx for this.

      My workaround works only randomly, i think rc.local is the best way.

      posted in FOG Problems
      R
      robin-masters
    • RE: Multiple TFTP servers multi subnet fog 1.2.0

      Okay i kicked the 3 FOG Service manually out of the runlevels from rc.0 to rcS and let them join again with
      "update-rc.d fogscript defaults " and it works.

      With “top” i can see the Service running now after startup.

      See someone a problem in this workaround?

      Seems FOG Multisite\Multisubnet don`t work on ubuntu 14.04 without some troubles… 😉

      posted in FOG Problems
      R
      robin-masters
    • RE: Multiple TFTP servers multi subnet fog 1.2.0

      @robin-masters

      okay i check this out - the 3 FOG Services dont start at startup with Ubuntu 14.04.
      Have to stop and start it again after the reboot… then it works?

      Any Ideas?

      posted in FOG Problems
      R
      robin-masters
    • RE: Multiple TFTP servers multi subnet fog 1.2.0

      @george1421

      Hey thanks for this explanation!

      Okay, chkconfig is not a package of ubuntu but rcconf and it shows me that the FOG scripts are set to autostart.

      I also find links of the scripts correctly under “/etc/rc1.d” to “/etc/rc5.d”.

      But when i reboot the system and try to restart the FOGImageReplicator script with “/etc/init.d/FOGImageReplicator restart” it appears:

      root@image-server:/etc/init.d# /etc/init.d/FOGImageReplicator restart
       * Restarting FOG Computer Imaging Solution: FOGImageReplicator                                            start-stop-daemon: warning: failed to kill 1465: No such process
                                                                                                          [ OK ]
      

      Seems it is a problem with the service script and ubuntu. The script /opt/fog/Service/fogmain … works.

      If i stop the script with “/etc/init.d/FOGImageReplicator stop” and start it again with “/etc/init.d/FOGImageReplicator start” … it works… strange.

      posted in FOG Problems
      R
      robin-masters
    • RE: Multiple TFTP servers multi subnet fog 1.2.0

      @Wayne-Workman

      Okay there is one last question… eventually… 😉

      The sync works only if i start the FOGImageReplicator script manually is there no crontab in the install script? (I think this was the problem at the beginning not the path to WEBROOT)

      How do FOG cronjobs? - where can i find the Jobs?

      posted in FOG Problems
      R
      robin-masters
    • RE: Multiple TFTP servers multi subnet fog 1.2.0

      @Wayne-Workman

      Okay i have reinstalled the storage node and add the storage node in the webinterface of the master node again and nothing happens.
      No changes in log files and so on, seems nothing works.

      Seems /opt/fog/etc/config.php was wrong for ubuntu 14.04 with Apache 2.4.7.
      (The folder exists but it`s not the standard webroot of the Apache)

      change this from

      <?php
      define( "WEBROOT", "/var/www/fog" );
      ?>
      

      to

      <?php
      define( "WEBROOT", "/var/www/html/fog" );
      ?>
      

      On MasterNode and StorageNode.

      If i start the FOGImagereplicator script it works now…

      posted in FOG Problems
      R
      robin-masters
    • RE: Multiple TFTP servers multi subnet fog 1.2.0

      @Wayne-Workman

      Hey thx for answering.

      The issue with the storage pie chart on the dashboard is solved. The MySQL bind address of the Master Node was set to localhost, so no incoming connection from the storagenode was possible.

      Not a unimportant fact because in ubuntu 14.04 mysql-server bind-address is set on localhost by default.
      (a reminder in the wiki would be nice - for ubuntu don`t know how it is in redhat)

      But the sync of the images still don`t work. Have wait for 16h.
      In /images/ folder of the StorageNode are only the standard files (.mntcheck) and folder (dev and postdownloadscripts)

      I will reinstall the storagenode and see what happens…

      posted in FOG Problems
      R
      robin-masters
    • RE: Multiple TFTP servers multi subnet fog 1.2.0

      Greetings,

      one question to this issue.
      Configuration:
      master node fog 1.2.0 with ubuntu 14.04 in subnet 1
      storage node fog 1.2.0 with ubuntu 14.04 in subnet 2 (with own dnsmasq configuration)

      Both are in one storage Group.

      Connecting to both via nsf, tftp, ftp is possible from both subnets.
      I followed the instructions from here for ubuntu:

      https://wiki.fogproject.org/wiki/index.php/Multiple_TFTP_servers#Adding_the_Node_to_the_Management_Portal

      I think it`s all fine but in the FOG Management Dashboard appears “Failed to connect to.” if i choose my new storage node. The Log Show old entrys.

      [10-15-15 6:51:03 am]  * I am the only member, no need to copy anything!.
      [10-15-15 7:01:03 am]  * Starting Image Replication.
      [10-15-15 7:01:03 am]  * We are group ID: #1
      [10-15-15 7:01:03 am]  * We have node ID: #1
      [10-15-15 7:01:03 am]  * I am the only member, no need to copy anything!.
      
      

      at the beginning (after install of fog)

      [10-14-15 2:50:58 pm]  * Starting FOG Image Replicator Service
      [10-14-15 2:51:03 pm]  * Checking for new tasks every 600 seconds.
      [10-14-15 2:51:03 pm]  * Starting service loop.
      [10-14-15 2:51:03 pm]  * Starting Image Replication.
      

      I set the correct storage node password an so on… have no ideas anymore.

      First question… what protocols are necessary for a connection from fog master Server to his storage node?
      NSF, TFTP; FTP … mysql too?

      Why i sea only old logs? The last entry are from 20.oct.2015 actually we have 03.nov.2015 and the Server is running? (today i make a restard of the master)
      Can i start the sync with a command?

      posted in FOG Problems
      R
      robin-masters
    • RE: FOG with ubuntu server 14.04 - my experience

      @ch3i

      Thx…for this.

      Who maintained this page?https://wiki.fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_serverundefined

      Under the text: "Make a symlink for the undionly.kpxe file so dnsmasq can find it. " eventually it`s better to use here the relative link it should work for all systems?

      posted in General
      R
      robin-masters
    • RE: FOG with ubuntu server 14.04 - my experience

      @ch3i

      Hey lol it works… tried before again with ln -s /tftpboot/undionly.kpxe /tftpboot/undionly.0 and it definitively dont work.

      ln -s undionly.kpxe undionly.0 works now… oO

      Tried pxe boot from Dell Optiplex 790 and 7010

      posted in General
      R
      robin-masters
    • RE: FOG with ubuntu server 14.04 - my experience

      @Tom-Elliott Yes it`s correct i use dnsmasq only with a proxy setup. Like i said a symlink to undionly.0 seems dont work … but a copy… seems illogical, eventually i have misspelled but i copy the line from the manual 😉
      ln -s /tftpboot/undionly.kpxe /tftpboot/undionly.0
      After that a PXE boot was not possible it cant find the file. With cp /tftpboot/undionly.kpxe /tftpboot/undionly.0 it works…

      posted in General
      R
      robin-masters
    • FOG with ubuntu server 14.04 - my experience

      Greetings,

      at first fog is a create bunch of tools and many thanks to the developers and supporters.

      For testing i use a dell power edge r710 with a hardware certified ubuntu 14.04 Edition… 😉
      I use dnsmasq for pxe delivery no dhcp, dns and so on.
      My first problem was the Installation script of the fog 1.2.0 . It seems not install mysql-server correctly because after every reboot of the system the mysql server is down or it dont running correct (dont listen on the internal port) and when i try to login to SQL with mysql -u root -p the message “ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)” appears.
      Web-Interface of Fog don`t work too.

      I found the solution here:
      http://ubuntuforums.org/showthread.php?t=804021

      It helps to reinstall mysql-server with apt-get:
      sudo apt-get remove mysql-server libapache2-mod-auth-mysql php5-mysql
      sudo apt-get autoremove
      sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql

      A next Problem was the symlink for the undionly.kpxe
      https://wiki.fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server

      It dont work for me but with cp /tftpboot/undionly.kpxe /tftpboot/undionly.0 it`s okay…

      Now it works generally… ^^

      improvement suggestions:

      • german translation is gruesome 😉 (but my english too - but the webinterface is better to understand in english then in german)
      • possibility to delete more marked Hosts in the host list.
        (as a workaround and for more comfort i have phpmyadmin installed)
      posted in General
      R
      robin-masters
    • 1 / 1