These instructions apply only to migrating the Vault database. This process
is required for successful migration from R17 to
R18. However, you must also run
the standard
ENOVIA V5 VPM migration separately in order to achieve a complete migration
from R17 to R18.
Remember that Vault data may be contained in the regular
ENOVIA V5 VPM database (the same
one that contains all the production data) or it may be in a separate database,
or both. You will need to run this migration once for each database that
contains Vault data. If you are uncertain about the location of your
vault data, you should determine the names of all the databases that contain
vault data before starting this Vault Migration script. You can only run this
migration script on one database at a time. If you have multiple Vault
databases, you will have to run the Vault database migration multiple times.
These instructions assume you have completed the standard
ENOVIA V5 VPM database
migration. If you have not completed it, please stop and run the
ENOVIA V5 VPM database
migration first.
These instructions do not cover migration of a Unix database. This is covered in
a separate document.
These instructions do not cover migration of the Vault environment. This is
covered in a separate document. You must change the
ENOVIA V5 VPM environment in
R18 to be able to use the R17 vault files. You must perform both the Vault
environment changes and the Vault Database Migration in order to access the same
vault information in
R18 that you were using in R17.
code/command
directory under your
R18 product
install path. This path will appear something like one of these:~/aix_a/code/command
~/solaris_a/code/command
~/hp_b/code/command
.bat
to be
executable. If it does not exceed the operating system limit for the length
of a line, you could also type these commands directly onto a command line
instead of using a command file.C:/
shell prompt or
an MKS toolkit Korn shell and typing the command db2cmd
. If you
are using Oracle, you will need to launch this command from an MKS toolkit
Korn shell. Failure to use the correct shell documented in this step will
cause the script to fail. Other shells and command lines are not supported.DBVendor
: ORACLE or DB2DBName
: Database nameDBAdmHome
: Database administrator home directory DBAID
: Database administrator ID (a user-id that has DBA
permissions; may be different from the ID that owns the tables)IdxTbsName
: Tablespace name for indexes inside the databaseTbsName
: Tablespace name for tables inside the database (can
be the same as IdxTbsName)
Upgrade518_Vault.sh -h
and press Enter from the Unix
command line and it will return some help text.“\”
character:"C:\B18\intel_a\code\bin\catstart" -run "sh
C:\B18\intel_a\code\command\Upgrade518NT_Vault.sh
-DBVendor ORACLE -DBName BOLODB -DBAdmHome C:\ora102 -DBAID vpm2adm -TbsName
ENOTBS -IdxTbsName ENOTBS –tmp C:\migration\R18"
"C:\B18D01\intel_a\code\bin\catstart" -run "sh
C:\B18\intel_a\code\command\Upgrade518NT_Vault.sh
-DBVendor DB2 -DBName DB17 -DBAdmHome C:\DB2 -DBAID lcaadm -TbsName ENOTBS
-IdxTbsName ENOTBS -tmp C:\migration\R18"
chmod 700 vault.bat
(where vault.bat
is the
command file you created in #6 above) You must give the full rights to
execute this file to the ENOVIA Administrator ID which will run the upgrade
shell using chgrp/chmod UNIX commands (the user identified above in Step
#4).vault.bat
script from command line (For
example: .\vault.bat
or ./vault.bat
). You will be
prompted to enter the password for the DBAID. This password will appear on
the screen when you type it, so you must take steps to safeguard the privacy
of this password.sqlplus DBAID/Password@DATABASE
ORACLE_HOME
value
set properly or the PATH does not include $ORACLE_HOME/bin
tnsnames.ora
file not containing the DATABASE nameOnce the database connection issues are resolved, you can restart the script from the beginning.
-tmp
parameter and ensure that all *518*
files are preserved. Some
of them will be needed by Support to determine the cause and solution to the
problem. Move these files to a safe location before running the program
again. The script is completely restartable. If it fails for any reason, you
can relaunch it without any actions needed to clean up.Upgrade518NT_Vault.sh
Now working on tables owned by these Users:
EV5ADM5
Now working on EV5ADM5...
Checking db2 results...
Number of DB2 errors found was: 0
Successfully completed update of DBNAME EV5ADM5 tables.
Status of R17->R18 Vault Migration = SUCCESS
–tmp
option and viewing the file:
Upgrade518NT_Vault_internal.log
This file has a log of the actions
that were taken on your database.These instructions apply only to migrating the Vault database. This process
is required for successful migration from R17 to
R18. However, you must also run
the standard
ENOVIA V5 VPM migration separately in order to achieve a complete migration
from R17 to R18.
Remember that Vault data may be contained in the regular
ENOVIA V5 VPM database (the same
one that contains all the production data) or it may be in a separate database,
or both. You will need to run this migration once for each database that
contains Vault data. If you are uncertain about the location of your vault
data, you should determine the names of all the databases that contain vault
data before starting this Vault Migration script. You can only run this
migration script on one database at a time. If you have multiple Vault
databases, you will have to run the Vault migration multiple times.
These instructions assume you have completed the standard
ENOVIA V5 VPM database
migration. If you have not completed it, please stop and run the standard
migration first.
These instructions do not cover migration of a Windows database. This is covered
in a separate document.
These instructions do not cover migration of the Vault environment. This is
covered in a separate document. You must change the
ENOVIA V5 VPM environment in
R18 to be able to use the R17 vault files. You must perform both the Vault
environment changes and the Vault Database Migration in order to access the same
vault information in
R18 that you were using in R17.
code/command
directory under your
R18 product
install path. This path will appear something like one of these:
~/aix_a/code/command
~/solaris_a/code/command
~/hp_b/code/command
vault.sh
) containing all the parameters you will need to run the
migration script, starting the command with the ./catstart –run
prefix. The parameters should all wrap continuously as one line; there
should be no carriage return. If it does not exceed the operating system
limit for the length of a line, you could also type these commands directly
onto a command line instead of using a command file.DBVendor
: ORACLE or DB2DBName
: Database nameDBAdmHome
: Database administrator home directory (for userid
that created the database in Oracle or DB2)DBAID
: Database administrator ID (a user-id that has DBA
permissions; may be different from the ID that owns the tables)IdxTbsName
: Tablespace name for indexes inside the databaseTbsName
: Tablespace name for tables inside the database (can
be the same as IdxTbsName
)
Upgrade518_Vault.sh -h
and press Enter from the Unix
command line and it will return some help text./installpath/R18/aix_a/code/command/catstart -run "Upgrade518_Vault.sh
-DBVendor ORACLE -DBName ORA1718 -DBAdmHome /oracle/app/oracle/product/9.2.0
-DBAID dbausr -IdxTbsName ENOIDX -TbsName ENOTBS -tmp /tmp/mig"
./catstart -run "Upgrade518_Vault.sh -DBVendor DB2 -DBName DB1718 -DBAdmHome
/home/db2adm -DBAID dbausr -IdxTbsName ENOTBS -TbsName ENOTBS -tmp /tmp/vaultmig"
chmod 700 vault.sh
(where vault.sh
is the
command file you created in #6 above) You must give the full rights to
execute this file to the ENOVIA Administrator ID which will run the upgrade
shell using chgrp/chmod
UNIX commands (the user identified
above in Step #4).vault.sh
script from Unix command line (For
example: ./vault.sh
). You will be prompted to enter the
password for the DBAID. This password will not appear on the screen when you
type it.sqlplus DBAID/Password@DATABASE
ORACLE_HOME
value
set properly or the PATH does not include $ORACLE_HOME/bin
tnsnames.ora
file not containing the DATABASE nameOnce the database connection issues are resolved, you can restart the script from the beginning.
cd
to the directory you specified for
the -tmp
parameter and ensure that all *518*
files
are preserved. Some of them will be needed by Support to determine the cause
and solution to the problem. Move these files to a safe location before
running the program again. The script is completely restartable. If it fails
for any reason, you can relaunch it without any actions needed to clean-up.Upgrade518_Vault.sh
Now working on tables owned by these Users:
EV5ADM5
Now working on EV5ADM5...
Checking db2 results...
Number of DB2 errors found was: 0
Successfully completed update of DBNAME EV5ADM5 tables.
Status of R17->R18 Vault Migration = SUCCESS
–tmp
option and viewing the file:
Upgrade518_Vault_internal.log
This file has a log of the actions that
were taken on your database.