billroper: (Default)
[personal profile] billroper
I am currently fighting with some technology at work that I don't know nearly enough about, so I figured I'd just toss the problem out to my friends and see if someone who knows more about this has the necessary technical incantation to get me around what looks like a configuration problem.

I'm running a VM with Windows Server 2022 that is getting an IP address from a DHCP server. I need to run some additional database software that requires Oracle Linux. Using Hyper-V, we have been able to get the Oracle Linux environment running inside the VM, which is good. The problem is that we have not managed to set up the networking in a way that allows my applications running inside the Windows environment to talk to those databases in the Linux environment.

It seems like the right solution would be to assign a static IP to the Linux environment from somewhere outside of the DHCP range that we're getting addresses from for the Windows VM. That way, the address of my database servers won't be changing. However, I know little enough about this that it's possible that I'm entirely wrong. I also need to allow the Linux server to go out with a browser connection if for no other reason than that I need to pull software in to be able to install it there.

So far, this is defeating me.

Anyone out there know enough about this to give me a few suggestions? I've been applying Google-fu to the problem, but haven't found the right source yet.

Thanks!

Date: 2023-01-13 07:14 am (UTC)
ravan: by Ravan (Default)
From: [personal profile] ravan
Linux sysadmin here.

So, as I understand it, you are running two VMs - a Linux one and a Windows one. IIRC, the Oracle Linux should not be a VM under the Windows VM, but a separate one. Yes, it should have a fixed IP, not a DHCP address. You also apparently want to run a webserver on it, which would require Apache or nginx.

On the VM network, you need to open the web ports (like 80, 8080, 800, 443, etc.) The 443 port is for https. Also, you will need to open the port for the database, which I think is something like 3406.

So you have two issues to deal with on the networking side: opening the ports within your network to allow communication between the two servers, and then to open your firewall to all the Linux box to query a website (ip address and port) that has the repository that you need for Oracle Linux. Which ports need to be open on the firewall will depend on whether your source is http/s or ftp.

I hope this helps. Without access to the underlying hypervisor I can't tell you how to set this up, only that it needs to be done.

Profile

billroper: (Default)
billroper

June 2025

S M T W T F S
1 2 3 4 567
891011121314
15161718192021
22232425262728
2930     

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 6th, 2025 03:02 pm
Powered by Dreamwidth Studios