Hello. I am new with Foreman and have some questions about windows support in foreman. We use MS products, but now want to introduce linux servers to our environment. Hope someone could help me to find answers.
Guide for windows server smart proxy is scarce and looks outdated. Do i need to install smart proxy on windows server to work with external MS DHCP and DNS or can stick with lunux smart proxy?
We are using Foreman and Katello with Windows DHCP and DNS. We donāt have any issues with that. We donāt use smart proxy for Windows at all.
For Windows DNS, we are using :use_provider: dns_nsupdate_gss in the foreman proxy DNS settings.
For DHCP we have our own scripts to manage it and we didnāt integrate it with Foreman through smart proxy. We have added our subnets and we are assigning addresses with Foreman to new hosts.
I know this is an old post, but can you provide information on the scripts youāre using to manage MS DHCP? Iāve been trying to get the Windows Smart Proxy to work for some time now, but if there is an easier method of using MS DNS/DHCP than an external smart proxy server, then Iād really be interested to know.
Foreman proxy is communicating with our Windows DNS server, and it is updating entries.
We are using MS DHCP server as well. As our source of truth, we are using Netbox, and this is where we are getting available addresses from. So, we donāt really communicate foreman directly with MS DHCP. In the Foreman settings, we have IPAM disabled, and we are modifying def suggest_ip method in the /usr/share/foreman/app/services/ipam/none.rb. So, it looks something like that:
def suggest_ip
#logger.debug "Not suggesting IP Address for #{subnet} as IPAM is disabled"
#nil
result = `/usr/share/foreman/subnet.py #{subnet.id}`
return result.strip
end
In the python file, we are using pynetbox library to talk with Netbox.