• Replication Options

    4
    0 Votes
    4 Posts
    903 Views
    S

    @george1421 said:

    No/maybe. Replication will happen on all enabled images. If only one image is enabled in the image manager then only that image will be replicated. No. The fog image replicator will only replicate images and snapins between the master node and the storage node.

    @eseelke You might want to setup your own replication for those using cron and rsync.

    While I haven’t tested this, but if you have the location plugin installed and the target computer has been assigned to the remote location one might think that the variable ${fog-ip} would point to the proper server.

    @eseelke Sorry but ${fog-ip} is always pointing to the main FOG server. But adding another variable for the storage node should not be too complicated. I am on the road right now and don’t have my working laptop with me so I can’t test. But take a look at the boot menu code in /var/www/html/fog/lib/fog/bootmenu.class.php - after line 388 add this code:

    $Send['storageip'] = array("set storage-ip $StorageNode->get('ip')"); $this->_parseMe($Send);
  • IPXE initialising devices Sticking Again on Hyper-V

    7
    0 Votes
    7 Posts
    2k Views
    S

    @bnorwood Then you can either try older iPXE binaries. Go to github and pick an earlier commit from this list: https://github.com/FOGProject/fogproject/commits/master/packages/tftp - use the < > button to browse the repository at that stage and grab the binaries from packages/tftp/…

    If you can’t find a working binary you’ll probably need to get into debugging it as suggested in the topic mentioned in my last post.

  • FOG Image options when saving an image on a PC that has 2 hard disks?

    24
    0 Votes
    24 Posts
    8k Views
    S

    @Jim-Holcomb Great to hear! Keep us posted. I won’t be online much in the next two days though…

  • Can't mount /images folder (/bin/fog.download)

    9
    0 Votes
    9 Posts
    3k Views
    george1421G

    @the_duke You are getting an rpc error that indicates the showmount command could not connect to the server on its loopback interface. So that tells me that nfs is not installed for some reason or the services needed for nfs are not running. I don’t know ubuntu so I can’t give you step by step checks. But if showmount -e 127.0.0.1 is giving an RPC error then its not talking.

    You can also review the /etc/exports file but the shares are not the problem at the moment.

  • FOG Client unable to rename or join domain on some laptops

    4
    0 Votes
    4 Posts
    601 Views
    S

    @JYost Oh well, I was too quick looking at this without noticing the first part of it being really old. Next try:

    6/5/2020 2:42:30 PM HostnameChanger Checking Hostname 6/5/2020 2:42:30 PM HostnameChanger Renaming host to HE-L002107 6/5/2020 2:42:30 PM HostnameChanger Joining domain 6/5/2020 2:42:35 PM HostnameChanger Success, code = 0 6/5/2020 2:42:35 PM Power Creating shutdown command in 60 seconds

    Looks pretty good to me so far. And from then on the rest of the log shows:

    6/5/2020 2:46:22 PM HostnameChanger Checking Hostname 6/5/2020 2:46:22 PM HostnameChanger Hostname is correct 6/5/2020 2:46:22 PM HostnameChanger Attempting to join domain 6/5/2020 2:46:22 PM HostnameChanger Host already joined to target domain

    So I can only guess on what you mean by “not entirely sure what the error messages should be telling me”. Guess you mean these log entries:

    6/5/2020 2:38 PM Client-Info Version: 0.11.15 6/5/2020 2:38 PM Client-Info OS: Windows 6/5/2020 2:38 PM Middleware::Authentication Waiting for authentication timeout to pass 6/5/2020 2:40 PM Middleware::Communication Download: http://10.6.190.155/fog/management/other/ssl/srvpublic.crt 6/5/2020 2:40 PM Data::RSA FOG Server CA cert found 6/5/2020 2:40 PM Data::RSA ERROR: Certificate validation failed 6/5/2020 2:40 PM Data::RSA ERROR: Trust chain did not complete to the known authority anchor. Errors: The signature of the certificate cannot be verified. (NotSignatureValid) 6/5/2020 2:40 PM Middleware::Authentication ERROR: Could not authenticate 6/5/2020 2:40 PM Middleware::Authentication ERROR: Certificate is not from FOG CA

    The fog-client installed on this machine was pinned to a FOG server different to the one it is talking to right now. I suppose you switched your certificates or FOG server some time between installing this fog-client (0.11.15) and letting it talk to it now. Good news is that the fog-client figured there is an update (version 0.11.19 in the logs from then on), installed that and re-pinned to the current FOG server which essentially fixed the problem.

    which brings to mind another question…why are there still fog.log entries from back in March and then appended with the log entries from Friday?

    This means the fog-client on this machine (or your master??) has been running in March or the date/time of this machine was way off.

  • Problems with DB setup during upgrade to 1.5.8

    Solved
    11
    0 Votes
    11 Posts
    3k Views
    S

    After digging through the logs Hanz found that mysql_upgrade needed to be called to fix this issue. It’s very interesting we have not had too many people running into this but I am sure this is valuable information for others seeing this.

  • New Snapin - Cannot change directory

    Solved
    11
    0 Votes
    11 Posts
    3k Views
    Tom ElliottT

    @Taspharel Only when initially created yes. I don’t think it resets the permissions after.

  • NBP file downloaded succesfully

    8
    0 Votes
    8 Posts
    5k Views
    C

    @Sebastian-Roth I search for " realtek undi driver" for fog in google and i found a page in the forum with this link in the tftp in the 1.4.4 section.
    It was missing in the 1.5.8. i just add it.

  • Error deploying an existing image to SSD drive

    13
    0 Votes
    13 Posts
    3k Views
    Q

    @Sebastian-Roth Perhaps not for the MBR issue; but certainly for the resize issue.

  • Fujitsu p558 no get ip adresse

    Solved
    10
    0 Votes
    10 Posts
    2k Views
    S

    @kyokushin Please schedule a debug task and boot the machine again. Then when you get to the shell run the following commands:

    ip a s dhclient -v -r enp0s1 ip a s
  • FOG_DISABLE_CHKDSK setting

    3
    0 Votes
    3 Posts
    428 Views
    S

    Now I see, this is just a copy&paste from an old topic… https://forums.fogproject.org/topic/988/fog_disable_chkdsk-setting

    @Bienxanh Why do you waste our time I wonder?

  • API - Create Host Deploy Task "error": "Invalid tasking type passed"

    Solved
    11
    0 Votes
    11 Posts
    3k Views
    J

    @Sebastian-Roth said in API - Create Host Deploy Task "error": "Invalid tasking type passed":

    @Jamaal From the error message I would imagine that this last call is failing because an earlier query also failed and variables are not being set correctly because of the earlier error. So you need to post the full error you see!

    I am not a PowerShell wiz but from what I know the read-host stuff you added should work.

    Thanks man, you pointed me in the right direction.
    So I went back to your script again and ran it and noticed it kept giving an error message after the 1st throw command, like Powershell was skipping the 2nd and 3rd throw command.

    What I had to do was do a read-host, but kept the $ (read-host “enter machine name”) for example:

    [String] $MachineName = $( read-host “Provide the target machines Name”),
    [String] $MacAddress = $(Read-Host “Provide the target machine Address”),
    [String] $ImageName = $(read-host “Provide the Image Name to assign to the new target host”)
    So I saw the task in the task list right away. I’m so so with powershell and starting to get better with it, you know. What I would like to do is maybe figure out powershell commands to add the snapins as a read-host so the tech can select which snapins to use instead of going to the Fog console to be more automatic.

    And I would like Powershell to start the task once the hostname is added to Fog. I can start playing around that.

  • Ubuntu Live Boot Booting to Disk Install Not Live CD

    Solved
    20
    1 Votes
    20 Posts
    7k Views
    F

    @george1421 I think I follow, I’ll give it a bash and let you know, thank you :).

  • 0 Votes
    57 Posts
    20k Views
    S

    @jmvela2x Thanks very much for sticking with us on this and doing the tests!

  • Problems after adding storage

    13
    0 Votes
    13 Posts
    2k Views
    X

    Thank you for this information. I will have to come back to this at a later date though. I really do want to continue with this but our school district is in the middle of preparing machines and we’re relying on FOG heavily right now. I am not a Linux user so everything is new to me right now, so if we lose FOG, it will set us back a bit. Once projects are done I will come back to this. Thanks again.

  • 0 Votes
    2 Posts
    472 Views
    S

    @lebrun78 said in https, with home certificates and boot.php… No such file or directory (http://ipxe.org/2d0c613b):

    ./installfog.sh -C -K

    I really hope you don’t use the fog-client software as re-generating the internal CA will break all communication to the fog-clients.

    I modified /etc/httpd/conf.d/fog.conf with…

    This will be overwritten as soon as you re-run the FOG installer. I know this part of FOG needs some more attention but I can’t find the time to get into all of this. So I lost track of the SSL stuff a few weeks ago. Will need to work on the wiki article about this again: https://wiki.fogproject.org/wiki/index.php?title=HTTPS (this is not ready-set-go yet)

    I tried to generate a new ipxe configuration
    cd /opt/fogproject-1.5.9-RC2/utils/FOGiPXE/
    ./buildipxe.sh

    You will need to specify your CA cert on the command line when building and manually copy the binaries over after that, e.g.:

    cd /opt/fogproject-1.5.9-RC2/utils/FOGiPXE/ ./buildipxe.sh /etc/httpd/cert/DigiCertCA.crt cd ../../packages/tftp/ find -type f -exec cp -Rfv {} /tftpboot/{} \;
  • Unable Boot to Hard Drive after loading an image

    9
    0 Votes
    9 Posts
    2k Views
    george1421G

    @mhx Ok then lets extend a bit on what Sebastian suggested. Right now the main issue is PXE booting into FOG, and your firmware’s absence of a uefi network stack. So what we are going to attempt is to supplement your firmware by booting the iPXE boot loader directly from a uefi bootable memory stick using this process: https://forums.fogproject.org/topic/6350/usb-boot-uefi-client-into-fog-menu-easy-way

    typically the PXE rom in your network adapter reaches out via bootp and downloads the iPXE boot loader from the network, in this case we are going to load it directly from the USB flash drive. That flash drive can be tiny in todays standards. The iPXE boot loader can easily fit on a 512MB flash device. There is no need for anything bigger since it will be just a waste of empty space.

  • directory listings enabled in fog-installation

    Solved
    9
    0 Votes
    9 Posts
    2k Views
    S

    Finally added the simple route of HTTP redirect via index.php (99a407e and ad2813ab).

  • Ubuntu Live CD Added to Fog

    3
    0 Votes
    3 Posts
    495 Views
    F

    Perfect @george1421! I’ll give it a whirl, thank you.

  • FOG ClamAV Task Mount Permission Denied on Ubuntu.

    4
    0 Votes
    4 Posts
    964 Views
    george1421G

    @foggystarz You might want to look through this thread for ideas for pxe booting recovery media with FOG: https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images/3?_=1590418175520

130

Online

12.6k

Users

17.5k

Topics

156.3k

Posts