Click here to Skip to main content
15,908,274 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Release/debug choice Pin
Trollslayer28-Oct-02 1:41
mentorTrollslayer28-Oct-02 1:41 
GeneralRe: Release/debug choice Pin
Joe Woodbury28-Oct-02 6:07
professionalJoe Woodbury28-Oct-02 6:07 
GeneralRe: Release/debug choice Pin
Chris Losinger28-Oct-02 6:53
professionalChris Losinger28-Oct-02 6:53 
Questionhow to transfer xml document on sockets? Pin
Anonymous27-Oct-02 23:00
Anonymous27-Oct-02 23:00 
AnswerRe: how to transfer xml document on sockets? Pin
Christian Graus28-Oct-02 0:28
protectorChristian Graus28-Oct-02 0:28 
AnswerRe: how to transfer xml document on sockets? Pin
Daniel Turini28-Oct-02 1:51
Daniel Turini28-Oct-02 1:51 
GeneralRe: how to transfer xml document on sockets? Pin
Anonymous28-Oct-02 5:58
Anonymous28-Oct-02 5:58 
QuestionHow to discover the failure of a mirror disk set (programatically)?? Pin
Lee Carter27-Oct-02 22:52
Lee Carter27-Oct-02 22:52 
Hi folks,

I hope this is an appropriate place to pose this question as I'm looking for a C++ (maybe COM if needed) solution.

The situation is that I have a system running with a mirror disk set under Win2k Server. The server does not have a keyboard, mouse or monitor. It is not usually accessed remotely except via a web server. A dynamically generated page from the web server can tell be of problems with the system if I know the problem is there to add information about the fault.

I want to be able to detect when a mirror disk set is not working.

From what I understand, if there is an error while the OS is running related to the fault tollerance system then an event will be added to the system event log. This I can access using OpenEventLog(), etc. No problems there.

If the system fails while the OS is not running (i.e. the ribbon or power cable drops out of a drive while the hardware is being moved) then no event log entry is raised to show this when the OS starts up. This is a problem.

I've done some tests with a keybaord/monitor connected to the system and see that when the mirror set fails when the power is off the OS (or at least the administrators Disk Management utility) knows that the mirror set has failed because it shows the status of the volume and the status of the partitions making up the mirror set as being "Failed Redundancy".

So bottom line. My question really is how can I determine that the status of a mirror set programatically? I want to know if the status is "OK", "Failed Redundancy", "Regenerating", etc.

Again, I'm sorry is this is the wrong board. I considered putting it on the OS/Admin one but thought it too programing related for that.


---
Lee
AnswerRe: How to discover the failure of a mirror disk set (programatically)?? Pin
Lee Carter30-Oct-02 23:17
Lee Carter30-Oct-02 23:17 
GeneralCPP question Pin
alex.barylski27-Oct-02 21:38
alex.barylski27-Oct-02 21:38 
GeneralRe: CPP question Pin
Daniel Strigl27-Oct-02 21:57
Daniel Strigl27-Oct-02 21:57 
GeneralRe: CPP question Pin
alex.barylski28-Oct-02 6:33
alex.barylski28-Oct-02 6:33 
GeneralRe: CPP question Pin
ian mariano27-Oct-02 21:59
ian mariano27-Oct-02 21:59 
GeneralRe: CPP question Pin
Navin28-Oct-02 3:56
Navin28-Oct-02 3:56 
GeneralRe: CPP question Pin
alex.barylski28-Oct-02 6:42
alex.barylski28-Oct-02 6:42 
QuestionCWnd::GetDlgItem() Question? Pin
Old Gun27-Oct-02 20:58
Old Gun27-Oct-02 20:58 
AnswerRe: CWnd::GetDlgItem() Question? Pin
Mel Feik27-Oct-02 21:13
Mel Feik27-Oct-02 21:13 
AnswerRe: CWnd::GetDlgItem() Question? Pin
ian mariano27-Oct-02 21:29
ian mariano27-Oct-02 21:29 
GeneralRe: CWnd::GetDlgItem() Question? Pin
Old Gun28-Oct-02 1:16
Old Gun28-Oct-02 1:16 
AnswerRe: CWnd::GetDlgItem() Question? Pin
Chintan28-Oct-02 1:16
Chintan28-Oct-02 1:16 
Generaldialog control focus. Pin
Mel Feik27-Oct-02 19:33
Mel Feik27-Oct-02 19:33 
GeneralChanging CEdit font Pin
alex.barylski27-Oct-02 18:56
alex.barylski27-Oct-02 18:56 
GeneralRe: Changing CEdit font Pin
Dominik Reichl27-Oct-02 22:00
Dominik Reichl27-Oct-02 22:00 
GeneralRe: Changing CEdit font Pin
alex.barylski28-Oct-02 6:46
alex.barylski28-Oct-02 6:46 
GeneralCorrect approach for SysAllocString/SysFreeString Pin
Paul Farry27-Oct-02 17:40
professionalPaul Farry27-Oct-02 17:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.