Asked by:
Port needs to be opened for push agent install for Gateways

Question
-
We have SCOM 2012 R2 UR14.
We need to manage another domain from our SCOM instance and we have to install the agents via push method rather than manual.
The Gateway servers are configured and communication back to MS and showing healthy. One tested one of the agent by manual install which is also showing healthy in the console, and reporting to the Gateway.
However; when we try to push the agents from console using this Gateway Server, we get the RPC server not reachable error.
The confusion is the port requirement for push install ?
Do we need to have below ports open between Gateway to Agents or MS to Agents ?
Does MS push the agent executable files to target computer or Gateway pushes them over port 135 ?
Do we need to make the entry in host file of MS for all agents to have name resolution ? I think it is not required
I believe it has to be between MS to target agents. i.e. DOMAIN A hosting MS and DOMAIN B having agents and Gateway. I think the below port are required from DOMAIN A to target agents in DOMAIN B.
Source
Ports
Protocol
Direction
Destination
Gateway or MS
RPC endpoint mapper Port : 135
TCP
-->
All the windows servers, which needs to be monitored by SCOM.
NetBIOS name service Port : 137
UDP
-->
NETBIOS Datagram Service:138
UDP
-->
NetBIOS session service Port :139
TCP
-->
SMB over IP Port : 445
TCP
-->
MOM Channel Port : 5723
TCP
<-->
ICMP (ping)
TCP/UDP
<-->
*RPC/DCOM High ports (2000/2003 OS) Ports : 1024-5000
TCP/UDP
-->
*RPC/DCOM High ports (2008 OS) Ports : 49152-65535
TCP/UDP
-->
Amanpreet Singh Bansal
Tuesday, May 12, 2020 7:50 PM
All replies
-
It has to be between Gateway and target agents : the gateway is going to push the agents to servers in domain B, not the MS.Tuesday, May 12, 2020 7:58 PM
-
Hi,
You'll find the list of requires firewall ports over here:
Configuring a Firewall for Operations Manager
https://docs.microsoft.com/en-us/system-center/scom/plan-security-config-firewall?view=sc-om-2019Here's the also the documentation specifically for version 2012 R2:
https://docs.microsoft.com/en-us/previous-versions/system-center/system-center-2012-R2/hh467904(v=sc.12)Blog:
https://thesystemcenterblog.com LinkedIn:
- Proposed as answer by AlexZhu_775Microsoft contingent staff Wednesday, May 13, 2020 1:45 AM
Tuesday, May 12, 2020 8:28 PM -
Do I need to run the wizard from MS or GW in this case, I think this does not matter, (may be wrong). I am trying it from MS and getting the RPC Service unavailable error, may be MS is not able to ping the target agent.
Amanpreet Singh Bansal
Tuesday, May 12, 2020 10:23 PM -
You could run the wizard from your own computer, that wouldn't change anything. In the "management server" dropdown list, are you choosing the gateway?
If you are, then you will need to verify every classical possible network issue (firewalls...)
Tuesday, May 12, 2020 11:56 PM -
Yes, I am choosing the GW while running the wizard. I need to check the network issues with my team. The main doubt is cleared that ports needs to be opened between GW and target agents. I will give a try and post it. Thanks
Amanpreet Singh Bansal
Wednesday, May 13, 2020 3:21 AM -
Hi Amanpreet,
can you please post a quick update. Were you able to try the suggestion?
Thanks and Regards,
(Please take a moment to "Vote as Helpful" and/or "Mark as Answer" where applicable. This helps the community, keeps the forums tidy, and recognizes useful contributions. Thanks!) Blog: https://blog.pohn.ch/ Twitter: @StoyanChalakov
Monday, June 22, 2020 12:16 PM