Difference between revisions of "Recitaladmin"

From Recital Documentation Wiki
Jump to: navigation, search
 
(76 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
Administration management tool used with the Recital software suite. It takes the following arguments.
 
Administration management tool used with the Recital software suite. It takes the following arguments.
  
Note: recitaladmin must be run as root. For systems with a hidden root account, please precede commands with ’sudo’.
+
Note: recitaladmin must be run as root. For systems with a hidden root account, please precede commands with '''sudo'''.
  
===server===
+
===start [ -l | logging ]===
Perform administration of the recital server daemon. See recitalserver [http://www.recitalsoftware.com/index.php?option=com_content&view=article&id=88] for full details.
+
Start the recital daemon. Logging may optionally be enabled.  
  --server [ options ]
+
<pre>
===replication===
+
  recitaladmin start
Perform administration of the recital replication daemon. See recitalreplication(1) for full details.
+
</pre>
--replication [ options ]
+
===stop===
===intergrity===
+
Stop the recital daemon. This will prevent new connections and disconnect existing connectionsIt has no effect on interactive users.  
This option  is  used  to verify and if needed, repair a Recital data files. Use -f table to verify a table. Use -d directory to verify all files in a directory. Use -D database to verify a database. Use -r to  recursively  process sub-directories.  Use  -y  to  repair data errors if any are found. Use -q to only display errors. Use -a for verbose mode.
+
<pre>
--integrity  [ -f table  |  -d directory  | -D database | -r | -y  | -q  | -a]
+
  recitaladmin stop
===convert===
+
</pre>
This options is used to convert data from disparate hardware platforms  and  databases  into  and  out  of  Recital Databases.  The first parameter is the file type to convert and the second optional parameter is the file(s) to convert.
+
===shutdown [ message ]===
--convert  [ all | prg | dbf | fmt | mem  | frx ] [ <files> ]
+
Shutdown the recital daemon and interactive users. This will prevent new connections and disconnect existing connections and users. Subsequent interactive users logins are disabled.  A shutdown message can be sent to interactive users before the shutdown.
===execute===
+
<pre>
Execute program file.  Args specified are declared as character variables  in  the  called  program.  The  file name extension defaults to .prg Only program files that have no user input or display output can be run.
+
recitaladmin shutdown  "Please log out."
--execute  filename [ Args ]
+
</pre>
===users===
+
===disable===
      --users  [ -c | -r | -l  ]
+
The  -r  options  will  reset the existing recital users file. All users must be log out before this task can be performed. The -c options will create a new users file if one doesn’t already exist. The -l option will list  the  current recital users.
+
 
+
      shutdown  [ message ]
+
Shutdown the recital daemon and interactive users. This will prevent new connections and disconnect existing connections and users. A shutdown message can be sent to interactive users before the shutdown.
+
 
+
      disable
+
 
Disable the recital daemon and interactive users. This will prevent new connections, but not disconnect existing connections and users.
 
Disable the recital daemon and interactive users. This will prevent new connections, but not disconnect existing connections and users.
 +
<pre>
 +
recitaladmin  disable
 +
</pre>
 +
NOTE: An ODBC client attempting to connect to a disabled server will receive the following message:
  
enable  
+
Invalid license: errno(-24)
 +
===enable===
 
Enable the recital daemon and interactive users. This will enable new connections and users
 
Enable the recital daemon and interactive users. This will enable new connections and users
 
+
<pre>
      suspend
+
recitaladmin  enable
 +
</pre>
 +
===suspend===
 
Suspend the recital daemon and interactive users. This will suspend all connections to the recital server and existing users.
 
Suspend the recital daemon and interactive users. This will suspend all connections to the recital server and existing users.
 
+
<pre>
      resume  
+
recitaladmin  suspend
 +
</pre>
 +
===resume===
 
Resume the recital daemon and interactive users. This will resume all suspended connections and users.
 
Resume the recital daemon and interactive users. This will resume all suspended connections and users.
 +
<pre>
 +
recitaladmin resume
 +
</pre>
 +
===logout [ message ]===
 +
Log out interactive users.  A log out message can be sent to interactive users before they are logged out.
 +
<pre>
 +
recitaladmin logout "Please log out for system maintenance."
 +
</pre>
  
      logout [ message ]
+
===logoff username ===
Log out interactive users.  A log out message can be sent to interactive users before the they are logged out.
+
Log out a specific user.  A message is sent to the user before they are logged out.
 
+
<pre>
      broadcast [ message ]
+
  recitaladmin logoff sports
Broadcast a message to all current interactive users. If no message is specified then any previous broadcast message will be cleared.
+
</pre>
  
      terminate  [ pid ]
+
===broadcast [ message ]===
 +
Broadcast a message to all current interactive users.  If no message is specified then any previous broadcast message will be cleared.
 +
<pre>
 +
recitaladmin  broadcast  "Hello everybody."
 +
</pre>
 +
===terminate===
 
Terminate cleanly the specified recital process.
 
Terminate cleanly the specified recital process.
 +
<pre>
 +
recitaladmin  terminate 999
 +
</pre>
  
      help  
+
===status===
Display this information
+
Display whether the recital daemon is running or not.
 +
<pre>
 +
recitaladmin status
 +
</pre>
 +
===fullstatus===
 +
Display whether the recital daemon is running or not, the maximum and current connections and whether logging is enabled or disabled.
 +
<pre>
 +
recitaladmin fullstatus
 +
</pre>
 +
===help===
 +
Display help information
 +
<pre>
 +
recitaladmin help
 +
</pre>
  
      version
+
===version===
 
Display product version
 
Display product version
 +
<pre>
 +
recitaladmin  version
 +
</pre>

Latest revision as of 15:30, 11 November 2014

Administration management tool used with the Recital software suite. It takes the following arguments.

Note: recitaladmin must be run as root. For systems with a hidden root account, please precede commands with sudo.

start [ -l | logging ]

Start the recital daemon. Logging may optionally be enabled.

 recitaladmin start

stop

Stop the recital daemon. This will prevent new connections and disconnect existing connections. It has no effect on interactive users.

 recitaladmin stop

shutdown [ message ]

Shutdown the recital daemon and interactive users. This will prevent new connections and disconnect existing connections and users. Subsequent interactive users logins are disabled. A shutdown message can be sent to interactive users before the shutdown.

 recitaladmin shutdown  "Please log out."

disable

Disable the recital daemon and interactive users. This will prevent new connections, but not disconnect existing connections and users.

 recitaladmin  disable

NOTE: An ODBC client attempting to connect to a disabled server will receive the following message:

Invalid license: errno(-24)

enable

Enable the recital daemon and interactive users. This will enable new connections and users

 recitaladmin  enable

suspend

Suspend the recital daemon and interactive users. This will suspend all connections to the recital server and existing users.

 recitaladmin  suspend

resume

Resume the recital daemon and interactive users. This will resume all suspended connections and users.

 recitaladmin resume

logout [ message ]

Log out interactive users. A log out message can be sent to interactive users before they are logged out.

 recitaladmin logout "Please log out for system maintenance."

logoff username

Log out a specific user. A message is sent to the user before they are logged out.

 recitaladmin logoff sports

broadcast [ message ]

Broadcast a message to all current interactive users. If no message is specified then any previous broadcast message will be cleared.

 recitaladmin  broadcast  "Hello everybody."

terminate

Terminate cleanly the specified recital process.

 recitaladmin  terminate 999

status

Display whether the recital daemon is running or not.

 recitaladmin status

fullstatus

Display whether the recital daemon is running or not, the maximum and current connections and whether logging is enabled or disabled.

 recitaladmin fullstatus

help

Display help information

 recitaladmin help

version

Display product version

 recitaladmin  version