Installing the Portal on a Linux Server > Task 5: Installing the Database Schema (Linux)
  
Version 10.0.00
Task 5: Installing the Database Schema (Linux)
System: Database Server
Required CD: Portal Software CD
This section covers the creation of the APTARE StorageConsole database. Follow these steps on the same server you installed the Oracle application binaries.
1. Log in as aptare to your APTARE StorageConsole Database server.
You must be logged in as a database user. If you already are logged in as root: su - aptare
2. Run the APTARE StorageConsole database installation script to install the APTARE StorageConsole database objects and schema:
<path_to_cdrom_drive>/create_aptare_database.sh
3. NOTE: The following dialog will only appear if you are re-installing the APTARE StorageConsole database (e.g., after a failed attempt):
WARNING. WARNING. WARNING. WARNING. WARNING. WARNING. WARNING.
 
By continuing this script you will be COMPLETELY ERASING YOUR ENTIRE
APTARE StorageConsole database. ARE YOU ABSOLUTELY SURE that you
wish to continue (type the word "continue" to proceed) ?
4. The installer launches and prompts you to select the products:
Welcome to the APTARE StorageConsole Database Installation Wizard
Copyright 2003-2016 APTARE, Inc. All Rights Reserved.
Please select the appropriate product(s) you will be using with StorageConsole. Enter each product on a separate line and select 0 when complete:
1) APTARE StorageConsole Capacity Manager
2) APTARE StorageConsole Virtualization Manager
3) APTARE StorageConsole Replication Manager
4) APTARE StorageConsole Fabric Manager
5) APTARE StorageConsole File Analytics
6) Veritas NetBackup
7) Veritas Backup Exec
8) IBM Tivoli Storage Manager
9) EMC NetWorker
10) EMC Avamar
11) HP Data Protector
12) CommVault Simpana
0) Selection Complete - verify/change selection4
6
8
You selected:
Veritas NetBackup
IBM Tivoli Storage Manager
Do you wish to continue with this selection (y/n)? y
Enter the products you want to use with APTARE StorageConsole. Enter each product on a separate line and enter 0 when complete.
5. The installer launches and prompts you to enter the domain name:
Please enter your APTARE StorageConsole Portal Domain Name: (mycompany.com)
You entered the following for your APTARE StorageConsole domain name: yourcompany.com
Your APTARE StorageConsole Super User Login Account will be admin@yourcompany.com
Is this the correct domain name (y/n)? y
Note: Enter the same value here as the one you provided in Step 10 in Task 4: Installing the Portal Application Binaries (Linux).
6. The installer will check to see if Oracle services are running and shut them down if required:
The Oracle database TNS listener does not appear to be running, continuing ...
Oracle is not currently running, continuing ...
If you are prompted for a password, enter the aptare user password.
7. APTARE StorageConsole database files will be extracted and the database schema will be created (this step will take between 5 – 10 minutes to complete.):
Extracting APTARE StorageConsole database files into /opt/aptare/database ... Done.
Changing ownership of all APTARE StorageConsole database release files to 'aptare' ...
Starting the APTARE StorageConsole Oracle Database instance ...
ORACLE instance started.
 
Total System Global Area 696254464 bytes
Fixed Size 1981256 bytes
Variable Size 293602488 bytes
Database Buffers 398458880 bytes
Redo Buffers 2211840 bytes
Creating APTARE StorageConsole Database ...
Successfully created the APTARE StorageConsole Database
Creating the APTARE StorageConsole tablespaces and related datafiles, please wait ...
Creating tablespace aptare_tbs_data_1m tablespace, size 256 MBytes ...
Creating tablespace aptare_tbs_idx_1m, size 256 MBytes ...
Creating tablespace aptare_tbs_data_20m, size 1.0 GBytes ...
Creating tablespace aptare_tbs_idx_10m, size 1.0 GBytes ...
Creating tablespace aptare_tbs_data_200m, size 1.5 GBytes ...
Creating tablespace aptare_tbs_idx_100m, size 1.5 GBytes ...
Successfully created APTARE StorageConsole tablespaces and related datafiles
8. The installer will next load the database with Oracle packages (this step will take between 15 – 45 minutes to complete, depending on your system performance):
Loading Oracle catalog package and related internal Oracle packages ...
The step can take between 5 and 15 minutes to complete depending on system performance
Completed loading Oracle catalog package into APTARE StorageConsole database schema at Sep 8 18:18:00 PDT 2015
Loading Oracle catproc package and related internal Oracle packages ...
The step can take between 10 and 30 minutes to complete depending on system performance
Completed loading Oracle catproc package into APTARE StorageConsole database schema at Sep 8 18:28:53 PDT 2015
Loading pupbld package ...
9. The Portal user and the database schema are now created:
Note: During this step Oracle may produce messages similar to:
“mv: cannot stat `/opt/aptare/oracle/lib/EVENT_PACKAGE__PORTAL__2.so': No such file or directory”
These are okay and can be ignored. Any other exceptions or errors however indicate a potential issue with the installation.
Creating APTARE StorageConsole Portal user ...
Completed creation of the APTARE StorageConsole Portal database user
Creating APTARE StorageConsole database schema tables ...
...
... (EACH STEP LOGS TO THE CONSOLE...)
...
Completed creation of the APTARE StorageConsole base schema tables
Creating APTARE StorageConsole <backup product> schema tables ...
10. The APTARE StorageConsole Packages are now validated:
If you do not see the message “Successfully validated ALL Packages” at the end of this step, there is a possible problem with the install and you should save a copy of the installer log and contact the APTARE Global Support Services.
Validating APTARE StorageConsole Packages...
 
Validating PACKAGE ADAPTOR_PACKAGE
Validating PACKAGE ADMINREP_PACKAGE
Validating PACKAGE ALL_ERROR_PKG
...
... (EACH PACKAGE IS LOGGED TO THE CONSOLE...)
...
Validating PACKAGE XML_REPORT_PKG
Package specifications have successfully been validated
...
Successfully validated ALL Packages.
11. The database creation is now complete. Check the log for errors: /tmp/aptare_installer.log
Creation of APTARE StorageConsole Database completed at Nov 11 18:31:46 PDT 2015
A complete log of this session can be found in the file: /tmp/aptare_installer.log
NOTE: If the installer reports errors during the install and you are unable to resolve the problem, you should save a copy of the installer log and contact the APTARE Global Support Services.
12. Installation of the Database components is now complete.
Now the APTARE StorageConsole Database Installation is complete. Continue to the next section for the final step—License Key file installation.