When you finish creating your Messenger system, the Installation program can start the Messenger agents for you. If you installed the Messenger agents on a Windows server, the Archive Agent console appears on the Windows server console.
If you installed the Messenger agents on a NetWare® server, the Archive Agent console appears on the NetWare server console.
If you installed the Messenger agents on a Linux server, the Archive Agent, by default, runs as a daemon and has no comparable user interface. However, you can start it in a terminal window so that status messages are displayed, as described in Starting the Linux Archive Agent in a Terminal Window, and you can monitor the Archive Agent from your Web browser, as described in Using the Archive Agent Web Console and GroupWise Monitor.
The following sections help you start the Archive Agent manually, or automatically whenever the server restarts:
The Messenger Installation program creates the nmstart.ncf file in the Messenger agent installation directory (sys:\novell\nm by default). This file contains lines similar to the following example:
load sys:\novell\nm\ma\nmma.nlm @sys:\novell\nm\ma\strtup.ma load sys:\novell\nm\aa\nmaa.nlm @sys:\novell\nm\aa\strtup.aa
If you are running the Archive Agent on a different server from where the Messaging Agent is running, edit the nmstart.ncf file and comment out the first line so that the Messaging Agent does not start when the nmstart.ncf file is run.
To start the Archive Agent manually:
Enter sys:\novell\nm\nmstart.ncf at the NetWare server console prompt.
The Archive Agent console appears.
To start the Archive Agent automatically when the NetWare server restarts:
Add the following line to the autoexec.ncf file in the sys:\system directory:
sys:\novell\nm\nmstart.ncf
If you want to start the Archive Agent in protected mode, you must be using LDAP access to eDirectory. See Using LDAP Access for the Archive Agent. In addition, when you stop the Archive Agent agent in protected mode, you must manually unload the address space.
You have several alternatives for starting the Archive Agent on Linux:
To start the Archive Agent as a daemon, use the startup script provided in the /etc/init.d directory.
At the Linux server, become root by entering su and the root password.
Change to the /etc/init.d directory.
To start the Archive Agent, enter the following command:
./novell-nmaa start
You can also use the stop, restart, and status options for these agents from the same directory.
Messenger agent log files are created in the /var/opt/novell/log/messenger directory. The Messenger agents can be monitored by using the agent Web consoles from your Web browser, as described in Using the Messaging Agent Web Console
in Managing the Messaging Agent
in the Novell Messenger 2.0 Administration Guide.
To start the Archive Agent in a terminal window, run the Archive Agent executable.
At the Linux server, become root by entering su and the root password.
Change to the /opt/novell/messenger/bin directory.
To start the Archive Agent, enter the following command:
./nmaa @/etc/opt/novell/messenger/strtup.aa
Agent status information and messages are displayed in the terminal window.
To stop the Archive Agent when it is running in a terminal window, press Ctrl+C and the Archive Agent performs a normal shutdown.
A startup service starts automatically each time the server reboots.
At the Linux server, become root by entering su and the root password.
If eDirectory for Linux is installed, enter the following command:
insserv novell-nmaa
or
If eDirectory for Linux is not installed, use the following command to override the dependency on the ndsd service:
insserv -f novell-nmaa
If you later want to remove the Archive Agent as a startup service, enter the following command in a terminal window:
insserv -r novell-nmaa
At the Linux server, become root by entering su and the root password.
Enter the following command:
chkconfig --add novell-nmaa
If you later want to remove the agents as startup services, enter the following command in a terminal window:
chkconfig --del novell-nmaa
Follow the instructions for the Windows installation option you chose:
To start the Archive Agent manually:
Click
> > > .You might want to create a desktop shortcut for this action.
To start the Archive Agent automatically whenever the server restarts:
Click
> > > > .Browse to the directory where you installed the Archive Agent (\novell\nm\aa).
Double-click nmaa.exe, then add the startup file (strtup.aa) to the command line.
Example: nmaa.exe @strtup.aa
Click
.Select the Startup folder, provide a name for the shortcut, then click
.To start the Archive Agent manually:
Click
> > .Double-click
> .Right-click the
service, then click .To start the Archive Agent automatically whenever the server restarts:
Click
> > .Double-click
> .Right-click the
service, then click .Set
to .Click
to save the Windows service startup setting.If you do not want to run the Messaging Agent along with the Archive Agent, make sure that the Novell Messenger Messaging Agent service is disabled.
To start the Archive Agent without a user interface on the Windows server desktop:
Click
> > .Double-click
> .Right-click the
service, then click .Click
, then deselect .If you suppress the Archive Agent console in this manner, the Archive Agent can still be monitored from the Archive Agent Web console, as described in Using the Archive Agent Web Console and GroupWise Monitor.
Click
to save the Windows service logon setting.The Archive Agent cannot start if it cannot read its configuration settings from the Archive Agent object in Novell® eDirectory. During installation, an eDirectory access method was selected, as described in Installing a Novell Messenger System
in the Messenger 2.0 Installation Guide.
Figure 4-1 Directory Access Page in the Messenger Installation Program
The information for that eDirectory access method was stored in the Archive Agent startup file as settings for the following startup switches:
Table 4-1 Startup Switches Settings
To change the eDirectory access method selected during installation, follow the appropriate set of instructions:
Edit the Archive Agent startup file (strtup.aa).
On Linux, the startup file is located in /etc/opt/novell/messenger.
On Windows, the startup file is located in the Messenger Agent installation directory. You can edit the startup file from the Messaging Agent console. See Controlling the Archive Agent from the Archive Agent Console.
On Linux and Windows, comment out the /dirreplicaaddr switch.
On a NetWare server, this switch does not apply, because the eDirectory replica resides on the NetWare server.
Scroll down to the bottom of the startup file.
Remove the comment character (;) from the /ldap* switches and provide the required LDAP information.
Save the startup file.
Stop and then start the Archive Agent so that it reads its updated startup file and uses LDAP access to eDirectory.
Edit the Archive Agent startup file (strtup.aa).
On Linux, the startup file is located in /etc/opt/novell/messenger.
On Windows, the startup file is located in the Messenger Agent installation directory. You can edit the startup file from the Messaging Agent console. See Controlling the Archive Agent from the Archive Agent Console.
On a Linux and Windows, remove the comment character (;) from the /dirreplicaaddr switch and provide the IP address of the eDirectory replica that you want the Archive Agent to access.
On a NetWare server, this switch does not apply, because the eDirectory replica resides on the NetWare server.
Scroll down to the bottom of the startup file.
Comment out the /ldap* switches.
Removing the LDAP information causes the Archive Agent to access the eDirectory replica directly.
Save the startup file.
Stop and then start the Archive Agent so that it reads its updated startup file and uses direct access to eDirectory.