Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evantahler/smartdc-listcomputenodes
List your joyent machines by the compute node they are running on. Ensure your workload is distributed!
https://github.com/evantahler/smartdc-listcomputenodes
Last synced: about 1 month ago
JSON representation
List your joyent machines by the compute node they are running on. Ensure your workload is distributed!
- Host: GitHub
- URL: https://github.com/evantahler/smartdc-listcomputenodes
- Owner: evantahler
- Created: 2014-01-20T17:18:06.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-31T03:35:41.000Z (almost 11 years ago)
- Last Synced: 2024-11-16T20:35:14.648Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 152 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# smartdc-listcomputenodes
List your joyent machines by the compute node they are running on. Ensure your workload is distributed!## Install
`npm install smartdc-listcomputenodes -g`## Use
`sdc-listcomputenodes`The only option is `--format`, which can be `json` or `human`
## Example
`sdc-listcomputenodes --format human`
```bash
> sdc-listcomputenodes --format human
Compute Nodes:xxx-xxx-xxx (2)
- my-server-1 @ 123.123.123.123,192.168.10.11
- my-server-2 @ 123.123.123.123,192.168.10.11
yyy-yyy-yyy (1)
- my-server-3 @ 123.123.123.123,192.168.10.11```
## Notes
Currently, the binary package(s) assume you will be running the commands from bash, and have the following environment variables set for the normal smartdc API:
- `SDC_URL` url for the Joyent API (something like `https://us-sw-1.api.joyentcloud.com/`)
- `SDC_ACCOUNT` your joyent account name
- `SDC_KEY_ID` the fingerprint of your SSH keyIf you are upgrading from `smartdc` v6x, note the name change for the required ENV variables, and click visit https://npmjs.org/package/smartdc to learn how to generate your ssh fingerprint