You must refragment the database before new nodes can store data. Refragmentation is required to store data evenly across all active nodes. To refragment the database, use the hadbm refragment
command. The syntax is as follows:
hadbm refragment --dbpassword=password | --dbpasswordfile=file [dbname]
For example:
hadbm refragment --dbpassword secret123
Refragmentation requires that the user data size not exceed 50% of the space available for user data. For details, see "Getting Device Information".
If this command fails even after multiple attempts, see "Adding Nodes Without Refragmenting".
The hadbm refragment
command options are listed in the following table.
Long Form |
Short Form |
Default |
Description |
---|---|---|---|
|
|
none |
Specifies the HADB system user password. You can use |
|
|
none |
Specifies a file that stores the password for the HADB system user. For details, see "Using the hadbm Command". |
dbname |
none |
|
Specifies the database name. The database must be in the HA Fault Tolerant or Fault Tolerant state. For more information about database states, see "Getting the Status of the HADB". |