Have to image 8 labs by Monday
-
Maybe see if you can change the router to the gateway that all the subnet’s can communicate with each other across. This would typically be the DHCP server itself which, as far as I can tell, works perfectly fine. Maybe have your switches forward the nfs ports to your fog server. 111 and 2049 are the typical ports.
Other than that, I don’t know. Maybe setup dhcp for tftp to use the same LAN as your fog server?
-
Just a track for understanding,
All systems are communicating via PXE and able to load bzImage and init.gz to attempt to start. After that, when it tries to connect to the NFS <fogserverip>:/images/dev and systems not within the same subnet cannot connect?
As your systems within the same subnet of the fogserver communicate properly, it isn’t a storage node user configuration issue, as far as I can tell. It also wouldn’t be a storage_ftp user issue either as you’ve already uploaded the images.
The only thing it seems like, is the internal network can’t route through to the fog server’s ip address to connect to the nfs share. This is why I would suggest port forwarding, for each of the switches in the path, to point directly to the fog server.
-
That’s something that I’ll look into! I’ll see what I can do tomorrow morning and hopefully, I’ll be able to get it working. I think that you’re right though. I’ll keep you posted on how it goes tomorrow!
-
I GOT IT!
I read this post earlier today and didn’t think much of it. Turns out, it fixed my issue.
I had to edit my.conf and change bind-address to my Fog server IP instead of 127.0.0.1.
Thank you so much, Tom! I couldn’t have fixed it without your support. I greatly appreciate it!
-
So rpcbind from alternate subnets requires mysql to allow connections from its Ethernet and not local host. I guess that makes sense. I wouldn’t have thought of that so awesome man.
-
Well, I spoke too soon…
Last night, I was remoted into virtual machines on physical PCs in different subnets and that worked.
This morning, I tried to perform a full registration and image the physical PCs in different subnets and I am still getting the RPC error.
When I perform a quick registration, it works. When I perform a full registration, it just keeps trying to send the information but it never completes.
My DHCP server gave the virtual machines no reserved IP address where as my physical boxes get a reserved IP. Maybe that has something to do with it? Not sure.
-
The error is: “RPC No Route to Host” whenever I attempt to mount the NFS share to upload an image.
There must be a reason as to why these computers can’t find their way back to the Fog server.
-
After doing some more testing, I’ve found that:
Host PC running a virtual machine, virtual machine will do EVERYTHING perfectly! No errors.
Same host PC will only do quick inventory. Can’t mount NFS because of RPC issue.Why does a virtual machine work but the physical box does not when they are on the same exact subnet, port, everything?
The only difference is that I have IP reservations on my DHCP server for the physical boxes and not the virtual machines. -
It ended up being that all of my PCs were in AHCI mode when they needed to be in IDE. It’s all solved now! Thanks!
-
I guess that would do it as well. Awesome man. Maybe try posting your findings into the tutorial section so others can troubleshoot their issues a little quicker as I’m sure this isn’t the only one to have happened.