You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/install/update-harvester-configuration.md
+78-63Lines changed: 78 additions & 63 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,23 +20,25 @@ This page describes how to edit some of the most-requested Harvester configurati
20
20
21
21
If you upgrade from a version before `v1.1.2`, the `cloud-init` file in examples will be `/oem/99_custom.yaml`. Please substitute the value if needed.
22
22
23
+
If you upgrade from a version before `v1.7.0`, any changes to network and DNS configuration need to be made in the `/oem/91_networkmanager.yaml` file instead of in `/oem/90_custom.yaml`. Please substitute the value if needed.
24
+
23
25
:::
24
26
25
27
## DNS servers
26
28
27
29
### Runtime change
28
30
29
31
1. Log in to a Harvester node and become root. See [how to log into a Harvester node](../troubleshooting/os.md#how-to-log-in-to-a-harvester-node) for more details.
30
-
1.Edit `/etc/sysconfig/network/config` and update the following line. Use a space to separate DNS server addresses if there are multiple servers.
32
+
1.If the management interface _is not_ configured to use a VLAN, run the following command:
1. Update and reload the configuration with the following command:
38
+
1. If the management interface _is_ configured to use a VLAN, run the following commands. Replace `VLAN_ID` with the actal ID of the VLAN. If in doubt, run `nmcli con` to see the configured connections and devices.
1. Confirm the file `/etc/resolv.conf` contains the correct DNS servers with the `cat` command:
@@ -55,28 +57,39 @@ If you upgrade from a version before `v1.1.2`, the `cloud-init` file in examples
55
57
56
58
### Configuration persistence
57
59
58
-
Beginning with v1.1.2, the persistent name of the cloud-init file is `/oem/90_custom.yaml`. Harvester now uses a newer version of Elemental, which creates the file during installation.
60
+
:::note
59
61
60
-
When upgrading from an earlier version to `v1.1.2` or later, Harvester retains the old file name (`/oem/99_custom.yaml`) to avoid confusion. You can manually rename the file to `/oem/90_custom.yaml` if necessary.
62
+
If you upgrade from a version before `v1.7.0`, the changes below need to be made in the `/oem/91_networkmanager.yaml` file instead of in `/oem/90_custom.yaml`.
63
+
64
+
:::
61
65
62
66
1. Backup the elemental `cloud-init` file `/oem/90_custom.yaml` as follows:
1. Edit `/oem/90_custom.yaml` and update the value under the yaml path `stages.initramfs[0].commands`. The `commands` array must contain a line to manipulate the `NETCONFIG_DNS_STATIC_SERVERS` config. Add the line if the line doesn't exist.
72
+
1. Edit `/oem/90_custom.yaml` and update the value under the yaml path `stages.network[0].commands`. The `commands` array must contain a line to manipulate the NetworkManager DNS configuration for the management interface. This is the exact same command used above when making the change at runtime. Add the line if the line doesn't exist.
69
73
70
-
The following example adds a line to change the `NETCONFIG_DNS_STATIC_SERVERS` config:
74
+
The following example adds a line to configure DNS servers when not using a VLAN on the management interface:
1. Restart the network with the `wicked ifreload` command:
145
+
1. You should now be able to see the device is connected:
128
146
129
147
```
130
-
wicked ifreload mgmt-bo
148
+
$ nmcli device
149
+
DEVICE TYPE STATE CONNECTION
150
+
mgmt-br bridge connected bridge-mgmt
151
+
...
152
+
mgmt-bo bond connected bond-mgmt
153
+
ens6 ethernet connected bond-slave-ens6
154
+
ens7 ethernet connected bond-slave-ens7
131
155
```
132
156
133
-
:::caution
134
-
135
-
A mistake in the configuration may disrupt the SSH session.
157
+
### Configuration persistence
136
158
137
-
:::
159
+
:::note
138
160
139
-
### Configuration persistence
161
+
If you upgrade from a version before `v1.7.0`, the changes below need to be made in the `/oem/91_networkmanager.yaml` file instead of in `/oem/90_custom.yaml`.
140
162
163
+
:::
141
164
142
165
1. Backup the elemental cloud-init file `/oem/90_custom.yaml` as follows:
1. Edit `/oem/90_custom.yaml` and update the yaml path `stages.initramfs[0].files`. More specifically, update the content of the `/etc/sysconfig/network/ifcfg-mgmt-bo` file and edit the `BONDING_SLAVE_X` and `BONDING_MODULE_OPTS` entries accordingly:
171
+
1. Edit `/oem/90_custom.yaml` and add a entry under `stages.initramfs[0].files` to create the NetworkManager connection profile for the new device. The most straightforward thing to do is to copy an existing bonding slave device and update the `path`, `id` and `interface-name` fields to match the new device. The following example shows the creation of `/etc/NetworkManager/system-connections/bond-slave-ens7.nmconnection` based on the existing `/etc/NetworkManager/system-connections/bond-slave-ens6.nmconnection` connection profile:
If you didn't select an interface during installation, you must add an entry to initialize the interface. Please check the `/etc/sysconfig/network/ifcfg-ens6` file creation in the above example. The file name should be `/etc/sysconfig/network/ifcfg-<interface-name>`.
Copy file name to clipboardExpand all lines: docs/logging/harvester-logging.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,7 @@ In Harvester's practice, the `Logging`, `Audit` and `Event` shares one architect
47
47
The Harvester logging infrastructure allows you to aggregate Harvester logs into an external service such as [Graylog](https://www.graylog.org), [Elasticsearch](https://www.elastic.co/elasticsearch/), [Splunk](https://www.splunk.com/), [Grafana Loki](https://grafana.com/oss/loki/) and others.
48
48
49
49
### Collected Logs
50
+
50
51
See below for a list logs that are collected:
51
52
- Logs from all cluster `Pods`
52
53
- Kernel logs from each `node`
@@ -55,7 +56,7 @@ See below for a list logs that are collected:
0 commit comments