Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ports used by dcos-net #1283

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 7 additions & 11 deletions 1.11/installing/ports.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,24 @@ DC/OS allocates additional ports to services running on top of DC/OS. These port
| Port | DC/OS component | systemd unit |
|---|---|---|
| 61003 | REX-Ray | `dcos-rexray.service` |
| 61053 | Mesos DNS | `dcos-mesos-dns.service` |
| 61420 | Erlang Port Mapping Daemon (EPMD) | `dcos-epmd.service` |
| 62053 | DNS Forwarder (Spartan) | `dcos-spartan.service` |
| 62080 | Navstar | `dcos-navstar.service` |
| 62501 | DNS Forwarder (Spartan) | `dcos-spartan.service` |
| 62502 | Navstar | `dcos-navstar.service` |
| 61420 | Erlang Port Mapping Daemon (EPMD) | `dcos-net.service` |
| 62080 | DC/OS net (Navstar) | `dcos-net.service` |
| 62501 | DNS Forwarder (Spartan) | `dcos-net.service` |

### UDP

| Port | DC/OS component | systemd unit |
|---|---|---|
| 61053 | Mesos DNS | `dcos-mesos-dns.service`|
| 62053 | DNS Forwarder (Spartan) | `dcos-spartan.service` |
| 64000 | Navstar | `dcos-navstar.service` |
| 62053 | DNS Forwarder (Spartan) | `dcos-net.service` |
| 64000 | Navstar | `dcos-net.service` |

## Master

### TCP

| Port | DC/OS component | systemd unit |
|---|---|---|
| 53 | DNS Forwarder (Spartan) | `dcos-spartan.service` |
| 53 | DNS Forwarder (Spartan) | `dcos-net.service` |
| 80 | Admin Router Master (HTTP) | `dcos-adminrouter.service` |
| 443 | Admin Router Master (HTTPS) | `dcos-adminrouter.service` |
| 1337 | DC/OS Secrets | `dcos-secrets.service` (Enterprise DC/OS Only) | <!-- Enterprise -->
Expand Down Expand Up @@ -65,7 +61,7 @@ DC/OS allocates additional ports to services running on top of DC/OS. These port

| Port | DC/OS component | systemd unit |
|---|---|---|
| 53 | DNS Forwarder (Spartan) | `dcos-spartan.service` |
| 53 | DNS Forwarder (Spartan) | `dcos-net.service` |

## Agent

Expand Down
42 changes: 21 additions & 21 deletions 1.11/overview/architecture/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,21 +421,20 @@ In a world where machines are are given numbers instead of names, tasks are sche
</div>

<div data-role="collapsible">
<h2 id="dns-forwarder">DNS Forwarder (Spartan)</h2>
<h2 id="dns-forwarder">DNS Net (Spartan)</h2>
<div>
<p><strong>Description:</strong> DNS Forwarder (Spartan) forwards DNS requests to multiple DNS servers. Spartan Watchdog restarts Spartan when it is unhealthy.</p>
<p><strong>Description:</strong> DNS Net (Spartan) forwards DNS requests to multiple DNS servers. Spartan Watchdog restarts Spartan when it is unhealthy.</p>
<p>
<strong>System Service(s):</strong>
<ul>
<li><code class="nowrap">dcos-spartan.service</code></li>
<li><code class="nowrap">dcos-spartan-watchdog.service</code></li>
<li><code class="nowrap">dcos-spartan-watchdog.timer</code></li>
<li><code class="nowrap">dcos-net.service</code></li>
<li><code class="nowrap">dcos-net-watchdog.service</code></li>
</ul>
</p>
<p>
<strong>See Also:</strong>
<ul>
<li><a href="https://github.com/dcos/spartan">Source</a></li>
<li><a href="https://github.com/dcos/dcos-net">Source</a></li>
</ul>
</p>
</div>
Expand Down Expand Up @@ -637,10 +636,11 @@ To see a list of the systemd components running on any particular node, list the
```
$ ls /etc/systemd/system/dcos.target.wants/ -1
dcos-adminrouter.service
dcos-checks-poststart.service
dcos-checks-poststart.timer
dcos-cosmos.service
dcos-diagnostics.service
dcos-diagnostics.socket
dcos-epmd.service
dcos-exhibitor.service
dcos-gen-resolvconf.service
dcos-gen-resolvconf.timer
Expand All @@ -655,26 +655,25 @@ dcos-mesos-master.service
dcos-metrics-master.service
dcos-metrics-master.socket
dcos-metronome.service
dcos-navstar.service
dcos-net.service
dcos-net-watchdog.service
dcos-oauth.service
dcos-pkgpanda-api.service
dcos-signal.service
dcos-signal.timer
dcos-spartan.service
dcos-spartan-watchdog.service
dcos-spartan-watchdog.timer
```

## Private Agent Node

```
$ ls /etc/systemd/system/dcos.target.wants/ -1
dcos-adminrouter-agent.service
dcos-checks-poststart.service
dcos-checks-poststart.timer
dcos-diagnostics.service
dcos-diagnostics.socket
dcos-docker-gc.service
dcos-docker-gc.timer
dcos-epmd.service
dcos-gen-resolvconf.service
dcos-gen-resolvconf.timer
dcos-log-agent.service
Expand All @@ -684,25 +683,24 @@ dcos-logrotate-agent.timer
dcos-mesos-slave.service
dcos-metrics-agent.service
dcos-metrics-agent.socket
dcos-navstar.service
dcos-net.service
dcos-net-watchdog.service
dcos-pkgpanda-api.service
dcos-rexray.service
dcos-signal.timer
dcos-spartan.service
dcos-spartan-watchdog.service
dcos-spartan-watchdog.timer
```

## Public Agent Node

```
$ ls /etc/systemd/system/dcos.target.wants/ -1
dcos-adminrouter-agent.service
dcos-checks-poststart.service
dcos-checks-poststart.timer
dcos-diagnostics.service
dcos-diagnostics.socket
dcos-docker-gc.service
dcos-docker-gc.timer
dcos-epmd.service
dcos-gen-resolvconf.service
dcos-gen-resolvconf.timer
dcos-log-agent.service
Expand All @@ -712,17 +710,19 @@ dcos-logrotate-agent.timer
dcos-mesos-slave-public.service
dcos-metrics-agent.service
dcos-metrics-agent.socket
dcos-navstar.service
dcos-net.service
dcos-net-watchdog.service
dcos-pkgpanda-api.service
dcos-rexray.service
dcos-signal.timer
dcos-spartan.service
dcos-spartan-watchdog.service
dcos-spartan-watchdog.timer
```


# Changes Since DC/OS 1.9

- [Admin Router](#admin-router) - Admin Router now performs dynamic DNS resolution. The external `dcos-adminrouter-reload` service and timer were removed.
- [DC/OS Component Package Manager](#dcos-component-package-manager) - To avoid a race condition during DC/OS upgrades, the DC/OS Component Package Manager socket file is now managed by [gunicorn](http://gunicorn.org/) instead of systemd.

# Changes Since DC/OS 1.10

- [`dcos-net`] The role of `dcos-net` was fulfilled by `spartan`, `dcos-l4lb` was fulfilled by `minuteman` and `dcos-overlay` was fulfilled by `navstar`. In DC/OS 1.11, the different systemD units were aggregated into a single service. The main advantage of following this operational pattern is that it has led to better efficiency in terms of resource utilization (lower CPU consumption and lower memory), and has also made the networking services a lot more robust and reliable, not to mention that this approach has made the code a lot more maintainable.