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

    Posts made by TomcatKZN

    • RE: Setting up the right FOG Environment

      @george1421 said in Setting up the right FOG Environment:

      @tomcatkzn said in Setting up the right FOG Environment:

      I was thinking that I need for each operating system/hardware combination :

      A base image with drivers and updates but no other software
      then a pre-sysprepped image of each of the above with other software installed.
      then a final sysprepped image for deployment.

      In our case we have a generic OS image and then use FOG to place the required diver files in a predefined location on the target system during imaging. Granted we only use Dells in our company, but we have 3 images (Win7x64, Win10x64, Win10x64EFI) for 15 different hardware models. It takes a while to set this up, but we can add new models without needing to recapture images for each new model. Also with this design, we recapture these 3 images each quarter with the latest updates (we may abandon this since Win10 will change the way updates are applied anyway).

      We build our reference images on a VM so that we have capabilities like snapshotting, and hardware independence during reference system creation. We do use Microsoft MDT to automate our reference image build. That way we get a consistently built reference image each quarter.

      Thank you for the feedback. I was lead to believe that using a VM for the reference image was not a good idea according to an article by Mitch Tullock (the link escapes me at the moment), although we are currently doing it with MDT/WDS.

      Can you elaborate on how you: “use FOG to place the required diver files in a predefined location on the target system during imaging.”

      posted in General Problems
      T
      TomcatKZN
    • RE: Setting up the right FOG Environment

      @wayne-workman said in Setting up the right FOG Environment:

      @tomcatkzn said in Setting up the right FOG Environment:

      Could you offer the reasons why you prefer Centos over Ubuntu?

      There’s this: https://forums.fogproject.org/topic/10006/ubuntu-is-fog-s-enemy

      Thank you for pointing this out. Def going with Centos.

      posted in General Problems
      T
      TomcatKZN
    • RE: Setting up the right FOG Environment

      @sebastian-roth said in Setting up the right FOG Environment:

      @TomcatKZN While talking about the “right FOG environment” you might also consider the network part. PXE boot and multicast are mainly the things that cause issues for FOG users. Possibly you have this all ready as you use WDS right now. Just came to my mind and though I better mention it to be worth consideration.

      Thank you. PXE boot is working great. Had some issues with multicast as the labs are on different subnets. Any pointers will be appreciated.
      Have 2x Netgear 7328FS backbone switches.
      Each dept has its own Netgear GS724T or GS748T switch.

      posted in General Problems
      T
      TomcatKZN
    • RE: Setting up the right FOG Environment

      In the Vm, should I set up a single virtual hard disk, or separate the OS from the image store by adding another virtual hard disk. How would this change the fog setup?

      posted in General Problems
      T
      TomcatKZN
    • RE: Setting up the right FOG Environment

      Thank you George and Wayne.

      “In my environment the FOG server is running Centos7 on a virtual machine with 2 vCPU and 5GB of RAM. Image push time for a 25GB Win10 image is about 4.5 minutes.”
      That sounds like nirvana!!

      “FOG can run comfortably with 4GB of RAM & 2 cores in most use cases.”
      Great info, thank you.

      So the Virtual Machine route seems to make sense then as it can be switched off when its not needed (amongst other things, like migration to another host, snapshots, etc) and I can go back to setting up the HP Microserver as a proper NAS.

      Could you offer the reasons why you prefer Centos over Ubuntu?

      I was thinking that I need for each operating system/hardware combination :

      1. A base image with drivers and updates but no other software
      2. then a pre-sysprepped image of each of the above with other software installed.
      3. then a final sysprepped image for deployment.

      Any idea what the size of a basic win7 and win10 image is with the new compression code?

      posted in General Problems
      T
      TomcatKZN
    • Setting up the right FOG Environment

      Can you chaps please help with a decison on setting up a preferred environment based on your experience with FOG.
      Current hardware options available are:
      1.
      New HP Microserver Gen8 1610T, 8Gb Ram
      64or 128 Gb SSD as Boot drive (or Boot off internal 32Gb USB stick)
      2x 8Tb Ironwolf Hd’s in Raid 1 (8Tb available)
      Dual Gigabit Network ports (Teamed) (Can add another 2 if deemed necessary)
      Was originally going to install Freenas/Rockstor and configure it as a NAS for storing both images and backup files, but I have since come to realise that setting a NAS as image store is not easy.
      So I thought of installing Xubuntu 16.04 LTS and making the device the fogserver but still able to export shares for other purposes. ie backups, off server storage of ISO’s etc.
      2.
      Existing Dell T620 with available slots for drives ( Windows Server 2012 R2 Host)
      Dual Xeon 3.6 running at average 8%
      Quad Port Gigabit Network card (Teamed) (over two switches for redundancy)
      Installing ubuntu 16.04/17.04 in VM as fogserver with 2xCPU, 2gb/4gb Ram.
      Can add 2x 2Tb(Raid1) SAS Drives into existing storage spaces on the host and shared with the fogserver VM as virtual drive/s for OS and Images.

      The fogserver will not work very often, but when it does it will be busy. We have 2x labs of 35 machines which need to be reimaged about 3/4 times a year. About another 50 Admin machines that will need imaging only when necessary for upgrades, reinstalls etc

      I last used fog about 5/6 years ago (0.29 to 0.32) when it ran on a stand alone machine and it worked very well until the machine died. I tried setting up ubuntu 10.04 in a VM and was only partially successful. Changed over to using WDS. We still have WDS but find it a pain to use, and I miss some of the features in fog. I was very happy to see fog is still being actively supported so thought I’d give it another bash.

      There are probably 10 or so different machines to support so probably 20 to 30 images to be stored.

      Your advice about how to use the available options will be much appreciated.

      posted in General Problems
      T
      TomcatKZN
    • RE: Install problem 1.5.0 RC 9 - Xubuntu16.04

      @jgallo Thank you so much. Completely forgot to create the database first!

      posted in FOG Problems
      T
      TomcatKZN
    • Install problem 1.5.0 RC 9 - Xubuntu16.04

      Hi Guys
      Im setting up a new Fog server on an HP Microserver Gen8.
      I successfully managed to install Xubuntu 16.04 LTS. (Two Prev attempts failed, Ubuntu 17.04 with a bootloader issue, and Xubuntu 16.04.LTS first time as it somehow wrote to the install USB drive.)
      I cloned git and started the install from Dev Branch. I said no to DHCP as I have a windows DC that handles DHCP and DNS. When asked to update the PHP version to 7 I said yes.
      Everything seemed to go well. There were no error messages. When told to connect to the management site I attempted going to “http://Localhost/fog/management” and nothing happened(I replaced localhost with the machines IP address ).
      I thought something went wrong with the install so I ran it again. Again everything went fine until the last line - This time it said Fog install/update = Fail
      Nothing else.
      Any help will be much appreciated.
      I have to image 35 new computers for our Lab by Monday morning.

      posted in FOG Problems
      T
      TomcatKZN
    • RE: Images in Database

      I tried the following: Chown [COLOR=black][FONT=Consolas]-R fog:root /images (left the passwords in Storage and TFTP_FTP settings the same)[/FONT][/COLOR]
      [FONT=Tahoma]
      Now it seems to be working. [/FONT]

      posted in FOG Problems
      T
      TomcatKZN
    • RE: Why Does Fog 1.2 Uploading Seem So Slow Now?

      Thanks for the info. I changed the setting to 3 and now get decent upload speeds again.
      Ubuntu 12.04 & FOG 1.2.0

      posted in FOG Problems
      T
      TomcatKZN
    • RE: Images in Database

      I am having the same problem with images not being moved ( Ubuntu 12.04 Fog 1.2.0). I have checked the passwords and they are the same in both places. It is clearly an authentication problem, but can anyone give us an idea of where and what to change.
      (very frustrated. been using FOG since 2009 with very few problems until the upgrade, which only happened because the old server died and we thought what the hell, lets catch up!)

      posted in FOG Problems
      T
      TomcatKZN
    • RE: NFS times out trying to upload image

      [quote=“bardicverse, post: 4378, member: 1314”]dumb question - can you ping the fog server’s ip address from one of your client machines?[/quote]
      Yep. No problem there. Can ping by ip address and hostname.
      No question is a dumb question. I might have overlooked something small.

      posted in Linux Problems
      T
      TomcatKZN
    • RE: NFS times out trying to upload image

      [quote=“bardicverse, post: 4362, member: 1314”]I found a similar problem, but my solution was too vague, because I made several changes. Of those, I did the following:
      -Switched from Ubuntu 12 to 10.04
      -On my DHCP server, set port 66 to my IP address, not the server name
      -modified Ubuntu with a proxydhcp

      One or more of those things worked for me, on a windows client.[/quote]
      Thanks for the response.
      I also switched to Ubuntu 10.04. Tried both server and desktop.
      Also set DHCP option 66 to my IP address.
      Have DHCP running on server 2008R2. If I change the destination to the windows WDS server then the clients connect no problem.
      So am pretty sure it is not a network problem. Seems to be something on the Ubuntu box that is blocking the NFS connections.
      I set up another machine with ubuntu and it can also not connect to the NFS share on the fog server. If I execute (on the client) showmount -a fogserverIP then it shows me that /images and /images/dev are exported.

      Anyone have any further ideas what to look at?

      posted in Linux Problems
      T
      TomcatKZN
    • NFS times out trying to upload image

      Am seriously going bald with all the hair pulling on this one.
      I have installed fog on 4 different flavours of ubuntu and every time I try and upload an image the connection times out at connecting to NFS share, on the client.
      Something is blocking the connection to the fog server, but for the life of me I cannot find it.
      I can connect to the NFS share on the fog machine.
      Can someone please shed some light on this, or suggest where to look next.

      posted in Linux Problems
      T
      TomcatKZN
    • NFS not working on 10.04 LTS

      Any help greatly appreciated. Am really pulling my hair out and have machines that desperately need imaging.
      In a previous post I noted that I was able to get Fog upload working if I installed .29 then upgraded to .32 - on a virtual machine. It all worked without me having to adjust anything. IT JUST WORKED.
      That machine was just a trial and did not have space for the images I need, so I did the same install on a DELLR610 standalone machine, BUT NOW THE NFS CONNECTION NO LONGER WORKS, and I havent been able to figure out why.
      My exports file is as per instructions, I have restarted the nfs-kernel-server service and it says OK.
      I ran a debug upload from a client and when I type in the mount command, it says connection timed out.
      If I type showmount -p “serveripaddress” on another ubuntu machine, then it shows me the two directories are exported correctly, but I cannot connect to them. I have checked that IPtables is not running and I have disabled ufw.
      Please, does anyone have any ideas what I do next.

      posted in Linux Problems
      T
      TomcatKZN
    • RE: Fog.32 on Ubuntu 11.10 Unable to upload image

      After testing that .29 worked, I upgraded to .32 and that also worked. In fact the image uploaded much faster after installing .32
      Still none the wiser why .32 wont install correctly. I have checked the settings and to me they look the same but I am no Linux guru.

      posted in Linux Problems
      T
      TomcatKZN
    • RE: Fog.32 on Ubuntu 11.10 Unable to upload image

      I checked iptables status. disabled and I checked ufw status, also disabled. I am still none the wiser as to why fresh install of .32 does not work on ubuntu - any flavour, but .29 does.

      posted in Linux Problems
      T
      TomcatKZN
    • RE: Fog.32 on Ubuntu 11.10 Unable to upload image

      So could not get this to work, so here is what I did as a test:

      loaded 10.04 lts on hyper-v 2008 R2. blacklisted the framebuffer. Installed the HV modules. rebuilt initramfs. reboot
      setup eth0. downloaded and installed fog .29
      setup an image, added a client(win7 on hyper-v), added a task to upload the client.

      [B]VOILA - it works.[/B] Client is busy uploading as I type.
      Once the image upload is complete I will upgrade the server to FOG .32 and see what happens!

      posted in Linux Problems
      T
      TomcatKZN
    • RE: Fog.32 on Ubuntu 11.10 Unable to upload image

      [quote=“BryceZ, post: 3934, member: 2”]SSH into fogserver and try
      [CODE]mkdir /tmp/images
      mount -t nfs fogserver:/images/ /tmp/images/[/CODE]
      If you can’t mount it locally then you’ve got a problem with NFS. If you can mount it locally then it must be a networking issue, perhaps a wrong ip address or dns record for your fog server, or maybe a firewall.[/quote]
      The local mount works.
      checked the dns records, and using the same box as before so mac address is still the same.
      Checked the ISA firewall logs. There is no evidence of anything being blocked.
      How do I check if there is a firewall on the linux machine?

      posted in Linux Problems
      T
      TomcatKZN
    • RE: Fog.32 on Ubuntu 11.10 Unable to upload image

      [EMAIL]tim@fogserver:~$[/EMAIL] sudo service nfs-kernel-server restart

      • Stopping NFS kernel daemon [ OK ]
      • Unexporting directories for NFS kernel daemon… [ OK ]
      • Exporting directories for NFS kernel daemon… exportfs: /etc/exports [1]: Neither ‘subtree_check’ or ‘no_subtree_check’ specified for export “:/images".
        Assuming default behaviour (‘no_subtree_check’).
        NOTE: this default has changed since nfs-utils version 1.0.x
        exportfs: /etc/exports [2]: Neither ‘subtree_check’ or ‘no_subtree_check’ specified for export "
        :/images/dev”.
        Assuming default behaviour (‘no_subtree_check’).
        NOTE: this default has changed since nfs-utils version 1.0.x
        exportfs: scandir /etc/exports.d: No such file or directory
        [ OK ]
      • Starting NFS kernel daemon [ OK ]
        [EMAIL]tim@fogserver:~$[/EMAIL] sudo exportfs -av
        exportfs: /etc/exports [1]: Neither ‘subtree_check’ or ‘no_subtree_check’ specified for export “:/images".
        Assuming default behaviour (‘no_subtree_check’).
        NOTE: this default has changed since nfs-utils version 1.0.x
        exportfs: /etc/exports [2]: Neither ‘subtree_check’ or ‘no_subtree_check’ specified for export "
        :/images/dev”.
        Assuming default behaviour (‘no_subtree_check’).
        NOTE: this default has changed since nfs-utils version 1.0.x
        exportfs: scandir /etc/exports.d: No such file or directory
        exporting *:/images/dev
        exporting *:/images
        [EMAIL]tim@fogserver:~$[/EMAIL] cat /etc/exports
        /images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
        /images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)
        [EMAIL]tim@fogserver:~$[/EMAIL]
        login as: tim
        [EMAIL]tim@192.168.103.246’s[/EMAIL] password:
        Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-20-generic-pae i686)
      • Documentation: [url]https://help.ubuntu.com/[/url]
        New release ‘12.04 LTS’ available.
        Run ‘do-release-upgrade’ to upgrade to it.
        Last login: Wed Jun 6 14:45:22 2012 from 192.168.103.178
        [EMAIL]tim@fogserver:~$[/EMAIL] sudo service nfs-kernel-server restart
        [sudo] password for tim:
      • Stopping NFS kernel daemon [ OK ]
      • Unexporting directories for NFS kernel daemon… [ OK ]
      • Exporting directories for NFS kernel daemon… exportfs: /etc/exports [1]: Neither ‘subtree_check’ or ‘no_subtree_check’ specified for export “:/images".
        Assuming default behaviour (‘no_subtree_check’).
        NOTE: this default has changed since nfs-utils version 1.0.x
        exportfs: /etc/exports [2]: Neither ‘subtree_check’ or ‘no_subtree_check’ specified for export "
        :/images/dev”.
        Assuming default behaviour (‘no_subtree_check’).
        NOTE: this default has changed since nfs-utils version 1.0.x
        exportfs: scandir /etc/exports.d: No such file or directory
        [ OK ]
      • Starting NFS kernel daemon [ OK ]
        [EMAIL]tim@fogserver:~$[/EMAIL] sudo exportfs -av
        [sudo] password for tim:
        exportfs: /etc/exports [1]: Neither ‘subtree_check’ or ‘no_subtree_check’ specified for export “:/images".
        Assuming default behaviour (‘no_subtree_check’).
        NOTE: this default has changed since nfs-utils version 1.0.x
        exportfs: /etc/exports [2]: Neither ‘subtree_check’ or ‘no_subtree_check’ specified for export "
        :/images/dev”.
        Assuming default behaviour (‘no_subtree_check’).
        NOTE: this default has changed since nfs-utils version 1.0.x
        exportfs: scandir /etc/exports.d: No such file or directory
        exporting *:/images/dev
        exporting *:/images
        [EMAIL]tim@fogserver:~$[/EMAIL] cat /etc/exports
        /images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
        /images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)
        [EMAIL]tim@fogserver:~$[/EMAIL] cat /etc/exports
        /images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
        /images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)
        [EMAIL]tim@fogserver:~$[/EMAIL] /images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
        -bash: /images: Is a directory
        [EMAIL]tim@fogserver:~$[/EMAIL] /images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)
        -bash: /images/dev: Is a directory
        [EMAIL]tim@fogserver:~$[/EMAIL] ^C
        [EMAIL]tim@fogserver:~$[/EMAIL] cls
        No command ‘cls’ found, but there are 18 similar ones
        cls: command not found
        [EMAIL]tim@fogserver:~$[/EMAIL] clear
        [EMAIL]tim@fogserver:~$[/EMAIL] cat /etc/exports
        /images *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
        /images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)
        [EMAIL]tim@fogserver:~$[/EMAIL] ls -l /images
        total 4
        drwxrwxrwx 2 root root 4096 2012-06-06 15:51 dev
        [EMAIL]tim@fogserver:~$[/EMAIL] ls -a /images
        . … dev .mntcheck
        [EMAIL]tim@fogserver:~$[/EMAIL] sudo chown -R fog:root /images
        [EMAIL]tim@fogserver:~$[/EMAIL]

      Still no joy! Any help appreciated, please…

      posted in Linux Problems
      T
      TomcatKZN
    • 1
    • 2
    • 3
    • 2 / 3