NAME | SYNOPSIS | DESCRIPTION | OPTIONS | TASKS | EXAMPLES | EXIT STATUS | ATTRIBUTES | NOTES | SEE ALSO
The mpsadmconfig command provides a single command-line tool to configure Administration Server.
The following options are supported:
Finishes any remaining tasks, even when an error occurs. The default behavior is to quit when any task fails, without running the remaining tasks.
Uses encrypted HTTP (HTTPS) to connect to the server. The default protocol is HTTP.
Displays general usage information. To display the usage information for a particular task, specify the task as the argument to -h without the leading hyphen, for example, -hrestart.
Reads options and tasks from the specified file. You can specify additional options on the command line. If an option is present on the command line and in the specified file, the command-line settings are used. If the -inputFile option is present in the specified file, it is ignored to prevent mpsadmconfig from reading multiple sets of options.
Connects to the server on the specified host and port. If no host is specified, the local host is used. The server port number (preceded by a colon) is required.
Connects to the server using the specified username and password. If a user name is not specified, you are prompted for the current user's password. The password appears on screen when it is typed, so if security is a concern, use the -inputFile option and list the user name and password in a file with suitable permissions. Note that if the -user option is specified, then, at a minimum, the colon must be specified. If the -user option is not specified, the user is prompted for both the user name and password.
Sets the level of screen output (9=full output, 0=no output). The default level is 5.
Displays the version and copyright information.
The [options] can be specified using the terse single character form such as -u if applicable, or they can be specified using the longer but more descriptive form such as -user. The complete option name need not be specified. For example, -us will work just as well as -user. The option name must be specified so that it is not ambiguous among other [options] or the tasks described in the following section.
Note that [options] are not case sensitive. Thus, -USER and -User are both accepted as the -user option.
Multiple tasks can be run from the same invocation of mpsadmconfig. Tasks specified in an input file are run first. Tasks are run in the order specified in the input file and on the command line.
The following tasks are supported:
Counts the number of entries in the access log file. Run this task before -viewAccessLogEntries to determine the number of entries in the access log.
Lets you view the specified entries in the access log file.
Counts the number of entries in the error log file. Run this task prior to -viewErrorLogEntries to determine the number of entries in the error log.
Lets you view the specified entries in the error log file.
End user access to the Administration Server has been removed from Administration Server 5.2.
End user access to the Administration Server has been removed from Administration Server 5.2.
Retrieves the path for the access log file for this instance of Administration Server.
Specifies the path for the access log file for this instance of Administration Server.
Lets you view the IP addresses from which connections are allowed.
Specifies the IP addresses from which connections are allowed.
Retrieves the Administration Server administrator's user name.
Specifies the Administration Server administrator's user name.
Specifies the Administration Server administrator's password.
Retrieves the path of the adminusers file.
Specifies the path of the adminusers file.
Displays the period of time for which a user authentication is cached.
Specifies the period of time to cache a user authentication.
Retrieves the Java classname for this instance of Administration Server.
Enables you to set a new Java classname for this instance of Administration Server.
Displays the default language for this instance of Administration Server.
Specifies the default language for this instance of Administration Server.
Retrieves the current LDAP server host, port, and base DN, and identifies whether the LDAP server is running SSL.
Specifies the LDAP server host, port, and base DN, and specifies whether the LDAP server is running SSL.
Retrieves the path for the server error log file.
Specifies the path for the server error log file.
Lets you view the host names from which connections are allowed.
Specifies the host names from which connections are allowed.
Retrieves the path for the ACL folder.
Specifies the path for the ACL folder.
Lets you view the port number that this instance of Administration Server is using.
Specifies the port number that this instance of Administration Server should use.
Retrieves the IP address of this instance of Administration Server.
Specifies the IP address that this instance of Administration Server should use.
Retrieves the UNIX user name that this instance of Administration Server runs as.
Specifies the UNIX user name that this instance of Administration Server should run as.
Retrieves the current user and group LDAP server information, including the host, port, base DN, and authentication DN.
Specifies the host, port, base DN, authentication DN, and authentication password for the instance of Directory Server containing the user and group directory. You can invoke -setUGDSConfig either with or without arguments. If you invoke this task without any arguments, the Directory Server configuration is reset to the installation defaults.
Restarts this instance of Administration Server.
Stops this instance of Administration Server.
The task to be done can be specified using the abbreviated name such as -r for restarting the server or using the complete name -restart. The task name must be specified so that it is not ambiguous among other tasks or the [options] described previously. The task keywords are also case-insensitive, so both -RESTART and -Restart are accepted as the -restart task.
Multiple tasks can be run from the same invocation of mpsadmconfig. Tasks specified in an input file are run first. Tasks are run in the order specified in the input file and on the command line.
The following example changes the port number to 33333 and restarts Administration Server. Note that the verbose level will be set to 5.
% mpsadmconfig -server eastcoast.example.com:22222 -user phlee:password -verbose 5 -setPort 33333 -restart
The following example retrieves the hosts from which connections are allowed. Note that the verbose level will be set to 9.
% mpsadmconfig -server eastcoast.example.com:33333 -u phlee:password -verb 9 -geth
The following example displays the help information for restarting Administration Server.
% mpsadmconfig -h restart
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Availability | SUNWasvu |
Stability Level | Obsolete |
End user access has been removed from Administration Server 5.2.
mpsadmserver(1m), mpsconsole(1m), directoryserver(1m)
NAME | SYNOPSIS | DESCRIPTION | OPTIONS | TASKS | EXAMPLES | EXIT STATUS | ATTRIBUTES | NOTES | SEE ALSO