Re: resource dll questions

From: Anonuser (mycorolla02_at_yahoo.com)
Date: 03/28/04

  • Next message: John Douvlos: "Re: Shadow Copies"
    Date: 27 Mar 2004 17:09:33 -0800
    
    

    Hi Shon,
    Thanks this helped. The root cause was that the dll was probably not
    well compiled when I used the nmake command line options.

    When I used VC 6.0 to compile the release dlls (Debug ones failed
    though) everything worked fine.

    Wonder why the nmake command line options failed. I have vc6.0 and 7.0
    on my machine. do i have to set up special variables when i use the
    command line options?
    Thanks

    "Shon Shah [MSFT]" <shonsh@online.microsoft.com> wrote in message news:<ejlXO7REEHA.3788@TK2MSFTNGP10.phx.gbl>...
    > If the resource DLL is not in the cluster directory and you do not specify
    > the full path while creating the resource type, the resource type will get
    > created but when you list the available resource types using "cluster
    > restype" command you will see an entry as shown below where display name is
    > marked as unavailable. Also you will see an exclamation mark for the
    > resource type in CluAdmin UI. (Under Cluster Configuration->Resource Types).
    > You will not be able to create a resource of this type using CluAdmin (you
    > will get error 126). Although cluster.exe will let you create a resource of
    > this type, when you try to bring such a resource online using cluster.exe
    > you will get error 126.
    >
    > Display Name Resource Type Name
    > ------------------------------------ ------------------------------------
    > (Unavailable) ClipBook Server
    >
    > It is not clear from your mail whether the issue you were facing has been
    > resolved or not after specifying the full path.
    >
    > --
    > Regards,
    > Shon Shah
    > Software Test Engineer
    > Microsoft Cluster Server
    >
    > This posting is provided "AS IS" with no warranties, and confers no rights.
    > Use of included script samples, if any, are subject to the terms specified
    > at http://www.microsoft.com/info/cpyright.htm
    >
    > "Anonuser" <mycorolla02@yahoo.com> wrote in message
    > news:32946381.0403222024.bb173b6@posting.google.com...
    > > Hi Shon,
    > >
    > > I have read README.txt attached with the SDK. When I created the
    > > resourcetypes I made sure that the full path is specified.
    > >
    > > c:\clipbook>cluster resourcetype "ClipBook Server" /create
    > > /dllname:"c:\clipbook\ClipBook
    > > Server.dll" and added the resource using
    > > c:\clipbook> cluster resource "My ClipBook Server" /create /group:"My
    > > Group"
    > > /type:"ClipBook Server"
    > >
    > > I am not sure if cluster.exe did not get the right path it would still
    > > create the right resource type and resource.
    > >
    > > Thanks
    > >
    > >
    > >
    > >
    > >
    > > "Shon Shah [MSFT]" <shonsh@online.microsoft.com> wrote in message
    > news:<ucWD89FEEHA.3408@tk2msftngp13.phx.gbl>...
    > > > I think I know what is happening here. If you are copying the resource
    > DLL
    > > > to any directory other than cluster directory (by default
    > %windir%\cluster),
    > > > you need to specify the "full path" to the resource DLL while creating
    > the
    > > > resource type. Try it and it should work. Also note that the resource
    > needs
    > > > a dependency on a resource of type "Network Name" so if you create a
    > > > resource without this dependency, it might fail to come online.
    > > >
    > > > =====
    > > > From ReadMe.txt for resource DLL:
    > > >
    > > > If you don't specify a path to your resource DLL, Cluster Server will
    > search
    > > > for it first in the cluster directory and then on the system path.
    > > > =====
    > > >
    > > > Hope this helps.
    > > >
    > > > --
    > > > Regards,
    > > > Shon Shah
    > > > Software Test Engineer
    > > > Microsoft Cluster Server
    > > >
    > > > This posting is provided "AS IS" with no warranties, and confers no
    > rights.
    > > > Use of included script samples, if any, are subject to the terms
    > specified
    > > > at http://www.microsoft.com/info/cpyright.htm
    > > >
    > > > "Anonuser" <mycorolla02@yahoo.com> wrote in message
    > > > news:32946381.0403221014.7b95f2ef@posting.google.com...
    > > > > Hi Shon,
    > > > >
    > > > > I am using w2k3 (but got similar errors on w2k server too)
    > > > > I did try setting the services below to Manual but the error I receive
    > > > > persists.
    > > > >
    > > > > I have tried making a folder called "clipbook" in C: (local drive) and
    > > > > then copying the resource dll - clipbook server.dll (resource dll).
    > > > >
    > > > > I then execute the
    > > > >
    > > > > cluster resourcetype "ClipBook Server" /create /dllname:"ClipBook
    > > > > Server.dll"
    > > > > and added the resource using
    > > > > cluster resource "My ClipBook Server" /create /group:"Cluster
    > > > > Group"
    > > > > /type:"ClipBook Server"
    > > > >
    > > > > It says
    > > > > Creating resource 'My ClipBook Server'...
    > > > >
    > > > > Resource Group Node Status
    > > > > -------------------- -------------------- --------------- ------
    > > > > My ClipBook Server My Group Server1 Offline
    > > > >
    > > > > When I try bring the resource online(via Cluster administrator) I get
    > > > > an error pop up
    > > > > "No possible owners are specified for this resource which means that
    > > > > this resource cannot be brought online on any nodes in the cluster.
    > > > > This could be caused by the resource dll not being present on one of
    > > > > the nodes of the cluster."
    > > > > I have copied the resource and extension to both nodes in the cluster
    > > > > at each's c:\clipbook respectively. When I do
    > > > >
    > > > > cluster resource "My Clipbook Server" /addowner:Server2 it says
    > > > >
    > > > >
    > > > >
    > > > > Adding 'Server2' to possible owners of 'My ClipBook Server'...
    > > > >
    > > > >
    > > > > System error 5079 has occurred (0x000013d7).
    > > > > The specified node does not support a resource of this type. This may
    > > > > be due to
    > > > > version inconsistencies or due to the absence of the resource DLL on
    > > > > this node.
    > > > >
    > > > >
    > > > >
    > > > >
    > > > > Can you please let me know if I am missing something.
    > > > >
    > > > > Thanks
    > > > >
    > > > > "Shon Shah [MSFT]" <shonsh@online.microsoft.com
    > > > >
    > > > > > wrote in message news:<eHZwENiDEHA.3584@TK2MSFTNGP11.phx.gbl>...
    > > > > > What is the OS on the cluster nodes? W2K or W2K3? I tried the sample
    > on
    > W2K3
    > > > > > cluster and it works fine. I am not sure about W2K.
    > > > > >
    > > > > > Also as mentioned in the ReadMe.txt for the resource DLL, the
    > resource
    > won't
    > > > > > come online unless the start type for services mentioned below is
    > changed
    > > > > > from "disabled" to "manual".
    > > > > >
    > > > > >
    > > >
    > ////////////////////////////////////////////////////////////////////////////
    > > > > > /
    > > > > > Bringing your resource online:
    > > > > >
    > > > > > This sample controls the ClipBook service which depends on Network
    > DDE
    > and
    > > > > > Network DDE DSDM services in Windows Server 2003. Before the
    > resource
    > can
    > > > > > start
    > > > > > the ClipBook service all three services need to be set to "manual"
    > startup
    > > > > > This can be done through the Services MMC Snap-in (found under
    > Control
    > > > > > Panel's
    > > > > > Administrative Tools directory).
    > > > > >
    > > > > >
    > > >
    > ////////////////////////////////////////////////////////////////////////////
    > > > > > /
    > > > > >
    > > > > > Hope this helps.
    > > > > >
    > > > > > --
    > > > > > Regards,
    > > > > > Shon Shah
    > > > > > Software Test Engineer
    > > > > > Microsoft Cluster Server
    > > > > >
    > > > > > This posting is provided "AS IS" with no warranties, and confers no
    > rights.
    > > > > > Use of included script samples, if any, are subject to the terms
    > specified
    > > > > > at http://www.microsoft.com/info/cpyright.htm
    > > > > >
    > > > > > "Anonuser" <mycorolla02@yahoo.com> wrote in message
    > > > > > news:32946381.0403171837.71d8d9f1@posting.google.com...
    > > > > > > I have different Q's regarding cluster resource dlls.
    > > > > > > 1. I have downloaded the MSFT SDK samples and compiled the
    > > > > > >
    > > > > > > ClipBook service example.
    > > > > > >
    > > > > > > 2. I copied the clipbook resource and extension dll to my
    > > > > > >
    > > > > > > cluster node and successfully created the new resource
    > > > > > >
    > > > > > > type "ClipBook Server" using the command
    > > > > > > cluster resourcetype "ClipBook Server" /create /dllname:"ClipBook
    > > > > > > Server.dll" and added the resource using
    > > > > > > cluster resource "My ClipBook Server" /create /group:"My Group"
    > > > > > > /type:"ClipBook Server"
    > > > > > >
    > > > > > > 3. Whenever I try to run the "My ClipBook Server" resource from
    > > > > > > Cluster Admin it says no nodes configured to run the specified
    > > > > > > resource
    > > > > > >
    > > > > > > When I do a cluster resource "My ClipBook Server " /listnodes
    > > > > > > it does list my server name in the list of nodes configured.
    > > > > > >
    > > > > > > 4. I tried regsvr32 "drivename:pathname\myresext.dll" but this
    > > > > > >
    > > > > > > returned an error saying module not found or procedure not
    > > > > > >
    > > > > > > found.
    > > > > > >
    > > > > > > 5. I used the ClusterAppWizard to create sample resource and
    > extension
    > > > > > > dlls but still landed the above problems.
    > > > > > >
    > > > > > > Am I missing something?
    > > > > > >
    > > > > > > Thanks
    > > > > > > T


  • Next message: John Douvlos: "Re: Shadow Copies"

    Relevant Pages

    • Re: Custom Resource Type problems
      ... CResTyp.awx that ships with it? ... Can you please ensure that resource DLL and extension DLL do not have a ... i.e. are you able to load the resource DLL on ... resource type and the resource without any issue on W2K3 cluster. ...
      (microsoft.public.windows.server.clustering)
    • Re: internationalisation
      ... So, for dialogs, we keep all of a projects dialogs in the exe rather than ... separate copies in each language dll. ... It shows you how to build dialogs without resource files. ...
      (microsoft.public.vc.mfc)
    • Re: ? Segregating a Dialogs Code (Particularly Resources)
      ... I typically put all of the common code in a single Dll, ... the projects that need access to the common code. ... Now the problem with my solution is that if one control, ... both resource files and drag the resources over to the new project. ...
      (microsoft.public.vc.mfc)
    • Re: multi-process singleton DLL
      ... creates an IPC server and manages the DLL resource. ... They both interface using this DLL I wrote to take care ... communicate with the IPC server, ... could bind to the protocol driver, the other would get "The requested ...
      (microsoft.public.vc.language)
    • Re: How to write a program with multi-language support but not needed to define "UNICOE"?
      ... Put each resource file with different langauge in different dll. ... standpoint of providing UI in multiple languages, ...
      (microsoft.public.vc.mfc)