This command-line application allows a 4Suite repository administrator to perform management tasks on the repository as a whole, including setup, server control, backup, and other operations.
4ss_manager |
[--help] [--version] [--show-commands] |
Name | Description |
---|---|
-h, --help | show detailed help message |
-V, --version | display version information and exit |
--show-commands | show system command tree |
Command | Description |
---|---|
4ss_manager backup | Create a low level backup of the entire system. |
4ss_manager init | Initialize the 4Suite repository |
4ss_manager log | Commands to work with the logs |
4ss_manager login | Save username and password for subsequent accesses |
4ss_manager recompile | Recompile all stylesheets |
4ss_manager restart | Restart the 4Suite server (controller) |
4ss_manager start | Start the 4Suite server (controller) |
4ss_manager status | Report on the state of a repository and its servers |
4ss_manager stop | Stop the 4Suite server (controller) |
This command lists the status of each server in a 4Suite repository (running or stopped) as well as the state of the repository itself (data store existence and initialization status).
4ss_manager status |
[--help] [--version] [--username=<USER>] [--password=<PASSWORD>] [--core-id=<CORE>] [--config-file=<FILEPATH>] |
Name | Description |
---|---|
-h, --help | show detailed help message |
-V, --version | display version information and exit |
-u, --username=<USER> | authenticate using the given user name |
-p, --password=<PASSWORD> | authenticate using the given password |
-I, --core-id=<CORE> | use a specific core in config file (default: Core) |
-C, --config-file=<FILEPATH> | use alternative repository configuration file |
Manager commands to work with the log files
4ss_manager log |
[--help] [--version] [--username=<USER>] [--password=<PASSWORD>] [--core-id=<CORE>] [--config-file=<FILEPATH>] |
Name | Description |
---|---|
-h, --help | show detailed help message |
-V, --version | display version information and exit |
-u, --username=<USER> | authenticate using the given user name |
-p, --password=<PASSWORD> | authenticate using the given password |
-I, --core-id=<CORE> | use a specific core in config file (default: Core) |
-C, --config-file=<FILEPATH> | use alternative repository configuration file |
Command | Description |
---|---|
4ss_manager log clear | Clear a 4SS Log |
4ss_manager log view | View a 4SS Log |
Clear the logs
4ss_manager log clear |
[--help] [--version] [--username=<USER>] [--password=<PASSWORD>] [--core-id=<CORE>] [--config-file=<FILEPATH>] |
Name | Description |
---|---|
-h, --help | show detailed help message |
-V, --version | display version information and exit |
-u, --username=<USER> | authenticate using the given user name |
-p, --password=<PASSWORD> | authenticate using the given password |
-I, --core-id=<CORE> | use a specific core in config file (default: Core) |
-C, --config-file=<FILEPATH> | use alternative repository configuration file |
View the logs
4ss_manager log view |
[--help] [--version] [--username=<USER>] [--password=<PASSWORD>] [--core-id=<CORE>] [--config-file=<FILEPATH>] [--bytes=<N>] [--lines=<N>] [--sleep-interval=<S>] |
Name | Description |
---|---|
-h, --help | show detailed help message |
-V, --version | display version information and exit |
-u, --username=<USER> | authenticate using the given user name |
-p, --password=<PASSWORD> | authenticate using the given password |
-I, --core-id=<CORE> | use a specific core in config file (default: Core) |
-C, --config-file=<FILEPATH> | use alternative repository configuration file |
-c, --bytes=<N> | output the last N bytes |
-n, --lines=<N> | output the last N lines, instead of the last 10 |
-s, --sleep-interval=<S> | sleep for approximately S seconds (default 1.0) between iterations |
The recompile command will walk the entire repository and recompile all stylesheets. It is useful when changes to the underling code base require that stylesheets be reinited in the system.
4ss_manager recompile |
[--help] [--version] [--username=<USER>] [--password=<PASSWORD>] [--core-id=<CORE>] [--config-file=<FILEPATH>] [path] |
Name | Description |
---|---|
-h, --help | show detailed help message |
-V, --version | display version information and exit |
-u, --username=<USER> | authenticate using the given user name |
-p, --password=<PASSWORD> | authenticate using the given password |
-I, --core-id=<CORE> | use a specific core in config file (default: Core) |
-C, --config-file=<FILEPATH> | use alternative repository configuration file |
Name | Description |
---|---|
path | The root path for the operation. Only resources within this path will get recompiled. |
The stop command is used to stop any or all of the 4SS servers. To stop all the servers, execute the stop command with out any arguments. To stop an individual server, specify their names as command line arguments. You will be prompted for authentication before you can stop the servers.
4ss_manager stop |
[--help] [--version] [--username=<USER>] [--password=<PASSWORD>] [--core-id=<CORE>] [--config-file=<FILEPATH>] [server-uri] |
Name | Description |
---|---|
-h, --help | show detailed help message |
-V, --version | display version information and exit |
-u, --username=<USER> | authenticate using the given user name |
-p, --password=<PASSWORD> | authenticate using the given password |
-I, --core-id=<CORE> | use a specific core in config file (default: Core) |
-C, --config-file=<FILEPATH> | use alternative repository configuration file |
Name | Description |
---|---|
server-uri | If specified, set the running state of this server to 'off'. This does not stop the 4ss daemon |
The start command can be used to start any or all protocol servers. To start all of the servers, execute the start command with no paramters. To bring up individual servers, list them on the command line.
4ss_manager start |
[--help] [--version] [--username=<USER>] [--password=<PASSWORD>] [--core-id=<CORE>] [--config-file=<FILEPATH>] [--no-daemon] [server-uri] |
Name | Description |
---|---|
-h, --help | show detailed help message |
-V, --version | display version information and exit |
-u, --username=<USER> | authenticate using the given user name |
-p, --password=<PASSWORD> | authenticate using the given password |
-I, --core-id=<CORE> | use a specific core in config file (default: Core) |
-C, --config-file=<FILEPATH> | use alternative repository configuration file |
-n, --no-daemon | Do not detach from the terminal |
Name | Description |
---|---|
server-uri | If specified, set the running state of this server to 'on'. This does not start the 4ss daemon |
Initialize the repository. This involves reformatting the storage back end (e.g. Postgres database or FlatFile root directory) and then adding the core data structures. You will LOSE ALL DATA when you execute the init, unless you use the --update option. You can only init on the machine on which the command is executed. You must have write access to where the back end stores its data (e.g., your userid must be able to write to the Postgres database if the back end is Postgres). You may be prompted for additional information to complete the init.
4ss_manager init |
[--help] [--version] [--username=<USER>] [--password=<PASSWORD>] [--core-id=<CORE>] [--config-file=<FILEPATH>] [--confirm] [--update] [--repo-only] [components]... |
Name | Description |
---|---|
-h, --help | show detailed help message |
-V, --version | display version information and exit |
-u, --username=<USER> | authenticate using the given user name |
-p, --password=<PASSWORD> | authenticate using the given password |
-I, --core-id=<CORE> | use a specific core in config file (default: Core) |
-C, --config-file=<FILEPATH> | use alternative repository configuration file |
-c, --confirm | Confirm before performing each sub-task. |
-r, --update | Don't destroy the current repository, just update the data. |
-o, --repo-only | Only create the bare repository (destroying any current one), and don't install any components. Only useful for development. |
Name | Description |
---|---|
components | Specify which components to add/update in the repository. Allowed values are: 'Commands' - 4ss and 4ss_manager commands and documentation; these are needed to be able to use the 4ss and 4ss_manager command-line tools; 'Docs' - All 4Suite documentation; 'Servers' - The default FtRpc and Ftp Server; 'Demos' - The default 4Suite Repository Demonstration applications and the server to access them; 'Dashboard' - The web-based control panel for 4Suite; 'Data' - Commonly used 4Suite data and icons (required; must be first component installed). |
This command will associate a username and password hash in a password file on the local filesystem. Subsequent invocations of 4ss_manager command-line scripts can then automatically look up access info for connecting to a repository. The location of the password file is determined by the FTSS_PASSWORD_FILE environment variable. If not set, then the location is assumed to be a file named '4ssd_pass' in the directory determined by the environment variable HOME (on Unix) or APPDATA (on Windows 2000/XP), or the environment variable WINDIR (on Windows 9x/ME/NT). If the password file does not exist, it will be created when the entry is stored. The location must be writable by the user invoking the command. At this time, this command does NOT verify that the username, password hash, hostname and port combination is valid; no repository connection is made.
4ss_manager login |
[--help] [--version] [--username=<USER>] [--password=<PASSWORD>] [--core-id=<CORE>] [--config-file=<FILEPATH>] [username] |
Name | Description |
---|---|
-h, --help | show detailed help message |
-V, --version | display version information and exit |
-u, --username=<USER> | authenticate using the given user name |
-p, --password=<PASSWORD> | authenticate using the given password |
-I, --core-id=<CORE> | use a specific core in config file (default: Core) |
-C, --config-file=<FILEPATH> | use alternative repository configuration file |
Name | Description |
---|---|
username | User for which to set defaults |
Create a low level system backup of the entire repository
4ss_manager backup |
[--help] [--version] [--username=<USER>] [--password=<PASSWORD>] [--core-id=<CORE>] [--config-file=<FILEPATH>] [--exclude=<exclude>] [--directory=<directory>] [--modified-since=<modified-since>] [--quiet] [--user-model] [--archive=[gztar|ztar|bztar|zip|tar]] [base-path]... |
Name | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
-h, --help | show detailed help message | ||||||||||
-V, --version | display version information and exit | ||||||||||
-u, --username=<USER> | authenticate using the given user name | ||||||||||
-p, --password=<PASSWORD> | authenticate using the given password | ||||||||||
-I, --core-id=<CORE> | use a specific core in config file (default: Core) | ||||||||||
-C, --config-file=<FILEPATH> | use alternative repository configuration file | ||||||||||
-e, --exclude=<exclude> | Exclude a path (and all children) from backup (multiple allowed) | ||||||||||
-d, --directory=<directory> | Directory to backup too. | ||||||||||
-m, --modified-since=<modified-since> | Only backup files modified since specified ISO datetime | ||||||||||
-q, --quiet | No extra output | ||||||||||
--user-model | Also dump the user model | ||||||||||
--archive=[gztar|ztar|bztar|zip|tar] | Create an archive (not all options will work on all platforms!!)
Allowed Values:
|
Name | Description |
---|---|
base-path | Initial resources to start the backup at. |
Restart the 4Suite server (controller).
4ss_manager restart |
[--help] [--version] [--username=<USER>] [--password=<PASSWORD>] [--core-id=<CORE>] [--config-file=<FILEPATH>] |
Name | Description |
---|---|
-h, --help | show detailed help message |
-V, --version | display version information and exit |
-u, --username=<USER> | authenticate using the given user name |
-p, --password=<PASSWORD> | authenticate using the given password |
-I, --core-id=<CORE> | use a specific core in config file (default: Core) |
-C, --config-file=<FILEPATH> | use alternative repository configuration file |