Job Management Partner 1/Software Distribution Administrator's Guide Volume 2
This subsection describes the database maintenance procedures required when an Embedded RDB database is used. For details about backing up a database and restoring a database from a backup, see 5.3 Backing up and restoring the system.
You use Database Manager to maintain a database. For details about how to start Database Manager, see 7.4 How to use Database Manager (for Embedded RDB) in the manual Setup Guide.
You must use Database Manager to upgrade the database in the following cases:
For details about how to upgrade a database, see 7.4.3 Upgrading the database in the manual Setup Guide.
We recommend that you make a backup of your relational database before you upgrade it. For details about making a backup, see 5.3 Backing up and restoring the system.
In an Embedded RDB, an area from which records have been deleted becomes unusable. As the size of the unusable area in the database increases, the database area usage rate might become poor.
When the database area usage rate reaches 80%, you should reorganize the database to make the unusable area usable again.
You can reorganize databases by using Database Manager or by using commands. For details about each method, see 7.4.6 Reorganizing the database in the manual Setup Guide.
If a message indicating a shortage of database capacity is displayed even after the database has been reorganized, you must extend the database's capacity. Increase the size of database area file as instructed in Upgrade database.
You can determine the database's area usage rate (whether or not it has reached 80%) by checking the following messages in the event log:
For details about the messages, see the manual HiRDB Version 8 Messages. The following table shows the correspondence among the RDAREA name displayed in a message, the range of database reorganization, and the database area files to be extended.
Table 5-1 Correspondence among RDAREA name displayed in message, range of database reorganization, and database area files to be extended
RDAREA name in message#1 | Range of reorganization#2 | Database area files to be extended#3 |
---|---|---|
NETMDM_NETM_TABLES | All | Resident table files |
NETMDM_NETM_INDEXES | All | Index files |
NETMDM_COLLECT_SERVPATH NETMDM_EXECUTION_SITE_SYSINF NETMDM_EXECUTION_SYSINF NETMDM_JOBGEN_COLLECT_DIR NETMDM_JOBGEN_COLLECT_SCRPTF NETMDM_JOBGEN_COLLECT_SYSINF NETMDM_JOBGEN_PACK_ATTRINF NETMDM_JOBGEN_PACK_SCRPTF NETMDM_JOBGEN_SOFT_CONDF NETMDM_JOBSCRIPT_SCRPTF NETMDM_SYSTEMJOB_REQUESTFILE NETMDM_SYSTEMJOB_RESULTFILE NETMDM_MNGLIST_LIST NETMDM_SCHEDULE_SYSINF NETMDM_JOBGEN_MESSAGE |
Job | Job-related binary object files |
NETMDM_CABINET_SYSINF NETMDM_PACKAGE_INF_SYSINF NETMDM_PACKAGE_PACKAGE NETMDM_PACKAGE_SCRPTF NETMDM_INSPACKAGE_SYSINF NETMDM_USERINVLIST_ITEMVALS NETMDM_USERINVLIST_SYSINF |
Package or inventory | Asset information-related binary object files |
NETMDM_NETM_MONITORING | Operation monitoring history | Software operation monitoring log files |
NETMDM_OSPATCH_FILE NETMDM_OSPATCH_SCRIPT |
Security update | Security program management files |
NETMDM_NETM_TEMP_TABLES NETMDM_NETM_TEMP_INDEXES NETMDM_T6_DIRn#4 NETMDM_T6_SCRPTFn#4 NETMDM_T7_CONDFn#4 NETMDM_T11_ATTRINFn#4 NETMDM_T11_SCRPTFn#4 NETMDM_T12_UINVINFn#4 NETMDM_T14_ITEMVALSn#4 NETMDM_T15_ITEMVALSn#4 NETMDM_T30_MESSAGEn#4 |
All | Temporary table files |
To check the database usage status after the database has been reorganized, you must obtain the sizes of the available RDAREAs, the sizes of the RDAREAs that are in use, and the sizes of the empty RDAREAs. The user who performs the following steps must have administrator permissions.
To obtain each of these RDAREA sizes:
Total Segment : 2624 Segment Size : 20 Pages Unused Segment: 2563 Page Size : 4096 Bytes |
To check the usage status of the entire database, repeat steps 4 and 5 for each applicable RDAREA name shown in Table 5-1.
Also, we recommend that you back up the relational database before reorganizing it. For details about the backup, see 5.3 Backing up and restoring the system.
To prevent an error because of insufficient disk space while you are reorganizing the database, we recommend that you estimate the space required for the database area files before reorganizing the database. The following procedure shows how to estimate the required space for each database area file:
The following information is displayed:
Total space used by the database area files assigned to a user
Free space for the database area files
The following shows a sample of the command output:
user area capacity 246756[kB] remain user area capacity 1508[kB] |
The above sample shows 1,508 KB of free space out of a total capacity of 246,756 KB available for the database area files assigned to a user.
The following shows the free space required for reorganizing the database for each type of database file:
#If you have not created any optional software lists, replace this with 12000. If you have, estimate the approximate size required for the optional software list based on the number of and size of the files registered in the standard software list.
We recommend that you use Database Manager to periodically change the database password.
For details about how to change the database password, see 7.4.7 Changing the database password in the manual Setup Guide.
When a host is deleted, its inventory information may remain in the database. This can occur when a file is used to update system configuration information. Such inventory information wastes available database space because it will not be used in JP1/Software Distribution.
You can delete such unneeded inventory information from Database Manager in the batch mode. For details about how to delete unneeded inventory information, see 7.4.8 Deleting unneeded inventory information from the database in the manual Setup Guide.
Unneeded inventory information results in the following cases:
If you have deleted many hosts, a large amount of unneeded inventory information might remain in the system. In such a case, we recommend that you delete the unneeded inventory information.
You can use Database Manager to delete inventory information for hosts that are not in the system configuration, as shown in the following table.
Table 5-2 Inventory information that is deleted
Classification | Inventory item |
---|---|
System information | System information |
Registry information | |
Software information | Installed package information |
Software inventory information | |
Anti-virus product information | |
Microsoft Office product information | |
User inventory information | User inventory information |
All Rights Reserved. Copyright (C) 2009, 2013, Hitachi, Ltd.
Copyright, patent, trademark, and other intellectual property rights related to the "TMEng.dll" file are owned exclusively by Trend Micro Incorporated.