forked from pivotal-cf/docs-pcf-install
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenstack-om-config.html.md.erb
260 lines (173 loc) · 13.8 KB
/
openstack-om-config.html.md.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
---
title: Configuring Ops Manager Director for OpenStack
owner: Ops Manager
---
<strong><%= modified_date %></strong>
This topic describes how to configure the Ops Manager Director after deploying
[Pivotal Cloud Foundry®](https://network.pivotal.io/products/pivotal-cf) (PCF) on OpenStack.
Use this topic when [Installing Pivotal Cloud Foundry® on OpenStack](./openstack.html).
Before beginning this procedure, ensure that you have successfully completed all
steps in the [Provisioning the OpenStack Infrastructure](./openstack-setup.html)
topic.
After you complete this procedure, follow the instructions in the [Installing Elastic Runtime on OpenStack](./openstack-er-config.html)
topic.
## <a id='log-in'></a>Step 1: Access Ops Manager ##
<p class="note"><strong>Note</strong>: Ops Manager 1.7 security features require that you log in using a fully qualified domain name to access Ops Manager.</a></p>
1. In a web browser, navigate to the fully qualified domain you created in the [Create a DNS Entry](./openstack-setup.html#dns-entry) step of [Provisioning the OpenStack Infrastructure](./openstack-setup.html).
1. When Ops Manager starts for the first time, you must choose one of the following:
* [Use an Identity Provider](#idp): If you use an Identity Provider, an external identity server maintains your user database.
* [Internal Authentication](#internal): If you use Internal Authentication, Pivotal Cloud Foundry® (PCF) maintains your user database.
<%= image_tag("select-authentication.png") %>
### <a id='idp'></a>Use an Identity Provider ###
1. Log in to your identity provider and use the information below to configure SAML Service Provider Properties:
* Service Provider Entity ID: opsman-login
* ACS URL : https:<span>//<span>OPS-MANAGER-FQDN/uaa/saml/SSO/alias/opsman-login
* Binding : HTTP Post
* SLO URL: https:<span>//<span/>OPS-MANAGER-FQDN/uaa/saml/SingleLogout/alias/opsman-login
* Binding : HTTP Redirect
* Name ID : Email Address
1. When redirected to the **Use an Identity Provider** page, you must complete the following steps:
* Retrieve the metadata URL from your Identity Provider and copy it into the **Use an Identity Provider** area.
* Create a passphrase. Ops Manager encrypts data using the passphrase that you provide.
* Read the **End User License Agreement**, and select the checkbox to accept the terms.
* Click **Setup Authentication**.
<%= image_tag("meta-url.png") %>
1. Enter a **Username** and a **Password**.
1. Read the **End User License Agreement**, and select the checkbox to accept.
### <a id='internal'></a>Use Internal Authentication ###
1. When redirected to the **Internal Authentication** page, you must complete the following steps:
* Enter a **Username**, **Password**, and **Password confirmation** to create an Admin user.
* Enter a **Decryption passphrase** and the **Decryption passphrase confirmation**. This passphrase encrypts the Ops Manager datastore, and is not recoverable.
* If you are using an **Http proxy** or **Https proxy**, follow the [PCF Director Proxy Settings](./pcf-director-proxy-settings.html) instructions.
* Read the **End User License Agreement**, and select the checkbox to accept the terms.
* Click **Setup Authentication**.
<%= image_tag("om-login.png") %>
1. Log in to Ops Manager with the Admin username and password you created in the previous step.
<%= image_tag("cf-login.png") %>
## <a id='openstack-config'></a>Step 2: Complete the OpenStack Config Page ##
1. In the left navigation of your OpenStack dashboard, click **Project > Compute > Access & Security**. Select the **API Access** tab.
1. Record the **Service Endpoint** for the **Identity** service.
You use this Service Endpoint as the Authentication URL for Ops Manager in a
later step.
<%= image_tag("openstack/record-endpoint.png") %>
1. In the PCF Ops Manager Installation Dashboard, click the **Ops Manager Director** tile.
<%= image_tag("openstack/om-tile.png") %>
1. Select **OpenStack Config**.
<%= image_tag("openstack/om-openstack-config.png") %>
1. Complete the **OpenStack Management Console Config** page with the following information:
* **Authentication URL**: Enter the Service Endpoint for the Identity
service that you recorded in a previous step.
* **Username**: Enter your OpenStack Horizon username.
* **Password**: Enter your OpenStack Horizon password.
* **Tenant**: Enter your OpenStack tenant name.
* **Region**: Enter `RegionOne`, or another region if recommended by your
OpenStack administrator.
* **Ignore Server Availability Zone**: Do not select the checkbox.
* **Security Group Name**: Enter `opsmanager`. You created this Security
Group when [Provisioning the OpenStack
Infrastructure](./openstack-setup.html#security).
* **Key Pair Name**: Enter the name of the key pair that you created in the
[Configure Security](./openstack-setup.html#security) step of the
[Provisioning the OpenStack Infrastructure](./openstack-setup.html) topic.
* **SSH Private Key**: In a text editor, open the key pair file that you
downloaded in the [Configure Security](./openstack-setup.html#security)
step of the [Provisioning the OpenStack
Infrastructure](./openstack-setup.html) topic. Copy and paste the contents of the key pair file into the field.
* **Disable DHCP**: Do not select the checkbox unless your setup requires it.
1. Click **Save**.
## <a id='advanced-config'></a>Step 3: (Optional) Complete the Advanced Config Page ##
<p class='note'><strong>Note</strong>: This is an advanced option. Most
users leave this field blank.</p>
1. In Ops Manager, select **Advanced Infrastructure Config**.
<%= image_tag("openstack/om-advanced-infra.png") %>
1. If your OpenStack environment requires specific connection options, enter them in the **Connection Options** field in JSON format. For example: `'connection_options' => { 'read_timeout' => 200 }`
1. Click **Save**.
## <a id='director-config'></a>Step 4: Complete the Director Config Page ##
1. In the left navigation of your OpenStack dashboard, click **Project > Compute > Access & Security**. Select the **API Access** tab.
<%= image_tag("openstack/download-credentials.png") %>
1. Click **Download EC2 Credentials**.
1. Unzip the downloaded credentials. In a text editor, open the `ec2rc.sh` file.
Depending on your configuration, you may use the contents of this file to complete the Ops Manager **Director Config** page.
1. In Ops Manager, select **Director Config**.
<%= image_tag("openstack/om-director-config.png") %>
1. Enter one or more NTP servers in the **NTP Servers (comma
delimited)** field. For example, `us.pool.ntp.org`.
1. (Optional) Enter your **Metrics IP Address** if you are [Using JMX Bridge](https://docs.pivotal.io/jmx-bridge/use-metrics.html).
1. Select the **Enable VM Resurrector Plugin** checkbox to enable the Ops Manager Resurrector functionality and increase Elastic Runtime availability.
1. Select **Recreate all VMs** to force BOSH to recreate all VMs on the next deploy. This process does not destroy any persistent disk data.
1. Select **HM Pager Duty Plugin** to enable Health Monitor integration with PagerDuty.
* **Service Key**: Enter your API service key from PagerDuty.
* **HTTP Proxy**: Enter an HTTP proxy for use with PagerDuty.
1. Select **HM Email Plugin** to enable Health Monitor integration with email.
* **Host**: Enter your email hostname.
* **Port**: Enter your email port number.
* **Domain**: Enter your domain.
* **From**: Enter the address for the sender.
* **Recipients**: Enter comma-separated addresses of intended recipients.
* **Username**: Enter the username for your email server.
* **Password**: Enter the password password for your email server.
* **Enable TLS**: Select this checkbox to enable Transport Layer Security.
1. For **Blobstore Location**, select **S3 Compatible Blobstore** and complete the following steps using information from the `ec2rc.sh` file:
* **Blobstore Location**: Select the **S3 Compatible Blobstore** option.
* **S3 Endpoint**: Use **S3_URL** from the `ec2rc.sh` file.
* **Bucket Name**: Enter `pcf`.
* **Access Key**: Use **EC2\_ACCESS\_KEY** from the `ec2rc.sh` file.
* **Secret Key**: Use **EC2\_SECRET\_KEY** from the `ec2rc.sh` file.
1. Select a **Database Location**. By default, PCF deploys and manages a database for you. If you choose to use an **External MySQL Database**, complete the associated fields with information obtained from your external MySQL Database provider.
1. For **Max Threads**, enter the number of operations the Ops Manager Director can perform simultaneously.
1. Click **Save**.
<p class='note'><strong>Note</strong>: If you select to use an internal database, <a href="./../customizing/backup-restore/backup-pcf.html">back up</a> your data frequently to ensure you have saved the latest copy. </p>
## <a id='az-config'></a>Step 5: Complete the Create Availability Zones Page ##
1. In Ops Manager, select **Create Availability Zones**.
<%= image_tag("openstack/create-az.png") %>
1. Enter the name of the availability zone that you selected when
[Provisioning the OpenStack Infrastructure](./openstack-setup.html#launch-om-vm).
1. Click **Save**.
## <a id='create-networks'></a>Step 6: Complete the Create Networks Page ##
1. In the left navigation of your OpenStack dashboard, click **Project > Network > Networks**.
<%= image_tag("openstack/click-network.png") %>
1. Click the name of the network that contains the private subnet where you
deployed the Ops Manager VM. The OpenStack Network Detail page displays your
network settings.
<%= image_tag("openstack/view-network-info.png") %>
1. In Ops Manager, select **Create Networks**.
<%= image_tag("openstack/om-create-networks-config.png") %>
1. Select **Enable ICMP checks** to enable ICMP on your networks. Ops Manager uses ICMP checks to confirm that components within your network are reachable. Review the [Configure Security](../customizing/openstack-setup.html#security) topic to ensure you have setup ICMP in your Security Group.
1. Use the following steps to create one or more Ops Manager networks using information from your OpenStack network:
* Click **Add Network**.
* Enter a unique **Name** for the network.
* Click **Add Subnet** to create one or more subnets for the network.
* For **Network ID**, use the **ID** of the network to which the subnet belongs.
* For **CIDR**, use the **Network Address** from the OpenStack page.
* For **Reserved IP Ranges**, use the first 10 IP addresses of the **Network Address** range, and the private IP address of the Ops Manager instance that you recorded in the [Associate Floating IP Address](./openstack-setup.html#floating-ip) step of the [Provisioning the OpenStack Infrastructure](./openstack-setup.html) topic.
* For **DNS**, enter one or more Domain Name Servers.
* For **Gateway**, use the **Gateway IP** from the OpenStack page.
1. Click **Save**.
## <a id='assign-az'></a>Step 7: Complete the Assign AZs and Networks Page ##
1. Select **Assign Availability Zones**.
<%= image_tag("openstack/assign-az.png") %>
1. From the **Singleton Availability Zone** drop-down menu, select the availability zone that you created in a previous step. The Ops Manager Director installs in this Availability Zone.
1. Use the drop-down menu to select the **Network** that you created in a previous step. Ops Manager Director installs in this network.
1. Click **Save**.
## <a id='security'></a>Step 8: Complete the Security Page ##
1. Select **Security**.
<%= image_tag("openstack/om-security.png") %>
1. In **Trusted Certificates**, enter a custom certificate authority (CA) certificate to insert into your organization's certificate trust chain. This feature enables all BOSH-deployed components in your deployment to trust a custom root certificate. If you want to use Docker Trusted Registries for running app instances in Docker containers, use this field to enter your certificate for your private Docker Trusted Registry. See the [Using Docker Trusted Registries](../opsguide/docker-registry.html) topic for more information.
1. Choose **Generate passwords** or **Use default BOSH password**. Pivotal recommends that you use the **Generate passwords** option for greater security.
1. Click **Save**. To view your saved Director password, click the **Credentials** tab.
## <a id='resource-config'></a>Step 9: Complete the Resource Config Page ##
1. Select **Resource Config**.
<%= image_tag("openstack/om-resource-config.png") %>
1. Adjust any values as necessary for your deployment, such as increasing the persistent disk size. Select **Automatic** from the drop-down menu to provision the amount of persistent disk predefined by the job. If the persistent disk field reads **None**, the job does not require persistent disk space.
<p class="note"><strong>Note</strong>: If you set a field to <strong>Automatic</strong> and the recommended resource allocation changes in a future version, Ops Manager automatically uses the updated recommended allocation.</p>
1. Click **Save**.
## <a id='complete-ops'></a>Step 10: Complete Ops Manager Director Installation ##
1. Click the **Installation Dashboard** link to return to the Installation Dashboard.
1. Click **Apply Changes**. If the following ICMP error message appears, click
**Ignore errors and start the install**.
<%= image_tag("openstack/icmp-error.png") %>
1. Ops Manager Director installs. The image shows the **Changes Applied** message that Ops Manager displays when the installation process successfully completes.
<%= image_tag("openstack/om-installed.png") %>
1. After you complete this procedure, follow the instructions in the [Installing Elastic Runtime on OpenStack](./openstack-er-config.html) topic.
---
Return to [Installing Pivotal Cloud Foundry® on OpenStack](./openstack.html).