Job Management Partner 1/Software Distribution Setup Guide
Reorganizing the database is a maintenance task performed as part of regular operations. For more information about when to reorganize the database, see 5.2.1(2) Reorganizing the database in the manual Administrator's Guide Volume 2.
The two ways to reorganize Embedded RDB are by using Database Manager and by using a command. The following describes each method.
|
This subsection describes how to use Database Manager to reorganize a database.
To reorganize a database:
Figure 7-21 Reorganize Database dialog box
Table 7-3 List of tables corresponding to each reorganization range
Reorganize the range | Tables | |
---|---|---|
All | System configuration | netmdm_nnm_management, netmdm_system, netmdm_lastupdate, netmdm_host_withoutdm, netmdm_system_delete, netmdm_systeminf, netmdm_suspend |
Package | netmdm_cabinet, netmdm_package, netmdm_package_inf | |
Destination | netmdm_id, netmdm_id_policy, netmdm_identry, netmdm_node, netmdm_node_policy netmdm_node_policy_detail | |
Job | netmdm_collect, netmdm_execution, netmdm_execution_site, netmdm_execution_summary, netmdm_jobgen, netmdm_jobgen_collect, netmdm_jobgen_id, netmdm_jobgen_node, netmdm_jobgen_pack, netmdm_jobgen_soft, netmdm_jobgen_system, netmdm_jobgen_userinv, netmdm_jobsch, netmdm_jobsch_site, netmdm_jobscript, netmdm_schedule, netmdm_stscnt, netmdm_jobgen_msg, netmdm_jobgen_monitoring, netmdm_stscnt_site, netmdm_stscnt_summary, netmdm_systemjob | |
Inventory | netmdm_clientlist, netmdm_inspackage, netmdm_inventry, netmdm_mnglist, netmdm_registry, netmdm_reglist, netmdm_softwaredic, netmdm_softwaredel, netmdm_softwarelicence, netmdm_userinventry, netmdm_userinvlist, netmdm_oidlist, netmdm_discovery_setup, netmdm_discovery_community, netmdm_discovery_info, netmdm_discovery_options, netmdm_monitoring_filter, netmdm_monitoring_policy, netmdm_monitoring_program, netmdm_monitoring_permission, netmdm_monitoring_result, netmdm_monitoring_work, netmdm_vidlist, netmdm_activedirectory, netmdm_adproperty, netmdm_addictionary, netmdm_adupdate, netmdm_monitoring_webfilter, netmdm_adgroup | |
Operation monitoring logs | netmdm_monitoring_security, netmdm_monitoring_workresult | |
Security update | netmdm_ospatch_patchinf, netmdm_ospatch_productref, netmdm_ospatch_classref, netmdm_ospatch_xmlinf, netmdm_ospatch_script |
Figure 7-22 Execute Reorganization of Database dialog box
This subsection describes the netmdb_reorganization.bat command that can be used to reorganize a database. This command is stored in the JP1/Software Distribution Manager Embedded RDB Edition installation directory \bin.
Before you reorganize the database, stop Remote Install Server service by opening Control Panel, and then choosing Administrative Tools, and Services.
Also, if you are using Asset Information Manager Subset, stop the Asset Information Manager Subset services in the following order.
To use Asset Information Manager Subset after you have used the Database Manager, start the services in the reverse order from that listed above.
Note that if a connection pool has been set up in the ODBC database, the connected status will not change from the time that the Asset Information Manager Subset job was stopped until the timeout time set in the connection pool elapses. Therefore, wait for the connected status to change before reorganizing the database.
netmdb_reorganization.bat port-number administrator-ID password /i JP1/Software-Distribution-Manager-installation-directory /o execution-result-output-file-name
Return code | Description |
---|---|
0 | Normal termination |
-1 | Abnormal termination |
netmdb_reorganization.bat port-number user-ID-of-administrator password /i "C:\Program Files\Hitachi\NETMDM" /o C:\NETMDB\reorg.txt
If the following message is output, indicating that an error occurred while reorganizing the database, the RD area is shut down.
KFPH00306-E RDAREA "RD area name" held due to error
For details on how to open the shut-down RD area, see 6.3.2 (8) Error in the embedded RDB environment in the manual Administrator's Guide Volume 2.
If the following message is output, indicating that an error occurs while reorganizing the database, there was insufficient work area for exclusive use by the database.
KFPS00443-I Insufficient memory in lock table. server=sds01, code=10, using=number, total=number, PROGRAM=pdrorg KFPS00447-I Insufficient exclusive control table information output to datetime.mem file KFPA11912-E Insufficient memory for DB exclusive control KFPL15226-E Delete request failed, table=NETMDM."NETMDM_MONITORING_SECURITY", server=sds01 KFPH00306-E RDAREA "NETMDM_NETM_MONITORING" held due to error occurred in log less utility KFPH00306-E RDAREA "NETMDM_NETM_INDEXES" held due to error occurred in log less utility KFPL15225-E Rollback called KFPL00719-I Pdrorg terminated, return code=8 |
This means that the database's exclusive control work area is insufficient in RD areas NETMDM_NETM_MONITORING and NETMDM_NETM_INDEXES.
To adjust the database's exclusive control work area: (The user who executes the command below must have Administrator permissions.)
pddbls -r NETMDM_NETM_MONITORING -a pddbls -r NETMDM_NETM_INDEXES -a
SEGMENT unused-segment-count / total-segment-count |
set pd_lck_pool_size = number |
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.