Web-based System Manager applications can also be run in client-server mode. In this mode, the AIX machine acts as a server to a graphical client located elsewhere on the network. The Web-based System Manager server does not require a graphical terminal.
The same filesets that allow Web-based System Manager Applications to run in stand-alone mode also allow Web-based System Manager to run in client-server mode. In addition, the Web-based System Manager server must be configured to be started by inetd when a client connects to the Web-based System Manager server. By default, when Web-based System Manager is installed, the Web-based System Manager server will be configured to run in this manner.
Because Web-based System Manager is written in Java, a Web-based System Manager client can be any machine that has a Java 1.1.2 Virtual Machine installed, including a machine with a browser that supports Java 1.1.2 A Web-based System Manager client could be another AIX machine with a graphics terminal, or a PC. There are two possibilities for Web-based System Manager clients: an applet client in a browser, and an AIX client application.
The Web-based System Manager server will be started by inetd when a Web-based System Manager client connects to the server. By default, the Web-based System Manager server will listen on port 9090 after initialization.
A remote Web-based System Manager application will prompt the user for a hostname on startup. The port to which the client connects is by default the Web-based System Manager Server default port. The port number can be passed to the client application on the command line, or can be stored in the websm.cfg file.
The Web-based System Manager config file websm.cfg is kept in the /usr/websm directory on AIX machines for both the Web-based System Manager server and the Web-based System Manager client.
On non-AIX machines, this file will be searched for in the directory from which an application is invoked.
The Web-based System Manager Config file supports the following parameters:
port=9090
There are three possible choices for configuring Web-based System Manager for applet mode:
The default URL for the Web-based System Manager launch page will be at the following URL:
http://<hostname>/wsm.html
Some web-servers look in sub-directories under the top-level directory for locale-specific html files. The wsmappletcfg program will search under the document directory for directories with the same name as locales installed for Web-based System Manager. If locale directories are found, wsmappletcfg will link the translated version of the html files to the appropriate directory.
If you want the top-level html files to be set to the language of your choice, specify the option -lang <lang> when running wsmappletcfg with the 5 character locale you want (for example; ja_JP).
A Web-based System Manager server can also be managed from any machine with a web browser. When Web-based System Manager is installed on an AIX machine, if a web server is detected, a link will be setup for the Web Server to the Web-based System Manager HTML launch page.
The default URL for the Web-based System Manager launch page is http://<machine name>/wsm.html. The actual URL may vary. See the owner of the machine for the URL if the default URL does not work.
The Web-based System Manager server will be started automatically when an applet or remote application tries to connect to it.
wsm -host <hostname> [ -port <port num> ]
This will bring up a login box for you to enter your account name and
password
for the remote machine. If the login is successful, you will see
the
Web-based System Manager launch container for the Web-based System Manager server you
specified in the hostname parameter.
By default, the Web-based System Manager server is disabled. To enable the Web-based System Manager
server, run:
/usr/websm/bin/wsmserver -enable.
To disable the server, run:
/usr/websm/bin/wsmserver -disable.