Skip to content

Commit 8149bd8

Browse files
committed
Updated the READMEs to reflect using the standalone version of docker-compose as opposed to the plugin version.
1 parent b4aaf71 commit 8149bd8

File tree

2 files changed

+56
-3
lines changed

2 files changed

+56
-3
lines changed

Monitoring/monitor_fsxn_with_harvest_on_ec2/README-Manual.md

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,25 @@ If your exiting ec2 instance already had an instance profile, then simply add th
110110
To install Docker use the following commands if you are running an Red Hat based Linux:
111111
```sh
112112
sudo yum install docker
113-
sudo curl -L https://download.docker.com/linux/centos/7/x86_64/stable/Packages/docker-compose-plugin-2.6.0-3.el7.x86_64.rpm -o ./compose-plugin.rpm
114-
sudo yum install ./compose-plugin.rpm -y
115113
sudo systemctl start docker
114+
sudo systemctl enable docker
116115
```
117116
If you aren't running a Red Hat based Linux, you can follow the instructions [here](https://docs.docker.com/engine/install/).
118117

118+
Install Docker Compose:
119+
```sh
120+
LATEST_COMPOSE_VERSION=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | jq -r '.tag_name')
121+
ARCH=$(uname -m)
122+
if [ -z "$ARCH" -o -z "$LATEST_COMPOSE_VERSION" ]; then
123+
echo "Error: Unable to determine latest version or architecture."
124+
else
125+
sudo curl -L "https://github.com/docker/compose/releases/download/$LATEST_COMPOSE_VERSION/docker-compose-linux-$ARCH" -o /usr/local/bin/docker-compose
126+
sudo chmod +x /usr/local/bin/docker-compose
127+
# Create a symlink in /usr/bin for more accessibility.
128+
[ ! -L /usr/bin/docker-compose ] && sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
129+
fi
130+
```
131+
119132
To confirm that docker has been installed correctly, run the following command:
120133

121134
```sh
@@ -145,6 +158,7 @@ Share images, automate workflows, and more with a free Docker ID:
145158
For more examples and ideas, visit:
146159
https://docs.docker.com/get-started/
147160
```
161+
148162
### 5. Install Harvest on EC2
149163

150164
Preform the following steps to install Harvest on your EC2 instance:
@@ -312,7 +326,7 @@ sudo sed -i -e "\$a\- job_name: 'yace'" -e "\$a\ static_configs:" -e "\$a\ -
312326
##### 6. Bring Everything Up
313327

314328
```sh
315-
sudo docker compose -f prom-stack.yml -f harvest-compose.yml up -d --remove-orphans
329+
sudo docker-compose -f prom-stack.yml -f harvest-compose.yml up -d --remove-orphans
316330
```
317331

318332
After bringing up the prom-stack.yml compose file, you can access Grafana at
@@ -323,3 +337,25 @@ You will be prompted to create a new password the first time you log in. Grafana
323337
username: admin
324338
password: admin
325339
```
340+
341+
## Adding additional FSx for ONTAP file systems.
342+
If you need to add additional FSxN file systems to monitor after the initial installation,
343+
you can do so by following the steps mentioned at the bottom of the [CloudFormation deployment](README.md) version of this read me file.
344+
345+
---
346+
347+
## Author Information
348+
349+
This repository is maintained by the contributors listed on [GitHub](https://github.com/NetApp/FSx-ONTAP-utils/graphs/contributors).
350+
351+
## License
352+
353+
Licensed under the Apache License, Version 2.0 (the "License").
354+
355+
You may obtain a copy of the License at [apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0).
356+
357+
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an _"AS IS"_ basis, without WARRANTIES or conditions of any kind, either express or implied.
358+
359+
See the License for the specific language governing permissions and limitations under the License.
360+
361+
© 2025 NetApp, Inc. All Rights Reserved.

Monitoring/monitor_fsxn_with_harvest_on_ec2/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,4 +163,21 @@ To monitor additional FSxN resources, follow these steps:
163163
```bash
164164
docker-compose -f prom-stack.yml -f harvest-compose.yml up -d --remove-orphans
165165
```
166+
166167
---
168+
169+
## Author Information
170+
171+
This repository is maintained by the contributors listed on [GitHub](https://github.com/NetApp/FSx-ONTAP-utils/graphs/contributors).
172+
173+
## License
174+
175+
Licensed under the Apache License, Version 2.0 (the "License").
176+
177+
You may obtain a copy of the License at [apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0).
178+
179+
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an _"AS IS"_ basis, without WARRANTIES or conditions of any kind, either express or implied.
180+
181+
See the License for the specific language governing permissions and limitations under the License.
182+
183+
© 2025 NetApp, Inc. All Rights Reserved.

0 commit comments

Comments
 (0)