搜索

此内容没有您所选择的语言版本。

9.29. fabric:ensemble-password

download PDF

Abstract

Displays or modifies the ensemble password

Synopsis

fabric:ensemble-password [ --help ] [ --commit ] [ NewPassword ]

Description

The ensemble password protects access to the Zookeeper nodes under the /fabric/ path, which contains critical configuration data for the fabric. This command can be used either to display the current ensemble password or to change the ensemble password to a new value.
To display the current ensemble password, invoke the command without any arguments:
JBossFuse:karaf@root> fabric:ensemble-password
To change the ensemble password requires a two-step process. First, specify the new password as follows:
JBossFuse:karaf@root> fabric:ensemble-password mysecret
Updating the password...
 
Password updated. Please wait a little while for the new password to
get delivered as a config update to all the fabric nodes. Once, the 
nodes all updated (nodes must be online), please run: 

  fabric:ensemble-password --commit 

JBossFuse:karaf@root> fabric:ensemble-password --commit
Only the current password is allowed access to fabric now.

JBossFuse:karaf@root>
After the new password has propagated to all of the ensemble nodes, commit the change as follows:
JBossFuse:karaf@root> fabric:ensemble-password --commit

Arguments

Table 9.29, “fabric:ensemble-password Arguments” describes the command's arguments.
Table 9.29. fabric:ensemble-password Arguments
ArgumentInterpretation
NewPassword Specifies the new ZooKeeper password for the ensemble.
--help Displays the online help for this command
--commit Displays the online help for this command
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.