For Bourne shell:
$USERNAME=host_login
$COMPUTERNAME=host_name
$export USERNAME
$export COMPUTERNAME
$w4glrun asreg.img
host_login
Specifies a valid host login, such as “ingres”
host_name
Specifies the name of your UNIX or Linux machine
If the registry did not previously exist, these commands create a new registry file in $HOME/.mw/hkcu.bin and populate it with system keys and the appropriate OpenROAD Server keys.
Upgrade an Existing Registry File from OpenROAD 4.1 or 4.1 Service Pack 1
If you are upgrading from OpenROAD 4.1 or 4.1 SP1, you must upgrade the registry file to complete the installation. You must run the following two upgrade utilities:
mwregconv
Converts your existing registry file to a new format
ru41sp2.img
Updates existing OpenROAD Server keys
Note: Before running the upgrade utilities, ensure that your OpenROAD runtime environment is set up correctly.
To update the default registry file
Run the following upgrade procedures:
mwregconv $HOME/windows/registry.bin
w4glrun ru41sp2.img
To upgrade a user-defined registry file
Run the following upgrade procedures:
mwregconv /full_path/existing_registry_file_name
w4glrun ru41sp2.img
full_path
Specifies the full path to the existing registry file
existing_registry_file_name
Specifies the name of the existing registry file
Note: Do not set the MWREGISTRY environment variable to the old registry file name because it is passed to mwregconv as a command line parameter.
Upgrade an Existing Registry File from OpenROAD 4.1 Service Pack 2
If you are upgrading from OpenROAD 4.1 SP2, you must upgrade the registry file to complete the installation using the upgrade utility, orregconv.
The orregconv utility is a shell script that exports the OpenROAD Server root keys from an existing registry file and imports them into the new registry file. If necessary, you can modify this script to export and import other registry keys. Orregconv is located in the $II_SYSTEM/ingres/bin directory.
Note: Before running the upgrade utility, ensure that your OpenROAD runtime environment is set up correctly.
To upgrade the default registry file
Run the following upgrade procedure:
orregconv $HOME/windows/hklm_$MWOS.bin:$HOME/windows/hkcu.bin
To upgrade a user-defined registry file
Run the following upgrade procedure:
orregconv /full_path/existing_registry_name:$HOME/windows/hkcu.bin
full_path
Specifies the full path to the existing registry file
existing_registry_file_name
Specifies the name of the existing registry file
Note: Do not set the MWREGISTRY environment variable to the old registry file name because it is passed to orregconv as a command line parameter.