Scalable Database Server, HiRDB Version 8 Command Reference
pdntenv (Set up HiRDB operating environment)
Function
The pdntenv command displays or sets up a HiRDB operating environment.
Executor
HiRDB administrator
Format
pdntenv [{-hc {on|off}|-pn service-port-name|-a|-sc {auto|manual}
|-c character-codes-type | -ro {on|off}
|-shmfile {regular|page}|-k {none|force}}]
Options
Specifies whether or not to use hardware compression during DAT access:
The information specified at the server machine connected to the DAT device takes effect.
This option is applicable only when the DAT drive supports hardware compression. For the same DAT, use the same setting for both write and read operations.
Specifies the service port name for remote commands. Express the service port name by prefixing pdrshsrv to the identifier (1-4 single-byte alphanumeric characters without spaces).
Specify the port number and the service port name specified in the %windir%\system32\drivers\etc\SERVICES file.
The specified value takes effect the next time the service starts.
If multiple HiRDBs are installed (multi-HiRDB configuration), this option displays information about all such HiRDBs.
When a HiRDB/Single Server is to be terminated by the pdstop command, specifies whether or not to also stop Windows services at the same time.
If this option is omitted, the system assumes auto if the HiRDB version is earlier than 06-00 and manual if it is 06-00 or later. If you have installed HiRDB over an existing HiRDB, this option value is inherited.
The specified value takes effect the next time the service starts. You cannot specify this option for a HiRDB/Single Server.
Whenever you use the pdchgconf or pdprgrenew command, manual must be specified. If the pdchgconf or pdprgrenew command is executed in an environment with auto specified, an error results and HiRDB may stop.
Specifies the type of character codes to be used for national character data in HiRDB.
sjis: Shift JIS Kanji codes
lang-c: Single-byte character codes
chinese: EUC Chinese Kanji codes
utf-8: Unicodes (UTF-8)#
If the version of HiRDB Text Search Plug-in is 02-02 or earlier, utf-8 is not supported.
If you change the character codes type, you must re-initialize the database.
Specifies whether or not remote commands are to be used. This option is applicable to a HiRDB/Single Server.
This option's settings take effect the next time the service starts. This option is disabled for a HiRDB/Parallel Server.
Specifies the allocation target for shared memory used in HiRDB. If this option is omitted, the previous allocation target is used.
The following describes how to change the shared memory allocation target.
Specifies the HiRDB termination method when the OS shuts down.
If OS shutdown occurs while HiRDB services are in the process of being stopped, HiRDB is terminated forcibly by the OS (unit down) even if force is specified.
For details about how to terminate HiRDB during an OS shutdown, see the manual HiRDB Version 8 System Operation Guide.
The pdntenv command displays the current settings.
Rules
Notes
***** HiRDB setup information ***** Program Name = HiRDB/SingleServer Version = 07-03 Character Code = sjis Dat Hard Compress = on Setup ID = ---- Rsh Port Name = pdrshsrv Path Name = C:\win32app\hitachi\hirdb_s Service Complete = manual Rsh Online = on ShmFile = regular Shutdown mode = none
***** HiRDB setup information ***** Program Name = HiRDB/SingleServer Version = 06-02-/D Character Code = sjis Dat Hard Compress = on Setup ID = UNT1 Rsh Port Name = pdrshsrvUNT1 Path Name = C:\win32app\hitach\hirdb_sUNT1 Service Complete = manual Rsh Online = on ShmFile = Shutdown mode = ***** HiRDB setup information ***** Program Name = HiRDB/ParallelServer Version = 07-03 Character Code = sjis Dat Hard Compress = on Setup ID = UNT2 Rsh Port Name = pdrshsrvUNT2 Path Name = C:\win32app\hitach\hirdb_pUNT2 Service Complete = manual Rsh Online = on ShmFile = regular Shutdown mode = none
See the previous explanation for No option specified.
All Rights Reserved. Copyright (C) 2007, Hitachi, Ltd.