@Wayne-Workman That looks like a very handy script to have. I think it will do the trick to clean up some issues in district. Thanks!!
Posts
-
RE: Printer Removal
-
Printer Removal
Server
- FOG Version: RC-8
- OS: Ubuntu 14.04
Client
- Service Version: 0.11.5
- OS: WIN7
Description
When setting up printers is it possible to delete a FOG assigned printer from a host without setting the Printer Management Level to “Only Assigned Printers”? I have a lab that got one wrong printer installed and it would be nice to not have to touch each machine to remove it. I have removed it from the list for the group but it does not disappear from the host machine.
Thanks!
Cheers,
Joe
-
RE: Select hosts in a group to deploy just a part
I second this! I do the same thing! I use a temporary group as well but this would be handy!
-
RE: Fog Service Not Starting Automatically
Are you sysprepping?
Yes
It could be that the service was shut off prior to sysprep and that the script to activate it failed to complete. That is suspicious to say the least. The only odd thing is that I set the service to manual and set it to off prior to sysprep. Once it’s sysprepped the SetupComplete script is set to change it to Automatic and start the service. What’s funny is that the the service “Start Up Type” is set to “Automatic” and yet it’s still stopped. I haven’t played with any of the recovery options for the service. I may start setting that to restart on failure. We’ll see!
Any reason why you’re still using RC-8?
Everything has been running so smooth now that I’ve switched to FOG that I haven’t had any need to update. I will though here soon. I see that @Tom-Elliott updated the WOL on the latest version which will be handy as I noticed that wasn’t working as well in RC-8.
Cheers,
Joe
-
Fog Service Not Starting Automatically
Server
- FOG Version: RC8
- OS: Ubuntu 14.04
Client
- Service Version: 0.11.5
- OS: Win7
Description
Windows 7 FOG Service fails to start when set to automatic.
Resolution
Starting the service usually fixes this. But sometimes the service still fails to re-start. Re-installing the service ultimately will fix this issue.Any ideas why it sometimes fails to start even though it’s set to Automatic?
Thanks!!
Cheers,
Joe Gill
-
Invalid Security Token
Server
- FOG Version:RC8
- OS: Ubuntu 14.04
Client
- Service Version: 0.11.5
- OS: Win7
Description
Client is not updating things properly. FOG service is running locally (IE started). Getting an invalid security token during authentication. What’s this about?
FOG.log file –
-----------------------------------------Authentication--------------------------------------------------
10/18/2016 12:02 PM Client-Info Version: 0.11.5
10/18/2016 12:02 PM Client-Info OS: Windows
10/18/2016 12:02 PM Middleware::Authentication Waiting for authentication timeout to pass
10/18/2016 12:04 PM Middleware::Communication Download: http://172.16.1.17/fog/management/other/ssl/srvpublic.crt
10/18/2016 12:04 PM Data::RSA FOG Server CA cert found
10/18/2016 12:04 PM Middleware::Authentication Cert OK
10/18/2016 12:04 PM Middleware::Communication POST URL: http://172.16.1.17/fog/management/index.php?sub=requestClientInfo&authorize&newService10/18/2016 12:04 PM Middleware::Response Invalid security token
-
RE: Adding additional storage to fog server (Virtual Box)
Note 2:
The only reason why I had a swap partition I believe was because initially I added a new drive to my VM and initially moved all my images over to that drive… I ended up transferring my images back to the original drive and removing the second drive all together. Despite removing the drive the Swap remained.
-
RE: Adding additional storage to fog server (Virtual Box)
For anyone else out there on FOG looking for this…
In my case I first added additional hard drive space on the VMware virtual disk side of things for my particular virtual machine. I added this space directly to the active hard disk. Then after I did that I booted to a Linux Live CD and ran GParted.
I saw my sda1, an sda2 extended partition and unpartioned space. Gparted would not allow me to add any of the unpartioned space to the existing partition without removing the swap from sda2. Then it did not refresh right away. I had to reboot to the live CD and then I could expand out the existing sda1 partition. I did this and rebooted. Now I can see everything and it appears to be stable.
Note:
In order to remove the swap space, you have to disable swap in gparted than it will remove the lock and let you change things. You have to unmount your drive / active partitions if it has a lock on them.Thanks for making me think guys! I’m glad I was able to figure this one out.
-
RE: Adding additional storage to fog server (Virtual Box)
@Tom-Elliott Yes this is a VM. I followed the most current wiki I listed below in my previous replies. I ran mkfs ext4 /dev/sdb1 on the partition. So I’m assuming that is setting it to extended. I believe you are correct though.
I am going to see if I can allocate some of the free space from my main partition to the /images directory.
Like what is described here:
http://askubuntu.com/questions/219881/how-can-i-create-one-logical-volume-over-two-disks-using-lvm
We’ll see… It’s always something! I’m just glad our helpdesk has been slow!
Thanks again for the input!
Cheers,
Joe
-
RE: Adding additional storage to fog server (Virtual Box)
@george1421
My server seemed to go fine… My storage node on the other hand… I’m running out of space!Well, I ended up running into a problem… I ran out of space on my newly created 300 gig images partition… I got an error saying I ran out of space when I tried to mv my images directory to /mnt/test directory where I had my new partition mounted… The funny thing is when I run GParted, it looks like I have tons of space left. However, when I run df -h I get a different story… I’m a bit perplexed. If you can simplify what’s going on here, please do.
Pardon the input below… My clipboard wasn’t working going from my virtual box to my PC…
root@FogNode:/mnt# df -h Filesystem Size Used Available Use% Mounted On udev 2.0G 12K 2.0G 1% /dev tmpfs 396M 1.2M 395M 1% /run /dev/sda1 489G 149G 315G 33% / none 4.0K 0 4.0K 0% /sys/fs/cgroup none 5.0M 0 5.0M 0% /run/lock none 2.0G 152K 2.0G 1% /run/shm /dev/sdb1 296G 296G 0 100% /mnt/test
Any help is appreciated…
I’m trying to simplify things here but it seems like they are getting more complicated! What I’m shooting for is to have more space in my images directory… Thanks!
Cheers,
Joe
-
RE: Adding additional storage to fog server (Virtual Box)
That went very smoothly so far. I’m copying my images directory over to my new sdb1 drive. So far so good.
@Developers I expected the Storage Node statistics on the Dashboard to update as soon as the new drive was mounted. Is their any particular reason it wouldn’t show up there? I’m not done copying my images directory from the original disk over to the new partition yet though and I haven’t adjusted things in fstab either…
Thanks!!
Cheers,
Joe
-
RE: Adding additional storage to fog server (Virtual Box)
I just found this!! If I have issues, I’ll post to this thread. Otherwise, you can close it. Sorry!
https://wiki.fogproject.org/wiki/index.php/Add_%26_Extend_a_2nd_Virtual_HDD
-
RE: Adding additional storage to fog server (Virtual Box)
I also see this…
Any ideas on how to do this on a virtual box?
Thanks!
Joe
-
Adding additional storage to fog server (Virtual Box)
Is their a tutorial out there on how to do add more space to a fog server that is on a virtual box? If not, is their an easy way to map a network drive on the FOG server to use as additional storage space? I’m about out of space for my image files…
I did find…
https://wiki.fogproject.org/wiki/index.php?title=Adding_Storage_to_a_FOG_Server
TIA!
Cheers,
Joe
-
RE: Windows / Office Licencing
We are using Office 2016.
So I went through all of what is listed here before and what I ended up doing was activating said office on pre-image. Then sysprepping. After I pushed the new image, office will prompt you to setup update service and licence on first use. It will licence as normal over the internet.
It’s still not the best solution, but… Until 2016 has KMS licence available, this is what I’m doing.
Good luck!!
Joe
-
RE: Host Name the Same in FOG PXE
I just wanted to update this post… I discovered my error. I must have done a quick registration and added that machine to the other lab by accident because the other lab only had 15 machines in it and this was machine 16. LOL!
Thanks guys!
-
Printer Config File
Hi All,
I"m configuring a new printer in a lab and am up against a wall trying to figure out how to install this guy. I don’t have any CFG files in the extracted printer install EXE. I have an inf file and I have an ini file but no where is their a CFG file.
Any ideas?
Cheers!
Joe Gill
-
RE: Host Name the Same in FOG PXE
@Wayne-Workman It does not have other macs. I think what’s happened is that this machine got quick added in fog and automatically assigned that host name. It would only make since. The host naming scheme I was using for the other lab only goes to 16 and 17 is next in line.
-
RE: Host Name the Same in FOG PXE
OK… So I finally got to look at this… It appears both DO have identical MAC addresses.
getmac = b0:83:fe:ac:3f:89 mysql> SELECT hmHostID FROM hostMAC where hmMAC IN ('b0:83:fe:ac:3f:89') -> ; +----------+ | hmHostID | +----------+ | 336 | +----------+ 1 row in set (0.00 sec)
That’s according to FOG. I’ll go check the other host…
Cheers!
Joe