Skip to content

Commit 8744b36

Browse files
authored
Merge pull request #1789 from agrare/document_messaging_config_appliance_console_cli
Add documentation for appliance_console_cli messaging config
2 parents a51a2fd + e7ca461 commit 8744b36

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

_includes/appe-appliance-console-cli.md

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Currently, the `appliance_console_cli` feature is a subset of the full functiona
66

77
#### Database Configuration Options
88

9-
| | |
9+
| | |
1010
| ---------------- | ------------------------------------------------------------------------------------------ |
1111
| Option | Description |
1212
| --region (-r) | region number (create a new region in the database - requires database credentials passed) |
@@ -20,6 +20,26 @@ Currently, the `appliance_console_cli` feature is a subset of the full functiona
2020

2121
{: caption="Table 1. Database Configuration Options" caption-side="top"}
2222

23+
#### Messaging Configuration Options
24+
| | |
25+
| ----------------------------- | ----------------------------------------------------- |
26+
| Option | Description |
27+
| --message-server-config | configure appliance as a messaging server (boolean) |
28+
| --message-server-unconfig | unconfigure appliance as a messaging server (boolean) |
29+
| --message-client-config | configure appliance as a messaging server (boolean) |
30+
| --message-client-unconfig | unconfigure appliance as a messaging server (boolean) |
31+
| --message-keystore-username | messaging keystore username (defaults to admin) |
32+
| --message-keystore-password | messaging keystore password |
33+
| --message-server-username | messaging server username (defaults to admin) |
34+
| --message-server-password | messaging server password |
35+
| --message-server-port | messaging server port (defaults to 9093) |
36+
| --message-server-use-ipaddr | use ipaddress not hostname for messaging server |
37+
| --message-server-host | messaging server hostname or ipaddress |
38+
| --message-truststore-path-src | path for messaging server truststore |
39+
| --message-ca-cert-path-src | path to a certificate authority for messaging SSL |
40+
| --message-persistent-disk | configure a new volume for storing messaging data |
41+
42+
2343
#### v2_key Options
2444

2545
| | |
@@ -84,6 +104,14 @@ Currently, the `appliance_console_cli` feature is a subset of the full functiona
84104

85105
86106

107+
Set up an all-in-one appliance as a local database and messaging appliance and start the MIQ Server:
108+
109+
# appliance_console_cli --internal --dbdisk /dev/sdb --region 0 --password smartvm --message-server-config --message-keystore-password smartvm --server=start
110+
111+
Join a worker appliance to an existing region:
112+
113+
# appliance_console_cli --fetch-key db.example.com --sshlogin root --sshpassword smartvm --hostname db.example.com --password mydatabasepassword --message-client-config --message-server-host db.example.com --message-server-password smartvm --message-keystore-password smartvm --server start
114+
87115
To create a new database locally on the server by using `/dev/sdb`:
88116

89117
# appliance_console_cli --internal --dbdisk /dev/sdb --region 0 --password smartvm
@@ -96,6 +124,14 @@ You could combine the two to join a region where *db.example.com* is the applian
96124

97125
# appliance_console_cli --fetch-key db.example.com --sshlogin root --sshpassword smartvm --hostname db.example.com --password mydatabasepassword
98126

127+
To configure an appliance as a messaging server:
128+
129+
# appliance_console_cli --message-server-config --message-keystore-password="smartvm"
130+
131+
To configure an appliance as a messaging client:
132+
133+
# appliance_console_cli --message-client-config --message-server-host db.example.com --message-server-password smartvm --message-keystore-password smartvm
134+
99135
To configure external authentication:
100136

101137
# appliance_console_cli --host appliance.test.company.com

0 commit comments

Comments
 (0)