Generic script

Generic script

Post by QmVsd2Flc » Fri, 19 Oct 2007 22:06:00


I have tow clustred Server in wich installed client-server application.
Can someone help to write a script that transfert somme process from the
failed node to the other.

Thank
 
 
 

1. Generic Script - Indicating Success or Failure

2. how to run external .bat file from Generic Script ?

Help!!!

I am trying to run the .bat file that contains:

@echo off
echo Done

from the VBS script defined as Generic Script in my cluster.

Script contains:

Set WshShell = WScript.CreateObject("WScript.Shell")
intReturn = WshShell.Run("c:\alex-tmp\cli2.bat", 1, TRUE)

cluster.log contains:

00001370.00000948::2005/05/31-16:57:01.046 INFO Generic Script
<script-al>: Loaded script 'C:\alex-tmp\cluster-empty.vbs'
successfully.
00001370.00000948::2005/05/31-16:57:01.046 ERR Generic Script
<script-al>: Script Error: Line=24, Character = 0
00001370.00000948::2005/05/31-16:57:01.046 ERR Generic Script
<script-al>: Source: Microsoft VBScript runtime error
00001370.00000948::2005/05/31-16:57:01.046 ERR Generic Script
<script-al>: Description: Object required: 'WshShell'
00001370.00000948::2005/05/31-16:57:01.046 ERR Generic Script
<script-al>: Error: 2148139432 (0x800a01a8) - Description: Object
required: 'WshShell' (Source: Microsoft VBScript runtime error)
00001370.0000008c::2005/05/31-16:57:01.046 ERR [RM] OnlineResource
failed, resource script-al, status = 2147614729.
00000908.00001598::2005/05/31-16:57:01.046 INFO [CP] CppResourceNotify
for resource script-al

What's wrong? Is there anybody who succeeded to run the .bat from VBS?

Thanks in advance,

-- Leon Koll

3. Sybase generic script row count all tables

4. Need to return string and write generic script

5. Adding a 'Generic Script' resource to 2k3 cluster

6. Generic Script Resource error

7. Generic Script resource?

8. FTP Generic Script Problem

9. Add a generic script resource

10. Urgent help-Cannot create a generic script resource in my clus

11. FTP Generic script on a cluster

12. Cluster generic script to detele and create job

13. Urgent help-Cannot create a generic script resource in my cluster

14. Generic Script resource to interact with desktop

15. problems with generic script resource and vs host clustering