Server Administration
This chapter describes how to manage the CorporateTime Server. All administrative tasks and procedures are executed using command line utilities, the CorporateTime Server Administrator (an NT-based GUI), or operating system tools.
This chapter documents the following administrative procedures:
- Starting and stopping CorporateTime Server
- Checking CorporateTime Server status
- Viewing current user activity
- Changing the SYSOP (node) password
- Other administrative tasks
Starting and stopping CorporateTime Server
If you are using the LDAP-enabled version of CorporateTime (the users/unison/misc/unison.ini parameter [DAS] enable=TRUE), your Directory Server must be running before starting CorporateTime Server. Also, if you have enabled mail notifications, a mail server should be running.
CorporateTime Server is started or stopped by executing one of the following procedures:
Cmd line
CorporateTime Server is started using the shell script unistart and stopped using the script unistop. For full instructions on the use and syntax of these scripts, see Appendix G.
Example
To start the CorporateTime Server (bringing up four daemons if using an internal directory and five daemons with the external directory option), you would execute the following command:
% unistart
Example
For an orderly shutdown of the CorporateTime Server, you would execute the following command:
% unistop -yThe CorporateTime Server Administrator cannot be used to bring down processes or services on a remote server. The following procedure will control the services only on the machine running the CorporateTime Server Administrator.
Note
- Select Services | Properties to open the Local Services dialogue box
- Select a CorporateTime service and click Start or Stop depending on the desired action.
- Click Close
Dependencies among the five services may result in the termination or initiation of more than one service. For instance, select CorporateTime Lock Manager and click Stop to bring down the five services in one action
NT
From the Services Control Panel (Start Menu | Settings | Control Panel | Services), stop the five CorporateTime Server services: CorporateTime Engine, CorporateTime Lock Manager, CorporateTime Corporate-Wide Services, CorporateTime Synchronous Network Connections and CorporateTime Directory Access Server (uniengd, unilckd, unicwsd, unisncd and unidasd)
WarningThe number of user connections, the number of processes running, and the volume of network traffic all affect the amount of time that the CorporateTime Server takes to stop.
Checking CorporateTime Server status
To view the current status of the CorporateTime Server daemons/services and servers run the unistatus utility from the command line. See unistatus in Appendix G for complete instructions and syntax.
Example
To verify the status of the CorporateTime Server and its daemons, run the following command:
% unistatus -dunistatus: the calendar server is up
Viewing current user activity
To view the current status of connected CorporateTime users, run the uniwho utility. See uniwho in Appendix G for complete instructions and syntax.
Example
To determine the logged-on users for CorporateTime, execute:
% uniwho
PID ADDRESS NODEID XITEMID USER 7721 193.77.49.162 20004 20004,2 CWSOP,na 14668 193.77.49.223 20004 20004,295 Alexander,James 10237 193.77.49.44 20004 20004,142 Addison,Thomas
Changing the SYSOP (node) password
Cmd line
To change the password of the SYSOP or any other user on a CorporateTime node, run the unipasswd utility from the command line. See unipasswd in Appendix G for complete instructions and syntax.
Example
To change the password for node 34, execute:
% unipasswd -n 34Re-enter new password: *******
From the CorporateTime Server Administrator:
- Select Node | Change Password to open the Node Properties dialogue box at the Password tab.
- Enter the old password in the Old SYSOP Password edit box.
- Enter the new password in the New SYSOP Password edit box.
- Re-enter the new password in the Confirm SYSOP Password edit box.
- Click OK.
Other administrative tasks
A number of less common CorporateTime Server administrative tasks are also performed from the command line using utilities. For full instructions on the use and syntax of these utilities, see Appendix G.
Some of the utilities that an administrator may want to be familiar with once the CorporateTime Server is up and running are:
UNIXUNIX
- unicheck - to verify the presence of all necessary files and directories, and check the settings for permissions, owner and group information.
UNIX
- uniclean - to remove or correct any problems found running unicheck. Transient files will be removed and permission and ownership settings restored to the default.
- uniclr_ipc - to clear IPC (Inter-Process Communication) resources consumed by the CorporateTime Server system.
See the table at the front of Appendix G for a short description of the function of all scripts included with CorporateTime Server.
| Corporate Software & Technologies http://www.cst.ca Voice: (514) 733-8500 Fax: (514) 733-8878 info@cst.ca |