Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
User Commandshadbm-get(1)


NAME

 hadbm-get - gets the value of the specified configuration attribute

SYNOPSIS

 hadbm get all | attribute_name_list [adminpassword=password | adminpasswordfile=filename] [agent=ma_url] [dbname]

DESCRIPTION

Use the get command to get the value of the named configuration attribute. If the command is run without any attributes, and with the all option, all the supported variables and their values are retrieved. If an attribute is unrecognized, an exception is thrown on the unrecognized attribute name, and the variables and values of the recognized attributess are returned.

The readable configuration attributes are as follows:

VariableRangeDefault
ConnectionTraceture/falsefalse
CoreFiletrue/falsefalse
DatabaseName hadb
DataBufferPoolSize162047200 MB
DataDeviceSize322621441024 MB
DevicePathn/an/a
EagerSessionThreshold010050 (% of NumberOfSessions)
Eager SessionTimeout02147483647120 seconds
EventBufferSize020971520 MB
HistoryPathn/an/a
InternalLogBufferSize412812 MB
JdbcUrln/an/a
LogBufferSize4204748 MB
MaxTables10011001100
NumberOfDataDevices181
NumberOfLocks20000107374182450000
NumberOfSessions110000100
PackageNamen/aV4.x.x.x
PortBase100006300015000
RelalgDeviceSize32262144128 MB
SQLTraceModenone/short/fullnone
SessionTimeout021474836471800 seconds
StartRepairDelay010000020 seconds
StatInterval0600600 seconds
SyslogFacility<facility>local0
SyslogLevel<level>warning
SyslogPrefix<string>hadb-<db_name>
TakeoverTime5001600010000 MS

Heterogenous attributes:

  • Node-<nodeno>.HistoryPath=<path_to_history_files>

  • Node-<nodeno>.DevicePath=<default_path_for_devices_on_node>

  • Node-<nodeno>.<device>.DevicePath=<path_for_device_on_node>

Where <device> is one of:

  • DataDevice-<datadevicenumber>

  • RelalgDevice

  • NiLogDevice

  • NoManDevice

OPTIONS

all

If specified, gets all the supported valiables and their values.

w adminpassword

The actual HADBM administration password.

W adminpasswordfile

The file from which the passwords are read.

m agent

Identifies the URL to the Management Agent. The default is localhost:1862.

OPERANDS

attribute_name_list

A comma or space separated list of variables whose values have been retrieved.

dbname

The name of the database. The default database is hadb.

EXAMPLES

Example 1. Using get
hadbm get "takeoverTime numberOfLocks jdbcURL" mydatabase
Attribute	Value
takeoverTime	10000
numberofLocks	10000
JdbcUrl	com:sun:hadb:royal:15000,polo:15020

EXIT STATUS

0

command executed successfully

1

error in executing the command

ERROR CODES

22002

specified database does not exist

22071

attribute names are not recognized

SEE ALSO

hadbm-addnodes(1), hadb-clear(1), hadbm-delete(1), hadb-list(1), hadbm-refragment(1), hadbm-restart(1), hadbm-set(1), hadbm-start(1), hadbm-stop(1)


J2EE SDK 1.4Go To TopLast Changed 31 Jan 2005