Solaris for ISPs Administration Guide

Integrating X-Based Services

When the service application is installed on a computer in the network, run the mcreg(1m) command to store information about the application. This information is used by Sun Internet Administrator to correctly handle the presentation and launch of the administration GUI. The information you need for the mcreg command is:

When you have all required information, obtain root access and register the information as shown below. Run this command on the computer where the service administration interface is installed.

# mcreg -c componentID -n name -v version -x X_path -u user_name -g group_name

See the mcreg(1m) man page for an example of this form of the command.

After running mcreg, you can log into Sun Internet Administrator as a console administrator and register the new application for management. If you want other administrators to have rights to manage the new application, edit their administrator access to include it. The Sun Internet Administrator on-line help has full instructions on performing these tasks.

When an administrator invokes the X application from Sun Internet Administrator, the display is routed to display zero (hostname:0) on the client machine. Any stdout or stderr messages generated by the X application are displayed in the Sun Internet Administrator X Application Output screen.