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: explanation/lustre.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,15 +35,23 @@ The `lustre-server` charm is in an experimental state and is not yet ready for p
35
35
36
36
### Package installation
37
37
38
-
TODO
38
+
The Lustre server packages are installed from a PPA maintained by the Ubuntu HPC team located at [`ppa:ubuntu-hpc/lustre-2.17`](https://launchpad.net/~ubuntu-hpc/+archive/ubuntu/lustre-2.17) and containing the latest stable release supported by the charm. Setup of the PPA and package install are handled automatically by the charm during its `install` hook.
39
39
40
40
### LNet configuration
41
41
42
-
TODO
42
+
LNet is Lustre's network layer, responsible for communication between clients and server components. The `lustre-server` charm can automatically detect network interfaces and configure LNet or a custom configuration can be provided using the `lnet-networks` option.
43
+
44
+
Both the `lustre-server` and `filesystem-client` charms perform network auto-detection by default, during the charm `install` hook. LNet is automatically configured with a network name of `tcp` using the default route Ethernet interface and, if RDMA hardware such as InfiniBand is detected, another network name of `o2ib` using every RDMA device, in a multi-rail setup if multiple devices are detected.
45
+
46
+
Auto-detection can be overridden by setting the `lnet-networks` configuration value. The format for `lnet-networks` is `<name>=<iface>[,<iface>...]`, where `<name>` is the LNet network name and `<iface>` is the network interface. For example, to configure LNet with a net name of `tcp` using the `eth0` interface, and a net name of `o2ib0` using the `ib0` and `ib1` interfaces, the following flag would be used:
47
+
48
+
```shell
49
+
--config lnet-networks="tcp=eth0; o2ib0=ib0,ib1"
50
+
```
43
51
44
52
### Service placement
45
53
46
-
TODO
54
+
The charm automatically places the MGS and MDS on the initial leader unit, with all subsequent units becoming OSSes. A minimum of two units is required in a deployment.
Copy file name to clipboardExpand all lines: howto/deploy/deploy-lustre.md
+18-11Lines changed: 18 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,40 +20,47 @@ The `lustre-server` charm is in an experimental state and is not ready for produ
20
20
21
21
## Prerequisites
22
22
23
-
- A [Slurm cluster](#howto-deploy-deploy-slurm).
24
23
- The [Juju CLI client](https://documentation.ubuntu.com/juju/latest/user/howto/manage-juju/) installed on your machine.
25
24
- Secure boot **disabled** on target machines, as the charm builds DKMS kernel modules.
26
25
26
+
(howto-deploy-deploy-lustre-server)=
27
27
## Deploy the `lustre-server` charm
28
28
29
-
To deploy the `lustre-server` charm:
29
+
To deploy a default configuration, where the initial leader unit is a combined MGS+MDS and all remaining units are OSSes, run the following:
30
30
31
31
:::{code-block} shell
32
32
juju deploy lustre-server \
33
33
--channel latest/edge \
34
-
-n 2
34
+
-n <numberofunits>
35
35
:::
36
36
37
-
At least two units are required; a single unit deployment is not supported.
37
+
A minimum of two units is required; a single unit deployment is not supported.
38
38
39
-
The Juju application leader at deployment time becomes a combined MGS+MDS unit. All additional units become OSSes, each providing one OST.
39
+
## Deploy the `lustre-server` charm with custom LNet configuration
40
40
41
-
Wait for all units in the deployment to become active:
41
+
To override LNet auto-detection and deploy with a custom configuration, deploy as described in {ref}`howto-deploy-deploy-lustre-server` but include the `lnet-networks` configuration option following format: `<name>=<iface>[,<iface>...]`.
42
+
43
+
For example, to configure LNet with a net name of `tcp` using the `eth0` interface, and a net name of `o2ib0` using the `ib0` and `ib1` interfaces, run the following:
Copy file name to clipboardExpand all lines: howto/deploy/index.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,9 @@
1
1
# Deploy
2
2
3
-
Deploy and configure the core components of a Charmed HPC cluster, with support for high availability, NFS and CephFS filesystem serves, LXD-based deployments, and LDAP-backed identity management.
3
+
Deploy and configure the core components of a Charmed HPC cluster, with support for high availability, filesystem serves (Lustre, NFS, and CephFS), LXD-based deployments, and LDAP-backed identity management.
0 commit comments