@george1421 That is what I was reading. I know its spanning tree because I am imaging computers with my netgear switch that is $30. I was wondering if there is any work around. Maybe make Linux wait longer? Even 10 more secs would solve my problem. I am on site because I could not reimagined this pc remotely. I know its my whole site but I can’t turn that feature off. It has already save me few times.
Posts made by jhalbert
-
RE: udhcpc: sending discover
-
udhcpc: sending discover
Hello folks
I have few sites I can’t get ip quick enough before fog gives up. Boot to PXE fine. No issues, gets IP address. Fog runs down some scripts and when it normally starts sending the image part it trys to get IP again from DHCP. During that part of this, does it give sending discover. I watch the switch and it turns green right when it assay failed to get IP via DHCP! Tried on interfaces enp1s0
Please check your network setup and try again!I don’t see any choice within fog to address this problem. Suggestions?
-
RE: Dell Precision Tower 3420
@george1421
nothing for grep BUT I started to read messages…
FIGURE IT OUT
My raid controller is the problem. I don’t have two m.2 and I have two sata. The controller managed all 3 drives. Because the raid controller said it only has one raid AND that is it in fogs logs. windows knows how to deal with it because the drivers were load in during install.I turn off raid mode and rebooted. Found all 3 drives. Now because of my setup, I am going to unplug those sata drives from the board. upload the image. THEN Grab a new one and restore with raid off. Then plug the drives back in. Should just work.
-
RE: Dell Precision Tower 3420
@george1421 Sata is being used for backup to the m.2 and m.2 has windows installed on it. Users will use m.2 for everything and I will backup everything to the hard drives and then to a server once the backup is completed.
-
RE: Dell Precision Tower 3420
@george1421
To be clear, raid image works fine. Sata are working in any config. Sata raid not very important in this case. Its just is how this desktop is configure what I wanted to reply to you. I know Fog will image dells because I have 100’s of dells already image and sent out. This dell, is new to us and I built this pc for my VP’s and accounting team.I ran the command. It finds the two disks and calls them /dev/sda and sdb. Both are sata drives
What is the max size of a picture? I tried a 1 mb and says no? I can email them if you like
-
Dell Precision Tower 3420
I got a new VP tower
It has m.2 500 gib
16 gb of ram
I7 intel
2 sata raid 0Fogserver and nodes are 1.5.5
I change image few things and still does not find m.2 drive. I unplug the sata drives and STILL does not find m.2. during the upload it says no hard drive found.
Help please -
RE: Group deployment with Snappin failed and Lost GUI access. Fog server is down
@george1421 I left it all alone. I did ran my test and everything deployed just fine. Tried on 20 pcs and everything work just like it was during testing. How do I close? Can you close or how can I?
-
RE: Group deployment with Snappin failed and Lost GUI access. Fog server is down
I think I found the problem. The fog website is super fast now. I am not sure how it happen but SELinux was set to enforcing. I figure this out when I ssh to the server I got the warning that SELinux has disable small part of PHP. I am like WHAT!!! When run the command to put it out of enforcing it appears it took it without issue. ran it as root. rebooted and check the conf file and found it say enforcing. I changed it in the conf file. rebooted. Try fog and it came up in seconds. I check the conf file. I saw it was set to enforcing right before I sent out the group command. The uninstall java script has at the end to say NO REBOOT. I ran the command with the no reboot command and it did reboot the pc on all 4 pcs. I think however this happen the script was not allowed to complete. The task for java uninstall are not pending on any pc. I see yesterday around 11 am right after George gave me those things, tasks started to work. All the flash have stop working and all PCS are not going. I think that might have happen because I restarted the server so many times. I am going to kill all the tasks and try a small amount. See what happens.
I still have to type http://fogserver/fog and not just http://fogserver. Maybe you guys can help me fix that or should I create a different post for that?
-
RE: Group deployment with Snappin failed and Lost GUI access. Fog server is down
I ran php -i | grep ‘PHP Version’ and got below.
PHP Version => 5.6.36
PHP Version => 5.6.36I ran find / -name php | grep bin
/usr/bin/php
By the sound of things, I only have one version installed and that is 5.6.36
My setup is
Dell server
1u
3 hard drives with sas, 10 k each
raid 0 for two drives and 1 drive not raided
1 drive not raid is used by the host and that is Centos 7
Using qemu as my vm software
Fog server has 2 gigs of ram and 8 cpus. It has the raided drive. That gives it 600 gb of hard drive space
Followed your install steps found on the web. I did everything suggested.
The very first install is about a year ago and that was 1.4. Minor problems but you have help me with those things
Two weeks ago, I updated to 1.5.4. Like I said I noticed that when I type http://fogserver it would give a test page right after I updated. I had to type out the whole siteStep by step how it happen
The day I posted this, I used 2 groups I already had from 1.4. I change the name to match their new job. change membership to match what I was doing. Click on snapin and added all computers to the snapins. reset everyone between both groups. Waited 30 minutes for the PCS to check in. I found few new host because I used group policy to deploy the new version of fog client. We used powershell script to spot check few pcs. Found all had fog client 11.16. I figure likely the Group policy work and ready to deploy the updates. In my lab I ran all the snap ins on 4 pcs. Confirm the scripts and installers are solid. Took 5 minutes and all 4 pcs had the updates with no issues. Start on groups now. First group I click on snapin and click on adobe reader. Click do it now, back arrow, adobe flash and do it now, remove all version of java and pick do it now, pick java install and do it now. click groups and that is when I noticed the slow down. Last time I did this, that was normal. Click on the next group. Did java remove all version and do it now. That took a while. Like 4 minutes. Next try the adobe reader but I kept getting page can’t be displayed. I figure to wait. I started to get calls that Java is not working. I told them to wait, java will install. Waited 10 minutes and few more calls that their pcs got restarted and whole departments got that. java was removed on all those pcs. rest of the task where never done.I tried to restart the server and that did not help
I tried to restart php, http, do what George told me to do.If you want, we can do a screen share and we can ssh into the server and maybe we can figure this out?
-
RE: Group deployment with Snappin failed and Lost GUI access. Fog server is down
Gives the test page and took forever. about 45 secs.
-
RE: Group deployment with Snappin failed and Lost GUI access. Fog server is down
Website - Http://fogserver/fog (I created a dns record to deal with the ip. For easy lets call it fogserver for the ip address.) Tried fogserver and IP still the same results, page can’t be display and the same for chrome.
OS - Centos 7.5.1804
PHP-FPM - Yes its running
httpd - YES ( I guess in Centos theirs no Apache by itself. only Httpd.)I did a status on all of them
systemctl status
HTtpp - active
Php-fpm - activeCPU usage is .5 avg. <-- super low. normally its like 1.5 to 2.5 during normal working hours.
-
RE: Group deployment with Snappin failed and Lost GUI access. Fog server is down
I did find one file as you already said. The only thing I needed to change was admin vault memory limit and children. I rebooted the server and still no joy. Some how during the update when I type http://fogserver it does not auto resolve like it use too. Now it gives the apache everything works page. Anyways I type in http://fogserver I get apache website but takes FOREVER. Like 5 secs. It use to take 30 secs. A lot better their. When I try the whole website I get in chrome
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
-
Group deployment with Snappin failed and Lost GUI access. Fog server is down
I Deploy using groups to do my monthly updates for Java, Adobe productions, PLUS shortcut changes. I put everyone in a group likely I always do and made sure everyone is part of the snap-ins that are required for this push. I push to everyone in the group. When I push to this many PC normally fog website turns super slow and sometimes times out. As it normally does, turn slow, very slow. Then I lost the website. I figure give it some time, users started to call in and said their PC rebooted and uninstall Java. This happen on 254 PCs today. After rebooting fog server I still don’t have web access. . I reinstall it thinking I would gain access again. I got the log in screen and got to the home page. Click on tasks to see what the fog server is doing, I got page can’t be displayed. Now that is all I see.I am running Fog 1.5.4
-
RE: Enter hardware data and reporting the data
@wayne-workman yes but I would set a windows task to manage the updates. I found fog daily work fails once the client fails. Then I don’t have daily info that I was aiming to collect.
-
RE: Enter hardware data and reporting the data
@avaryan FYI, at my setup I will not add plugins or extra things to powershell to a workstation. That is a very high risk thing to do. That is why I run task in Task scheduler. I understand that fog can do tasks on a daily or weekly. The problem is sometimes fog agent stops working. I have to reset it. If I reset it, it will do all those backup tasks all at once. that will slow down the user pc and our network. Windows task tool will always work and get the job done when I want it done.
-
RE: Enter hardware data and reporting the data
@avaryan I can share my scripts I have created to collect the hardware information. They are pretty small and you will need to create few extra things. For Json and powershell to work their an addin that is required. I don’t want 100’s of computer reporting hardware all at once to the server. I rather control that flow. I need the fog server to handle snaps and other reporting that it is doing all day long. The idea I came up with is easy. fog sends out a task to the pc. That task runs the powershell scripts daily and sends the output files to a file server. the file is the HostnameDateTime. inside the file it has date, time and hardware information. Now I have 100’s of these files per day. now I have a script on a server that checks for that location for a file. reads the file use Json to update fog. I also have WSUS doing the same job, sends its hardware information to fog that it collects Like IP address, what group they are in, how many updates they still need. Now all the hardware is update to date, I have list of all installed apps on that pc with verison number, and what updates they are missing on this pc. I just look into fog for everything.
-
RE: Enter hardware data and reporting the data
@wayne-workman JSON! and WAIT JSON!!! I can use JSON!!! I can use JSON!!! you made my day!!!
-
Fog node image from a server that is far away
I have a small pain. I have nodes at sites that have very slow internet. I was hoping that these nodes makes it faster for tasks and imaging at that site. Today I went to the site that has a node. Now, it is trying to image from a different site and subnet. The computer is connected to the same switch the node is but why didn’t pick that server? How can I tell fog to pick the node close to it? OR just tell those computers on this site only use this fog server
-
RE: Enter hardware data and reporting the data
@wayne-workman This idea gave me. I think I understand it like this. I use powershell to collect all data and send a text file to a server local to the pc. On a server that has the module all setup takes that text files and ssh to fog server and uploads the data. For the local pc, I create a task that runs daily, Windows nightly uploads the data by a task. My question is where do I put all this data on the fog server?
-
Enter hardware data and reporting the data
I have a question. Fog is collecting a lot of useful data like users login history, hostname, mac address etc. I found if I boot the computer and load up fog, I can upload the hardware info. I found few powershell scripts I could use and collect the same data but I don’t have to run around and reboot all these computers for this information. My question is how can I enter and change the SN numbers of computers in fog? How can I enter the hardware information into fog? Can I add fields like location, department etc?