Este conteúdo não está disponível no idioma selecionado.

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
Voltar ao topo
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2025 Red Hat