UniVerse - Install Guide v1132
UniVerse - Install Guide v1132
Installation Guide
Version 11.3.2
January 2020
UNV-1132-INST-1
Notices
Edition
Publication date: January 2020
Book number: UNV-1132-INST-1
Product version: Version 11.3.2
Copyright
© Rocket Software, Inc. or its affiliates 1985-2020. All Rights Reserved.
Trademarks
Rocket is a registered trademark of Rocket Software, Inc. For a list of Rocket registered trademarks go
to: www.rocketsoftware.com/about/legal. All other products or services mentioned in this document
may be covered by the trademarks, service marks, or product names of their respective owners.
Examples
This information might contain examples of data and reports. The examples include the names of
individuals, companies, brands, and products. All of these names are fictitious and any similarity to
the names and addresses used by an actual business enterprise is entirely coincidental.
License agreement
This software and the associated documentation are proprietary and confidential to Rocket Software,
Inc. or its affiliates, are furnished under license, and may be used and copied only in accordance with
the terms of such license.
Note: This product may contain encryption technology. Many countries prohibit or restrict the
use, import, or export of encryption technologies, and current use, import, and export regulations
should be followed when exporting this product.
2
Corporate information
Rocket Software, Inc. develops enterprise infrastructure products in four key areas: storage, networks,
and compliance; database servers and tools; business information and analytics; and application
development, integration, and modernization.
Website: www.rocketsoftware.com
Rocket Global Headquarters
77 4th Avenue, Suite 100
Waltham, MA 02451-1468
USA
To contact Rocket Software by telephone for any reason, including obtaining pre-sales information
and technical support, use one of the following telephone numbers.
3
Contents
Notices................................................................................................................................................................................... 2
Corporate information......................................................................................................................................................... 3
Chapter 1: Introduction........................................................................................................................................................6
The UniVerse environment...................................................................................................................................... 6
Installation type........................................................................................................................................................6
Operating system requirements.............................................................................................................................. 6
Product configuration.............................................................................................................................................. 7
Applicable platforms................................................................................................................................................ 7
The XDEMO account................................................................................................................................................. 8
Chapter 2: Installing UniVerse on UNIX...............................................................................................................................9
Preinstallation tasks for UniVerse on UNIX............................................................................................................ 9
Preinstallation tasks for an initial installation......................................................................................... 10
Preinstallation tasks for an upgrade installation.....................................................................................10
The uv.load script................................................................................................................................................... 10
The uv_upgrade command....................................................................................................................................12
Installing using the quick procedure.....................................................................................................................12
Installing UniVerse as root..................................................................................................................................... 15
Installing UniVerse as an initial installation for root................................................................................15
Installing UniVerse as an upgrade installation for root........................................................................... 18
Installing UniVerse as uvadm................................................................................................................................ 22
Installing UniVerse as an initial installation for uvadm........................................................................... 23
Installing UniVerse as an upgrade installation for uvadm.......................................................................26
Additional installation information....................................................................................................................... 30
The uv.load command............................................................................................................................... 30
UniVerse system administration menus (UNIX only)............................................................................... 31
Chapter 3: Installing UniVerse on Windows platforms.................................................................................................... 32
Preinstallation tasks for UniVerse on Windows....................................................................................................32
Installing UniVerse as an upgrade or reinstallation.............................................................................................32
Installing UniVerse as an initial installation......................................................................................................... 33
Installing UniVerse as a silent installation............................................................................................................34
Starting a UniVerse session over telnet................................................................................................................ 36
Updating license informationLicensing UniData on Windows platforms - postreq........................................... 36
Obtaining an authorization code.......................................................................................................................... 38
Chapter 4: UniVerse accounts............................................................................................................................................39
Creating a new UniVerse account......................................................................................................................... 39
Viewing or modifying account details...................................................................................................................40
Deleting an account............................................................................................................................................... 40
Customizing UniVerse accounts............................................................................................................................ 41
UniVerse account control files...................................................................................................................41
The UV.ACCOUNT file..................................................................................................................... 41
The UV.FLAVOR file......................................................................................................................... 42
The UV.LOGINS file on Windows platforms.................................................................................. 43
Essential UniVerse files...............................................................................................................................43
The VOC file.....................................................................................................................................43
The UV.LOGIN and LOGIN entries..................................................................................................43
Controlling access to UniVerse on UNIX systems.....................................................................................44
Controlling access to UniVerse on Windows platforms........................................................................... 45
Customizing a UniVerse account...............................................................................................................45
Choosing a UniVerse flavor............................................................................................................45
NEWACC files................................................................................................................................... 45
4
Contents
5
Chapter 1: Introduction
This manual describes how to install Rocket UniVerseUniData 11.3.28.2.0.
You can install UniVerse following the directions in the quick installation procedure as described in
Installing using the quick procedure, on page 12. The quick installation procedure should only be
used by users experienced with the procedure for configuring UNIX and installing UniVerse.
The complete installation procedure describes how to install UniVerse for the first time and how to
complete an upgrade installation. See the following sections for more information:
UNIX installations:
▪ Installing UniVerse as root, on page 15
▪ Installing UniVerse as uvadm, on page 22
Windows installations:
▪ Installing UniVerse on Windows platforms, on page 32
Beginning at UniVerse 10.3, you do not need to authorize UniVerse during the installation process. You
have 10 days after installation to authorize UniVerse.
Installation type
The following types of installation procedures are available with UniVerse:
▪ Initial Installation – You are installing UniVerse for the first time on your system.
▪ Upgrade Installation – You are installing UniVerse 11.3.2 over an earlier version of UniVerse. An
upgrade installation preserves site-specific files in the UV account, such as the &DEVICE& file, and
recatalogs only the cataloged routines delivered with UniVerse. User-cataloged routines are left
intact in the system catalog.
6
Product configuration
For operating system information, please see the U2 Product Availability Matrix at:
https://rbc.rocketsoftware.com/buildmatrix.asp
or contact [email protected].
UniVerse requires that certain kernel parameters have adequate settings in order for UniVerse to
accommodate the full number of licensed users. The following table list some recommended kernel
parameters.
Note: If requirements for your operating system are not listed in the above table, the default
values after installation should be sufficient.
Product configuration
A UniVerse order confirmation is emailed to you when you order UniVerse. This email lists customer
information, hardware information, and the products and number of users you are authorized
to install. Verify that the information on the email is correct. You will need this information when
authorizing UniVerse.
Applicable platforms
UniVerse must be installed on a local, physical file system, including those within Virtual Machines.
Installing UniVerse on a remote or network mounted file system will cause unpredictable problems
during the execution of uv.load (the UniVerse installation and upgrade script).
You can install UniVerse on the following UNIX and Windows platforms.
UNIX platforms
▪ AIX IBM RISC System/6000
▪ HP-UX Itanium/Integrity Server
Note: Starting at UniVerse 11.3.0, for HP Itanium only, the HP library called MallocNextGen
is required. If this library is not found specifically in the path /usr/lib/hpux64/
libmallocng.so, then the UniVerse install or upgrade will abort prior to making any
modifications to the system. This library incorporates a better memory manager.
7
Chapter 1: Introduction
Windows platforms
▪ Windows 7*, 8.1, 10
▪ Windows Server 2008*, 2011 SBS, 2012
Note: At 11.3.1, Windows 7 and Windows Server 2008 are not supported, and all releases are 64-bit
only.
Note: If moving to a UniVerse or UniData version prior to 11.3.1 or 8.2.0, respectively, the U2
Python examples will be included but cannot be used.
For UniVerse UNIX/Linux, the XDEMO account is included with the XD cpio file. For UniData
UNIX/Linux, the xdemo.tar file is in $UDTBIN after the installation.
On Windows, the account is included by default. If you are moving XDEMO to another system, it is
recommended to run updatevoc (UniData) or UPDATE.ACCOUNT (UniVerse) on the new system.
8
Chapter 2: Installing UniVerse on UNIX
UniVerse is installed on an existing UNIX system in directories you specify during the installation
process. These directories are:
▪ uv – The UniVerse home directory
▪ unishared – The UniVerse/UniData shared directory
The examples in this manual use the default directories of /usr/uv and /usr/unishared. During
the installation process, you can substitute the paths you choose for these directories.
Warning: Do not use symbolic links when specifying your uvhome and unishared directories. If
you use symbolic links, the UniVerse license authorization routines fail.
To install UniVerse, you must log on to your system as either root or uvadm.
If you log on as root, all UniVerse home account files and directories are owned and administered by
root.
If you log on as uvadm, or as a uvadm group user, all UniVerse home account files and directories are
owned and administered by uvadm. If you log on as uvadm to install UniVerse, you must have write
permissions on the root directory (/) and the directories where you install the UniVerse home directory
and the UniVerse/UniData shared directory.
Note: UniVerse telnet services will not work if SELINUX is enabled. We recommend disabling
SELINUX if you are planning to use the UniVerse telnet services. Responses are blocked in non-
secure and secure modes if SELINUX is enabled. Use echo 0 >/selinux/enforce to disable
SELINUX temporarily to verify that UniVerse telnet services work correctly. To re-enable SELINUX
use echo 1 >/selinux/enforce.
9
Chapter 2: Installing UniVerse on UNIX
Beginning at UniVerse 10.3, you do not need to authorize UniVerse during the installation process. You
have 10 days after installation to authorize UniVerse.
Note: Some of the files on the installation media are in a compressed format and have a .Z or .gz
suffix. If you are installing over an existing release of UniVerse, more space (approximately 50%)
than mentioned above is required to install the files before uncompressing them. If this causes disk
space problems, remove the UniVerse files in the UniVerse home directory that will be replaced by
the new release.
Note: An installation upgrade preserves the existing uvconfig file. On Windows platforms, the
original uvconfig file is copied to uvconfig.bak and a new uvconfig file overwrites the
existing one. UniVerse copies the existing VOC file to VOC.OLD.
10
The uv.load script
Depending on the type of installation you are performing, the script then performs the following
actions:
▪ If you log on as root and are installing UniVerse for the first time, uv.load automatically executes
the uv.install script.
▪ If you log on as uvadm and are installing UniVerse for the first time, you exit the uv.load script,
then manually execute the uv.install script.
▪ If you log on as uvadm, or as a uvadm group user, and are upgrading an existing UniVerse
system, you must use uv_upgrade to run uv.load, which then automatically executes the
uv.install script.
UniVerse checks the files loaded from the installation media to make sure they have a checksum that
matches the checksum on the installation media. If the checksums do not match, UniVerse indicates
that the files were not loaded correctly from the installation media, and instructs you to reload the
groups that were in error.
Note: If you have not been able to reload the groups that are in error, contact your maintenance
vendor for assistance.
Path Description
/usr/uv The UniVerse home directory.
/usr/uv/bin Contains the executables that make up the UniVerse product.
/usr/uv/sample Contains various prototype files.
/usr/uv/NEWACC Contains the templates for the supported flavors of the VOC file.
/usr/uv/terminfo Contains the UniVerse terminal characteristics database.
/usr/uv/catdir The system catalog.
/usr/unishared Contains subdirectories and files shared by UniVerse and UniData
systems.
In addition, the installation procedure loads several UniVerse type 1 files or multiple data files,
which are implemented as UNIX directories in the UniVerse home directory (for example, BP,
BP.O, APP.PROGS, and APP.PROGS.O.)
▪ Initializes the shared memory tables used by UniVerse, and modifies the UNIX initialization script to
execute the uv.rc file, which performs UniVerse initialization.
▪ Installs the UniVerse spooler and executes the spooler daemon. See Administering UniVerse for a
more information about the UniVerse spooler.
▪ Compiles the UniVerse terminal definitions. You should always install the new definitions unless
you have modified the supplied definitions and want to preserve your changes. Installing the
UniVerse terminal definitions updates only the UniVerse-specific characteristics kept in /usr/
uv/terminfo. If you want to update the non-UniVerse-specific characteristics in /usr/lib/
terminfo, you must manually invoke the uvtic command with the -a option.
Warning: If this is an initial installation, the UniVerse terminal definitions are always installed.
You should make sure the UNIX terminal definitions exist. If the UNIX version does not exist, use
the -a option with the uvtic command to create it.
11
Chapter 2: Installing UniVerse on UNIX
▪ Initializes the UniVerse catalog space (for initial installation only) and catalogs a number of
subroutines. For more information about catalog space, see Administering UniVerse.
▪ Copies the sample shell initialization file, .profile, from the UniVerse sample directory to
the UniVerse home directory. The .profile file contains paths for system commands, default
protection for created files, and characteristics of the login terminal.
You must activate the UniVerse license or upgrade by entering the authorization code supplied by your
vendor. To activate the license, you must log on as root, uvadm, or a uvadm group user, enter the UV
account, then enter the authorization information in the License Activation screen.
After you authorize UniVerse, you can then add other accounts to be used in a UniVerse or UNIX
environment, or perform administration of peripherals, such as spooler devices. To perform these
tasks, use the Extensible Administration Tool client application or the System Administration menus.
For detailed information, refer to Administering UniVerse.
Note: When you log on to the UV account, you are in the System Administration menu system.
If you exit the menus, you can reenter them by using the LOGIN command. To exit the System
Administration menus, press ESC.
Note: If UniVerse 11.1 or later is installed, root, uvadm, or uvadm group users can run
uv_upgrade. If UniVerse 10.3 or earlier is installed, only the root or uvadm user can run
uv_upgrade.
Prerequisites
Before you begin the installation, make sure you rebuild your kernel with adequate values for your
environment. See Preinstallation tasks for UniVerse on UNIX, on page 9 and Administering UniVerse
for information about kernel parameter settings.
Make sure no one is using UniVerse during the installation procedure. If this is an upgrade installation,
make sure any optional products (such as NLS) are already installed on your system are uninstalled
before proceeding with the following steps.
Review Applicable platforms, on page 7 and verify that your platform meets the UniVerse installation
requirements.
12
Installing using the quick procedure
Procedure
1. Log on as root, and change directories to any directory to which you have write permissions, as
shown in the following example:
#cd /tmp
2. Download the installation image.
3. If using FTP, create a directory on the UNIX machine (example used in the following step is
/data/ftp_directory) and ftp the files from the PC to the UNIX directory in binary format.
4. Use the following cpio command to extract the required installation scripts:
cpio -ivcBdum uv.load < /data/ftp_directory/STARTUP
5. Load UniVerse by executing the uv.load command, as shown in the following example.
# ./uv.load
uv.load displays the current installation settings, as shown in the following example:
UniVerse Installation Procedure
==============================
The current installation is being done as 'root'. All
13
Chapter 2: Installing UniVerse on UNIX
If this happens, shut down and restart UniVerse, then proceed to the next step.
7. After all groups are installed, the Upgrade UniVerse License screen appears. Proceed to the next
step.
If you are installing UniVerse for the first time as uvadm, the following message appears:
This initial installation of UniVerse must now be completed
by logging in as 'root' and executing the script ' /usr/uv/
uv.install'.
14
Installing UniVerse as root
13. If you are using any UniVerse optional products, install them now using the Install package menu
in the UniVerse System Administration menu system.
14. Use the menus to configure the spooler and to do any account administration.
Prerequisites
Review the prerequisites as described in Preinstallation tasks for an initial installation, on page 10.
Before you begin the installation, make sure you rebuild your kernel with adequate values for your
environment. See Preinstallation tasks for UniVerse on UNIX, on page 9 and Administering UniVerse
for information about kernel parameter settings.
Make sure no one is using UniVerse during the installation procedure. If this is an upgrade installation,
make sure any optional products (such as NLS) are already installed on your system are uninstalled
before proceeding with the following steps.
Review Applicable platforms, on page 7 and verify that your platform meets the UniVerse installation
requirements.
Procedure
1. Log on as root, and change directories to any directory to which you have write permissions, as
shown in the following example:
#cd /tmp
2. Download the installation image.
3. If using FTP, create a directory on the UNIX machine (example used in the following step is
/data/ftp_directory) and ftp the files from the PC to the UNIX directory in binary format.
4. Use the following cpio command to extract the required installation scripts:
cpio -ivcBdum uv.load < /data/ftp_directory/STARTUP
5. Load UniVerse by executing the uv.load command, as shown in the following example.
# ./uv.load
uv.load displays the current installation settings, as shown in the following example:
UniVerse Installation Procedure
==============================
The current installation is being done as 'root'. All
15
Chapter 2: Installing UniVerse on UNIX
16
Installing UniVerse as an initial installation for root
If an SQL catalog does not exist and the uvsql user name does not exist in the /etc/passwd file,
the following message appears:
The user 'uvsql' does not exist. This user is the default owner of
the SQL catalog.
Would you like to:
1). Continue with the installation, making 'root' the default owner
of the SQL catalog.
2). Suspend the installation so that you can create the 'uvsql'
user.
3). Stop the installation.
Your choice (Default action is 1):
Select one of the following options:
1: Make root the owner of the SQL catalog.
2: Shell out of the installation process to create the uvsql user in the /etc/passwd file. When
you finish creating the user, you return to the installation process.
After all groups are installed, the Upgrade UniVerse License screen appears.
9. Enter the license activation information as requested by the prompts:
▪ Serial number – include the numeric portion only
▪ Maximum number of local users
▪ Expiration date, or press Enter for the default
▪ Package list – use the following formats:
▪ PACKAGE_NAME:USER_COUNT,PACKAGE_NAME:USER_COUNT
▪ Connection Pooling – CONNPL:###
▪ UVNET – UVNET:9999 (always use 9999)
▪ EDA – EDA:1 (To enable EDA)
▪ AUDIT:1 (To enable AUDIT)
▪ SUBKEY:1 (To enable SUBKEY)
▪ CURE:1 (To enable SystemCure)
▪ Number of device licenses for which you are authorized – set to 10 in Workgroup and
Enterprise editions. Set to 0 on Server edition, unless the add-on is used.
Press Enter. The licensing process displays a configuration code.
10. Remember the configuration code that the licensing process displays. The configuration code is
of the following format:
CCTM5-ZZ3UZ-QFZ7Z-ZZZW6-Z3ZZ4-XBKLC-UZTI9
The licensing process prompts for Local Authorization Code.
11. To obtain your authorization code, go to:
US: https://rbc.rocketsoftware.com/authprod.asp
International: https://rbcint.rocketsoftware.com/authprod.asp?js=y
Click Authorize Products. Follow the instructions on the website to obtain your authorization
code. The serial number on the website should include a -UV extension.
12. Once you have your authorization code, go back to the Upgrade UniVerse License window and
enter the authorization code in the Local Authorization Code field.
When the authorization completes successfully, the following message appears:
UniVerse licensing is complete. Please shut down and
restart UniVerse. Use the UniVerse system administration
menu to create additional UniVerse accounts.
17
Chapter 2: Installing UniVerse on UNIX
Note: The UniVerse LOGTO command does not check the release level of the VOC file when
used to enter a UniVerse account. The check is done only when directly invoking UniVerse
in a user account. If your application uses LOGTO, you must verify that all user accounts are
updated to the current release level before running the application.
16. When you install UniVerse on your system for the first time, you must add the UniRPC daemon's
port to the /etc/services file.
Note: This step is automatically done for you starting at UniVerse 11.2.0.
Note: You can check to see if the entry already exists in the /etc/services file by
executing the following command:
cat /etc/services |grep 31438
Once the port information is added to the /etc/services file, you can start the RPC Service
from the UniVerse System Administration Menu in the UniVerse account.
To do this, perform the following steps:
a. Select Package → RPC Administration → Start the rpc daemon.
A dialog box opens and asks for file name information.
b. Either add a new file name or accept the default. Add the correct file name information and
then press Enter.
A window opens and asks if you want to start the daemon. Click Yes. The UniRPC daemon
will now start automatically when UniVerse restarts.
18
Installing UniVerse as an upgrade installation for root
Prerequisites
Review the prerequisites as described in Preinstallation tasks for an upgrade installation, on page
10.
Before you begin the installation, make sure you rebuild your kernel with adequate values for your
environment. See Preinstallation tasks for UniVerse on UNIX, on page 9 and Administering UniVerse
for information about kernel parameter settings.
Make sure no one is using UniVerse during the installation procedure. If this is an upgrade installation,
make sure any optional products (such as NLS) are already installed on your system are uninstalled
before proceeding with the following steps.
Review Applicable platforms, on page 7 and verify that your platform meets the UniVerse installation
requirements.
Procedure
1. Log on as root, and change directories to any directory to which you have write permissions, as
shown in the following example:
#cd /tmp
2. Download the installation image.
3. If using FTP, create a directory on the UNIX machine (example used in the following step is
/data/ftp_directory) and ftp the files from the PC to the UNIX directory in binary format.
4. Use the following cpio command to extract the required installation scripts:
cpio -ivcBdum uv.load < /data/ftp_directory/STARTUP
5. Load UniVerse by executing the uv.load command, as shown in the following example.
# ./uv.load
uv.load displays the current installation settings, as shown in the following example:
UniVerse Upgrade Procedure
==============================
The current upgrade is being done as 'root'. The
existing installed uniVerse (at /usr/uv)
is being administered by the user 'root'.
Choose one of the following below:
19
Chapter 2: Installing UniVerse on UNIX
The uv.load script displays the current installation settings, as displayed in the following
example:
The current settings of the available options are:
UniVerse installer : uvadm
UniVerse administrator : uvadm uid=214 gid=200
1) UniVerse home directory: /usr/uv
(currently: Not Installed.)
2) UniVerse-UniData shared directory: /usr/unishared
(currently: Not Installed.)
3) Compile termInfo definitions: true
4) Install Media Path: /cdrom
5) Long File Names: OFF
6) Install XDEMO: YES
Enter a field number to change, q to abort installation, or press <Return>
to begin installation of UniVerse:
7. Enter the number of the value that you want to change.
1: The UniVerse home directory path.
2: The shared directory path.
3: Whether or not to compile terminfo definitions. You cannot change this value.
If you choose 3, a list similar to the following is displayed:
Enter Y to compile and install terminfo.src. Enter N to change option 3 from true to false.
4: The installation media path. Beginning at UniVerse 11.2.3, the Install Media Path defaults to the
directory where the uv.load script is extracted if it contains the UniVerse media files. Otherwise,
it defaults to /cdrom. Prior to 11.2.3, the default location was /cdrom.
5: If UniVerse is running at the start of the upgrade and LONGNAMES was previously enabled, the
value for prompt 5 shows the present value. Otherwise, it is set to OFF. You cannot change this
value.
Note: You can manually change the LONGNAMES setting later by issuing the command
LONGNAMES ON NEWACC in the UV account.
6. Whether or not to install the XDEMO account for examples. You cannot change this value.
8. When the display values are correct, press Enter to begin the installation process.
20
Installing UniVerse as an upgrade installation for root
If an SQL catalog does not exist and the uvsql user name does not exist in the /etc/passwd file,
the following message appears:
The user 'uvsql' does not exist. This user is the default owner of
the SQL catalog.
Would you like to:
1). Continue with the installation, making 'root' the default owner
of the SQL catalog.
2). Suspend the installation so that you can create the 'uvsql'
user.
3). Stop the installation.
Your choice (Default action is 1):
Select one of the following options:
1: Make root the owner of the SQL catalog.
2: Shell out of the installation process to create the uvsql user in the /etc/passwd file. When
you finish creating the user, you return to the installation process.
9. If you see the following message, shut down and restart UniVerse, then proceed to step 15.
Unable to get disk shared memory segment: Invalid argument
10. A prompt opens and asks if you want to update the uvdr.config and uvodbc.config files.
If you use U2 Data Replication or BCI (Basic Call Interface), select No; otherwise, answer Yes to
overwrite these files.
After all groups are installed, the Upgrade UniVerse License screen appears.
11. Enter the license activation information as requested by the prompts:
▪ Serial number – include the numeric portion only
▪ Maximum number of local users
▪ Expiration date, or press Enter for the default
▪ Package list – use the following formats:
▪ PACKAGE_NAME:USER_COUNT,PACKAGE_NAME:USER_COUNT
▪ Connection Pooling – CONNPL:###
▪ UVNET – UVNET:9999 (always use 9999)
▪ EDA – EDA:1 (To enable EDA)
▪ AUDIT:1 (To enable AUDIT)
▪ SUBKEY:1 (To enable SUBKEY)
▪ CURE:1 (To enable SystemCure)
▪ Number of device licenses for which you are authorized – set to 10 in Workgroup and
Enterprise editions. Set to 0 on Server edition, unless the add-on is used.
Press Enter. The licensing process displays a configuration code.
12. Remember the configuration code that the licensing process displays. The configuration code is
of the following format:
CCTM5-ZZ3UZ-QFZ7Z-ZZZW6-Z3ZZ4-XBKLC-UZTI9
The licensing process prompts for Local Authorization Code.
13. To obtain your authorization code, go to:
US: https://rbc.rocketsoftware.com/authprod.asp
International: https://rbcint.rocketsoftware.com/authprod.asp?js=y
Click Authorize Products. Follow the instructions on the website to obtain your authorization
code. The serial number on the website should include a -UV extension.
21
Chapter 2: Installing UniVerse on UNIX
14. Once you have your authorization code, go back to the Upgrade UniVerse License window and
enter the authorization code in the Local Authorization Code field.
When the authorization completes successfully, the following message appears:
UniVerse licensing is complete. Please shut down and
restart UniVerse. Use the UniVerse system administration
menu to create additional UniVerse accounts.
15. Shut down and restart UniVerse:
a. Change to the UniVerse home directory:
# cd /usr/uv
b. Enter the following command to shut down UniVerse:
# bin/uv -admin -stop
c. Enter the following command to restart UniVerse:
# bin/uv -admin -start
16. Log on to the UV account.
The System Administration menu appears. This menu system allows you to perform tasks such as
adding users or setting up your spooler. See Administering UniVerse for complete instructions.
To exit the menus, press ESC until you get to the UniVerse prompt: >
To reenter the System Administration menu system, enter LOGIN.
17. To exit the UniVerse environment, enter Q at the UniVerse prompt.
A standard shell prompt appears, as shown in the following example.
>Q
#
18. Each user account VOC file must be updated to the current UniVerse release level. Do this by
invoking UniVerse in each user account.
When you do this, the following prompt appears:
Your VOC is out of date. Update to current release (Y/N)?
Entering Y at the prompt updates the VOC to the current release level.
Note: The UniVerse LOGTO command does not check the release level of the VOC file when
used to enter a UniVerse account. The check is done only when directly invoking UniVerse
in a user account. If your application uses LOGTO, you must verify that all user accounts are
updated to the current release level before running the application.
Installation is now complete. You can confirm your licensing is properly installed by typing the
command CONFIG at TCL.
22
Installing UniVerse as an initial installation for uvadm
Prerequisites
Review the prerequisites as described in Preinstallation tasks for an initial installation, on page 10.
You must have write permissions on the root directory (/) and on the directories where you plan to
install the UniVerse home directory and the UniVerse/UniData shared directory.
Before you begin the installation, make sure you rebuild your kernel with adequate values for your
environment. See Preinstallation tasks for UniVerse on UNIX, on page 9 and Administering UniVerse
for information about kernel parameter settings.
Make sure no one is using UniVerse during the installation procedure. If this is an upgrade installation,
make sure any optional products (such as NLS) are already installed on your system are uninstalled
before proceeding with the following steps.
Review Applicable platforms, on page 7 and verify that your platform meets the UniVerse installation
requirements.
Procedure
1. Log in as uvadm, and change directories to any directory to which you have write permissions, as
shown in the following example:
$cd /tmp
2. Download the installation image.
3. If using FTP, create a directory on the UNIX machine (example used in the following step is
/data/ftp_directory) and ftp the files from the PC to the UNIX directory in binary format.
4. Use the following cpio command to extract the required installation scripts:
cpio -ivcBdum uv.load < /data/ftp_directory/STARTUP
5. Load UniVerse by executing the uv.load command, as shown in the following example.
$ ./uv.load
uv.load displays the current installation settings, as shown in the following example:
The current settings of the available options are:
UniVerse installer : uvadm
UniVerse administrator : uvadm uid=214 gid=200
1) UniVerse home directory: /usr/uv
(currently: Not Installed.)
2) UniVerse-UniData shared directory: /usr/unishared
(currently: Not Installed.)
3) Compile termInfo definitions: true
4) Install Media Path: /cdrom
5) Long File Names: OFF
6) Install XDEMO: YES
Enter a field number to change, q to abort installation, or press <Return>
to begin installation of UniVerse:
6. Enter the number of the value that you want to change.
1: The UniVerse home directory path.
2: The shared directory path.
3: Whether or not to compile terminfo definitions. You cannot change this value.
23
Chapter 2: Installing UniVerse on UNIX
4: The installation media path. Beginning at UniVerse 11.2.3, the Install Media Path defaults to the
directory where the uv.load script is extracted if it contains the UniVerse media files. Otherwise,
it defaults to /cdrom. Prior to 11.2.3, the default location was /cdrom.
5: The default file creation characteristics. You can toggle between OFF, and ON NEWACC. The
default is LONGNAMES OFF. The ON NEWACC setting enables LONGNAMES in all data accounts
after the account has been updated to the current version. For detailed information about
LONGNAMES, see Administering UniVerse.
6. Whether or not to install the XDEMO account for examples. You cannot change this value.
7. When the display values are correct, press Enter to begin the installation process.
If an SQL catalog does not exist and the uvsql user name does not exist in the /etc/passwd file,
the following message appears:
The user 'uvsql' does not exist. This user is the default owner of
the SQL catalog.
Would you like to:
1). Continue with the installation, making 'uvadm' the default
owner of the SQL catalog.
2). Suspend the installation so that you can create the 'uvsql'
user.
3). Stop the installation.
Your choice (Default action is 1):
Select one of the following options:
1: Make uvadm the owner of the SQL catalog.
2: Shell out of the installation process to create the uvsql user in the /etc/passwd file. When
you finish creating the user, you return to the installation process.
After the installation process installs the selected groups, the following message appears:
This initial installation of UniVerse must now be completed by
logging in
as 'root' and executing the script '/usr/uv/uv.install'.
24
Installing UniVerse as an initial installation for uvadm
Note: This step is automatically done for you starting at UniVerse 11.2.0.
25
Chapter 2: Installing UniVerse on UNIX
Note: You can check to see if the entry already exists in the /etc/services file by
executing the following command:
cat /etc/services |grep 31438
Once the port information is added to the /etc/services file, you can start the RPC Service
from the UniVerse System Administration Menu in the UniVerse account.
To do this, perform the following steps:
a. Select Package → RPC Administration → Start the rpc daemon.
A dialog box opens and asks for file name information.
b. Either add a new file name or accept the default. Add the correct file name information and
then press Enter.
A window opens and asks if you want to start the daemon. Click Yes. The UniRPC daemon
will now start automatically when UniVerse restarts.
Prerequisites
Review the prerequisites as described in Preinstallation tasks for an initial installation, on page 10.
You must have write permissions on the root directory (/) and on the directories where you plan to
install the UniVerse home directory and the UniVerse/UniData shared directory.
Before you begin the installation, make sure you rebuild your kernel with adequate values for your
environment. See Preinstallation tasks for UniVerse on UNIX, on page 9 and Administering UniVerse
for information about kernel parameter settings.
Make sure no one is using UniVerse during the installation procedure. If this is an upgrade installation,
make sure any optional products (such as NLS) are already installed on your system are uninstalled
before proceeding with the following steps.
Review Applicable platforms, on page 7 and verify that your platform meets the UniVerse installation
requirements.
Procedure
1. If the existing UniVerse system is owned by uvadm, enter the following command at the login
prompt:
$ login: uvadm
uvadmuvadm’s password:
2. Change directories to any directory to which you have write permissions, as shown in the
following example:
$ cd /tmp
3. Download the installation image.
4. If using FTP, create a directory on the UNIX machine (example used in the following step is
/data/ftp_directory) and ftp the files from the PC to the UNIX directory in binary format.
5. Use the following cpio command to extract the required installation scripts:
cpio -ivcBdum uv.load uv_upgrade < /data/ftp_directory/STARTUP
26
Installing UniVerse as an upgrade installation for uvadm
6. Execute the ./uv_upgrade command to invoke the uv.load script, with the release media
still in the device:
$ ./uv_upgrade
or
./uv_upgrade uv.load
A screen similar to the following appears:
UniVerse Upgrade Procedure
==============================
The current upgrade is being done as 'uvadm'. The
existing installed uniVerse (at /usr/uv)
is being administered by the user 'uvadm'.
Choose one of the following below:
27
Chapter 2: Installing UniVerse on UNIX
Enter Y to compile and install terminfo.src. Enter N to change option 3 from true to false.
4: The installation media path. Beginning at UniVerse 11.2.3, the Install Media Path defaults to the
directory where the uv.load script is extracted if it contains the UniVerse media files. Otherwise,
it defaults to /cdrom. Prior to 11.2.3, the default location was /cdrom.
5: If UniVerse is running at the start of the upgrade and LONGNAMES was previously enabled, the
value for prompt 5 shows the present value. Otherwise, it is set to OFF. You cannot change this
value.
Note: You can manually change the LONGNAMES setting later by issuing the command
LONGNAMES ON NEWACC in the UV account.
6. Whether or not to install the XDEMO account for examples. You cannot change this value.
9. When the display values are correct, press Enter to begin the installation process.
If an SQL catalog does not exist and the uvsql user name does not exist in the /etc/passwd file,
the following message appears:
The user 'uvsql' does not exist. This user is the default owner of
the SQL catalog.
Would you like to:
1). Continue with the installation, making 'uvadm' the default
owner of the SQL catalog.
2). Suspend the installation so that you can create the 'uvsql'
user.
3). Stop the installation.
Your choice (Default action is 1):
Select one of the following options:
1: Make uvadm the owner of the SQL catalog.
2: Shell out of the installation process to create the uvsql user in the /etc/passwd file. When
you finish creating the user, you return to the installation process.
10. If you see the following message, shut down and restart UniVerse, then proceed to step 15.
Unable to get disk shared memory segment: Invalid argument
11. A prompt opens and asks if you want to update the uvdr.config and uvodbc.config files.
If you use U2 Data Replication or BCI (Basic Call Interface), select No; otherwise, answer Yes to
overwrite these files.
After all groups are installed, the Upgrade UniVerse License screen appears.
12. Enter the license activation information as requested by the prompts:
▪ Serial number – include the numeric portion only
▪ Maximum number of local users
▪ Expiration date, or press Enter for the default
▪ Package list – use the following formats:
▪ PACKAGE_NAME:USER_COUNT,PACKAGE_NAME:USER_COUNT
▪ Connection Pooling – CONNPL:###
28
Installing UniVerse as an upgrade installation for uvadm
29
Chapter 2: Installing UniVerse on UNIX
Note: The UniVerse LOGTO command does not check the release level of the VOC file when
used to enter a UniVerse account. The check is done only when directly invoking UniVerse
in a user account. If your application uses LOGTO, you must verify that all user accounts are
updated to the current release level before running the application.
Installation is now complete. You can confirm your licensing is properly installed by typing the
command CONFIG at TCL.
Option Description
-buildno Returns the build number of the uv.load script.
This option is available at UniVerse 11.2.3 or later.
-defaults Specifies that all defaults are to be used—no prompting by the script.
This allows for automatic installation.
-longnames Forces LONGNAMES to ON NEWACC.
-nochecksum Specifies to skip the checksum step. This should be done only after
consulting with U2 support. If files are really damaged, the installed
UniVerse will not execute correctly, with possible damage to files.
-nocpio Specifies to skip the physical read of the installation media. This
option can be used to restart the installation after files have been
loaded.
-version Returns the version of the uv.load script. This option is available at
UniVerse 11.2.3 or later.
-g Specifies the group name or group number on installation files. Any
group_name|group_number group permissions set specifically during the uv.install script
will remain with the administrator’s default group value. The value
entered for the group_name or group_number is not validated. If not
used, the default group is 1.
-nls | -fnls The -nls option installs the NLS package during installation and
changes the NLSMODE parameter in the uvconfig file to 1. On
an upgrade, this option aborts the upgrade, as NLS is normally
uninstalled first.
The -fnls option forces the installation of NLS even on an upgrade.
When using this option on upgrades, NLSMODE is not changed.
These options are available at UniVerse 11.3.1 or later.
30
UniVerse system administration menus (UNIX only)
Option Description
uvhome Specifies the UniVerse home directory if it is different from either the
installed UniVerse or /usr/uv.
31
Chapter 3: Installing UniVerse on Windows
platforms
The UniVerse Release 11.3.2 for Windows platforms installation image contains a program that
manages the installation. Start this installation program as an administrator, then choose the
software you want to install from the UniVerse setup wizard.
This section describes how to install UniVerse release 11.3.2 on an NTFS partition on a server running
Windows. The installation procedure varies according to whether you are installing, reinstalling, or
upgrading.
Prerequisites
Review the prerequisites as described in Preinstallation tasks for UniVerse on Windows, on page 32.
Review Applicable platforms, on page 7 and verify that your platform meets the UniVerse installation
requirements.
Make sure no one is using UniVerse during the installation procedure. If this is an upgrade installation,
make sure any optional products (such as NLS) are already installed on your system are uninstalled
before proceeding with the following steps.
32
Installing UniVerse as an initial installation
Note: The installation process does not preserve any settings, including the LONGNAMES
setting. If you run UniVerse with LONGNAMES ON, the new installation sets it back to the
default LONGNAMES OFF.
Prerequisites
Review the prerequisites as described in Preinstallation tasks for UniVerse on Windows, on page 32.
Review Applicable platforms, on page 7 and verify that your platform meets the UniVerse installation
requirements.
Procedure
1. Download the installation image and start the AutoRun.exe program.
2. Click Install Rocket UniVerse, and follow the steps in the wizard to complete the installation.
3. Start all UniVerse services as follows:
a. Select Start → All Programs → Rocket U2 → UniVerse → UniVerse Control.
b. If UniVerse is not started, click Start All Services.
Note: The UniRPC service allows connections to servers from applications written using
UniDK, or from UniVerse Admin. The UniVerse Telnet service allows users to make a telnet
connection to UniVerse.
4. Start a UniVerse session on the server. Execute one of the following tasks:
▪ Select Start → All Programs → Rocket U2 → UniVerse → UniVerse Shell.
▪ Start a telnet session from a client (see Starting a UniVerse session over telnet, on page 36).
5. Review your file security.
The UniVerse installation directory inherits its security permissions from the parent directory
and from the attributes of the installer. Adjust the permissions to meet your needs. UniVerse
administrators need full access to the UV account directory. Other users require full access to
the catdir directory and its contents, and read-only access to all other files in the UV account
directory. All users must have full access to the UniVerse temporary directory.
6. Use Notepad to edit the uvconfig file in the UV account directory to specify a value for
the UVTEMP configurable parameter. This value defines the directory where UniVerse writes
temporary files. (Windows platforms do not have a fixed location for temporary files.)
If you do not specify a value for UVTEMP, UniVerse first checks for temporary files in the directory
specified in the TEMP environment variable, and then it searches the local directory.
7. Define the default UniVerse printer as follows.
a. Select Start → Devices and Printers → Add Printer.
b. Specify the printer name as UVDEFAULT and define a suitable printer as the UniVerse default.
The printer must be available to all UniVerse users on the system. It need not be a physical
printer; it can be a file or a print queue.
33
Chapter 3: Installing UniVerse on Windows platforms
Prerequisites
Review the prerequisites as described in Preinstallation tasks for UniVerse on Windows, on page 32.
Review Applicable platforms, on page 7 and verify that your platform meets the UniVerse installation
requirements.
Procedure
1. Download the installation image. As an administrator, open a command prompt and cd to the
installation image's UNIVERSE/I386 directory.
2. Run setup.exe /r. The /r (or -r) switch records the responses. Proceed through the dialogs
and complete the installation. This process created a Setup.iss file in the C:\Windows
directory, as well as a setup.log file. You can change these default file names and location
using the following steps:
a. If you want to use a different name than the default Setup.iss name, use the /f1 or -f1
switch. For example:
setup.exe /r /f1"c:\temp\UVSetup.iss"
This option creates a UVSetup.iss file in the c:\temp directory. Note that there is no
space between the /f1 switch and the file name.
b. If you want to specify a log file name other than the default setup.log file, use the /f2
switch. For example:
setup.exe /r /f2"c:\temp\uvsetup.log"
This option creates a uvsetup.log file in the c:\temp directory. Again, there is no space
between the /f2 switch and the file name.
Note: The installer will start a separate process and exit before the installer is complete.
To prevent this, use the /sms switch to pause the installer until it is complete. This option is
useful for scripting purposes.
3. When the installation is complete, navigate to the C:\Windows directory. Copy the Setup.iss
file and paste it into the installation's directory.
The following example shows a basic Setup.iss response file.
[InstallShield Silent]
Version=v7.00
File=Response File
[File Transfer]
OverwrittenReadOnly=NoToAll
[{E7EA0E92-3AFF-11D4-8961-00500462FF70}-DlgOrder]
Dlg0={E7EA0E92-3AFF-11D4-8961-00500462FF70}-AskYesNo-0
Count=13
Dlg1={E7EA0E92-3AFF-11D4-8961-00500462FF70}-SdWelcome-0
Dlg2={E7EA0E92-3AFF-11D4-8961-00500462FF70}-SdLicense2-0
Dlg3={E7EA0E92-3AFF-11D4-8961-00500462FF70}-LICENSE_DIALOG-0
Dlg4={E7EA0E92-3AFF-11D4-8961-00500462FF70}-ASK_DEST_PATH_DIALOG-0
34
Installing UniVerse as a silent installation
Dlg5={E7EA0E92-3AFF-11D4-8961-00500462FF70}-GENERAL_CHECK_DIALOG-1
Dlg6={E7EA0E92-3AFF-11D4-8961-00500462FF70}-GENERAL_CHECK_DIALOG-2
Dlg7={E7EA0E92-3AFF-11D4-8961-00500462FF70}-GENERAL_CHECK_DIALOG-3
Dlg8={E7EA0E92-3AFF-11D4-8961-00500462FF70}-GENERAL_CHECK_DIALOG-4
Dlg9={E7EA0E92-3AFF-11D4-8961-00500462FF70}-SdSelectFolder-0
Dlg10={E7EA0E92-3AFF-11D4-8961-00500462FF70}-SdStartCopy-0
Dlg11={E7EA0E92-3AFF-11D4-8961-00500462FF70}-GENERAL_CHECK_DIALOG-5
Dlg12={E7EA0E92-3AFF-11D4-8961-00500462FF70}-SdFinish-0
[{E7EA0E92-3AFF-11D4-8961-00500462FF70}-AskYesNo-0]
Result=1
[{E7EA0E92-3AFF-11D4-8961-00500462FF70}-SdWelcome-0]
Result=1
[{E7EA0E92-3AFF-11D4-8961-00500462FF70}-SdLicense2-0]
Result=1
[{E7EA0E92-3AFF-11D4-8961-00500462FF70}-LICENSE_DIALOG-0]
SerialNo=123456789
UserLimit=10
UVNETUserLimit=10
ConnectionPooling=10
DeviceLicense=10
ExpirationDate=01/01/2500
EDA=1
AUDIT=1
SUBKEY=1
PYTHON=1
MVCURE=1
Result=1
[{E7EA0E92-3AFF-11D4-8961-00500462FF70}-ASK_DEST_PATH_DIALOG-0]
UniVerseDir=C:\U2\UV
UniSharedDir=C:\U2\unishared
PythonDir=C:\U2\UV\python
Result=1
[{E7EA0E92-3AFF-11D4-8961-00500462FF70}-GENERAL_CHECK_DIALOG-1]
Check_Box_1=0
Check_Box_2=0
Check_Box_3=0
Check_Box_4=0
Result=1
[{E7EA0E92-3AFF-11D4-8961-00500462FF70}-GENERAL_CHECK_DIALOG-2]
Check_Box_1=0
Check_Box_2=0
Check_Box_3=0
Check_Box_4=0
Result=1
[{E7EA0E92-3AFF-11D4-8961-00500462FF70}-GENERAL_CHECK_DIALOG-3]
Check_Box_1=0
Check_Box_2=0
Check_Box_3=0
Check_Box_4=0
Result=1
[{E7EA0E92-3AFF-11D4-8961-00500462FF70}-GENERAL_CHECK_DIALOG-4]
Check_Box_1=1
Check_Box_2=1
Check_Box_3=1
Check_Box_4=0
Result=1
[{E7EA0E92-3AFF-11D4-8961-00500462FF70}-SdSelectFolder-0]
szFolder=Rocket U2\UniVerse
Result=1
[{E7EA0E92-3AFF-11D4-8961-00500462FF70}-SdStartCopy-0]
Result=1
[Application]
35
Chapter 3: Installing UniVerse on Windows platforms
Name=UniVerse
Version=11.3
Company=Rocket Software
Lang=0009
[{E7EA0E92-3AFF-11D4-8961-00500462FF70}-GENERAL_CHECK_DIALOG-5]
Check_Box_1=0
Check_Box_2=0
Check_Box_3=0
Check_Box_4=0
Result=1
[{E7EA0E92-3AFF-11D4-8961-00500462FF70}-SdFinish-0]
Result=1
bOpt1=0
bOpt2=0
4. Optional: Verify that the silent installation works by uninstalling UniVerse, then running
setup.exe /s from the command prompt. The /s (or -s) switch runs the installer with the
silent option.
5. The next time you install UniVerse, run setup.exe /s to install it silently. If you changed the
file name or location using the /f1 switch, run setup.exe /s /f1"path".
Results
When you use a silent installation, UniVerse creates a silent-install.log file. Open and check
this file to monitor the progress of the silent installation. The message "UniVerse silent installation
finished" is written to the log when the silent installation is finished. If any errors occur during the
silent installation, the message "UniVerse silent installation aborted" is written to the log.
Procedure
1. From the server, make sure the UniVerse Telnet services is running on the server.
2. From the client, run the telnet application, for example, UV/Term.
3. From the client, enter the appropriate telnet command, such as open or connect, and specify
your UniVerse server’s network name as it appears in the hosts or lmhosts file. The following
example illustrates connecting to the server univ.
open univ
4. Once connected, enter a valid user ID and password for your server.
5. If you are prompted, enter the location of the UniVerse account that you want to access, as shown
in the following example:
D:\U2\UV
36
Updating license informationLicensing UniData on Windows platforms - postreq
Prerequisites
If you are using UVNet, you must authorize both the UniVerse database and UVNet.
Procedure
1. To access the License tool in XAdmin, open XAdmin and then double-click the server you want to
use.
The server starts. The Admin Tasks pane opens and displays the database type that you are using.
2. From the Admin Tasks pane, double-click License.
3. Click the Update tab, and in the Serial Number field, enter the UniVerse or UniData serial
number.
4. In the UniVerseUniData RDBMS User Limit UniVerse User Limit (UniVerse) or UniData RDBMS
(UniData) field, enter the number of users for which you are licensed.
5. In the UVNET User Limit field, enter the number of UVNet users for which you are licensed. If you
are not licensed for any UVNet users, enter 0.
6. In the Connection Pooling field, enter the number of connection pooling licenses. If you are not
licensed for any connection pools, enter 0.
7. In the Device License field, enter the number of device licenses for which you are authorized.
8. Select the check boxes for any of the applicable features you are running:
▪ NFA (UniData only.)
▪ RFS (UniData only.)
▪ EDA
▪ AUDIT
▪ SUBKEY
▪ PYTHON
▪ SystemCure for UniVerse (UniVerse only.)
9. In the Expiration Date field, update the expiration date of the license if necessary.
10. If you have not yet authorized UniVerse, click the Authorize tab, and enter the code in the
Authorization Code. See Obtaining an authorization code, on page 38.
37
Chapter 3: Installing UniVerse on Windows platforms
Note: In previous versions of UniVerse, if you move the installation to different hardware and
start UniVerse, you might encounter an "invalid .uvconfig" error and UniVerse fails to start. At
11.2.5 and 11.3.x, the 10-day temporary license period prevents this message. When moved
to different hardware, UniVerse will become unauthorized and enter the 10-day temporary
license period. You need to reauthorize then restart UniVerse within 10 days to avoid the
expiration of the temporary license. When starting UniVerse sessions, reminder messages
display indicating the status of the temporary license.
38
Chapter 4: UniVerse accounts
You always enter UniVerse through a UniVerse account. A UniVerse account includes a directory
containing the files required to run UniVerse in that directory. An established UniVerse account can
also contain database files and program files.
The VOC file in each UniVerse account defines the account environment, including all the files and
commands that are available to users who are logged in to the account.
For example, a UniVerse account might be defined for a department rather than for an individual. Each
user of the SALES account might be given his or her own login name at the operating system level, but
be assigned the same home directory and share the same UniVerse account.
On UNIX systems, you can assign or change the user ownership and group ownership of files in an
account, and you can set or change the file access permissions. These ownerships and permissions
apply to all of the files and subdirectories contained in a UniVerse account directory.
UniVerse file permissions are managed by UNIX or Windows file permissions. For information about
setting file permissions, refer to the documentation that comes with your operating system.
Note: You can also create UniVerse accounts by entering uv at an operating system prompt. If
an account is created this way, the UV.ACCOUNT file is not updated and the account cannot be
administered using the Accounts option.
When you add a new account, UniVerse performs the following tasks:
▪ Assigns an account compatibility flavor
▪ Updates The UV.ACCOUNT File
▪ On UNIX systems, edits the .profile file in the account directory
▪ Edits the LOGIN entry in the UniVerse account
Procedure
1. Open XAdmin and then select the server you want to use.
The Admin Tasks pane opens and displays the database type that you are using.
2. From the Admin Tasks pane, double-click Accounts.
The Accounts tab opens on the right.
3. From the Accounts tab, click Add.
4. In the Add a New U2 Account dialog box, enter the name of the account in the Account Name
field.
5. Enter a destination for the new account in the Account Path field. You can enter the full path of
the directory, or click Browse to search the system for an appropriate directory.
39
Chapter 4: UniVerse accounts
If you enter the name of a directory that does not exist, it is created when you click OK. For
example:
/usr/users/newuser
The parent directory (/usr/users) must exist.
Note: You can choose a directory path of an existing UniVerse account. In this case, the new
account is added to the UV.ACCOUNT file, but no changes are made to the existing account
files.
6. Select one of the following flavors from the Account Flavor list:
▪ IDEAL: Select this flavor if you are new to UniVerse. It contains the best features of all the
flavors.
▪ INFORMATION: Select this flavor for compatibility with Prime INFORMATION.
▪ PIOPEN: Select this flavor for compatibility with PI/open.
▪ PICK: Select this flavor for compatibility with Pick or Advanced Pick.
▪ REALITY: Select this flavor for compatibility with Microdata REALITY.
▪ IN2: Select this flavor for compatibility with IN2.
7. Click Finish.
UniVerse creates the account in the chosen directory, and updates the UV.ACCOUNT file and the
Account Admin window.
Note: You can choose a directory path of an existing UniVerse account. In this case, UniVerse
adds the new account to the UV.ACCOUNT file, but no changes are made to the existing
account files in the directory.
Prerequisites
You must have an account created before you can view the details. For more information, see Creating
a new UniVerse account, on page 39.
Procedure
1. From the Accounts tab in XAdmin, select the account that you want to view or update, and click
Detail.
2. Modify the account settings that you want, except for the account flavor setting and account
path. Changes are saved when you click OK.
Deleting an account
To delete an account, use the Accounts tab from XAdmin, as described in the following steps.
40
Customizing UniVerse accounts
Prerequisites
You must have an account created before you can delete one. For more information, see Creating a
new UniVerse account, on page 39.
Procedure
1. From the Accounts tab in XAdmin, select the account that you want to delete, and click Delete.
2. Click Delete.
3. In the Delete Account dialog box that appears, select whether to retain the directory or delete the
directory.
▪ Retain Directory: UniVerse removes the account from the UV.ACCOUNT file.
▪ Delete Directory: UniVerse removes the account from the UV.ACCOUNT file and deletes the
directory, along with all of its contents. If other accounts in the UV.ACCOUNT file use the files
in this directory, you will also be prompted whether you want to delete these accounts.
Note: Options available in the dialog box change dynamically according to your choice to
retain or delete a directory.
4. Click OK. Click Yes at the confirmation message to remove the account.
41
Chapter 4: UniVerse accounts
Each record has two fields. The second field specifies one of the six different flavors: IDEAL (UniVerse),
INFORMATION, PICK, REALITY, PIOPEN, or IN2. The first field specifies one of the following codes:
Code Description
C UniVerse prompts you to choose an account flavor when creating or updating an
account.
F UniVerse automatically assigns the account flavor designated in field 2.
N The user cannot create or update an account.
To prevent users from creating or modifying an account, create an entry for them in the UV.FLAVOR
file and set the access code to N.
42
The UV.LOGINS file on Windows platforms
To use a custom flavor, create an entry in the UV.FLAVOR file for users who will use the flavor, and set
the access code to F. Enter the custom flavor name in field 2 of the UV.FLAVOR file.
Note: The VOC file defines the UniVerse account. The contents of the VOC file limits access to
commands and files in a UniVerse account. Users cannot access any files or commands not defined
in the VOC file of the account in which they are working.
LOGIN
001 PA
002 PTERM ERASE ON KILL ON WERASE ON RPRNT ON FLUSH ON LNEXT ON SUSP ON_
003 INTR ON QUIT ON STOP ON START ON EOF ON BRK OFF_
004 ECHO ON ECHO CTRL ON TABS ON CRMODE ON TYPE FAST LFDELAY 0 FFDELAY 2
005 UMASK 077
43
Chapter 4: UniVerse accounts
This LOGIN entry uses PTERM to set terminal characteristics, and it uses the UniVerse UMASK
command to set the default file permission mask. These commands have the same function as the
UNIX commands stty and umask.
Many of the functions performed by the LOGIN entry are identical to those performed in the UNIX
.profile file. For example, the stty command in .profile determines which keys perform
erase, kill, interrupt and quit operation on your terminal:
stty erase '^H' kill '^U' intr '^?' quit '^_' -tabs ff0 cr0 nl0
On Windows platforms, the default LOGIN entry in the sample directory is a paragraph similar to the
following example:
LOGIN
001 PA
002 PTERM ERASE ON KILL ON WERASE ON RPRNT ON INTR ON_
003 ECHO ON ECHO CTRL
004 CLR
Login shell specified in / Initialization files You log in… You log out…
etc/passwd
/usr/uv/bin/uv LOGIN Directly to UniVerse. To a UNIX login shell.
/bin/sh .profile To a UNIX Bourne shell. To a UNIX login shell.
/bin/sh .profile containing To UniVerse. The UNIX To a UNIX login shell.
exec uv login is transparent to
the user.
/bin/csh .cshrc To a UNIX C shell. To a UNIX login shell.
.login
/bin/csh .cshrc To UniVerse. The UNIX To a UNIX C shell.
login is transparent to
.login containing
the user.
uv command
Note: If you interrupt execution of the .profile or .login file (for example, by pressing the
Break key) before the uv command is executed, you are left in a UNIX shell.
44
Controlling access to UniVerse on Windows platforms
NEWACC files
The NEWACC file in the UV account contains the different VOC file templates for each flavor of
UniVerse. UniVerse stores these templates as multiple data files of the NEWACC file. Each data file is a
fully configured VOC template whose name corresponds to the flavor. To list the contents of the data
file containing the template for IDEAL flavor VOC files, enter either of the following commands from
the UV account:
>LIST NEWACC
>LIST NEWACC,NEWACC
To list the contents of the NEWACC template for INFORMATION flavor VOC files, enter:
>LIST NEWACC,INFORMATION
The VOC file can reference a particular VOC template as a single data file by using its full path in field 2
of the File Definition record. See the File Definition record for NEWACC in the VOC file in any UniVerse
account other than the UV account. For example, this VOC entry points to the NEWACC template for
PICK flavor VOC files:
NEWACC
001 F File
002 /usr/uv/NEWACC/PICK
003 /usr/uv/D_NEWACC
45
Chapter 4: UniVerse accounts
# cd /usr/uv
# bin/uv
2. Make a copy of one of the standard NEWACC files. Do this by creating a new data file in NEWACC
and copying the contents of the standard NEWACC file to the new data file”:
3. Use the UniVerse Editor or ReVise to add, delete, or change standard VOC entries in your new
flavor.
4. Use the UniVerse Editor to add an X-descriptor to the DICT of UV.FLAVOR:
----: I
0001=X
0002=My own custom UniVerse flavor
0003= Bottom at line 2
----: FI
"MY.FLAVOR" filed in File "DICT UV.FLAVOR"
46
Chapter 5: Installing NLS
Complete the following steps to install the NLS package.
This task applies to UNIX and Linux platforms only. On Windows platforms, install NLS from the
UniVerse installation program at the same time you install UniVerse. When installation is complete,
use the NLS Administration menus to configure NLS to suit your system.
Note: Starting at 11.3.1 for UNIX and Linux platforms, you can install NLS using the uv.load
script with the -nls or -fnls options. For more information about these options, see The uv.load
command, on page 30.
1. As a UniVerse administrator, log on to the UniVerse account directory and invoke UniVerse.
2. From the UniVerse System Administration menu, select Package.
3. From the Package menu, enter I to select the Install package menu.
4. At the "Name of package to install?" prompt, enter NLS.
5. At the "Device to load package" prompt, select CDROM, to see of list of devices, enter *.
6. At the “Are you sure you want to install this package” prompt, press Enter to accept the default
Yes.
7. At the “Installation of package NLS Complete” prompt, press Enter.
8. Press Esc to return to the UniVerse prompt.
9. Log out of UniVerse.
10. Go to the UniVerse home directory (cat /.uvhome) at the UNIX/Linux level.
11. Without users logged in, run bin/uvregen.
12. Shut down and restart UniVerse.
Uninstalling NLS
Complete the following steps to uninstall the NLS package.
This task applies to UNIX and Linux platforms only.
1. As a UniVerse administrator, log on to the UniVerse account directory and invoke UniVerse.
2. From the UniVerse System Administration menu, select Package.
3. From the Package menu, enter D to select the De-install package menu.
4. At the "Name of package to de-install?" prompt, enter NLS.
5. At the “Are you sure you want to de-install this package” prompt, press Enter to accept the
default Yes.
6. Press Esc to return to the UniVerse prompt.
7. Log out of UniVerse.
8. Go to the UniVerse home directory (cat /.uvhome) at the UNIX/Linux level.
9. Without users logged in, run bin/uvregen.
10. Shut down and restart UniVerse.
47