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

Chapter 3. Getting into your OpenStack HA Environment


With the OpenStack HA environment running, log into your director (undercloud) system. Then, become the stack user by running:

# sudo su - stack
Copy to Clipboard Toggle word wrap

From there, you can interact with either the undercloud and overcloud by loading its corresponding environment variables. To interact with the undercloud, run:

$ source ~/stackrc
Copy to Clipboard Toggle word wrap

Likewise, to interact with the overcloud, run:

$ source ~/overcloudrc
Copy to Clipboard Toggle word wrap

For more information about accessing either undercloud or overcloud, see Accessing the Overcloud.

To access and investigate a node, first find out what IP addresses have been assigned to them. This involves interacting with the undercloud:

$ source ~/stackrc
$ nova list
 +-------+------------------------+---+----------------------+
 | ID    | Name                   |...| Networks             |
 | d1... | overcloud-controller-0 |...| ctlplane=10.200.0.11 |
 ...
Copy to Clipboard Toggle word wrap
Note

For reference, the director deployed the following names and addresses in our test environment:

Expand
NamesAddresses

overcloud-controller-0

10.200.0.11

overcloud-controller-1

10.200.0.10

overcloud-controller-1

10.200.0.6 (virtual IP)

overcloud-controller-2

10.200.0.14

overcloud-compute-0

10.200.0.12

overcloud-compute-1

10.200.0.15

overcloud-cephstorage-0

10.200.0.9

overcloud-cephstorage-1

10.200.0.8

overcloud-cephstorage-2

10.200.0.7

In your own test environment, even if you use the same address ranges, the IP addresses assigned to each node may be different.

Once you know the IP addresses of your overcloud nodes, you can run the following command to log into one of those nodes. Doing so involves interacting with the overcloud. For example, to log into overcloud-controller-0 as the heat-admin user:

$ source ~stack/overcloudrc
$ ssh heat-admin@10.200.0.11
Copy to Clipboard Toggle word wrap

After logging into a controller, compute, or storage system, you can begin investigating the HA features there.

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2026 Red Hat
返回顶部