A script enabled browser is required for this page to function properly.
Skip to main content
StorageTek Tape Analytics Administration Reference Guide, Version 1.0.2
E28379-03
Table of Contents Previous Next Index


Password Administration : Reset the STA Database Application Account Password

Reset the STA Database Application Account Password

Follow these procedures to reset the STA Database Application Account password.

Caution – The STA Database Application Account username and password MUST be synchronized on both STAServer/WebLogic and the MySQL database.

Note – In the following procedures, the example STA Database Application Account username is "staapp".

1.
2.
3.
4.

Change the WebLogic Data Source Connection Password

1.

http://yourHostName:7001/console/

or

https://yourHostName:7002/console/

Note – Use the HTTP or HTTPS port number you selected during STA installation.

2.
3.

4.

5.

6.

7.

8.

9.

10.

11.

Change the MySQL STA Database Application Account Password

1.
# mysql -uroot  -p
Password: root-password
2.
Enter the use mysql command.
mysql> use mysql;
3.
mysql> select distinct(user) from user order by user;
+---------+
| user    |
+---------+
|         |
| root    |
| staapp  |
| stadba  |
| starpts |
+---------+
5 rows in set (0.00 sec)
4.
5.

Note – Replace new-password with the actual new password. Replace user-ID with the actual STA Database Application Account username. Use single quotes around these variables.

mysql> update user set password=PASSWORD('new-password') where user='user-ID';
mysql> commit;
mysql> flush privileges;

Caution – Be sure to make a note of the password you just entered.

6.
mysql> quit;

Stop and Restart all STA Processes

1.
As root on the server on which STA is installed, stop STA processes.
# STA stop
Stopping the WebLogic staServer....
Successfully stopped the WebLogic staServer
Stopping the WebLogic Administration Server....
Successfully stopped the WebLogic Administration Server
Stopping the STA Services Daemon (staservd)....
Successfully stopped the STA Services Daemon (staservd)
Stopping the STA database Server....
Successfully stopped the STA Database Server
2.
# STA start
Starting STA Database....
Successfully started the STA Database
Starting STA Services Daemon (staservd)....
Successfully started the STA Services Daemon (staservd)
Starting WebLogic Administration Server....
Successfully started the WebLogic Administration Server
Starting WebLogic staServer....
Successfully started the WebLogic staServer

Note – It may take 5-7 minutes for the WebLogic staServer to start up.

Verify STA Session Connectivity

1.

http://yourHostName:7021/STA/

or

https://yourHostName:7022/STA/

Note – Use the HTTP or HTTPS port number you selected during STA installation.

2.
3.

4.


Table of Contents Previous Next Index Link to documentation
Copyright © 2012 Oracle and/or its affiliates. All rights reserved.