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/infrastructure-macos.md
+27-2Lines changed: 27 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,16 +39,38 @@ On the Mac, go to System Settings -> Network and disable WiFi.
39
39
Then, in the network settings, go to Ethernet -> Details -> DNS, and click "+" under "DNS Servers" to add the IPv4 addresses of alimesos01, alimesos02 and alimesos03 as DNS servers.
40
40
Remove other DNS servers (including the automatic CERN central ones).
41
41
42
+
You will have to register them in LanDB too, the network will redirect you to the right page automatically.
43
+
44
+
### Set up the Mac's hostname
45
+
46
+
Make sure the Mac knows itself by it's real hostname, as it can have issues
47
+
with DNS resolution otherwise. You can do this by going to System Preferences
48
+
-> General -> About, and changing the computer name to the short hostname of
49
+
the Mac (e.g. `alibuildmac09`).
50
+
51
+
### Enable SSH and VNC
52
+
53
+
To start both the SSH and VNC servers, enable remote login in System Preferences -> General -> Sharing -> Remote Login, and Screen Sharing.
54
+
55
+
Additionally, you may want to add the proper SSH keys to the `alibuild` user's `authorized_keys` file.
56
+
42
57
### Prevent the Mac from going to sleep
43
58
44
59
By default, Macs will go into a low-power state after a while without interactive use, which interrupts the CI build process.
45
60
To prevent this, change the following settings in System Settings:
46
61
47
-
In Energy Saver, enable both "Start up automatically after a power failure" and "Wake for network access".
62
+
In Energy, enable "Start up automatically after a power failure", "Wake for network access", and "Prevent computer from sleeping automatically when the display is off".
48
63
49
64
In Lock Screen, set both "Start Screen Saver when inactive" and "Turn display off when inactive" to "Never".
50
65
51
-
In Displays -> Advanced, enable "Prevent automatic sleeping when the display is off" (at the bottom of the page).
66
+
### Disable crash reporting
67
+
68
+
Some jobs are intended to crash, and we don't want the Mac to get stuck waiting for user input.
0 commit comments