IMS - Full restore
Hello,
I'm trying to make a new installation of the IMS station for backup purposes, I installed the Hpux 10.20 sucessfully and made a full restore after that, the restore went fine but when the station is starting it fails on "Define Station Mode" and the window "Select Workstation Mode" never shows, I can log on to the station but the IMS doesn't work. Does anyone know why this happened and/or how to fix it? I followed the procedure from the 2434 User Guide.
Voted best answer
The in the User's Guide described restore procedure may fail if the new harddisk/harddisks are formatted and partitioned in a different way than the disk the backup was made from.
E.g. different SCSI ID, different logical volume number, number of swap partitions, etc.
When restoring, the following files/folders should be excluded (not restored from tape)
/etc/fstab
/etc/lvmtab
/etc/lvmconf
/dev/vg00
A "recoverable" error is if volumes are made "large enough" to fit the backup, but the order of the lvols are different in the new /etc/fstab compared to the old restored /etc/fstab from tape. Boot in single user mode, and mount the file systems one by one - now you can find if e.g. "/dev/vg00/lvol4" map to "/home" or "/var" and update the /etc/fstab file to match the new disk layout.
A successful boot of HP-UX and IMS 2.0 will leave the following traces in /var/opt/advant/log/IMS/dcSystemInit.log:
Cannot find HOME variable
dcStartupInit: Running environment file /home/ocsmgr/etc/ocsEnvironment
dcStartupInit: Running environment file /opt/advant/Startup/etc/dcStartup.env
Starting Oracle V7.3.2.3 Server
Starting SQL*Net V2.3.2.1.0 Server
dcStartupInit: Killing "X :" processes
kill: 1258: no such process
dcStartupInit: Starting /opt/advant/Startup/bin/dcStartupX
dcStartupInit: Starting /opt/advant/Startup/bin/dcStartupMwm
dcStartupInit: Starting /opt/advant/Startup/bin/dcStartupWSMode
dcStartupInit: Killing "mwm" processes
dcStartupInit: Killing "X :" processes
/usr/contrib/bin/X11/xinit: connection to X server lost.
If Oracle does not start (a common problem) you will see warnings from Oracle, etc.
If Define Station Mode window appear, Start IMS (default) is chosen but IMS does not start then please activate the SYSTEM_LOG_ACTIVE variable in /opt/advant/Startup/etc/dcStartup.env, reboot and then check the content of the /var/opt/advant/log/IMS/dcSystem.log file.
Answers
I got an error on oracle, error 01033, as follows:
dcSystem.log:
dcSystemInit.log:
is there a way to fix that?
The typical problem when Oracle does not start following a restore is that one or more of its data files are missing, or not in sync with the others (note: you can't combine old data files with new, all database files must be from the very same moment in time).
To see more why Oracle does not start you can do as follows:
Open a terminal window on the IMS, if not already root, "su" to root, then "su" to oracle with "-" option to force update of environment variables needed (no password needed if you are root), then use the Oracle Server Manager CLI (svrmgrl) to force a database shutdown (it will be killed if running) and then attempt to start it up again.
login: root
Password:
# su - oracle
$ svrmgrl
Oracle Server Manager Release 2.3.2.0.0 - Production
Copyright (c) Oracle Corporation 1994, 1995. All rights reserved.
Oracle7 Server Release 7.3.2.3.0 - Production Release
With the distributed option
PL/SQL Release 2.3.2.3.0 - Production
SVRMGR> connect internal
Connected.
SVRMGR> shutdown abort
Oracle instance shut down.
SVRMGR> startup
...
Probably, you will get an error saying that some database file is missing or not readable.
-> restore a proper backup...
Solved!
The main problem was the oracle database, also I had some minor issues dealing with Unix.
Thank you Stefan for your help, I really appreciate it!
Regards,
Wagner
Add new comment