Skip to content

Latest commit

 

History

History
69 lines (49 loc) · 3.87 KB

File metadata and controls

69 lines (49 loc) · 3.87 KB

Description

This module will create a set of startup-script runners that will install and run DellHPC Omnia version 1.3 onto a set of VMs representing a slurm controller and compute nodes. For a full example using omnia-install, see the omnia-cluster example.

Warning: This module will create a user named "omnia" by default which has sudo permissions. You may want to remove this user and/or it's permissions from each node.

License

Copyright 2022 Google LLC

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Requirements

Name Version
terraform >= 0.14.0

Providers

No providers.

Modules

No modules.

Resources

No resources.

Inputs

Name Description Type Default Required
compute_ips IPs of the Omnia compute nodes list(string) n/a yes
install_dir Path where omnia will be installed, defaults to omnia user home directory (/home/omnia).
If specifying this path, please make sure it is on a shared file system, accessible by all omnia nodes.
string "" no
manager_ips IPs of the Omnia manager nodes list(string) n/a yes
omnia_username Name of the user that installs omnia string "omnia" no
slurm_uid User ID of the slurm user number 981 no

Outputs

Name Description
copy_inventory_runner Runner to copy the inventory to the omnia manager using the startup-script module
install_omnia_runner Runner to install Omnia using an ansible playbook. The startup-script module
will automatically handle installation of ansible.
- id: example-startup-script
source: modules/scripts/startup-script
settings:
runners:
- $(your-omnia-id.install_omnia_runner)
...
inventory_file The inventory file for the omnia cluster
omnia_user_warning Warn developers that the omnia user was created with sudo permissions
setup_omnia_node_runner Runner to create the omnia user using an ansible playbook. The startup-script
module will automatically handle installation of ansible.
- id: example-startup-script
source: modules/scripts/startup-script
settings:
runners:
- $(your-omnia-id.setup_omnia_node_runner)
...
setup_omnia_node_script An ansible script that adds the user that install omnia