A
Al Frank
We have developed a Windows service that is used to querry
all the servers in a MSCS cluster and based on the
response it may reboot the server. The service is local
to each server node of the MSCS cluster and only deals
with the one server.
I have found that if I have this service run as the Local
System account the reboot works fine but the OpenCluster()
api call fails with an error 5 (access is denied).
If I have the service start as an admin account or the
account we start the cluster service with the OpenCluster
() and other cluster api calls work but the ExitWindowsEx
() returns a good return code but the reboot never occurs
(no errors in the event log).
I have added the admin account to the rightsShutdownSystem
group and still no reboot. I have added the SYSTEM user
to the MSCS Cluster with full rights and yet fail on the
OpenCluster() call.
Does someone have an idea what I am missing?
Thanks
all the servers in a MSCS cluster and based on the
response it may reboot the server. The service is local
to each server node of the MSCS cluster and only deals
with the one server.
I have found that if I have this service run as the Local
System account the reboot works fine but the OpenCluster()
api call fails with an error 5 (access is denied).
If I have the service start as an admin account or the
account we start the cluster service with the OpenCluster
() and other cluster api calls work but the ExitWindowsEx
() returns a good return code but the reboot never occurs
(no errors in the event log).
I have added the admin account to the rightsShutdownSystem
group and still no reboot. I have added the SYSTEM user
to the MSCS Cluster with full rights and yet fail on the
OpenCluster() call.
Does someone have an idea what I am missing?
Thanks