Este contenido no está disponible en el idioma seleccionado.

6.7. Setting Gear Quotas and Sizes for Specific Users


Use the oo-admin-ctl-user command to set individual user gear parameters to limit the number of gears a user is allowed, and change user access to gear sizes.
On the broker host, display gear information for a user with the following command. Replace username with the relevant user name:
# oo-admin-ctl-user -l usernameoo-admin-ctl-user -l username
Copy to Clipboard Toggle word wrap

Example 6.9. 

# oo-admin-ctl-user -l user

User user:
   consumed gears: 3
   max gears: 100
   gear sizes: small
Copy to Clipboard Toggle word wrap
On the broker host, limit the number of gears a user is allowed with the following command. Replace username with the relevant user name and 101 with the desired number of gears:
# oo-admin-ctl-user -l username --setmaxgears 101oo-admin-ctl-user -l username --setmaxgears 101oo-admin-ctl-user -l username --setmaxgears 101oo-admin-ctl-user -l username --setmaxgears 101
Copy to Clipboard Toggle word wrap

Example 6.10. Limiting a User's Number of Gears

# oo-admin-ctl-user -l user --setmaxgears 101
Setting max_gears to 101... Done.

User user:
   consumed gears: 3
   max gears: 101
   gear sizes: small
Copy to Clipboard Toggle word wrap
On the broker host, add a gear size for a user with the following command. Replace username with the relevant user name and medium with the desired gear size:
# oo-admin-ctl-user -l username --addgearsize mediumoo-admin-ctl-user -l username --addgearsize mediumoo-admin-ctl-user -l username --addgearsize mediumoo-admin-ctl-user -l username --addgearsize medium
Copy to Clipboard Toggle word wrap

Example 6.11. Enabling a Gear Size For a User

# oo-admin-ctl-user -l user --addgearsize medium
Adding gear size medium for user user... Done.

User user:
   consumed gears: 3
   max gears: 101
   gear sizes: small, medium
Copy to Clipboard Toggle word wrap
On the broker host, remove a gear size from a user with the following command. Replace username with the relevant user name and medium with the desired gear size:
# oo-admin-ctl-user -l username --removegearsize mediumoo-admin-ctl-user -l username --removegearsize mediumoo-admin-ctl-user -l username --removegearsize mediumoo-admin-ctl-user -l username --removegearsize medium
Copy to Clipboard Toggle word wrap

Example 6.12. Removing a Gear Size For a User

# oo-admin-ctl-user -l user --removegearsize medium
Removing gear size medium for user user... Done.

User user:
   consumed gears: 3
   max gears: 101
   gear sizes: small
Copy to Clipboard Toggle word wrap
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat