Yarnman Photon Powered (YM-PH) - Command Line Interface Guide (CLI)

 

Install

All yarnman install commands need to be run with sudo

The details for these commands is in Yarnman Photon Powered (YM-PH) - Installation and Upgrade Guide

ym-set-static-ip.sh

sudo ym-set-static-ip.sh

ym-generate-certs.sh

sudo ym-generate-certs.sh

ym-install.sh

sudo ym-install.sh

Upgrade

All yarnman upgrade commands need to be run with sudo

ym-upgrade.sh

Copy the upgrade file into /var/opt/yarnlab/upgrade  or if Web access from Yarnman type wget https://yldev.blob.core.windows.net/yl-ph-staging-updates/<update file package name> or sftp/ftp/scp the file onto the server

SSH into the yarnman host and change into the directory /var/opt/yarnlab/upgrade 

run the command yarnman@host [ ~ ]$ sudo ym-upgrade.sh ym-registry:package-upgrade-master-2.6.5-81d5809c.tar.gz

Service Commands

ym-service-commands.sh start

ym-service-commands.sh stop

ym-service-commands.sh restart

ym-service-commands.sh reboot

ym-service-commands.sh status

ym-service-commands.sh status-pm2

 

ym-service-commands.sh status-docker

ym-service-commands.sh stats-docker

ym-service-commands.sh yarnman-logs

ym-service-commands.sh couchdb-logs

ym-service-commands.sh redis-logs

ym-service-commands.sh tang-logs

ym-service-commands.sh tang-thp

ym-service-commands.sh update-jtapi

ym-service-commands.sh update-jtapi-local

ym-service-commands.sh update-yarnman-database

ym-service-commands.sh stig-hardening-check

ym-service-commands.sh show-tech-support

Edit Configuration Commands

ym-edit-config.sh enable-local-admin-access

ym-edit-config.sh disable-local-admin-access

ym-edit-config.sh enable-local-couchdb-access

ym-edit-config.sh disable-local-couchdb-access

ym-edit-config.sh set-local-yarnman-container-name

ym-edit-config.sh unset-local-yarnman-container-name

ym-edit-config.sh enable-yarnman-logs

ym-edit-config.sh disable-yarnman-logs

ym-edit-config.sh set-hw-8vcpu-16gb

ym-edit-config.sh set-hw-default

ym-edit-config.sh set-custom-motd

Backup

ym-backup-setup.sh

refer to Yarnman Photon Powered (YM-PH) - Backup and Restore Guide

ym-backup-actions.sh

refer to Yarnman Photon Powered (YM-PH) - Backup and Restore Guide

Advanced Configuration

ym-encrypt-at-rest.sh