Can I create default settings for my volumes?

Solution Verified - Updated -

Issue

Based on recommendations from Red Hat, we use the same values for settings on all our volumes:

# gluster volume set <volume name> features.cache-invalidation on
# gluster volume set <volume name> features.cache-invalidation-timeout 600
# gluster volume set <volume name> performance.stat-prefetch on
# gluster volume set <volume name> performance.cache-invalidation on
# gluster volume set <volume name> performance.md-cache-timeout 600
# gluster volume set <volume name> network.inode-lru-limit 90000
# gluster volume set <volume name> lookup-optimize on
# gluster volume set <volume name> client.event-threads 4
# gluster volume set <volume name> server.event-threads 4
# gluster volume set <volume name> performance.nl-cache on

We would like to make this default for our whole gluster environment. At the moment, we have to change these settings on a per volume basis. That involves a lot of typing.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content