Deploying imagedb on nonstop – HP Integrity NonStop H-Series User Manual
Page 62

NOTE:
The subvolume name must only be five characters long.
2.
Create a directory in OSS to place the database script files, using the command:
OSS> mkdir –p
For example:
OSS> mkdir –p /home/sash_usr/sash/spring/samples/imagedb/dbconfig
NOTE:
<
NonStop SASH Home
> can be any working directory. It is suggested that you
create the
spring/samples/imagedb/dbconfig
directory structure in <
NonStop SASH
Home
>.
3.
Copy the
imagedb_tables_script.sql
script from the
samples\imagedb\db
Windows directory to the
samples/imagedb/dbconfig
OSS directory.
NOTE:
The
imagedb_tables_script.sql
script creates the SQL/MX database catalog,
schema, and tables for ImageDB.
4.
Go to the OSS directory where the
imagedb_tables_script.sql
file is copied, using
the OSS command:
OSS> cd
For example:
OSS> cd /home/sash_usr/sash/spring/samples/imagedb/dbconfig
5.
Create the ImageDB database catalog, schema, and tables, using the SQL/MX command:
mxci>> obey imagedb_tables_script.sql;
NOTE:
By default, the
imagedb_tables_script.sql
file creates the database catalog
name as
imagedbcat
, schema name as
imagedbsch
, and BLOB table name as
blobTableName
. If the database catalog, schema, and BLOB table names conflict with any
of the existing catalog, schema, and BLOB table names, modify the names in the
i
magedb_tables_script.sql
script file. If you modify the database catalog, schema and
blob table names, the new names must be updated in the
jdbc.properties
file present
in the
directory, included in the
SAMPLES.zip
file.
The ImageDB database is set up on your NonStop system.
Deploying ImageDB on NonStop
To deploy ImageDB on your NonStop system, complete the following steps:
1.
Go to
The NSJSP Web Application Manager Login screen appears.
shows the NSJSP Web Application Manager Login screen.
62
Installing Spring Framework