Skip to content

Commit 96ef049

Browse files
author
Tim Middleton
committed
Minor doc updates
Signed-off-by: Tim Middleton <[email protected]>
1 parent c0ef276 commit 96ef049

File tree

6 files changed

+22
-19
lines changed

6 files changed

+22
-19
lines changed

docs/about/03_quickstart.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ NODE ID HOST IP SERVICE NAME SERVER TYPE
180180
2. You can also provide the `-v` (verbose) and `-o wide` (wide format) flags to display more details.
181181
182182
3. By default, all memory and disk values are displayed in bytes as you can see above.
183-
You can change this by specifying `-k` for KB, `-m` for MB or `-g` for GB. This applies to all values returned
183+
You can change this by specifying `-k` for KB, `-m` for MB or `-g` for GB. This applies to all memory or disk values returned.
184184
185185
[#step5]
186186
=== 5. Display services
@@ -208,6 +208,8 @@ $ cohctl set context local
208208
Current context is now local
209209
210210
$ cohctl get services
211+
Using cluster connection 'local' from current context.
212+
211213
SERVICE NAME TYPE MEMBERS STATUS HA STORAGE PARTITIONS
212214
Proxy Proxy 2 n/a -1 -1
213215
PartitionedCache DistributedCache 2 MACHINE-SAFE 2 31

docs/examples/05_rolling_restarts.adoc

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -61,20 +61,20 @@ Current context is now local
6161
6262
[source,bash]
6363
----
64-
$ cohctl get members -o wide
64+
$ cohctl get members -o wide -m
6565
Using cluster connection 'local' from current context.
6666
6767
Cluster Heap - Total: 6.750GB, Used: 1.076GB, Available: 5.674GB (84.1%)
6868
6969
NODE ID ADDRESS PORT PROCESS MEMBER ROLE MACHINE RACK SITE PUBLISHER RECEIVER MAX HEAP USED HEAP AVAIL HEAP
70-
1 /192.168.1.124 58374 42988 n/a Management n/a n/a n/a 0.995 1.000 512MB 53MB 459MB
71-
2 /192.168.1.124 58389 43011 n/a CoherenceServer machine1 n/a n/a 1.000 1.000 1.000GB 307MB 717MB
72-
3 /192.168.1.124 58399 43033 n/a CoherenceServer machine1 n/a n/a 0.997 1.000 1.000GB 140MB 884MB
73-
4 /192.168.1.124 58434 43055 n/a CoherenceServer machine2 n/a n/a 0.997 1.000 1.000GB 175MB 849MB
74-
5 /192.168.1.124 58464 43081 n/a CoherenceServer machine2 n/a n/a 0.997 1.000 1.000GB 184MB 840MB
75-
7 /192.168.1.124 58774 44276 n/a CoherenceServer machine3 n/a n/a 1.000 1.000 1.000GB 124MB 900MB
76-
8 /192.168.1.124 58808 44473 n/a CoherenceServer machine3 n/a n/a 1.000 1.000 1.000GB 97MB 927MB
77-
9 /192.168.1.124 58868 44523 n/a CoherenceConsole n/a n/a n/a 1.000 1.000 256MB 22MB 234MB
70+
1 /192.168.1.124 58374 42988 n/a Management n/a n/a n/a 0.995 1.000 512 MB 53 MB 459 MB
71+
2 /192.168.1.124 58389 43011 n/a CoherenceServer machine1 n/a n/a 1.000 1.000 1024 MB 307 MB 717 MB
72+
3 /192.168.1.124 58399 43033 n/a CoherenceServer machine1 n/a n/a 0.997 1.000 1024 MB 140 MB 884 MB
73+
4 /192.168.1.124 58434 43055 n/a CoherenceServer machine2 n/a n/a 0.997 1.000 1024 MB 175 MB 849 MB
74+
5 /192.168.1.124 58464 43081 n/a CoherenceServer machine2 n/a n/a 0.997 1.000 1024 MB 184 MB 840 MB
75+
7 /192.168.1.124 58774 44276 n/a CoherenceServer machine3 n/a n/a 1.000 1.000 1024 MB 124 MB 900 MB
76+
8 /192.168.1.124 58808 44473 n/a CoherenceServer machine3 n/a n/a 1.000 1.000 1024 MB 97 MB 927 MB
77+
9 /192.168.1.124 58868 44523 n/a CoherenceConsole n/a n/a n/a 1.000 1.000 256 M 22 MB 234 MB
7878
----
7979
8080
NOTE: We can see the management node on Node 1, the storage members on nodes 2-5 and the console on node 6.
@@ -107,15 +107,15 @@ In our case we have the following caches defined:
107107
108108
[source,bash]
109109
----
110-
$ cohctl get caches
110+
$ cohctl get caches -m
111111
Using cluster connection 'local' from current context.
112112
113113
Total Caches: 3, Total primary storage: 175MB
114114
115-
SERVICE CACHE CACHE SIZE BYTES MB
116-
PartitionedCache tim 1,000 10,160,000 9MB
117-
PartitionedCache2 test-1 100,000 116,000,000 110MB
118-
PartitionedCache2 test-2 50,000 58,000,000 55MB
115+
SERVICE CACHE COUNT SIZE
116+
PartitionedCache tim 1,000 9 MB
117+
PartitionedCache2 test-1 100,000 110 MB
118+
PartitionedCache2 test-2 50,000 55 MB
119119
----
120120
121121
NOTE: You can use the `-o wide` to display more information.

docs/reference/20_services.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ Wait for all services of type `DistributedCache` to become `MACHINE-SAFE`.
5555
$ cohctl get services -c local -t DistributedCache -w -a MACHINE-SAFE
5656
----
5757
58+
NOTE: If the above services does become machine safe in the timeout, the return code of the command will be zero, otherwise the return code will be 1.
59+
5860
[#describe-service]
5961
==== Describe Service
6062

docs/reference/58_http_sessions.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
///////////////////////////////////////////////////////////////////////////////
22

3-
Copyright (c) 2021, Oracle and/or its affiliates.
3+
Copyright (c) 2021, 2022 Oracle and/or its affiliates.
44
Licensed under the Universal Permissive License v 1.0 as shown at
55
https://oss.oracle.com/licenses/upl.
66

@@ -31,7 +31,6 @@ Display Http Session data.
3131
----
3232
$ cohctl get http-servers -c local
3333
34-
3534
APPLICATION TYPE SESSION TIMEOUT CACHE OVERFLOW CACHE AVG SIZE TOTAL REAPED AVG DURATION LAST REAP SESSION UPDATES
3635
app-1 HttpSessionManager 600 session-cache 103 1 1,234 123 3
3736
app-2 HttpSessionManager 600 session-cache 1234 0 0 0 5

docs/sitegen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ engine:
1111
- "asciidoctor-diagram"
1212
attributes:
1313
plantumlconfig: "_plantuml-config.txt"
14-
commercial-docs-base-url: "https://docs.oracle.com/en/middleware/standalone/coherence/14.1.1.0"
14+
commercial-docs-base-url: "https://docs.oracle.com/en/middleware/standalone/coherence/14.1.1.2206"
1515
cli-version: "${cli.version}"
1616
coherence-version: "${coherence.version}"
1717
assets:

pkg/cmd/cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var addClusterCmd = &cobra.Command{
4040
Short: "add a cluster connection",
4141
Long: `The 'add cluster' command adds a new connection to a Coherence cluster. You can
4242
specify the full url such as https://<host>:<management-port>/management/coherence/cluster.
43-
You can also specify host and port (for http connections) and the url will be automatically
43+
You can also specify host:port (for http connections) and the url will be automatically
4444
populated constructed.`,
4545
Args: func(cmd *cobra.Command, args []string) error {
4646
if len(args) != 1 {

0 commit comments

Comments
 (0)