Interstage Shunsaku Data Manager Troubleshooting - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX - |
Contents
Index
![]() ![]() |
Chapter 2 Examples of Troubleshooting | > 2.3 Operation Errors |
After the command or the application is executed, the following message is output:
shn30351u:There is not enough space in the data file folder. [shund1] |
Several recovery methods are available depending on whether the OperationLogFolder has been set in the director environment file or in operation during the error. Select the recovery method that corresponds to the error event.
Operation during the error |
Has the OperationLogFolder been set in the director environment file? |
Recovery Method (*1) |
---|---|---|
Shunsaku API Execution |
No |
1 (*2) |
Yes |
1 or 2 (*2) |
|
Shundcds command |
No |
1 or 3 |
Yes |
1 ~ 3 |
*1The following recovery methods can be used:
*2Recovery Method 3 can be used if the fragmentation rate is high even if the Shunsaku API execution error occurs.
Refer to the Operator's Guide or the Command Reference for more information on using the above commands.
Stop the Shunsaku system. Copy the director data file to a larger space disk then restart Shunsaku.
shundstate -s shund1 Shunsaku shundstate 2006/05/10 10:09:53 Time State DataFileStatus DataSize Fragments(%) LastBackedUp OperationLogStatus OperationLogSize Records ReadRecords ReadTime(sec) ReadSize 10:09:53 ACTIVE FULL 40.0GB 2 ----/--/-- --:--:-- NORMAL 10.0KB 100000 12000 5.020 2.00MB |
shunsysstop -n shunsaku |
: cp command, etc.
cp -rp /Shunsaku/data /Shunsaku2/data |
: xcopy command, etc.
xcopy /r /e D:\Shunsaku E:\Shunsaku |
DataFileFolder /Shunsaku2/data/ |
DataFileFolder E:\Shunsaku\ |
shunsysstart -n shunsaku |
shundstate -s shund1 Shunsaku shundstate 2006/05/10 10:14:06 Time State DataFileStatus DataSize Fragments(%) LastBackedUp OperationLogStatus OperationLogSize Records ReadRecords ReadTime(sec) ReadSize 10:14:06 ACTIVE NORMAL 40.0GB 2 ----/--/-- --:--:-- NORMAL 10.0KB 100000 12000 5.020 2.00MB |
If the DataFileStatus is "NORMAL", the recovery was successful and operations can be recommenced.
This section explains the recovery method in which the Shunsaku system does not need to be stopped with the shundrecover command.
This method can be used for systems that meet the following conditions:
If several directors are used in one operation and the shundrecover command is executed to recover data to the point when the backup was performed or to the specified point, execute the shundrecover command to recover all other directors to the same recovery point.
shundstate -s shund1 Shunsaku shundstate 2006/05/10 11:32:14 Time State DataFileStatus DataSize Fragments(%) LastBackedUp OperationLogStatus OperationLogSize Records ReadRecords ReadTime(sec) ReadSize 11:32:14 ACTIVE FULL 40.0GB 2 2006/05/10 11:28:07 NORMAL 10.0KB 100000 12000 5.020 2.00MB |
shundrecover -s shund1 -b |
: cp command, etc.
Cp -rp /Backup/data/shund1 /Shunsaku/data/shund1 |
: xcopy command, etc.
xcopy /r /k E:\Backup\shund1 D:\Shunsaku\shund1 |
shundrecover -s shund1 -e |
shundstate -s shund1 Shunsaku shundstate 2006/05/10 11:38:22 Time State DataFileStatus DataSize Fragments(%) LastBackedUp OperationLogStatus OperationLogSize Records ReadRecords ReadTime(sec) ReadSize 11:38:22 ACTIVE NORMAL 40.0GB 2 2006/05/10 11:28:07 NORMAL 10.0KB 100000 12000 5.020 2.00MB |
If the DataFileStatus is "NORMAL", recovery was successful and operation can be recommenced.
This section explains how to recover using the shundimport command to import the data extracted by the shundexport command to Shunsaku.
shundstate -s shund1 Shunsaku shundstate 2006/05/10 13:21:02 Time State DataFileStatus DataSize Fragments(%) LastBackedUp OperationLogStatus OperationLogSize Records ReadRecords ReadTime(sec) ReadSize 13:21:02 ACTIVE FULL 40.0GB 50 ----/--/-- --:--:-- NORMAL 10.0KB 100000 12000 5.020 2.00MB |
shundexport -s shund1 -o /shundata/exp_data.txt |
shunsysstop -n shunsaku |
shunsysstart -n shunsaku |
shundimport -s shund1 -f /shundata/exp_data.txt |
shundstate -s shund1 Shunsaku shundstate 2006/05/10 13:25:05 Time State DataFileStatus DataSize Fragments(%) LastBackedUp OperationLogStatus OperationLogSize Records ReadRecords ReadTime(sec) ReadSize 13:25:05 ACTIVE NORMAL 40.0GB 0 ----/--/-- --:--:-- NORMAL 10.0KB 100000 0 0.000 0.00MB |
If the DataFileStatus is "NORMAL", the recovery was successful and operations can be recommenced.
Note: Make sure that the disk to store the extracted file has enough available disk space when extracting the director data.
Refer to Estimating Resources in the Operator's Guide for more information on how to estimate the extracted file size.
If the director data file directory does not have enough available space, jobs cannot continue until the action is completed.
To avoid this situation, precautions in design and operations are necessary. Refer to Managing the Director Data File in 2.3.4 Managing Disk Capacity for more information on such precautions.
After the command or the application is executed, the following message is output:
shn30353u:There is not enough space in the operation log folder. [shund1] |
The operation log file accumulates Shunsaku update operations as update log data. If the disk that stores this log file does not have enough space, a command error or application error may occur during Shunsaku operations.
Back up the director data file. If this is done, the operation log file before the backup will be automatically terminated and the operation can be recommenced.
To back up the director data file and recommence the operation, follow the procedure below. If there are several directors using in one operation, back up all the directors to the same backup point.
shundstate -s shund1 Shunsaku shundstate 2006/05/10 09:24:47 Time State DataFileStatus DataSize Fragments(%) LastBackedUp OperationLogStatus OperationLogSize Records ReadRecords ReadTime(sec) ReadSize 09:24:47 ACTIVE NORMAL 40.0GB 2 ----/--/-- --:--:-- FULL 10.0KB 100000 12000 5.020 2.00MB |
shundbackup -s shund1 -b |
Note: If there are several directors used in one operation, execute the shundbackup command to all directors.
The directory specified by the DataFileFolder parameter in the director environment file contains a directory with the same name as the director identifier. Back up all the files from that directory.
Use the following operating system commands or disk device copy function to perform the backup.
: cp command, etc.
cp -rp /Shunsaku/data/shund1 /Backup/data/shund1 |
: xcopy command, etc.
xcopy /r /k D:\Shunsaku\shund1 E:\Backup\shund1 |
shundbackup -s shund1 -e |
Note: If there are several directors used in one operation, execute the shundbackup command for all directors.
shundstate -s shund1 Shunsaku shundstate 2006/05/10 09:33:55 Time State DataFileStatus DataSize Fragments(%) LastBackedUp OperationLogStatus OperationLogSize Records ReadRecords ReadTime(sec) ReadSize 09:33:55 ACTIVE NORMAL 40.0GB 2 2006/05/10 09:31:50 NORMAL 0.08KB 100000 12000 5.020 2.00MB |
The OperationLogStatus will be changed from "FULL" to "NORMAL" and operations can be recommenced.
Refer to the Operator's Guide and the Command Reference for more information on using the above commands.
If the operation log file storage directory does not have enough available space, jobs cannot be continued until the action is completed. To avoid this situation, precautions in design and operations are necessary. Refer to Managing the Director Data File in the 2.3.4 Managing Disk Capacity for more information on such precautions.
After the command or the application to add data is executed, the following message is output to the system log (syslog) or event log and to the command or application:
shn30393u The addition processing has been stopped because the maximum record number will be exceeded if data is added. add=d* remain=e* maximum=f* (director) [shund1] Shunsaku System Name=shunsaku |
shn30394u The addition processing has been stopped because the maximum record number will be exceeded if data is added. add=d* remain=e* maximum=f* [shund1] |
d*: Number of records to be added.
e*: Number of records that can be added.
f*: Maximum number of stored records.
The addition processing has been stopped because the total of the number of stored records and the number of records to be added exceed the maximum record number. In this case, the transaction is rolled back.
The record cannot be added more than the maximum record number. Delete any unnecessary records or add more directors and change the directory specified by the InsertPoint parameter in the conductor environment file.
After the shundimport command or the application to add, delete, or update data is executed, the following message is output to the system log (syslog) or event log and to the command or application:
shn30396u The size of the director data file to be used has reached the maximum. Max file size=Maximum size of director data file (MB) (director) [shund1] Shunsaku System Name=shunsaku |
shn30351u:There is not enough space in the data file folder. [shund1] |
An addition process, deletion process, or update process was terminated because the size of the director file exceeded the maximum size for executing the shundimport command to add, delete, or update data. In this case, the transaction is rolled back.
In addition, the DataFileStatus displayed by the shundstate command is "LIMIT" and an error occurs if the shundimport command or the application to add, delete, or update the data is executed.
To recover the system, execute one of the following procedures
Execute one of the following procedures:
Refer to Corrective Action in the Insufficient Space in director Data File for more information on how to recover the system.
The following director commands can be executed:
After the shundimport command or the application to add, delete, or update the data is executed, the following message is output in the system log (syslog) event log and to the command or application:
shn30398u The size of the operation log file to be used has reached the maximum. Max file size=Maximum size of operation log file(MB) (director) [shund] Shunsaku System Name=shunsaku |
shn30353u:There is not enough space in the operation log folder. [shund1] |
The addition process, deletion process, or update process was terminated because the size of the operation log file exceeded the maximum size for the shundimport command to add, delete, or update data. In this case, the transaction will be rolled back.
In addition, the OperationLogStatus displayed by the shundstate command will become "LIMIT" and an error occurs if the shundimport command or the application to add, delete, or update the data is executed.
Execute the shundbackup command to back up the director data file. Then review the backup cycle of the director data file and reduce the size of the log in the operation log file.
Refer to Corrective Action in the Insufficient Space in the operation log file for more information on how to recover the system.
The following director commands can be executed:
Contents
Index
![]() ![]() |