|
Platform requirements
Operating systems: AIX® 5.3 (for running the command line Aacct reader)
Software: WebSphere® Application Server (or other application servers such as Jakarta Tomcat with Axis for Web services, or JBoss Application Server; however, they have not been tested) for running the J2EE application
Installation instructions
Untarring the file
- Download the file.
- Untar the aaautilities.tar.gz file using the following command:
gzip -dc aaautilities.tar.gz | tar -xvf -
|
Several files are included in the tar.gz file, including the following:
README: the README file
aaa.jar: the jar file for command line Java™ reader Aacct
AIXNEW.ear: the EAR file of the J2EE application for AIX Advanced Accounting
libaaa.so: a shared library that is needed by the J2EE application
|
- Install the two components of this technology as follows.
Installing the J2EE application
Make sure that you have WebSphere Application Server installed in your AIX system with name systemName in the directory ${WAS_ROOT_INSTALL}, which is /usr/WebSphere/AppServer by default. You can log in as root and issue the following two commands to stop or start the WebSphere Application Server:
- ${WAS_ROOT_INSTALL}/bin/stopServer.sh server1
- ${WAS_ROOT_INSTALL}/bin/startServer.sh server1
Remember to replace ${WAS_ROOT_INSTALL} by the directory in which the WebSphere Application Server is installed in your system. If the WebSphere Application Server is not running, start the WebSphere Application Server now. Then proceed as follows:
- Log in as root and place the shared library libaaa.so in the ${WAS_ROOT_INSTALL}/java/jre/bin directory.
- Go to http://systemName:9090/admin in your browser and enter user ID admin to log in.
- On the left panel, click on Applications and then Install New Application. Specify the path of the AIXNEW.ear file in your local machine as the local path and click on Next.
- For the Generate Default Bindings page, click on Next.
- For Step 1: Provide options to perform the installation, you can choose Pre-compile JSP and then click on Next.
- For Step 2: Map virtual hosts for Web modules, choose AdvancedAccounting and then click on Next.
- For Step 3: Map modules to application servers, choose AdvancedAccounting and then click on Next.
- For Step 4: Summary, click on Finish. It may take some time while installing.
Afterwards, click on the link Save to Master Configuration and then click on the Save button.
- On the left panel, click on Enterprise Applications. The application AAAEAR is shown as one of the installed applications.
- Choose the AAAEAR application and click on the Start button.
Now the J2EE application is running and you can go to
http://systemName:9080/AdvancedAccounting to manage the advanced accounting facility or generate reports for process accounting, LPAR accounting, and transaction accounting.
Installing the Aacct reader
The Aacct reader is packaged in the aaa.jar file and can be executed as follows:
% java -cp aaa.jar aaa.Aacct [-h] [-t <tr_id>] [-s <summary_id>] [-F <accounting_file>]
|
where option -h is for printing file header; -t <tr_id> is for a specific tr_id; -s <summary_id> is for a specific summary, and -F is for a specified file that defaults to /var/aacct/acctdata. See the README file in the package for more details.
Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.
AIX and WebSphere are trademarks of IBM Corporation in the United States, other countries, or both.
Other company, product, or service names may be trademarks or service marks of others.
|
|