I don’t use sysprep or any other file/system. Up to this point fog has just worked ( as it’s so well built ) and the computer name has been changed to reflect the host name from the server.
Posts made by Chris Shanks
-
RE: Computer name being overwritten by image rather than fog database
-
RE: Computer name being overwritten by image rather than fog database
Sort of, the core windows registry files where the computer name is stored are still saved on the C drive however I have made a different partition the “active” partition to allow the advanced repair options available when F8 is pressed during boot.
However the pc still boots from the C drive and I would like the computer name on the same drive to match the ID on fog rather than the master image.
-
RE: Computer name being overwritten by image rather than fog database
Ok, thank you a million. I have just run another test, manually changed the computer name to 12345 and post imaging it has become the same as the master image computer name.
-
RE: Computer name being overwritten by image rather than fog database
This is my problem, once the device has restarted post imaging, it usually gets unplugged and sent out to site so doesn’t see the fog server until it next gets imaged.
-
RE: Computer name being overwritten by image rather than fog database
Do I need to install the service on the hosts or just activate it on the server. Do the laptops need to be still connected to fog on first boot for this to happen?
-
Computer name being overwritten by image rather than fog database
Hey all,
Bit of a weird one, we actually use fog to manage a fleet of devices that are constantly being turned around and re-imaged as we’re an events company so devices never remain on fog for a long period of time to set up services etc.
The problem I’m having is I have an image of 4 partitions (including system reserved) that images fine and works however as part of a procedure we have in place, ( I have built a custom recovery partition into the HDD on the image so on-site, someone can recover the device back to our “base image”) I have made a different partition (E) the active partition rather than the C drive. This is leading to all the computers coming out post fog image with the same computer name rather than the one registered against the mac address on the fog database which is causing network collisions and all sorts of people moaning about it.
Is the answer set up active directory or is there something someone can think of to aid this problem. I know fog has the hostname changer which I presume was working fine when the C drive was primary as each mahcine would image and come out unique.
Fog 3091
Ubuntu desktop 12.04
Imaging various dell laptops and desktops all running windows 7
HDD content: system reserved, C drive (windows os), D (computer back up image), E (recovery partition, essentially a copy of a windows 7 disc containing the “system image recovery” algorithm under the repair this computer section")Thanks in advance.
-
Download Speed - Can it be improved?
Afternoon all,
Tried to find a coherent thread for things to change to try improve fog speeds but haven’t been able to find anything concrete.
All of the images I am pulling are around the 30Gb mark.
Running fog svn on a virtual os.Right now I am pushing an image to a host and getting around 3.3Gb/minute (400Mb/s). In the past I have seen this up at 6Gb/s but I would like to achieve 1000Mb/s per host being imaged.
Network card is Realtek RTL8169/8110 family PCI gigabit ethernet NIC
Running through either a gigabit TP-link SG1024D (probably has a small backplane) or I have a cisco SG300-28 which has full 1 gig duplex capacity on all ports.I have upped the MTU of the port to 7000 and the port is running on 1000 base, full duplex.
The image data is being pulled from a Raid5 4-disk array which I thought the read speed may be the problem?Any other thoughts or tips to improve speeds?
Thanks,
Chris -
RE: Fog 1.1.0 multicast sits at "Starting to restore image (-) to device (/dev/sda1)
Hey Guys, Just wondering if people are still having this problem with newer versions of svn (2923). Tom is this something you have time to look at amongst everything else you do?
Thanks
-
RE: Raid Array/read-write Permissions, passing images through virtualbox shared folders, fog read-write.
Hey Tom,
So after trying what feels like a million different combinations of mount points, shared folders, directories, I am still no closer to getting it work but I know it is possible as I managed to do this exact thing once before, I just didn’t save the example
My latest stumbling block is an Input/output error. ipxe.org/1d0c6139.
Had a quick flick through a previous thread to do with the same code, but his was regarding macs so no use and I’m using the svn so it won’t be the geotag problem.Thanks,
A very stressed and tired Chris! -
RE: Raid Array/read-write Permissions, passing images through virtualbox shared folders, fog read-write.
Have tried the mount command and the fstab ( given they do exactly the same). They still mount correctly and as a user, I can modify/edit the files, though I did need to be sudo to save the changes. Fog quick image still complains about the mounting problem.
Have given the tftpd-hpa service a restart as well as I wondered if I am constantly mounting/unmounting the/images folder, I can see that the disk info gui is constantly switching between the raid array disk space and the disk space left on the 10GB Vdi that the host is running so it is clearly mounting and picking it up as otherwise fog wouldn’t change from using the VDI to using the raid array space. -
RE: Raid Array/read-write Permissions, passing images through virtualbox shared folders, fog read-write.
Hey Tom
Yer, I didn’t exactly think it was a problem with fog or the svn, more a ubuntu problem trying to line all the mount points/permissions.
I have stopped using fstab and found this command:
[CODE]sudo mount -t vboxsf -o rw,uid=1000,gid=1000 FogImages /images[/CODE]
Where FogImages is the name of the shared folder in oracle virtualbox and /images is the mount point within the 10GB ubuntu host.I can now as a regular user, access, alter, delete files from within /images so the mount appears to be working. I have attempted to point the storage node at /images and given it the username/password of the 10GB virtual host as that is the filesystem it needs to access I think. Created a new image, pointed it to a folder within /images then tried to quick image but still getting:
mount: mounting 10.10.3.171 /images/ on /images failed: permission denied.So would i be correct in thinking that although I (the user account on the host) have access/modify rights to the shared mounted folder /images, I need to give fog access/modify rights?
-
Raid Array/read-write Permissions, passing images through virtualbox shared folders, fog read-write.
Morning All,
Bit of an interesting one that I’m trying to solve however there’s so many variables it’s a tad confusing so the set up is this:
Ubuntu server (booting from a separate SSD):
Running a raid5 array - mounted at /storage. This works perfectly fine, I can copy/paste files to and from this.
–Within /storage is /storage/images. This is a copy of all of my fog images backed up from my old fog server, once again, I can at the moment access/delete all files within.
The server is running virtual box of which the host is ubuntu desktop.
–I have set up a shared folder from within the virtualbox settings which shares /storage/images with the host. Called “images” and does not automount so solve previous problems.Ubuntu desktop host:
Fog 2890
default storage node: /images/etc/fstab: images /images vboxsf noauto 0 0
All of the image subfolders from within /storage/images have mounted properly within the host /images.
Fog gui disk information shows the free and used space to be the same as the raid array.The problem appears to be linking all this so that fog can read/write images from it’s /images storage node which just happens to be a raid5 array on the main server. Reason being, we have nearly 1TB of images as we use fog A LOT! So to become more stable, we built a new server, created a raid5 array for all the images to be saved on. Then since the ubuntu desktop host (Fog server) is virtualised and only 10GB big, it can be copied/cloned easily and is held completely seperate from the image data store so if for instance the fog server goes down, we can just reboot a different virtual machine, pass the raid array with the images back through and all is well, likewise if the raid goes down, we just use a back up/rebuild the raid but you know your fog server itself is still functioning.
Hope all that makes sense,
Thanks in advance!Chris
-
RE: Install/update your databse schema - blank page
You’re welcome Mr Tom. Until next time…
-
RE: Install/update your databse schema - blank page
No need to apologise at all, fog is an amazing tool far more complicated than I could ever dream of! I am fascinated by it and would always help anyway I can. Slightly star struck that it is always you that comes to the rescue whenever I manage to break it given you appear to be so influential over the development of the svn.
On other news when i stop fan-girling, have just checked out to svn 2890 - fresh install worked fine including the database scheme install update.
-
RE: Install/update your databse schema - blank page
I have been fresh installing yes, I have always presumed svn can be installed without fog as a precursor?
-
RE: Install/update your databse schema - blank page
Still running 2889, want me to move to 2890 then try again?
dbs@inception-VirtualBox:/var/log/apache2$ sudo chown -R www-data:www-data /opt/fog/snapins
[sudo] password for dbs:
chown: cannot access `/opt/fog/snapins’: No such file or directory
dbs@inception-VirtualBox:/var/log/apache2$ -
RE: Install/update your databse schema - blank page
Are you wanting the whole /opt/ folder permission changed to www-data? As the chmod command is specific to the directory you run it in no?
Update:
dbs@inception-VirtualBox:/var/log/apache2$ sudo chmod -R www-data:www-data /opt/fog/snapins
[sudo] password for dbs:
chmod: invalid mode:www-data:www-data' Try
chmod --help’ for more information. -
RE: Install/update your databse schema - blank page
Hey Tom,
Reinstalled/upgraded to 2889. Still having the same error however i did notice that favicon.ico did install this time.
Here is the new apache error log:
[CODE][Tue Jan 13 15:00:28 2015] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.15 with Suhosin-Patch configured – resuming normal operations
mkdir: cannot create directory/opt/fog/snapins/ssl/': No such file or directory [Tue Jan 13 15:02:03 2015] [error] [client 10.10.3.171] PHP Warning: file_get_contents(/opt/fog/snapins/ssl/.srvprivate.key): failed to open stream: No such file or directory in /var/www/fog/lib/$ [Tue Jan 13 15:02:03 2015] [error] [client 10.10.3.171] PHP Warning: openssl_pkey_get_details() expects parameter 1 to be resource, boolean given in /var/www/fog/lib/fog/FOGCore.class.php on line$ mkdir: cannot create directory
/opt/fog/snapins/ssl/‘: No such file or directory
mkdir: cannot create directory/opt/fog/snapins/ssl/': No such file or directory [Tue Jan 13 15:02:11 2015] [error] [client 10.10.3.171] PHP Fatal error: Using $this when not in object context in /var/www/fog/commons/schema.php on line 912, referer: http://10.10.3.171/fog/man$ [Tue Jan 13 15:02:11 2015] [error] [client 10.10.3.171] File does not exist: /var/www/favicon.ico [Tue Jan 13 15:02:11 2015] [error] [client 10.10.3.171] File does not exist: /var/www/favicon.ico mkdir: cannot create directory
/opt/fog/snapins/ssl/’: No such file or directory
[Tue Jan 13 15:19:17 2015] [error] [client 10.10.3.171] PHP Fatal error: Using $this when not in object context in /var/www/fog/commons/schema.php on line 912, referer: http://10.10.3.171/fog/man$
mkdir: cannot create directory `/opt/fog/snapins/ssl/': No such file or directory
[Tue Jan 13 15:19:23 2015] [error] [client 10.10.3.171] PHP Fatal error: Using $this when not in object context in /var/www/fog/commons/schema.php on line 912, referer: http://10.10.3.171/fog/man$[/CODE]
More than happy to help wherever I can! just let me know what you would like me to do -
RE: Install/update your databse schema - blank page
Morning Tom,
Thanks for getting back to me
Sorry, I never thought to check the apache log and given the error, would it just be a case of manually creating the missing folder?[CODE][Tue Jan 13 09:41:53 2015] [error] [client 10.10.3.177] PHP Fatal error: Using $this when not in object context in /var/www/fog/commons/schema.php on line 906, referer: http://10.10.3.177/fog/man$
[Tue Jan 13 09:54:55 2015] [notice] caught SIGTERM, shutting down
[Tue Jan 13 09:54:56 2015] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.15 with Suhosin-Patch configured – resuming normal operations
[Tue Jan 13 09:57:22 2015] [error] [client 10.10.3.177] PHP Warning: file_get_contents(/opt/fog/snapins/ssl/.srvprivate.key): failed to open stream: No such file or directory in /var/www/fog/lib/$
[Tue Jan 13 09:57:22 2015] [error] [client 10.10.3.177] PHP Warning: openssl_pkey_get_details() expects parameter 1 to be resource, boolean given in /var/www/fog/lib/fog/FOGCore.class.php on line$
[Tue Jan 13 09:58:49 2015] [error] [client 10.10.3.177] PHP Fatal error: Using $this when not in object context in /var/www/fog/commons/schema.php on line 906, referer: http://10.10.3.177/fog/man$
[Tue Jan 13 09:58:49 2015] [error] [client 10.10.3.177] File does not exist: /var/www/favicon.ico[/CODE]On a complete different side note, I don’t suppose you know anything about the mac support slowly being built into fog?
Huge thanks,
Chris -
Install/update your databse schema - blank page
Hi all,
So trying to install the current svn (2888) into a ubuntu virtual box, something I have done a million times before now however I have never come across this problem so it’s troubling me a bit.
The install seems to be exactly what I would expect up to the point the installer asks you to navigate to: [url]http://ipaddress/fog/management[/url] to click the install/database scheme button. The page loads fine with the button so I presume this rules out the web server however after clicking the button, usually the page reloads with a message with something like “Database scheme installed, click here to log in” however at the moment all i am getting is a completely white screen at url: ipaddress/fog/management/index.php?node=schemeupdater
No error messages have shown up on the terminal through the installer and all the packages have installed ok with nothing obvious causing a problem.Fog svn 2888
Ubuntu desktop 12.04 LTS
Virtual box with enough ram/cpu/hard drive capacity.Thanks.