If the Disk Array Chassis Is Mounted and the OS Restarts, the Log Server Fails to Start

Publication Date:  2012-07-20 Views:  109 Downloads:  0
Issue Description
After the power failure occurs to the equipment room and the OS restarts, the Secospace eLog LogServer service of the OS fails to start.
Alarm Information
None.
Handling Process
Set the dependence relationship among Secospace eLog LogServer, Secospace eLog LogCollector, SQL Server(MSSQLSERVER), and Microsoft iSCSI Initiator Service, so that other services start after Microsoft iSCSI Initiator Service.
1. Log in to the log server as the administrator.
2. Start Microsoft iSCSI Initiator. The following figure shows the page.

3. Click the Bound Volumes/Devices tab.
The following figure shows the page.

4. Click Add.
5. Enter the letter or path of the mounted disk in the pop-up dialog box, for example, D:\. The following figure shows the page.

6. Click OK. The following figure shows the page.

7. Click OK.
8. Choose Start > Run.
9. Enter cmd in the Run dialog box.
10. Click OK.
11. Enter SC config LogCollector depend= MSiSCSI in the command line prompt.
12. Press Enter. The following information is displayed:
[SC] ChangeServiceConfig SUCCESS
13. Enter SC config LogServer depend= NamingService/MSSQLSERVER/MSiSCSI in the command line prompt.
14. Press Enter. The following information is displayed:
[SC] ChangeServiceConfig SUCCESS
15. Enter SC config MSSQLSERVER depend= MSiSCSI in the command line prompt.
16. Press Enter. The following information is displayed:
[SC] ChangeServiceConfig SUCCESS
The following figure shows the page.


 

17. Close the command line window to complete the setting.

Result:

1. Choose Start > Run.
2. Enter services.msc in the Run dialog box.
The following figure shows the page.

 

3. Press Enter.
4. Right-click Secospace eLog LogServer in the system service.
5. Click the Dependencies tab in the Secospace eLog LogServer dialog box.
The following figure shows the page.

6. Click OK.
7. Right-click Secospace eLog LogCollector in the system service.
8. Click the Dependencies tab in the Secospace eLog LogCollector dialog box.
The following figure shows the page.

9. Click OK.
10. Right-click SQL Server(MSSQLSERVER) in the system service.
11. Click the Dependencies tab in the SQL Server(MSSQLSERVER) dialog box.
The following figure shows the page.



 


Root Cause
The installation of the Secospace eLog does not comply with related requirements. During the installation of the Secospace eLog, the installation directory (D:\ by default) of the eLog database is not in a local disk, but in the disk array chassis mounted through the iSCSI interface. After the power failure occurs in the equipment room, the OS restarts successfully, but not the disk array chassis, because the start rate of the disk arrays chassis is low. Upon the start, the Secospace eLog LogServer service needs to connect to the database. At this moment, the OS does not discover the mounted disk, and the Secospace eLog LogServer service fails to find the installation directory of the database. As a result, Secospace eLog LogServer cannot connect to the eLog database and fails to start.
Suggestions
None.

END