HP Systems Insight Manager 7.2 Command Line Interface Guide

Logging in to the CLI
Access the HP SIM CLI directly on the CMS or from any network client using SSH client software.
Logging in directly on the CMS
Procedure 1
1. Log in to the CMS using a valid user name and password (SSH system name ).
HP SIM grants authorizations based on your operating system login.
2. Open a terminal window or a command prompt window to execute HP SIM commands.
Logging in remotely using an SSH client
:
The preferred way to log in remotely is to use an SSH client. Telnet and rlogin work, but neither
provides a secure connection.
Procedure 2
1. Open an SSH client application on any network client.
2. Log in to the CMS through the SSH client software, using a valid user name and password.
HP SIM grants authorizations based on your operating system login.
Entering commands
Application requirement
Most of the commands in the CLI work only when HP SIM is running. The following CLI commands
are exceptions to this rule, and can be invoked when HP SIM is not running.
mxgethostname
mxinitconfig
mxpassword
mxversion
mxgetdbinfo
mxoracleconfig
mxstatus
mximport
mxexport
Permissions
On an HP-UX or Linux CMS, you can log in to the operating system as any valid HP SIM user and
use the CLI (complete CLI functionality is available only to users with full configuration rights or
limited configuration rights on the CMS). On a Windows CMS, the following commands require
that the user be a member of the local Administrators group:
mcompile
mxagentconfig
mxauth
mxauthnconfig
Logging in to the CLI 13