@george1421 Nvm, I’m gonna try
Posts made by Silv4n
-
RE: PXE Boot not working properly from Storage Node
-
RE: PXE Boot not working properly from Storage Node
@george1421 Hmm, okay thanks for your input, I guess I’ll wait till the devs can confirm this, before breaking the storage node or something, because the sync for example works without any issues.
-
RE: PXE Boot not working properly from Storage Node
@george1421 I’m gonna assume, that I can’t just change the boot.php file from the remote site to use https, right?
-
RE: PXE Boot not working properly from Storage Node
@george1421 Ok, I’ve actually even tried to reinstall the storage node with https, but it gave me an error. Can I use a master node instead, which still uses the db etc. on the main server or should the storage work with https?
-
RE: PXE Boot not working properly from Storage Node
@george1421
Main site: It’s currently the DMZ, so we don’t actually use PXE Boot there
Remote site: 10.144.1.22, undionly.kpxe10.144.1.22 remote site /tftpboot/default.ipxe
#!ipxe cpuid --ext 29 && set arch x86_64 || set arch ${buildarch} params param mac0 ${net0/mac} param arch ${arch} param platform ${platform} param product ${product} param manufacturer ${product} param ipxever ${version} param filename ${filename} param sysuuid ${uuid} isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme :bootme chain http://10.144.1.22/fog/service/ipxe/boot.php##params
10.144.1.22 boot.php (remote)
#!ipxe set fog-ip 10.51.1.104 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.51.1.104/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console :MENU menu colour --rgb 0xff0000 0 || cpair --foreground 1 1 || cpair --foreground 0 3 || cpair --foreground 4 4 || item --gap Host is NOT registered! item --gap -- ------------------------------------- item fog.local Boot from hard disk item fog.memtest Run Memtest86+ item fog.reginput Perform Full Host Registration and Inventory item fog.reg Quick Registration and Inventory item fog.deployimage Deploy Image item fog.multijoin Join Multicast Session item fog.sysinfo Client System Information (Compatibility) choose --default fog.local --timeout 3000 target && goto ${target} :fog.local sanboot --no-describe --drive 0x80 || goto MENU :fog.memtest kernel memdisk initrd=memtest.bin iso raw initrd memtest.bin boot || goto MENU :fog.reginput kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=275000 web=http://10.51.1.104/fog/ consoleblank=0 rootfstype=ext4 storage=10.51.1.104:/images/ storageip=10.51.1.104 loglevel=4 mode=manreg imgfetch init_32.xz boot || goto MENU :fog.reg kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=275000 web=http://10.51.1.104/fog/ consoleblank=0 rootfstype=ext4 storage=10.51.1.104:/images/ storageip=10.51.1.104 loglevel=4 mode=autoreg imgfetch init_32.xz boot || goto MENU :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.sysinfo kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=275000 web=http://10.51.1.104/fog/ consoleblank=0 rootfstype=ext4 storage=10.51.1.104:/images/ storageip=10.51.1.104 loglevel=4 mode=sysinfo imgfetch init_32.xz boot || goto MENU :bootme chain -ar http://10.51.1.104/fog/service/ipxe/boot.php##params || goto MENU autoboot
main site 10.51.1.104 boot.php (It’s HTTPS, I’m not sure if that makes an difference)
#!ipxe set fog-ip 10.51.1.104 set fog-webroot fog set boot-url https://${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 https://10.51.1.104/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console :MENU menu colour --rgb 0xff0000 0 || cpair --foreground 1 1 || cpair --foreground 0 3 || cpair --foreground 4 4 || item --gap Host is NOT registered! item --gap -- ------------------------------------- item fog.local Boot from hard disk item fog.memtest Run Memtest86+ item fog.reginput Perform Full Host Registration and Inventory item fog.reg Quick Registration and Inventory item fog.deployimage Deploy Image item fog.multijoin Join Multicast Session item fog.sysinfo Client System Information (Compatibility) choose --default fog.local --timeout 3000 target && goto ${target} :fog.local sanboot --no-describe --drive 0x80 || goto MENU :fog.memtest kernel memdisk initrd=memtest.bin iso raw initrd memtest.bin boot || goto MENU :fog.reginput kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=275000 web=https://10.51.1.104/fog/ consoleblank=0 rootfstype=ext4 storage=10.51.1.104:/images/ storageip=10.51.1.104 loglevel=4 mode=manreg imgfetch init_32.xz boot || goto MENU :fog.reg kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=275000 web=https://10.51.1.104/fog/ consoleblank=0 rootfstype=ext4 storage=10.51.1.104:/images/ storageip=10.51.1.104 loglevel=4 mode=autoreg imgfetch init_32.xz boot || goto MENU :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.sysinfo kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=275000 web=https://10.51.1.104/fog/ consoleblank=0 rootfstype=ext4 storage=10.51.1.104:/images/ storageip=10.51.1.104 loglevel=4 mode=sysinfo imgfetch init_32.xz boot || goto MENU :bootme chain -ar https://10.51.1.104/fog/service/ipxe/boot.php##params || goto MENU autoboot
-
RE: PXE Boot not working properly from Storage Node
It’s a FOG Storage Node, and when I used to boot from the master, the screen looked normal on the same pc.
-
RE: FOG Client Error: Could not get security token
Thank you very much, worked like a breeze!
-
FOG Client Error: Could not get security token
Hey
I’m trying to install the FOG Client on an external device. I’ve opened port 80 on our firewall and the cert etc. can be retrieved. However, when the client is trying to connect to the server, the error “Authentication Error: Could not get security token” appears in the log file. I’ve already reset the encryption data.
Logs:19.02.2020 09:24 Main Overriding exception handling 19.02.2020 09:24 Main Bootstrapping Zazzles 19.02.2020 09:24 Controller Initialize 19.02.2020 09:24 Controller Start 19.02.2020 09:24 Service Starting service 19.02.2020 09:24 Bus Became bus server 19.02.2020 09:24 Bus Emmiting message on channel: Status 19.02.2020 09:24 Service Invoking early JIT compilation on needed binaries ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 19.02.2020 09:24 Client-Info Version: 0.11.16 19.02.2020 09:24 Client-Info OS: Windows 19.02.2020 09:24 Middleware::Authentication Waiting for authentication timeout to pass 19.02.2020 09:24 Middleware::Communication Download: http://fog.conex-lab.ch/fog/management/other/ssl/srvpublic.crt 19.02.2020 09:24 Data::RSA FOG Server CA cert found 19.02.2020 09:24 Middleware::Authentication Cert OK 19.02.2020 09:24 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before 19.02.2020 09:24 Middleware::Authentication ERROR: Could not get security token 19.02.2020 09:24 Middleware::Authentication ERROR: Die Datei "C:\Program Files (x86)\FOG\token.dat" konnte nicht gefunden werden. 19.02.2020 09:24 Middleware::Communication POST URL: http://fog.conex-lab.ch/fog/management/index.php?sub=requestClientInfo&authorize&newService 19.02.2020 09:24 Middleware::Response Invalid MAC address format ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 19.02.2020 09:24 Client-Info Version: 0.11.16 19.02.2020 09:24 Client-Info OS: Windows 19.02.2020 09:24 Middleware::Authentication Waiting for authentication timeout to pass 19.02.2020 09:26 Middleware::Communication Download: http://fog.conex-lab.ch/fog/management/other/ssl/srvpublic.crt 19.02.2020 09:26 Data::RSA FOG Server CA cert found 19.02.2020 09:26 Middleware::Authentication Cert OK 19.02.2020 09:26 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before 19.02.2020 09:26 Middleware::Authentication ERROR: Could not get security token 19.02.2020 09:26 Middleware::Authentication ERROR: Die Datei "C:\Program Files (x86)\FOG\token.dat" konnte nicht gefunden werden. 19.02.2020 09:26 Middleware::Communication POST URL: http://fog.conex-lab.ch/fog/management/index.php?sub=requestClientInfo&authorize&newService 19.02.2020 09:26 Middleware::Response Invalid MAC address format ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 19.02.2020 09:26 Client-Info Version: 0.11.16 19.02.2020 09:26 Client-Info OS: Windows 19.02.2020 09:26 Middleware::Authentication Waiting for authentication timeout to pass 19.02.2020 09:30 Main Overriding exception handling 19.02.2020 09:30 Main Bootstrapping Zazzles 19.02.2020 09:30 Controller Initialize 19.02.2020 09:30 Controller Start 19.02.2020 09:30 Service Starting service 19.02.2020 09:30 Bus Became bus server 19.02.2020 09:30 Bus Emmiting message on channel: Status 19.02.2020 09:30 Service Invoking early JIT compilation on needed binaries ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 19.02.2020 09:30 Client-Info Version: 0.11.16 19.02.2020 09:30 Client-Info OS: Windows 19.02.2020 09:30 Middleware::Authentication Waiting for authentication timeout to pass 19.02.2020 09:30 Middleware::Communication Download: http://fog.conex-lab.ch/fog/management/other/ssl/srvpublic.crt 19.02.2020 09:30 Data::RSA FOG Server CA cert found 19.02.2020 09:30 Middleware::Authentication Cert OK 19.02.2020 09:30 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before 19.02.2020 09:30 Middleware::Authentication ERROR: Could not get security token 19.02.2020 09:30 Middleware::Authentication ERROR: Die Datei "C:\Program Files (x86)\FOG\token.dat" konnte nicht gefunden werden. 19.02.2020 09:30 Middleware::Communication POST URL: http://fog.conex-lab.ch/fog/management/index.php?sub=requestClientInfo&authorize&newService 19.02.2020 09:30 Middleware::Response Invalid MAC address format ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 19.02.2020 09:30 Client-Info Version: 0.11.16 19.02.2020 09:30 Client-Info OS: Windows 19.02.2020 09:30 Middleware::Authentication Waiting for authentication timeout to pass 19.02.2020 10:14 Main Overriding exception handling 19.02.2020 10:14 Main Bootstrapping Zazzles 19.02.2020 10:14 Controller Initialize 19.02.2020 10:14 Controller Start 19.02.2020 10:14 Service Starting service 19.02.2020 10:15 Bus Became bus server 19.02.2020 10:15 Bus Emmiting message on channel: Status 19.02.2020 10:15 Service Invoking early JIT compilation on needed binaries ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 19.02.2020 10:15 Client-Info Version: 0.11.16 19.02.2020 10:15 Client-Info OS: Windows 19.02.2020 10:15 Middleware::Authentication Waiting for authentication timeout to pass 19.02.2020 10:15 Middleware::Communication Download: http://fog.conex-lab.ch/fog/management/other/ssl/srvpublic.crt 19.02.2020 10:15 Data::RSA FOG Server CA cert found 19.02.2020 10:15 Middleware::Authentication Cert OK 19.02.2020 10:15 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before 19.02.2020 10:15 Middleware::Authentication ERROR: Could not get security token 19.02.2020 10:15 Middleware::Authentication ERROR: Die Datei "C:\Program Files (x86)\FOG\token.dat" konnte nicht gefunden werden. 19.02.2020 10:15 Middleware::Communication POST URL: http://fog.conex-lab.ch/fog/management/index.php?sub=requestClientInfo&authorize&newService 19.02.2020 10:15 Middleware::Response Invalid MAC address format ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 19.02.2020 10:15 Client-Info Version: 0.11.16 19.02.2020 10:15 Client-Info OS: Windows 19.02.2020 10:15 Middleware::Authentication Waiting for authentication timeout to pass 19.02.2020 10:17 Middleware::Communication Download: http://fog.conex-lab.ch/fog/management/other/ssl/srvpublic.crt 19.02.2020 10:17 Data::RSA FOG Server CA cert found 19.02.2020 10:17 Middleware::Authentication Cert OK 19.02.2020 10:17 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before 19.02.2020 10:17 Middleware::Authentication ERROR: Could not get security token 19.02.2020 10:17 Middleware::Authentication ERROR: Die Datei "C:\Program Files (x86)\FOG\token.dat" konnte nicht gefunden werden. 19.02.2020 10:17 Middleware::Communication POST URL: http://fog.conex-lab.ch/fog/management/index.php?sub=requestClientInfo&authorize&newService 19.02.2020 10:17 Middleware::Response Invalid MAC address format ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 19.02.2020 10:17 Client-Info Version: 0.11.16 19.02.2020 10:17 Client-Info OS: Windows 19.02.2020 10:17 Middleware::Authentication Waiting for authentication timeout to pass 19.02.2020 10:19 Middleware::Communication Download: http://fog.conex-lab.ch/fog/management/other/ssl/srvpublic.crt 19.02.2020 10:19 Data::RSA FOG Server CA cert found 19.02.2020 10:19 Middleware::Authentication Cert OK 19.02.2020 10:19 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before 19.02.2020 10:19 Middleware::Authentication ERROR: Could not get security token 19.02.2020 10:19 Middleware::Authentication ERROR: Die Datei "C:\Program Files (x86)\FOG\token.dat" konnte nicht gefunden werden. 19.02.2020 10:19 Middleware::Communication POST URL: http://fog.conex-lab.ch/fog/management/index.php?sub=requestClientInfo&authorize&newService 19.02.2020 10:19 Middleware::Response Invalid MAC address format ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 19.02.2020 10:19 Client-Info Version: 0.11.16 19.02.2020 10:19 Client-Info OS: Windows 19.02.2020 10:19 Middleware::Authentication Waiting for authentication timeout to pass 19.02.2020 10:21 Middleware::Communication Download: http://fog.conex-lab.ch/fog/management/other/ssl/srvpublic.crt 19.02.2020 10:21 Data::RSA FOG Server CA cert found 19.02.2020 10:21 Middleware::Authentication Cert OK 19.02.2020 10:21 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before 19.02.2020 10:21 Middleware::Authentication ERROR: Could not get security token 19.02.2020 10:21 Middleware::Authentication ERROR: Die Datei "C:\Program Files (x86)\FOG\token.dat" konnte nicht gefunden werden. 19.02.2020 10:21 Middleware::Communication POST URL: http://fog.conex-lab.ch/fog/management/index.php?sub=requestClientInfo&authorize&newService 19.02.2020 10:21 Middleware::Response Invalid MAC address format ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 19.02.2020 10:21 Client-Info Version: 0.11.16 19.02.2020 10:21 Client-Info OS: Windows 19.02.2020 10:21 Middleware::Authentication Waiting for authentication timeout to pass 19.02.2020 10:23 Middleware::Communication Download: http://fog.conex-lab.ch/fog/management/other/ssl/srvpublic.crt 19.02.2020 10:23 Data::RSA FOG Server CA cert found 19.02.2020 10:23 Middleware::Authentication Cert OK 19.02.2020 10:23 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before 19.02.2020 10:23 Middleware::Authentication ERROR: Could not get security token 19.02.2020 10:23 Middleware::Authentication ERROR: Die Datei "C:\Program Files (x86)\FOG\token.dat" konnte nicht gefunden werden. 19.02.2020 10:23 Middleware::Communication POST URL: http://fog.conex-lab.ch/fog/management/index.php?sub=requestClientInfo&authorize&newService 19.02.2020 10:23 Middleware::Response Invalid MAC address format 19.02.2020 10:23 Middleware::Communication URL: http://fog.conex-lab.ch/fog/management/index.php?sub=requestClientInfo&configure&newService&json 19.02.2020 10:23 Middleware::Response Success 19.02.2020 10:23 Middleware::Communication Download: http://fog.conex-lab.ch/fog/management/other/logo_fog.png 19.02.2020 10:23 Middleware::Communication URL: http://fog.conex-lab.ch/fog/management/index.php?sub=requestClientInfo&mac=00:1F:C6:9C:0B:C8|00:C2:C6:E6:CD:B9|00:C2:C6:E6:CD:BA|02:C2:C6:E6:CD:B9|00:C2:C6:E6:CD:BD&newService&json 19.02.2020 10:23 Middleware::Authentication Waiting for authentication timeout to pass
Thanks for any help in advance
-
PXE Boot not working properly from Storage Node
Hey guys
When I try to PXE Boot to an Storage Node it works, but the FOG Screen seems broken and deploying etc. doesn’t work. Screen when booted in FOG Menu
For context:
My Master Node is in a different subnet than my storage node, i’ve opened FTP, MySQL, HTTP and HTTPS between those, and replication etc. seems to work.
Thanks in advance for any help!
Edit: Also when trying to execute memdisk the following error comes up:
https://imgur.com/a/zFPAjXz -
RE: Multiple Sites without VPN
@george1421 Okay, thank you very much for your thourough response, I’m gonna think about it.
-
RE: Multiple Sites without VPN
@george1421 We have remote access to the servers (who then have access to the clients), as well as teamviewer if needed on the clients.
Yes, a port forwarding rule would be possible.
Ok, would it be currently possible to just have an openvpn between the fog servers, or do the clients communicate directly with the master instead of the storage node?
-
RE: Multiple Sites without VPN
@george1421 Yes, we have different customers, some with on site servers and some with servers in our dc. But this thread is mostly for the ones who have hardware and support from us.
-
RE: Multiple Sites without VPN
@george1421 Yes, all ranges are different and also yes, that’s why we can’t really make an full blown vpn between these sites.
-
RE: Multiple Sites without VPN
@Sebastian-Roth The clients would also need to be in this vpn or could it also just be between the fog servers?
-
RE: Multiple Sites without VPN
@george1421 Do I understand this correctly, the clients would also need a public IP? And yes, there is a NAT on these firewalls.
-
Multiple Sites without VPN
Hello guys!
I’ve already searched through this forum for a “best practice” to have a image repository on a remote site and a fog server on the main site. In our setup there isn’t any VPN or similar between those sites, just the internet. Our goal with this solution would be, that we can store the images locally on the remote sites and the brain with the mysql database is the main fog server. We don’t want any “intelligence” on the remote site. PXE Boot also on the main site and not on remote. I assume I’m gonna need the Location plugin.
Specs:
- Images can be on main and remote site (manage with “Storage Groups”)
Remote site: - Between 5-50 Users/Computers
Thanks for any help in advance.
- Images can be on main and remote site (manage with “Storage Groups”)