This appendix contains tasks related to the following:
Starting the N1 AA Manager
Start PostgreSQL database as superuser.
# /etc/init.d/n1aapgsql start
On Solaris 10, use the following command:
# /usr/sbin/svcadm enable svc:/application/n1aapgsql:default |
Start Sun Web Console as superuser.
# /usr/sbin/smcwebserver start
Stopping the N1 AA Manager
Stop the Sun Web Console as superuser.
# /usr/sbin/smcwebserver stop
Stop PostgreSQL database as superuser.
# /etc/init.d/n1aapgsql stop
On Solaris 10:
# /usr/sbin/svcadm disable svc:/application/n1aapgsql:default |
The Performance Collector is managed different in the Solaris 9 and Solaris 10 environment.
The perfcol daemon runs under the control of the init process. Therefore, it is completely managed by the init process.
Starting the Performance Collector
Automatically started at system start by the init process. If the service is new to init, for example, no reboot has taken place since the perfcol installation, execute the init Q command as superuser. The init Q command triggers init to re-examine /etc/inittab.
Restarting the Performance Collector
Use the /opt/SUNWn1aa/perfcol/sbin/perfcol -k command to kill the perfcol process. The Performance Collector is automatically restarted by the init process.
Stopping the Performance Collector Permanently
Remove the perfcol entry from the /etc/inittab file.
Kill the perfcol process.
# /opt/SUNWn1aa/perfcol/sbin/perfcol -k |
The perfcol daemon runs under the control of the smf. Use svcadm to manage perfcol.
For more information, see the svcadm(1M) man page.
The user accounts for the Sun Web Console have to be created at the OS level of the N1 AA Server. Create the appropriate Solaris users by using standard Solaris commands. Every user added will be allowed to login to the Sun Web Console and therefore to N1 AA.
How to disable access on the OS-level, but still allow login to Sun Web Console.
There are many different ways for OS hardening. One option is to create OS users without a valid shell.
For example in the /etc/passwd file:
smithj:x:123456:1:Account for John Smith:/export/smithj:/bin/false.
Perform the following steps to uninstall N1 AA.
Remove PostgresSQL.
# pkgrm SUNWn1aapgsql
This command removes:
PostgreSQL
Database n1aa
Start and Stop scripts and manifest on Solaris 10
This does not remove all database log files in /opt/SUNWn1aa/pgsql/data.
Remove the Command Line Interface.
# pkgrm SUNWn1aacli
Remove N1 AA Manager.
# /usr/sbin/smcwebserver stop
# /usr/sbin/smreg remove -a com.sun.web.admin.n1aa_2.2.4
If you have N1 AA Builder or N1 AA Deployer installed, remove the link to SPS.
# rm /usr/share/webconsole/n1aa/WEB-INF/lib/sps-api.jar |
# pkgrm SUNWn1aamngr
This removes the /usr/share/webconsole/n1aa file. This does not remove the log file previously configured in N1 AA Manager.
Remove all Tomcat generated files.
# rm -rf /var/opt/webconsole/work/com_sun_web_console/localhost/n1aa |
Remove aasap and aasapd.
# pkgrm SUNWn1aad
This does the following:
Removes /opt/SUNWn1aa/aasap/bin/aasap
Removes /opt/SUNWn1aa/aasap/sbin/aasapd
Removes entry in /etc/inet/services if it exists
Removes entry in /etc/inet/inetd.conf if it exists
Removes manifest for aasap if it exists
Removes /etc/aasap.allow
Restarts inetd to deactivate service or disable aasap in smf
This does not remove the /var/opt/SUNWn1aa/aasap.log log file.
Remove perfcol.
# pkgrm SUNWn1aaperf
This does the following:
Stops perfcol
Removes /opt/SUNWn1aa/perfcol/sbin/perfcol
Removes entry in /etc/initab or removes manifest on Solaris 10
Removes link from /etc/init.d/acctadm to /etc/rc2.d/S92acctadm
Removing perfcol does not do the following:
Deactivate extended accounting
Remove any extended accounting records /var/opt/SUNWn1aa/proc and /var/adm/exacct/proc_*
Remove log file in the /var/opt/SUNWn1aa directory