i have backup folders:
“fog_web_1.5.0-RC-9.BACKUP”
"fog_web_1.4.4.BACKUP "
“fog_web_1.5.0-RC-10.BACKUP”
how do I roll back to this with GIT?
and what one should I roll back to?
i have backup folders:
“fog_web_1.5.0-RC-9.BACKUP”
"fog_web_1.4.4.BACKUP "
“fog_web_1.5.0-RC-10.BACKUP”
how do I roll back to this with GIT?
and what one should I roll back to?
I have a tech @ the remote location but he will be heading to the Airport at 3PM Eastern Time. Testing will be limted after that, if anyone has a fix or suggestion please dont hesitate
Its doing this at all locations. I have 30 locations
#!ipxe
set fog-ip 192.168.10.238
set fog-webroot fog
set boot-url http://${fog-ip}/${fog-webroot}
kernel http://10.21.40.39/fog/service/ipxe/bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=http://192.168.10.238/fog/ consoleblank=0 rootfstype=ext4 mac=c0:3f:d5:9d:e9:50 ftp=10.21.40.39 storage=10.21.40.39:/images/ storageip=10.21.40.39 osid=9 irqpoll hostname=PC3181 chkdsk=0 img=Win10x64-1703-R1 imgType=n imgPartitionType=all imgid=124 imgFormat=0 PIGZ_COMP=-6 adon=1 addomain="MTSTRANS.COM" adou="" aduser="Administrator" adpass="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" isdebug=yes type=down
imgfetch http://10.21.40.39/fog/service/ipxe/init_32.xz
boot
#!ipxe
set fog-ip 192.168.10.238
set fog-webroot fog
set boot-url http://${fog-ip}/${fog-webroot}
cpuid --ext 29 && set arch x86_64 || set arch i386
goto get_console
:console_set
colour --rgb 0x00567a 1 ||
colour --rgb 0x00567a 2 ||
colour --rgb 0x00567a 4 ||
cpair --foreground 7 --background 2 2 ||
goto MENU
:alt_console
cpair --background 0 1 ||
cpair --background 1 2 ||
goto MENU
:get_console
console --picture http://10.21.40.39/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console
:MENU
menu
colour --rgb 0x00567a 0 ||
cpair --foreground 1 1 ||
cpair --foreground 0 3 ||
cpair --foreground 4 4 ||
item --gap Host is registered as PC3181!
item --gap -- -------------------------------------
item fog.local Boot from hard disk
item fog.memtest Run Memtest86+
item fog.keyreg Update Product Key
item fog.deployimage Deploy Image
item fog.multijoin Join Multicast Session
item fog.quickdel Quick Host Deletion
item fog.sysinfo Client System Information (Compatibility)
item fog.iso Boot from ISO CD
item fog.Nuke Fast wipe Hard Disk
choose --default fog.local --timeout 5000 target && goto ${target}
:fog.local
chain -ar ${boot-url}/service/ipxe/grub.exe --config-file="rootnoverify (hd0);chainloader +1" || goto MENU
:fog.memtest
kernel http://10.21.40.39/fog/service/ipxe/memdisk initrd=http://10.21.40.39/fog/service/ipxe/memtest.bin iso raw
initrd http://10.21.40.39/fog/service/ipxe/memtest.bin
boot || goto MENU
:fog.keyreg
login
params
param mac0 ${net0/mac}
param arch ${arch}
param username ${username}
param password ${password}
param keyreg 1
isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
param sysuuid ${uuid}
:fog.deployimage
login
params
param mac0 ${net0/mac}
param arch ${arch}
param username ${username}
param password ${password}
param qihost 1
isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
param sysuuid ${uuid}
:fog.multijoin
login
params
param mac0 ${net0/mac}
param arch ${arch}
param username ${username}
param password ${password}
param sessionJoin 1
isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
param sysuuid ${uuid}
:fog.quickdel
login
params
param mac0 ${net0/mac}
param arch ${arch}
param username ${username}
param password ${password}
param delhost 1
isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
param sysuuid ${uuid}
:fog.sysinfo
kernel http://10.21.40.39/fog/service/ipxe/bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=http://192.168.10.238/fog/ consoleblank=0 rootfstype=ext4 storage=10.21.40.39:/images/ storageip=10.21.40.39 loglevel=4 mode=sysinfo
imgfetch http://10.21.40.39/fog/service/ipxe/init_32.xz
boot || goto MENU
:fog.iso
menu passwd 707376
:MENU
menu
item --gap -- ---------------- iPXE boot menu ----------------
item CENTOS6532 CentOS-6.5 Net Install 32BIT
item CENTOS6564 CentOS-6.5 Net Install 64BIT
item CENTOS7MIN64 CentOS-7.0 Minimal 64BIT
item CENTOS7NET64 CentOS-7.0 Net Install 64BIT
item KaliLinux Kali Linux 2016 64BIT
item RocksCluster Rocks Cluster 64BIT
item SpinRite6 SprinRite 6
item return return to previous menu
choose --default return --timeout 5000 target && goto ${target}
:CENTOS6532
initrd http://${fog-ip}/ISO/CentOS-6.5-i386-netinstall.iso
chain memdisk iso raw ||
goto MENU
:CENTOS6564
initrd http://${fog-ip}/ISO/CentOS-6.5-x86_64-netinstall.iso
chain memdisk iso raw ||
goto MENU
:CENTOS7MIN64
initrd http://${fog-ip}/ISO/CentOS-7.0-1406-x86_64-Minimal.iso
chain memdisk iso raw ||
goto MENU
:CENTOS7NET64
initrd http://${fog-ip}/ISO/CentOS-7.0-1406-x86_64-NetInstall.iso
chain memdisk iso raw ||
goto MENU
:KaliLinux
initrd http://${fog-ip}/ISO/kali-linux-2016.2-amd64.iso
chain memdisk iso raw ||
goto MENU
:RocksCluster
initrd http://${fog-ip}/ISO/RocksCluster.iso
chain memdisk iso raw ||
goto MENU
:SpinRite6
initrd http://${fog-ip}/ISO/SpinRite6.iso
chain memdisk iso raw ||
goto MENU
:return
chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} ||
prompt
goto MENU
autoboot
param sysuuid ${uuid}
:fog.Nuke
kernel http://10.21.40.39/fog/service/ipxe/bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=http://192.168.10.238/fog/ consoleblank=0 rootfstype=ext4 storage=10.21.40.39:/images/ storageip=10.21.40.39 loglevel=4 capone=1 mode=wipe wipemode=fast mac=00:00:00:00:00:00
imgfetch http://10.21.40.39/fog/service/ipxe/init_32.xz
boot || goto MENU
:bootme
chain -ar http://10.21.40.39/fog/service/ipxe/boot.php##params ||
goto MENU
autoboot```
@george1421
run it from the client i am trying to image? or from any workstation?
10.21.40.39 is the storage node for that location.
192.168.10.238 is the main fog server that is the management interface.
Just a heads up… I wasn’t having this issue until I recently updated, but I cannot remember what build I was on.
@george1421
I checked the storage node and its looks correct:
#!ipxe
cpuid --ext 29 && set arch x86_64 || set arch i386
params
param mac0 ${net0/mac}
param arch ${arch}
param platform ${platform}
param product ${product}
param manufacturer ${product}
param ipxever ${version}
param filename ${filename}
isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
:bootme
chain http://10.21.40.39/fog/service/ipxe/boot.php##params
the fogserver was installed with this IP.
@george1421
What files do i need to check and make sure they are pointing to the proper IP or hostname?
Organization Name: Martin Transportation Systems, Inc
Location (Optional) Byron Center, MI
30 Remote Locations
Approximate Number of systems: 500+
How long:5+ years
I think it would be great if we had a Fogroject discord channel for people to discuss issues and get help what do you all think?
Fog version 1.5.0-RC-10 / Centos 7
Storage node 1.5.0-RC-10 / Centos 7
When trying to deploy an image to a host from a storage node I get this error on the client PC.
It looks like its getting 2 different IP addresses for some reason. First IP is 10.21.100.120 and then it drops it and get 10.21.100.115…
First screen:
Second Screen:
I have verified that the port is set for:
spanning-tree portfast
spanning-tree bpduguard enable
Thanks!
I think it is generating a new .crt on upgrade. permissions are all the same.
Everytime I upgrade fog I have to replace the /var/www/html/fog/management/other/ssl/srvpublic.crt from a backup or my clients wont work. Is there something I need to change in /opt/fog/.fogsettings?
@george1421
I would love to optimize our FOG install if you have the time to tell me what to do.
Thanks!
Ok, I found the issue I was having with logging in. I had about 5 storage nodes enabled on the home screens graph, Once i disabled those I was able to login immediately. The submit a task still takes about 1 minutes or 2 but its allot better!
Thanks