Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
linenumberstrue
## Sample configuration for the Lustre HSM Agent. See lhsmd(1) for more information.
##
## The mount target for the Lustre filesystem that will be used with this agent.
##
# client_device=   "10.0.2.15@tcp:/lustre"
client_device = "required"
##
## Base directory used for the Lustre mount points created by the agent
#
##
# mount_root= "/var/lib/lhsmd/roots"
##
## List of enabled plugins
##
# enabled_plugins = ["lhsm-plugin-posix", "lhsm-plugin-s3"]
##
## Directory to look for the plugins### plugin_dir = "/usr/libexec/lhsmd"
##
## Number of threads handling incoming HSM requests.
##
# handler_count = 4
##
## Enable expeimental snapshot feature.
##
# snapshots {
#    #     enabled = false
#false# }

##
## Metric Storage
##
# influxdb {
#   #    url = "http://10.0.1.123:8086"
#   #    db = "lhsmd"
#   #    user = "*user*"
#   #    password = "*password*"
# }

...

Code Block
languagebash
linenumberstrue
# The mount point for the front end Lustre filesystem
mount_root="/mnt/hsm1"
 
# Lustre NID and filesystem name for the front end filesystem, the agent will mount this 
client_device=192.168.5.21@o2ib0:/hsm1
 
# Do you want to use S3 and POSIX, in this example we use POSIX
enabled_plugins=["lhsm-plugin-posix"]
 
### PathDirectory to lhsmd - this will be here is you installed the RPM's as describes in the previous exampleslook for the plugins
plugin_dir="/usr/libexec/binlhsmd"
 
# TBD, I used 16
handler_count=16
 
# TBD
snapshots {
        enabled = false
}

...

 /etc/lhsmd/lhsm-plugin-posix

Note: file permission must be 600

Code Block
languagebash
linenumberstrue
# Representative number of threads compared to the type of system it is running on
# Divisible by 8 usually makes sense to easily calculate scalability 
num_threads = 16 
 
# Archive name, this can be whatever you like
archive  "posix-test" {
    id = 1                          # Must be unique to this endpoint, we set this up earlier if you recall
    root = "/mnt/hsm2/HSMPATH"      # The base directory of the archive, local archive mount point, you need to mount this
 }

...