ArcShell

arcshell_arc.sh

Reference

arc_menu

Runs the ArcShell main menu.

> arc_menu

arc_list_tags

Return the list of tags associated with the local node.

> arc_list_tags

arc_has_tag

Return true if the local node is associated with the given tag. Tags are defined in the ssh_connection configuration file for each node.

> arc_has_tag "tag"

arc_get_arcshell_process_count

Returns the number of processes currently running that appear to ArcShell related.

> arc_get_arcshell_process_count [-d]
# -d: Returns details to standard error. Used for trouble shooting.

arc_edit_config

Edit the global ‘arcshell.config’ file.

> arc_edit_config

arc_edit_local_config

Edit the local ‘arcshell.config’ file.

> arc_edit_local_config

arc_test_mail

Attempts to use ‘send_message’ to send an email and text test message.

> arc_test_mail

arc_version

Returns the current version of ArcShell.

> arc_version [-n]
# -n: Returns the version as a real number instead of a string.

arc_deploy

Remotely install ArcShell on a remote node using an ssh connection.

> arc_deploy [-ssh "X"] [-force,-f] [-package,-p "X"] ["target_home"]
# -ssh: SSH connection.
# -force: Basically performs a re-install if the product is already installed.
# -package: Package file.
# target_home: Directory which will act as the product home on remote server.

arc_update

Update remote or local ArcShell installation using an ArcShell package file.

> arc_update [-ssh "X"] [-package "X"]

arc_download

Downloads the latest ArcShell ‘tar’ file from your custom download link using wget.

> arc_download

arc_rsync

Uses ‘rsync’ to sync the current ArcShell home to a remote ArcShell home.

> arc_rsync [-ssh "X"] [-setup,-s] [-delete,-d]
# -ssh: SSH connection name.
# -setup:
# -delete: Delete files from remote node which do not exist on local node.

arc_remove

Remove ArcShell from a remote node.

> arc_remove [-ssh "X"]

arc_is_daemon_suspended

Returns true if the daemon process is suspended.

> arc_is_daemon_suspended

arc_is_daemon_running

Return true if the ArcShell daemon process appears to be alive.

> arc_is_daemon_running

arc_show

Returns information about the current environment.

> arc_show

arc_run_cmd

Run a command on a remote node within the remote ArcShell environment.

> arc_run_cmd [-ssh "X"] "command"
# -ssh: SSH connection.
# command: The command to run.

arc_pkg

Package ArcShell and save it to the user or global packages folder.

> arc_pkg [-global,-g | -local,-l] ["package_name"]
# -global: Creates a global package instead of the default of local.
# -local: Create a local package (default).
# package_name: Package name. Defaults to "ArcShell_" and a datetime string.

arc_secure_home

Secure file and directory permissions in ArcShell directories.

> arc_secure_home