Announcement

Collapse
No announcement yet.

Microsoft thing for restarting spawners

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Microsoft thing for restarting spawners

    I saw a post a few days ago where somebody was using a download from Microsoft to help restart spawners on the network from your workstation. Any ideas where this thread is? I've tried saerching but so far, no luck...
    Kind Regards,
    Richard Birket
    ----------------------------------->
    http://www.blinkimage.com

    ----------------------------------->

  • #2
    this i assume :
    http://www.chaosgroup.com/forums/vbu...hlight=pstools

    search term would be pstools (wich is the ms download)

    Regards,
    Thorsten

    Comment


    • #3
      Mmm. I'm pretty sure it wasn't PSTools. I could be wrong, but I think I tried that years ago and didn't have too much success.
      Kind Regards,
      Richard Birket
      ----------------------------------->
      http://www.blinkimage.com

      ----------------------------------->

      Comment


      • #4
        I use psservice.exe, which I think is included in PStools. Works great. You just need to write a little bin file to tell it what to do. I posted it in a previous thread somewhere...
        "Why can't I build a dirigible with my mind?"

        Comment


        • #5
          will look into it
          Kind Regards,
          Richard Birket
          ----------------------------------->
          http://www.blinkimage.com

          ----------------------------------->

          Comment


          • #6
            Here it is from a previous post:

            Originally posted by Clifton Santiago View Post
            We use this utility:

            http://technet.microsoft.com/en-us/s.../bb897542.aspx

            And then run a .bat file that looks like this, just substituting the proper node names and admin username and passord:
            echo off

            C:\folder\psservice \\NODE01 -u username -p password start "VRaySpawner 90"
            C:\folder\psservice \\NODE02 -u username -p password start "VRaySpawner 90"
            C:\folder\psservice \\NODE03 -u username -p password start "VRaySpawner 90"

            ...etc. to include all nodes
            "Why can't I build a dirigible with my mind?"

            Comment


            • #7
              I'm running this bat file (which is located in the pstools folder on my master machine):

              pskill -t \\NODE_01 -u Username -p Password vrayspawner2009.exe
              pskill -t \\NODE_02 -u Username -p Password vrayspawner2009.exe
              pskill -t \\NODE_03 -u Username -p Password vrayspawner2009.exe
              pskill -t \\NODE_04 -u Username -p Password vrayspawner2009.exe
              pskill -t \\NODE_05 -u Username -p Password vrayspawner2009.exe
              psexec \\NODE_01 -u Username -p Password -d -i "C:\Program Files\Autodesk\3ds Max 2009\vrayspawner2009.exe"
              psexec \\NODE_02 -u Username -p Password -d -i "C:\Program Files\Autodesk\3ds Max 2009\vrayspawner2009.exe"
              psexec \\NODE_03 -u Username -p Password -d -i "C:\Program Files\Autodesk\3ds Max 2009\vrayspawner2009.exe"
              psexec \\NODE_04 -u Username -p Password -d -i "C:\Program Files\Autodesk\3ds Max 2009\vrayspawner2009.exe"
              psexec \\NODE_05 -u Username -p Password -d -i "C:\Program Files\Autodesk\3ds Max 2009\vrayspawner2009.exe"

              But all I keep getting is "Couldn't access NODE_01. The network path was not found. Make sure that the default admin$ share is enabled on NODE_01"

              Any ideas?
              Kind Regards,
              Richard Birket
              ----------------------------------->
              http://www.blinkimage.com

              ----------------------------------->

              Comment


              • #8
                OK, disabled the firewall on one of the render machines, and now it does kill the task, but doesn't restart it.
                Kind Regards,
                Richard Birket
                ----------------------------------->
                http://www.blinkimage.com

                ----------------------------------->

                Comment


                • #9
                  Here is the actual bat file, where 3dsmax is username, and Discreet3d is the password. We wrote it when we were transitioning between Max 8 and 2008:


                  C:\SwitchDR\psservice \\SLDNRNDR01 -u 3dsmax -p Discreet3d stop "VRaySpawner 60"
                  C:\SwitchDR\psservice \\SLDNRNDR01 -u 3dsmax -p Discreet3d start "VRaySpawner 90"
                  C:\SwitchDR\psservice \\SLDNRNDR02 -u 3dsmax -p Discreet3d stop "VRaySpawner 60"
                  C:\SwitchDR\psservice \\SLDNRNDR02 -u 3dsmax -p Discreet3d start "VRaySpawner 90"
                  C:\SwitchDR\psservice \\SLDNRNDR03 -u 3dsmax -p Discreet3d stop "VRaySpawner 60"
                  C:\SwitchDR\psservice \\SLDNRNDR03 -u 3dsmax -p Discreet3d start "VRaySpawner 90"
                  C:\SwitchDR\psservice \\SLDNRNDR04 -u 3dsmax -p Discreet3d stop "VRaySpawner 60"
                  C:\SwitchDR\psservice \\SLDNRNDR04 -u 3dsmax -p Discreet3d start "VRaySpawner 90"
                  C:\SwitchDR\psservice \\SLDNRNDR05 -u 3dsmax -p Discreet3d stop "VRaySpawner 60"
                  C:\SwitchDR\psservice \\SLDNRNDR05 -u 3dsmax -p Discreet3d start "VRaySpawner 90"
                  C:\SwitchDR\psservice \\SLDNRNDR06 -u 3dsmax -p Discreet3d stop "VRaySpawner 60"
                  C:\SwitchDR\psservice \\SLDNRNDR06 -u 3dsmax -p Discreet3d start "VRaySpawner 90"
                  I think you have to enable VraySpawner as service first, and then use the script to turn it on.
                  Last edited by Clifton Santiago; 02-07-2008, 05:41 AM.
                  "Why can't I build a dirigible with my mind?"

                  Comment


                  • #10
                    error is:
                    No Process is on the Other End of the Pipe
                    Kind Regards,
                    Richard Birket
                    ----------------------------------->
                    http://www.blinkimage.com

                    ----------------------------------->

                    Comment


                    • #11
                      I don't know the error. I can email you the psservice.exe that we use. It is older than what is posted on the Microsoft site, and predates MS purchase of it. However I don't know if it will work any differently. PM me your email if you want it.
                      "Why can't I build a dirigible with my mind?"

                      Comment


                      • #12
                        Thanks for that. However, we never run spawner as a service as I am sure I have read it can lead to many DR problems. Do you not find this?
                        Kind Regards,
                        Richard Birket
                        ----------------------------------->
                        http://www.blinkimage.com

                        ----------------------------------->

                        Comment


                        • #13
                          None at all. I use DR all the time.
                          "Why can't I build a dirigible with my mind?"

                          Comment

                          Working...
                          X