autopilotpattern / nfsserver Goto Github PK
View Code? Open in Web Editor NEWLicense: Mozilla Public License 2.0
License: Mozilla Public License 2.0
The health checks implemented here are not nearly as thorough as it should be.
A better example may be found in https://exchange.nagios.org/directory/Plugins/Operating-Systems/Linux/check_nfs_health-2Esh/details. That, or something else should be implemented here.
Following from TritonDataCenter/containerpilot#218: When a Consul agent running as a co-process in a ContainerPiloted application exits, it is not de-registered from the Consul cluster.
@fitz123 suggests the leave_on_terminate
Consul option will fix that. This ticket proposes implementing that option in this repo and for others in https://github.com/autopilotpattern.
Following the Testing section in the README.md file, the NFS share won't mount.
When running mount -t nfs -v -o nolock,vers=3 nfs:/exports /nfs
, I get the following output:
mount.nfs: timeout set for Tue May 1 01:02:04 2018
mount.nfs: trying text-based options 'nolock,vers=3,addr=172.17.0.3'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 172.17.0.3 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: portmap query retrying: RPC: Program not registered
mount.nfs: prog 100005, trying vers=3, prot=6
mount.nfs: trying 172.17.0.3 prog 100005 vers 3 prot TCP port 1892
mount.nfs: Protocol not supported
When running ls -al /nfs
, I get the following output:
total 8
drwxr-xr-x 2 root root 4096 May 1 00:59 .
drwxr-xr-x 41 root root 4096 May 1 00:59 ..
Execing into the nfsserver container, I can see that the /exports directory has the date file created.
I've tried troubleshooting the nfsserver, but all online help that I could find doesn't seem to apply since the NFS server is a custom NodeJS app and not the linux kernel.
Any help resolving this would be greatly appreciated.
https://github.com/bahamas10/node-manta-sync would be an easy addition with huge value:
All those would be optional, of course.
Some prior Manta client configuration examples:
ContainerPilot 2.0 introduced a telemetry feature that would be very useful for monitoring this application.
The most useful metric for scaling is probably the available disk space. The following reports used space as a decimal value between 0 and 1:
df -h -P /exports | awk 'NR==2 {print $5/100}'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.