Professional Documents
Culture Documents
Installation Guide
Release 6.5.1
June 11, 2015
This manual contains proprietary information of Altibase Corporation; it is provided under a license agreement containing restrictions on use and disclosure and is also protected by copyright patent and other intellectual property law. Reverse engineering of the
software is prohibited.
All trademarks, registered or otherwise, are the property of their respective owners.
Altibase Corporation
10F, Daerung PostTower II, 182-13,
Guro-dong Guro-gu Seoul, 152-847, South Korea
Telephone: +82-2-2082-1000
Fax: 82-2-2082-1099
Homepage: http://www.altibase.com
Contents
Preface ............................................................................................................................................................................ v
About This Manual ...................................................................................................................................................................................vi
Audience.......................................................................................................................................................................................vi
Software Environment.............................................................................................................................................................vi
Organization................................................................................................................................................................................vi
Documentation Conventions ...............................................................................................................................................vi
Online Manuals ........................................................................................................................................................................ vii
Altibase Welcomes Your Comments................................................................................................................................ vii
1. About the ALTIBASE HDB Package Installer ............................................................................................................1
1.1 Altibase Home .....................................................................................................................................................................................2
1.1.1 ALTIBASE HDB Home Directory ..................................................................................................................................2
1.2 APatch Directory .................................................................................................................................................................................3
1.2.1 Structure and Contents of the APatch Directory..................................................................................................3
1.2.2 patchinfo File.....................................................................................................................................................................3
1.2.3 pkg_patch_x_x_x_x.txt File .........................................................................................................................................4
1.2.4 altibase_base_install.log File.......................................................................................................................................4
1.2.5 Backup Directory..............................................................................................................................................................4
2. Installing Products with the ALTIBASE HDB Package Installer ..............................................................................7
2.1 Hardware Requirements ..................................................................................................................................................................8
2.1.1 Memory ...............................................................................................................................................................................8
2.1.2 CPU........................................................................................................................................................................................8
2.1.3 Hard Disk.............................................................................................................................................................................8
2.1.4 Network ...............................................................................................................................................................................8
2.2 ALTIBASE HDB Package Installer ...................................................................................................................................................9
2.2.1 Basic Steps for Installing ALTIBASE HDB..................................................................................................................9
2.2.2 Download the ALTIBASE HDB Package Installer...................................................................................................9
2.2.3 Installation Mode .......................................................................................................................................................... 10
2.3 Installing ALTIBASE HDB Products on Unix ........................................................................................................................... 11
2.3.1 Check the Environment Before Installation......................................................................................................... 11
2.3.2 Download the Package Installer.............................................................................................................................. 11
2.3.3 Set the Installation Mode ........................................................................................................................................... 12
2.3.4 Start the ALTIBASE HDB Package Installer ........................................................................................................... 12
2.3.5 Enter the Installation Directory and Select the Installation Type ................................................................ 13
2.3.6 Check System Parameters ......................................................................................................................................... 15
2.3.7 Set ALTIBASE HDB Properties ................................................................................................................................... 18
2.3.8 Confirm ALTIBASE HDB Properties ......................................................................................................................... 21
2.3.9 Install the ALTIBASE HDB Product .......................................................................................................................... 25
2.3.10 Select the ALTIBASE HDB Edition ......................................................................................................................... 26
2.3.11 Register or Update the ALTIBASE HDB License Key....................................................................................... 26
2.3.12 Preview the ALTIBASE HDB Quick Settings Guide.......................................................................................... 28
2.3.13 Finish Installation........................................................................................................................................................ 32
2.3.14 Post-installation Tasks .............................................................................................................................................. 34
2.4 Installing ALTIBASE HDB Products on Windows .................................................................................................................. 35
2.4.1 Check the Environment Before Installation......................................................................................................... 35
2.4.2 Start the ALTIBASE HDB Package Installer ........................................................................................................... 38
2.4.3 Enter the Installation Directory and Select the Installation Type ................................................................ 39
2.4.4 Validate the System Environment .......................................................................................................................... 41
2.4.5 Set ALTIBASE HDB Properties ................................................................................................................................... 41
2.4.6 Confirm ALTIBASE HDB Properties ......................................................................................................................... 44
2.4.7 Choose Additional Installation Options................................................................................................................ 45
2.4.8 Install the ALTIBASE HDB Product .......................................................................................................................... 48
2.4.9 Select the ALTIBASE HDB Edition............................................................................................................................ 49
2.4.10 Register the ALTIBASE HDB License Key ............................................................................................................ 49
2.4.11 Preview the ALTIBASE HDB Quick Settings Guide ......................................................................................... 51
2.4.12 Register ALTIBASE HDB as Windows Services.................................................................................................. 53
2.4.13 Finish Installation........................................................................................................................................................ 55
iii
iv
Preface
Preface
Audience
This manual has been prepared for the following ALTIBASE HDB users:
database managers
performance managers
database users
application developers
It is recommended that those reading this manual possess the following background knowledge:
basic knowledge in the use of computers, operating systems, and operating system utilities
Software Environment
This manual has been prepared assuming that ALTIBASE HDB 6.5.1 is used as the database server.
Organization
This manual is organized as follows:
Documentation Conventions
This section describes the conventions used in this manual. Understanding these conventions will
make it easier to find information in this manual and other manuals in the series.
Installation Guide
vi
Meaning
Convention
Italic
monospace
Online Manuals
Online versions of our manuals (PDF or HTML) are available from Altibase's Customer Support site
(http://support.altibase.com/).
The name and version of the manual that you are using
If you need immediate assistance regarding technical issues, please contact Altibases Customer
Support site (http://support.altibase.com/).
Thank you. We appreciate your feedback and suggestions.
vii
Preface
Installation Guide
viii
Installation Guide
patchinfo File
pkg_patch_<version>.txt file
altibase_base_install.log file
Backup directory
Information about the base release1 version and the patch version of the currently installed
ALTIBASE HDB product.
Information about the environment on which the product (such as the OS, OS patch, C/C++
compiler, and Java compiler) was built.
Ex)
PRODUCT_SIGNATURE=server-6.5.1-64-release
PATCH_VERSION=0_0_0_0
======= OS INFO =======
Linux qar2 2.6.18-164.el5xen #1 SMP Tue Aug 18 15:59:52 EDT 2009 x86_64
x86_64 x86_64 GNU/Linux
======= PATCH INFO
2.6.18-164.el5xen
=======
1.
The following example shows the contents of the APatch directory after installing the patch
6.5.1.0.10:
%$ ls
pkg_patch_0_0_0_0.txt
pkg_patch_0_0_0_10.txt
%$cat pkg_patch_0_0_0_10.txt
Repository: /altidev4/tags/altibase_6_1_1_0_10_tag/
Revision: 42850
Last Changed Rev: 42850
patchinfo
uninstall-base
uninstall-base: the executable file needed to uninstall the base release 6.5.1.0.0.
The following example shows the contents of the APatch directory, after installing the patch
6.5.1.0.10:
Installation Guide
altibase_base_install.log
uninstall-p0_0_0_10
rollback-p0_0_0_10/
uninstall-base
pkg_patch_0_0_0_10.txt
patchinfo
pkg_patch_0_0_0_0.txt
uninstall-base: the executable file needed to uninstall the base release 6.5.1.0.0.
rollback-p0_0_0_10: the directory that contains backups of the files patched with
6.5.1.0.10.
uninstall-p0_0_0_10: the executable file needed to delete the patch 6.5.1.0.10 and roll
back to the previous version. These files are stored in the rollback-p0_0_0_10 directory.
Installation Guide
Hardware Requirements
2.1.1 Memory
32-bit OS: Minimum 1GB (2GB recommended; maximum 4GB)
64-bit OS: Minimum 1GB (2GB recommended, unlimited)
2.1.2 CPU
1 CPU or more (2 or more CPUs are recommended)
2.1.4 Network
We recommend that you use a dedicated line when using the replication feature.
Installation Guide
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
Finish Installation
12.
Post-installation Tasks
The ALTIBASE HDB Server Package and Client Package are distributed in separate packages. However, the ALTIBASE HDB Server Package includes the Client Package.
The ALTIBASE HDB Package Installer is provided for the following operating systems. Use the command below to view information about the operating system, and then select the appropriate Package Installer.
$ uname -a
Linux rhel6-x64 2.6.32-71.el6.x86_64 #1 SMP Wed Sep 1 01:33:01 EDT 2010
x86_64 x86_64 x86_64 GNU/Linux
OS
CPU
Version
Bit
(Server)
Bit (Client)
AIX
PowerPC
64-bit
64-bit, 32-bit
HP
IA64
11.31 or higher
64-bit
64-bit, 32-bit
LINUX
x86, x86-64
(GNU glibc 2.12 or
higher)
64-bit
64-bit, 32-bit
SUN
SPARC
2.8 or higher
64-bit
64-bit, 32-bit
WINDOWS
x86, x86-64
Windows 2008
Windows 2012
Windows 7, 8
64-bit
64-bit, 32-bit
Interactive Command-line Mode: If the DISPLAY environment variable has not been set.
Graphical User Interface (GUI) Mode: If the DISPLAY environment variable has been set.
Installation Guide
10
Finish Installation
Post-installation Tasks
If you have downloaded an ALTIBASE HDB Package Installer that does not match your operating system, an error message is returned and the installation is aborted. This is because detecting system
configuration issues at an early stage reduces the likelihood of encountering problems during installation.
11
Interactive Command-line Mode: If the DISPLAY environment variable has not been set.
Graphical User Interface (GUI) Mode: If the DISPLAY environment variable has been set.
This manual assumes that the ALTIBASE HDB Package Installers installation mode is set to GUI.
<machine_name> is the IP address or host name of the computer that is to display the ALTIBASE
HDB Package Installer process. Use the setenv command for Cshell or set export DISPLAY=<machine name>:0.0 for Korn Shell.
Execute the following command on the remote computer to view the ALTIBASE HDB Package
Installer running in GUI mode on another computer (other than the host computer) from a remote
location.
$ xhost +
If the Package Installer is set to GUI mode, the following Setup wizard appears.
Installation Guide
12
2.3.5 Enter the Installation Directory and Select the Installation Type
In the following Installation Directory dialog box, enter the ALTIBASE HDB home directory and select
the package installation type.
13
To install an ALTIBASE HDB product, click Full Installation in the Installation Type list; to install a
patch for a previously installed version, click Patch Installation in the Installation Type list.
To add the ALTLIBASE HDB license key, select Add License and enter the license key.
If ALTIBASE HDB Enterprise Edition has already been installed to the specified directory, a warning
message appears. In this case, enter another directory or uninstall the product installed in the specified directory first.
Installation Guide
14
To ensure that ALTIBASE HDB runs properly, you should configure your system environment first. To
do so, you must modify kernel parameter values using root privileges before installing ALTIBASE
HDB. Kernel parameter values may be modified after installation; however, they must be modified
prior to ALTIBASE HDB startup. The following are examples of system kernel parameter values on different operating systems. For further information about kernel parameters for different operating
systems, please refer to Appendix A. Installation Prerequisites.
Ex) HPUX
[ Recommended Kernel Parameter Values ]
shmmax
shmmni
shmseg
semmap
semmni
semmns
semmnu
=
=
=
=
=
=
=
2147483648
500
200
1001
1000
4096
1000
15
semume = 1000
max_thread_proc = 600
maxusers = 64
dbc_min_pct = 5
dbc_max_pct = 5
maxdsiz = 1073741824
maxdsiz_64bit = 4294967296
# maxdsiz_64bit
The ALTIBASE HDB server needs sufficient memory space to function properly.
Please set the value to 70% of system memory or greater.
# dbc_min_pct and dbc_max_pct
dbc_min_pct and dbc_max_pct were renamed filecache_min and filecache_max,
respectively, in HP version 11.31 and subsequent releases.
[ How to modify kernel parameter values ]
/usr/sbin/kmtune
/usr/sbin/kmtune
/usr/sbin/kmtune
/usr/sbin/kmtune
/usr/sbin/kmtune
/usr/sbin/kmtune
/usr/sbin/kmtune
/usr/sbin/kmtune
/usr/sbin/kmtune
/usr/sbin/kmtune
/usr/sbin/kmtune
/usr/sbin/kmtune
/usr/sbin/kmtune
/usr/sbin/kmtune
-s
-s
-s
-s
-s
-s
-s
-s
-s
-s
-s
-s
-s
-s
shmmax=2147483648
shmmni=500
shmseg=200
semmap=1001
semmni=1000
semmns=4096
semmnu=1000
semume=1000
max_thread_proc=600
maxusers=64
dbc_min_pct=5
dbc_max_pct=5
maxdsiz=1073741824 # applies only to 32-bit applications
maxdsiz_64bit=4294967296
# maxdsiz_64bit
The AlLTIBASE HDB server needs sufficient memory space in order to function
properly.
Please set the value to 70% of system memory or greater.
# dbc_min_pct and dbc_max_pct
dbc_min_pct and dbc_max_pct were renamed filecache_min and filecache_max,
respectively, in HP version 11.31 and subsequent releases.
Ex) LINUX
[ How to modify kernel parameter values ]
echo 512 32000 512 512 > /proc/sys/kernel/sem
echo 872415232 > /proc/sys/kernel/shmall
# shmall
If it is desired to use the ALTIBASE HDB in shared memory mode, the value of
'shmall' must be set. This value determines the maximum size of an Altibase
database.
Ex) AIX
[ Recommended Kernel Parameter Values ]
fsize = -1
data = -1
rss = -1
Maximum number of PROCESSES allowed per user
= greater than the value set using the Altibase property MAX_CLIENT
Size of the File System BufferCache
Installation Guide
16
=
=
=
=
=
=
=
=
=
=
=
2147483648
1
500
200
8192
5029
2000
5024
1024
512
512
17
rlim_fd_max = 4096
rlim_fd_cur = 2048
[ How to modify kernel parameter values ]
= Solaris 10 =
cf) projadd -U [user name] -K "project.max-sem-ids=(priv,5029,deny)"
user.[user name]
cf) projmod -a -K "project.max-shm-memory=(priv, real memory max value,deny)"
user.[user name]
# Default Values for sem- and shm-related Parameters
projadd -U altibase -K "project.max-sem-ids=(priv,5029,deny)" user.altibase
projmod -a -K "project.max-shm-memory=(priv, real memory max value,deny)"
user.altibase
projmod -a -K "process.max-sem-nsems=(priv,2000,deny)" user.altibase
projmod -a -K "process.max-sem-ops=(priv,512,deny)" user.altibase
projmod -a -K "project.max-shm-ids=(priv,1024,deny)" user.altibase
# Message Queue-related Parameters
projmod -a -K "project.max-msg-messages=(priv,100,deny)" user.altibase
projmod -a -K "project.max-msg-ids=(priv,100,deny)" user.altibase
projmod -a -K "process.max-msg-qbytes=(priv,1048576,deny)" user.altibase
= is not Solaris 10 =
Edit /etc/system file.
# Default Values for sem- and
set shmsys:shminfo_shmmax
set shmsys:shminfo_shmmin
set shmsys:shminfo_shmmni
set shmsys:shminfo_shmseg
set semsys:seminfo_semmns
set semsys:seminfo_semmni
set semsys:seminfo_semmsl
set semsys:seminfo_semmap
set semsys:seminfo_semmnu
set semsys:seminfo_semopm
set semsys:seminfo_semume
set rlim_fd_max = 4096
set rlim_fd_cur = 2048
shm-related Parameters
= 2147483648
= 1
= 500
= 200
= 8192
= 5029
= 2000
= 5024
= 1024
= 512
= 512
Installation Guide
18
Database Name
Choose whether or not to create a SQL script to create a new database (whether or not to perform step 2). If you click YES, step 2 is performed; otherwise, step 2 is skipped. Regardless of
whether or not a SQL script is created in this step, a new database can be created with the following command: server create [DB Character-set] [National Character-set]
19
Noarchivelog
Archivelog
MS949
US7ASCII
KO16KSC5601
BIG5
GB231280
MS936
UTF-8
SHIFT-JIS
EUC-JP
UTF-16
UTF-8
Installation Guide
20
To set the values of properties excluded in this step, or to later change the values of properties that
have been set in step 1 or are to be set in step 3, edit the $ALTIBASE_HOME/conf/altibase.properties file manually.
21
Ex)
To change these properties after installation is complete, please modify the
following file: /qa_home/qd_team/sdy/altibase-HDB-server-6.5.1/conf/altibase.properties.
1. ALTIBASE HDB Property Settings:
Step 1: Basic database operation properties
1) Database name:
[mydb]
2) ALTIBASE HDB connection port number(1024-65535):
[20300]
3) Maximum size of memory database:
[2G]
4) Buffer area size for caching disk-based database pages:
[128M]
2. ALTIBASE HDB Property Settings:
Step 2: Database creation properties
1) Initial database size
[10M]
2) Database archive logging mode
[noarchivelog]
Installation Guide
22
After confirming these values, click Forward. The Ready to Install dialog box appears.
23
Installation Guide
24
When installation is completed, the Package Installer performs the following operations without
GUI:
Updates the properties which have been set to the altibase.properties file.
Creates the altibase_user.env file (this file contains commands needed to set the necessary environment variables for ALTIBASE HDB startup) in the $ALTIBASE_HOME/conf
directory. Adds a command to execute this file to a shell configuration file (e.g., .bashrc,
.bash_profile, or .profile, etc.).
The following are examples of the altibase_user.env file and the .bash_profile file.
### altibase_user.env
ALTIBASE_HOME=/qa_home/qd_team/sdy/altibase-HDB-server-6.5.1;export
ALTIBASE_HOME
PATH=${ALTIBASE_HOME}/bin:${PATH};export PATH
LD_LIBRARY_PATH=${ALTIBASE_HOME}/lib:${LD_LIBRARY_PATH};export
LD_LIBRARY_PATH
CLASSPATH=${ALTIBASE_HOME}/lib/Altibase.jar:${CLASSPATH};export CLASSPATH
### .bash_profile
# ALTIBASE_ENV
. /qa_home/qd_team/sdy/altibase-HDB-server- 6.5.1/conf/altibase_user.env
25
Postponing license registration: If you have not obtained the license key yet, you can copy a
new license file to the $ALTIBASE_HOME/conf directory after you have obtained one. However,
if you do not enter the license key at this step, the Package Installer does not ask whether or
not to create a database at the next step.
$ cp license $ALTIBASE_HOME/conf/
A user using the Community Edition can enter a license key to update his or her license, without
stopping the server.
Only a user with the SYSDBA system privilege can update a license. Prior to license update, the previous license in the $ALTIBASE_HOME/conf/license file must be dropped or prefixed with the number
sign (#) to change it to a comment; a new license key should be entered afterward.
The following conditions must be met for a successful license update:
The new value for the MEM_MAX_DB_SIZE property is larger than or equal to the current
value.
The new value for the DISK_MAX_DB_SIZE property is larger than or equal to the current
value.
$ is -sysdba
iSQL(sysdba)> EXEC UPDATE_LICENSE;
Validating new license...
System HostID (0x00001111) and License HostID(0x00001111) match. PASS
System MAC Address(11:11:11:11:11:11) and License MAC
Address(11:11:11:11:11:11) match. PASS
MEM_MAX_DB_SIZE limit was updated from 16G to 128G.
DISK_MAX_DB_SIZE limit was updated from 128G to 256G.
Expiration date was updated from 2015. 12. 31. to 2016. 12. 31.
License update completed successfully with new Standard Edition License.
Installation Guide
26
27
$ALTIBASE_HOME/install/pre_install.sh
This script contains the minimum set of essential system kernel parameters, their recommended values, and explains how to set them.
$ALTIBASE_HOME/install/post_install.sh
This script contains a SQL script for creating a new database (if step 2 was performed for Set
ALTIBASE HDB Properties).
If you select the check box in the next dialog box, the ALTIBASE HDB Package Installer creates a new
database and this will prolong installation time. If you do not select the check box, you will need to
manually create a database, after the product has been installed.
Installation Guide
28
[ Installation complete ]
Please refer to the file listed below to verify the Altibase HDB version.
/qa_home/qd_team/sdy/altibase-HDB-server-6.5.1/APatch/patchinfo
[ Quick Guide to Making Settings in ALTIBASE HDB ]
1. Set kernel variables using the root user account.
run the '/qa_home/qd_team/sdy/altibase-HDB-server-6.5.1/install/
pre_install.sh' file
- This script helps you make kernel parameter settings.
================ LINUX ================
[ How to modify kernel parameter values ]
echo 512 32000 512 512 > /proc/sys/kernel/sem
echo 872415232 > /proc/sys/kernel/shmall
# shmall
If you desire to use ALTIBASE HDB in shared memory mode, the value of 'shmall'
must be set. This value determines the maximum size of an Altibase database.
These values must be set in order for ALTIBASE HDB to operate properly.
They must be set so they are suitable for the system configuration.
=====================================
2.Provide a license.
Please rename and locate the license file as shown below.
/qa_home/
qd_team/sdy/altibase-HDB-server-6.5.1/conf/license
If no license file has
29
been issued, or if the license file has expired, ALTIBASE HDB services will
not start.
In this case, please visit http://support.altibase.com
3. Configure user environment variables (using the user account with which
ALTIBASE HDB was installed).
Run the '/qa_home/qd_team/sdy/altibase-HDB-server-6.5.1/install/
post_install.sh' file
under the account with which ALTIBASE HDB was installed.
This script performs necessary post-installation configuration.
1) Create the ALTIBASE HDB user environment file and apply it to the user
profile. (/qa_home/qd_team/sdy/altibase-HDB-server-6.5.1/conf/
altibase_user.env)
2) Create a database.
If you selected 'YES' in response to the question about whether to create a
database after installation, at "ALTIBASE HDB Property setting step 1", a
database will be automatically created.
If you selected 'NO' in response to this question, you need
database manually.
to create a
Installation Guide
30
31
Installation Guide
32
Click Finish, and the following Environment Settings Guide message box appears.
33
Set the parameters manually if system kernel parameters have not been set during installation.
Please refer to the $ALTIBASE_HOME/install/pre_install.sh file.
2.
3.
If properties for database creation were set during installation, execute the
$ALTIBASE_HOME/install/post_install.sh script.
If properties for database creation were not set during installation, execute the server
script.
$ sh post_install.sh dbcreate
Installation Guide
34
Finish Installation
Post-installation Tasks
Open the Local Group Policy Editor property sheet (On the taskbar, click Start, click Run, and
then type gpedit.msc.)
2.
On the left menu, click Computer Configuration, point to Windows Settings, point to Security Settings, point to Local Policies, and then click User Rights Assignment.
3.
35
4.
Check whether the user account that is currently being used is on the list. If not, add the user,
and then click Ok.
5.
Installation Guide
36
Due to enhanced security, creating a database and registering ALTIBASE HDB as a service can be
tricky on Windows Vista and Windows 7. To avoid this problem, set the User Account Control (UAC)
before installation. For further information about UAC, please refer to http://support.microsoft.com/
kb/922708/en-us.
1.
In Control Panel, click User Accounts, and then click Change User Account Control settings.
37
2.
3.
4.
If you did not create a database or register ALTIBASE HDB as a service during installation, a UAC
prompt appears when you create a database or register ALTIBASE HDB as a service. Follow these
steps to avoid seeing this prompt:
5.
Right-click Database Creation and click Run as administrator. Right-click Service Registration and click Run as administrator
Note: To run executable files from the command prompt, start the command prompt with the Run
as administrator option.
6.
Installation Guide
38
2.4.3 Enter the Installation Directory and Select the Installation Type
In the following Installation Directory dialog box, enter the ALTIBASE HDB home directory and select
the package installation type.
To install an ALTIBASE HDB product, click Full Installation in the Installation Type list; to install a
patch for a previously installed version, click Patch Installation in the Installation Type list.
To add an ALTIBASE HDB license key, select Add license and enter the license key.
39
If ALTIBASE HDB Enterprise Edition has already been installed to the specified directory, a warning
message appears. In this case, enter another directory or uninstall the product installed in the specified directory first.
If an ALTIBASE HDB product was previously installed in the specified directory, and then uninstalled,
the above warning message appears. This means that some files were not deleted during uninstallation. These files can remain in the dbs or logs directories. If you ignore this warning and install a
new product, the product will be installed but you will be unable to create a new database. ALTIBASE
HDB will start only if its version is compatible with the remaining files. To create a new database,
delete all remaining files in the dbs or logs directories first.
Installation Guide
40
41
Database Name
Choose whether or not to create a SQL script to create a new database (whether or not to perform step 2). If you click YES, step 2 is performed; otherwise, step 2 is skipped. Regardless of
whether or not a SQL script is created in this step, a new database can be created with the following command: server create [DB Character-set] [National Character-set]
NoArchivelog
Archivelog
Installation Guide
42
MS949
US7ASCII
KO16KSC5601
BIG5
GB231280
MS936
UTF-8
SHIFT-JIS
EUC-JP
UTF-16
UTF-8
43
To set the values of properties excluded in this step, or to later change the values of properties that
have been set in step 1 or are to be set in step 3, edit the $ALTIBASE_HOME/conf/altibase.properties file manually.
Installation Guide
44
Option
Current User
Environment variables
and registry entities
Applies to all users on the system, and overwrites any userspecific settings
File permissions
Registering as a service
Yes
No
No. If a %ALTIBASE_HOME%
environment variable is set at
system level, then any user specific %ALTIBASE_HOME% is
ignored.
45
The next option for you to select is whether or not to install the ALTIBASE HDB ODBC Driver
(altiodbc.dll). If you choose Yes, the ALTIBASE HDB Package Installer adds information about the
ALTIBASE HDB ODBC Driver, such as the driver name (ALTIBASE_HDB_ODBC_32/64bit), to the registry and copies the ALTIBASE HDB ODBC driver file (altiodbc.dll) to the following directory:
After installing the ALTIBASE HDB ODBC Driver, the Ready to Install dialog box appears.
Installation Guide
46
47
Once installation is complete, properties that have been set are written to the altibase.properties file, and a SQL script for creating a new database is included in the
post_instal_win.bat file. These operations are performed without GUI.
Installation Guide
48
Postponing license registration: If you have not obtained the license key yet, you can copy a
new license file to the $ALTIBASE_HOME/conf directory after you have obtained one. However,
if you do not enter the license key at this step, the Package Installer does not ask whether or
not to create a database at the next step.
49
%$ cp license $ALTIBASE_HOME/conf/
Installation Guide
50
%ALTIBASE_HOME%\install\post_install_win.bat
This batch file contains a SQL script for creating a new database, if you have performed step 2
for Set ALTIBASE HDB Properties.
If you select the check box in the next dialog box, the ALTIBASE HDB Package Installer creates a
new database and this will prolong installation time. If you do not select the check box, you
will need to manually create a database, after the product has been installed.
51
The following dialog box displays the execution result of the post_install_win.bat batch file.
Installation Guide
52
If you select Yes, the following dialog box with information on how to add the Log on as a service
privilege to start ALTIBASE HDB as a Windows service appears. After that, an ALTIBASE HDB Windows service registration dialog box appears.
53
The Service Name for ALTIBASE HDB is ALTIBASE_551_SERVICE by default. This name can be
changed as desired.
By default, the Windows ID is the same as the user name of the account with which this package was
installed. To start a Windows service, this user account must have a password. If the account does
not have a password, you must create a password for the account.
Installation Guide
54
After registering ALTIBASE HDB as a Windows service, the ALTIBASE HDB Package Installer starts the
service.
55
Create a database:
If a database was not created during installation, a new database can be created by either:
2.
Note: On Windows Vista and Windows 7, if you did not set the User Account Control (UAC) properly, you
must execute the post_install_win.bat file from a windows command prompt that was opened
with administrator privileges (i.e. the command prompt window must be opened with the Run as
administrator menu item).
Installation Guide
56
Finishing Installation
Post-installation Tasks
If the installation mode is set to GUI mode, the following start panel appears.
57
Installation Guide
58
59
Installation Guide
60
61
During this procedure, the environment variables related to ALTIBASE HDB Client Products (which
are shown in the above dialog box) are added to the environment file for your login shell (e.g.,
default environment file for the standard Bourne shell (sh) is .profile). The altibase_user.env file,
which is generated when an ALTIBASE HDB Server Product is installed, is not generated. To apply
new environment variables to your shell, perform one of the following actions:
Installation Guide
62
63
Finishing Installation
Installation Guide
64
65
Installation Guide
66
67
Installation Guide
68
3 Uninstalling ALTIBASE
HDB
ALTIBASE HDB products can be uninstalled or rolled back using the Uninstaller which is installed
with the product.
This chapter explains how to uninstall a previously installed product or patch using the Package
Installer.
Full Uninstallation
Patch Uninstallation
69
Select the Uninstaller (e.g., uninstall-base) associated with the product to be removed
from the $ALTIBASE_HOME/APatch directory.
2.
2.
Installation Guide
70
About Patches
71
Full Package
Patch Package
O
O
O (Windows Only)
O (Windows Only)
O
Full Package
Patch Package
O (Windows Only)
Installation Guide
72
Installation Steps
Full Package
Patch Package
Finishing Installation
73
Finishing Installation
If the installation mode is set to GUI mode, the following Start panel is displayed.
Installation Guide
74
75
Installation Guide
76
77
Installation Guide
78
79
Installation Guide
80
81
If the installation mode is set to GUI mode, the following Start panel is displayed.
Installation Guide
82
83
Installation Guide
84
85
Installation Guide
86
87
Installation Guide
88
Appendix A. Installation
Prerequisites
Setting User Resource Limit Values
User resource limit values can be confirmed or changed with the OS command, ulimit.
File Size
The maximum file size creatable by the processor.
Virtual Memory
The maximum size of virtual memory usable by the process.
Windows operating systems do not require manual configuration of user resource limit values; however, UNIX users are recommended to set the resource limit values of a users account to unlimited
(caution is required that the core file size is not set to unlimited). In the event where the ALTIBASE
HDB server abnormally terminates and a core dump occurs, disk space can become scarce when the
core file size is set to unlimited, as the entire memory database is saved to core files.
Shared Memory
Settings related to the number of shared memory segments and its maximum size.
89
Installation Prerequisites
File-Cache
Settings for the prevention of memory insufficiency due to the operating systems file-cache.
Semaphore
Semaphore settings for IPC connection.
Other Settings
Solaris
Setting Kernel Parameters on Solaris
Solaris 2.8 and 2.9 : Kernel parameters can be set in the /etc/system file.
Solaris 2.10 : Kernel parameters can be set with the /usr/sbin/projadd or /usr/sbin/projmod
utility.
Recommended Values
Classification
Shared Memory
Semaphore
Parameter Name
shmmax
2G+1
shmmin
500
shmseg
200
semmns
8192
smmni
5029
semmsl
2000
semmap
5024
semmnu
1024
semopm
512
semume
512
semvmx
32767
HP-UX
Setting Kernel Parameters on HP-UX
HP 11.31 or above: Kernel parameters can be set with the /usr/sbin/kctune utility.
ODBC Reference
90
Recommended Values
The same values for shared memory and semaphore on Solaris are also recommended for HP-UX.
Classification
Parameter Name
dbc_min_pct
5%
dbc_max_pct
5~20%
Others
maxdsiz
2GB
maxdsiz_64bit
max_thread_proc
600 or more
maxfiles
2048 or more
nproc
6142
maxusers
124
AIX
Setting Kernel Parameters on AIX
Recommended Values
The same values for shared memory and semaphore on Solaris are also recommended for AIX.
Setting File-Cache
Depending on the file caching policy for AIX, the file system can swap-out memory from the application program heap, although the system has free memory, and use it as file-cache (this is called
stealing).
For AIX 5.2 or higher, kernel parameters can be set as below to prevent the system from stealing:
minperm = 5%
lru_file_repage = 0 ( Can only be set on AIX 5.2 ML4 or higher )
strict_maxclient = 0
91
Installation Prerequisites
The installation and start up of ALTIBASE HDB is impossible on AIX if the system is not set as above.
LINUX
Setting Kernel Parameters on Linux
Kernel parameters can be set in the sem, shmmax, shmmni, swapiness files at the /proc/sys/kernel
path.
Recommended Values
The same values for shared memory and semaphore on Solaris are also recommended for Linux.
However, sessions using the IPC connection can be abruptly cut off, if the Linux kernel version is
lower than 2.5.
To set kernel parameters automatically when the server boots, add the following to the /etc/rc.d/
rc.local file.
echo
echo
echo
echo
OS Patch
AIX
When using ALTIBASE HDB on AIX, memory usage increases (hearpmin library bug). In this case, C/
C++ compilers of the appropriate version must be patched from the IBM Support Portal (http://
http://www-01.ibm.com/support/docview.wss?uid=swg21110831).
ODBC Reference
92
Index
A
Client 63
Server 34
Windows 56
Properties 18, 41
S
System Parameters 15
B
U
Backup Directory 4
User Privileges 35
F
Full Uninstallation 70
G
GUI Mode 12
H
Hardware Requirements 8
home directory 13
I
Installation Directory 13
Installation Mode 10, 12
Installation Type 13, 72
Installing ALTIBASE HDB Client Products 57, 64
Installing ALTIBASE HDB Products 11, 35
K
Kernel Parameters 90
License 26, 49
O
OS 11
OS Patch 92
P
Patch Uninstallation 70
Patching Altibase HDB Client Products 82
Patching Altibase HDB Server Products 74
pkg_patch_x_x_x_x.txt File 4
Post-installation Task
93
Index
Index
94