Forge Home

gpfs

GPFS Puppet module

8,810 downloads

124 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 2.3.1 (latest)
  • 2.3.0
  • 2.2.0
  • 2.1.1
  • 2.1.0
  • 2.0.0
  • 1.0.0
  • 0.8.0
  • 0.7.0
  • 0.6.0
  • 0.5.0
  • 0.4.1
  • 0.4.0
  • 0.3.1
  • 0.3.0
  • 0.2.2
  • 0.2.1
  • 0.2.0
  • 0.1.4
  • 0.1.3
  • 0.1.2
  • 0.1.1
  • 0.1.0
released Nov 22nd 2022
This version is compatible with:
  • Puppet Enterprise 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x
  • Puppet >= 6.0.0 < 8.0.0
  • , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'treydock-gpfs', '2.3.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add treydock-gpfs
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install treydock-gpfs --version 2.3.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

treydock/gpfs — version 2.3.1 Nov 22nd 2022

puppet-module-gpfs

Puppet Forge CI Status

Table of Contents

  1. Description
  2. Setup - The basics of getting started with gpfs
  3. Usage - Configuration options and additional functionality
  4. Reference - Module reference

Description

This module will manage GPFS.

Setup

What gpfs affects

At this time the module is capable of installing GPFS packages and managing ISKLM configurations as well as SSH key authorization for client root logins.

Usage

The class to include is based on a host's role:

  • gpfs::client - GPFS clients
  • gpfs::server - GPFS NSDs
  • gpfs::ces - GPFS CES nodes
  • gpfs::gui - GPFS GUI nodes

The class gpfs is not intended to be included directly but instead configured via Hiera

NOTE: All usage examples will assume you're using Hiera to define data.

Repo configuration

The following is an example of configuring central YUM repository that hosts GPFS RPMs.

gpfs::repo_baseurl: 'https://repo.example.com/gpfs/4/$releasever/'

Clients

The following example will install packages necessary for GPFS client, configure SSH keys and enable ISKLM encryption.

gpfs_keystore_password: >
    ENC[...]
gpfs::client::ssh_authorized_keys:
  'root@gpfs':
    key: 'AAAAB3Nza=='
gpfs::client::rkms:
  'ISKLM_srv':
    type: 'ISKLM'
    kmip_server_uris:
      - 'tls://isklm01:5696'
      - 'tls://isklm02:5696'
    key_store: '/var/mmfs/etc/RKMcerts/ISKLM.gpfs'
    key_store_source: 'puppet:///modules/profile/gpfs/ISKLM.gpfs'
    passphrase: "%{lookup('gpfs_keystore_password')}"
    client_cert_label: 'gpfs'
    tenant_name: 'GS_ISKLM'

Filesets and Fileset Quotas

This module provides native types for managing GPFS filesets and GPFS quotas. Each defaults to the shell provider but there is also a rest_v2 provider.

NOTE: The rest_v2 provider is no longer tested or maintained NOTE: The gpfs_fileset_quota type is capable of managing user and group quotas but only fileset quotas have been tested in production.

Create a fileset and fileset quota:

gpfs_fileset { 'test':
  ensure => 'present',
  filesystem     => 'project',
  path           => '/gpfs/project/test',
  owner          => 'user1:group1',
  permissions    => '0770',
  max_num_inodes => 1000000,
  alloc_inodes   => 1000000,
}

gpfs_fileset_quota { 'test':
  filesystem       => 'project',
  block_soft_limit => '5T',
  block_hard_limit => '5T',
  files_soft_limit => 1000000,
  files_hard_limit => 1000000,
}

Reference

http://treydock.github.io/puppet-module-gpfs/