Infrastructure management using the HP SIM command line interface (436331-002, January 2009)

The first example creates a node authorization that enables username to use the tools in toolboxname
to manage system nodename. The second example creates a group authorization that enables
username to use the tools in toolboxname to manage all the systems in system group groupname. The
third example creates authorizations as defined in the XML file authfile.xml. The following
example shows what an XML file would look like when creating three system authorizations:
<?xml version="1.0" encoding="UTF-8"?>
<auth-list>
<node-authorization user-name="user1"
toolbox-name="webadmin"
node-name="node1.corp.com" />
<node-authorization user-name="user2"
toolbox-name="operator"
node-name="node1.corp.com" />
<node-authorization user-name="user3"
toolbox-name="dbadmin"
node-name="node2.corp.com" />
</auth-list>
To remove the system authorization, remove the group authorization, and remove authorizations as
specified in the XML file, respectively, replace the -a option with the -r option in the previous
examples.
To view authorizations, use the mxauth –lt command. This command lists all of the authorizations
for system authorizations in the format user:toolboxname:n:nodename, and group
authorizations in the format, user:toolboxname:g:groupname.
The mxauth –lf command displays authorizations in an XML format.
HP SIM configuration
There are many commands available to configure the HP SIM software after it is installed, including
service start and stop, connecting to an Oracle database, initializing HP SIM, and managing trusted
certificates.
HP SIM initialization
After installing the HP SIM software, you must initialize HP SIM. The mxinitconfig command
initializes HP SIM.
# mxinitconfig –l ; show configuration status
# mxinitconfig –a ; configure HP SIM
# mxinitconfig –r ; unconfigure HP SIM
The mxinitconfig, or mxinitconfig –l commands display the configuration status,
including kernel parameter checks, database setup, web server setup, and thirteen other items.
The –a parameter configures HP SIM starting the web services and HP SIM services, and initializes
the database.
The –r parameter removes all configuration information from HP SIM by stopping all services and
removing the database.
24