If you deploy the management server to WebSphere® Application Server Community
Edition on AIX®, you can configure
the management server to run as a daemon process. You can set the
management server daemon to restart automatically whenever the computer
is restarted.
You must have access to a superuser or root account to complete
this task.
To configure the management server as a daemon on an AIX computer:
- Open the command prompt.
- Enter the following commands at the
command prompt, where server_location is
the directory in which WebSphere Application
Server Community Edition is installed:
cd server_location/bin
./setup-mgmtserver-as-daemon.sh
The script generates a script called optimmgmtserver,
which is saved to the server_location/bin directory.
- Log in as superuser, if you are not already
logged in as superuser.
- Copy the script optimmgmtserver to
the /etc/rc.d/init.d directory.
- Enter the following commands at the command prompt.
cd /etc/rc.d/init.d
chmod 755 optimmgmtserver
ln -s optimmgmtserver /etc/rc.d/rc2.d/S99optimmgmtserver
ln -s optimmgmtserver /etc/rc.d/rc2.d/K01optimmgmtserver
To start the daemon, log in as superuser and enter the
following command at the command prompt.
/etc/rc.d/init.d/optimmgmtserver start
To
stop the daemon, log in as superuser and enter the following command
at the command prompt.
/etc/rc.d/init.d/optimmgmtserver stop
To remove the management server daemon, log in as superuser
and enter the following commands at the command prompt. Remove the
management server daemon before you uninstall WebSphere Application Server Community
Edition.
/etc/rc.d/init.d/optimmgmtserver stop
rm /etc/rc.d/rc2.d/S99optimmgmtserver
rm /etc/rc.d/rc2.d/K01optimmgmtserver
rm /etc/rc.d/init.d/optimmgmtserver