• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Technolust
    3. Posts
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 11
    • Posts 55
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by Technolust

    • RE: New Fog Server - /images location

      @Sebastian-Roth I’m not seeing image definition. If you mean under Image General after opening an image and changing one of the properties to any of the settings then that did not work either.

      I was able to export the images and import them to the new server after I RSYNC’d the images.

      I’m good now.

      posted in FOG Problems
      T
      Technolust
    • RE: New Fog Server - /images location

      @george1421 I was able to figure it out. After RSYNC’ing the directories you have to export the images off the old server and then on the new server you have to import the images. Tested an image to a laptop and it worked.

      Thank you for all the help. All good now.

      posted in FOG Problems
      T
      Technolust
    • RE: New Fog Server - /images location

      @Sebastian-Roth How do I edit the image definition?

      posted in FOG Problems
      T
      Technolust
    • RE: New Fog Server - /images location

      Sweet, I’m just not sure I completely understand how to copy the metadata in the database.
      “create the metadata by going in and manually create a new image definition in the new FOG server”

      Do you know the location of the below?
      “Create it manually by copy and pasting from the source FOG server.”

      I setup samba on both servers so I can do in GUI or I can scp the files…

      posted in FOG Problems
      T
      Technolust
    • RE: New Fog Server - /images location

      @george1421 Just about. I can’t get the fog server to see the images I RSYNC’d over. Not sure how to get them to show up. I moved over two images to the /fogserver/images directory. Do you know how to move images from one Fog Server to another?

      posted in FOG Problems
      T
      Technolust
    • RE: New Fog Server - /images location

      @george1421 Ok George, looks like I need another cup of coffee… I figured out why the Storage was not online. Two issues.

      1. Selinux - Looks like I ran the script earlier without putting Selinux in Permissive mode so yeah it was breaking things. Found out when I tried to actually pull an image.

      2. Permissions - Permissions for /fogserver dircetory needed to change ownership (was root:root needs to be fog:root) Recursively along with 777 so the /fogserver/images directory had the correct permissions but not the /fogserver dircetory.

      Fog3.PNG

      Looks like things are good. I am Rsyncing the images back over from the old fog server and will try it again when they come over.

      posted in FOG Problems
      T
      Technolust
    • RE: New Fog Server - /images location

      @george1421 Here is something strange, I RSYNC’d two images from the old Fog server to this new one and when I open the images link and select all images. No images show up. It’s appears to be acting like the Web GUI can’t see the /fogserver/images directory.

      posted in FOG Problems
      T
      Technolust
    • RE: New Fog Server - /images location

      @george1421 Ok cool let me get that up and see. Will report after.

      posted in FOG Problems
      T
      Technolust
    • RE: New Fog Server - /images location

      @george1421 No worries at all I figured that’s what you meant. My coffee needs coffee today! Just did another reboot. Node is still offline.

      posted in FOG Problems
      T
      Technolust
    • RE: New Fog Server - /images location

      @george1421 said in New Fog Server - /images location:

      touch /fogserver/dev/images/.mntcheck

      Ok looks like /fogserver/dev/images doesn’t exist. Is this supposed to be /fogserver/images/dev?
      If so I ran touch touch /

      [root@fogserver images]# ls -la /fogserver/images/
      total 20
      drwxrwxrwx. 5 fog root 4096 Jan 22 10:03 .
      drwxr-xr-x. 3 root root 4096 Jan 22 09:16 …
      -rwxrwxrwx. 1 fog root 0 Jan 22 10:25 .mntcheck
      drwxrwxrwx. 2 fog root 4096 Jan 22 10:03 T470-Win10
      drwxrwxrwx. 3 fog root 4096 Jan 22 09:21 dev
      drwxrwxrwx. 2 fog root 4096 Jan 22 09:21 postdownloadscripts
      [root@fogserver images]# ls -la /fogserver/dev/images/
      ls: cannot access /fogserver/dev/images/: No such file or directory
      [root@fogserver images]# ls -la /images/
      total 16
      drwxrwxrwx. 4 fog root 4096 Jan 22 09:10 .
      dr-xr-xr-x. 22 root root 4096 Jan 22 09:36 …
      -rwxrwxrwx. 1 fog root 0 Jan 22 09:10 .mntcheck
      drwxrwxrwx. 3 fog root 4096 Jan 22 09:10 dev
      drwxrwxrwx. 2 fog root 4096 Jan 22 09:10 postdownloadscripts
      [root@fogserver images]#

      [root@fogserver images]# touch /fogserver/images/dev/
      [root@fogserver images]# ls -la /fogserver/images/dev/
      total 12
      drwxrwxrwx. 3 fog root 4096 Jan 22 10:28 .
      drwxrwxrwx. 5 fog root 4096 Jan 22 10:03 …
      -rwxrwxrwx. 1 fog root 0 Jan 22 09:21 .mntcheck
      drwxrwxrwx. 2 fog root 4096 Jan 22 09:21 postinitscripts
      [root@fogserver images]#

      posted in FOG Problems
      T
      Technolust
    • RE: New Fog Server - /images location

      @george1421 Thanks, I did make the change for the ftp path and I did update the .fogsettings in step 1 as well as rebooted the server. Only thing now is the Storage Node not coming online.

      /fogserver/images/

      [root@fogserver images]# ls -lrt
      total 12
      drwxrwxrwx. 3 fog root 4096 Jan 22 09:21 dev
      drwxrwxrwx. 2 fog root 4096 Jan 22 09:21 postdownloadscripts
      drwxrwxrwx. 2 fog root 4096 Jan 22 10:03 T470-Win10

      posted in FOG Problems
      T
      Technolust
    • RE: New Fog Server - /images location

      fog.PNG Should the Storage Node show online?

      When I go to storage nodes it is up and running.
      fog2.PNG

      Thoughts?

      Thanks,

      Technolust

      posted in FOG Problems
      T
      Technolust
    • RE: New Fog Server - /images location

      @george1421 Hey George, in step 5, the Web GUI -> Fog Configuration -> Fog Settings -> Expand all -> there is no /images location. Should there be any specific settings? In step 6 do I also change the FTP path to /fogserver/images from /images? If so I did that as well. Finally step 10 - Looks good.
      Export list for 127.0.0.1:
      /fogserver/images/dev *
      /fogserver/images *

      Can you tell me if this will need to be performed for every update or will fog server updates keep these settings?

      posted in FOG Problems
      T
      Technolust
    • RE: New Fog Server - /images location

      @Sebastian-Roth That’s what I figured. Thank you!!!

      posted in FOG Problems
      T
      Technolust
    • RE: New Fog Server - /images location

      @george1421 Is it common to leave the mysql password blank?

      posted in FOG Problems
      T
      Technolust
    • RE: PXE Boot to different VLAN

      @Sebastian-Roth Hey Sebastion-Roth, Looks like only the legacy option was selected in the BIOS and in the DHCP options I have it set for UEFI only including 32bit and 64 but I did not allow the unidonly option. I made them change the bios to UEFI and Legacy. Also they had SecureBoot enabled so we disabled that and we are up and running.

      Hope that helps for future users.

      posted in FOG Problems
      T
      Technolust
    • RE: New Fog Server - /images location

      @george1421 Ok George, so going ahead with the default install and then will try the settings below. Sound right?

      posted in FOG Problems
      T
      Technolust
    • RE: New Fog Server - /images location

      @george1421 No worries man, should I just go ahead and go through with the install afterwords and see if we can change it? I will take an image of the server and revert back to it if I need revert back. I’m asking because I don’t have the /opt/fog directory configure yet because I canceled the install.

      Thoughts?

      posted in FOG Problems
      T
      Technolust
    • RE: New Fog Server - /images location

      @george1421

      Hey George,

      The installer doesn’t ask you for a location it automatically chooses the install location.

      What version of Linux would you like to run the installation for?

            1) Redhat Based Linux (Redhat, CentOS, Mageia)
            2) Debian Based Linux (Debian, Ubuntu, Kubuntu, Edubuntu)
            3) Arch Linux
      

      Choice: [1]

      Starting Redhat based Installation

      FOG Server installation modes:
      * Normal Server: (Choice N)
      This is the typical installation type and
      will install all FOG components for you on this
      machine. Pick this option if you are unsure what to pick.

        * Storage Node: (Choice S)
            This install mode will only install the software required
            to make this server act as a node in a storage group
      

      More information:
      http://www.fogproject.org/wiki/index.php?title=InstallationModes

      What type of installation would you like to do? [N/s (Normal/Storage)] Normal

      What is the IP address to be used by this FOG Server? [10.141.0.20]

      Would you like to change the default network interface from ens160?
      If you are not sure, select No. [y/N] n

      Would you like to setup a router address for the DHCP server? [Y/n] y
      What is the IP address to be used for the router on
      the DHCP server? [10.141.0.1]10.141.0.27

      Would you like DHCP to handle DNS? [Y/n] n

      Would you like to use the FOG server for DHCP service? [y/N] n

      This version of FOG has internationalization support, would
      you like to install the additional language packs? [y/N] n

      ######################################################################

      FOG now has everything it needs for this setup, but please

      understand that this script will overwrite any setting you may

      have setup for services like DHCP, apache, pxe, tftp, and NFS.

      ######################################################################

      It is not recommended that you install this on a production system

      as this script modifies many of your system settings.

      ######################################################################

      This script should be run by the root user.

      It will prepend the running with sudo if root is not set

      ######################################################################

      ** Notice ** FOG is difficult to setup securely

      SELinux and IPTables are usually asked to be disabled

      There have been strides in adding capabilities

      The recommendations would now be more appropriate

      to set SELinux to permissive and to disable firewall for now.

      You can find some methods to enable SELinux and maintain firewall

      settings and ports. If you feel comfortable doing so please do

      ######################################################################

      Please see our wiki for more information at:

      ######################################################################

      https://wiki.fogproject.org/wiki/index.php

      ######################################################################

      • Here are the settings FOG will use:

      • Base Linux: Redhat

      • Detected Linux Distribution: CentOS Linux

      • Server IP Address: 10.141.0.20

      • Server Subnet Mask: 255.255.255.0

      • Interface: ens160

      • Installation Type: Normal Server

      • Internationalization: 0

      • Image Storage Location: /images

      • Using FOG DHCP: No

      • DHCP will NOT be setup but you must setup your
        | current DHCP server to use FOG for PXE services.

      • On a Linux DHCP server you must set: next-server and filename

      • On a Windows DHCP server you must set options 066 and 067

      • Option 066/next-server is the IP of the FOG Server: (e.g. 10.141.0.20)

      • Option 067/filename is the bootfile: (e.g. undionly.kpxe)

      • Are you sure you wish to continue (Y/N)

      posted in FOG Problems
      T
      Technolust
    • RE: New Fog Server - /images location

      Awesome, Thanks George. Running through the installer now and just saw the installer explain the difference… Haha, Reading is fundamental…

      posted in FOG Problems
      T
      Technolust
    • 1
    • 2
    • 3
    • 2 / 3