SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Restore scheduler settings

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Restore scheduler settings
Author Message
Loril



Joined: 21 Feb 2007
Posts: 82

Post Restore scheduler settings Reply with quote
I've used one of the job templates to backup the job database file, the registry, and other misc files. It's my understanding that the registry file contains the settings of the scheduler and the way to restore it is simply double-clicking on the reg file on the backup server. Unfortunately, it didn't work because none of the queues and database profiles carried over. I even went into the registry (regedit) to check the entries and the correct values are all there. I also forced the refresh of the registry by restarting the explorer.exe but that still didn't work. Any ideas? Thanks.
Tue Apr 07, 2009 2:52 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6501

Post Reply with quote
Did you load the registry file while 24x7 was running? 24x7 should be shutdown when you load or change the registry manually, otherwise it will not see your changes. It reads registry settings on startup only.
Wed Apr 08, 2009 8:12 am View user's profile Send private message
Loril



Joined: 21 Feb 2007
Posts: 82

Post Reply with quote
Yes, the scheduler was shutdown (the service wasn't running either) when I attempted to update the registry. I actually tried to do this on another server just to make sure it wasn't something to do with the server and it didn't work either. Let me know if you have any other ideas. Thanks.
Wed Apr 08, 2009 1:22 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6501

Post Reply with quote
Please post contents of the .REG file
Wed Apr 08, 2009 1:33 pm View user's profile Send private message
Loril



Joined: 21 Feb 2007
Posts: 82

Post Reply with quote
Here it is (I removed the sensitive info):

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\]
"Name"="admin"
"Company"="MICM"
"Type"="24x7 PRO"
"Serial"=""
"Instance"=dword:12c40022
"LoadLog"="Y"
"MaxLogEntries"=dword:00000bb8
"ClearLog"="N"
"AdjustStartDir"="Y"
"AdjustStartTime"="Y"
"DisplayTime"=dword:00000000
"GenerateReport"="N"
"ReportDir"=""
"FailSaveMode"="Y"
"SyncInterval"=dword:000000b4
"SyncRetry"=dword:00000002
"SyncDriver"="WinSock"
"SyncPort"="1096"
"SyncLocation"=""
"SyncOptions"=""
"SyncTraceEnabled"="N"
"StatisticsEnabled"="N"
"DBTraceEnabled"="N"
"SystemEventLogEnabled"="N"
"ShowStatus"="N"
"RunService"="Y"
"ServiceAutomatic"="Y"
"ServiceAccount"="micm\\administrator"
"ServiceMode"="Normal"
"SpecialASCIIEnabled"="Y"
"SpecialASCIIChar"="|"
"MultiProcessorSupport"="N"
"AutoSave"="Y"
"AutoSaveInterval"=dword:0000000a
"ConfirmExit"="N"
"SaveOnExit"="Y"
"RunService95"="N"
"Service95SurviveLogoff"="N"
"EmailInterface"="SMTP"
"EmailRecipientConfig"=" "
"SMTPServer"=""
"SMTPSender"=""
"SMTPPort"="25"
"SMTPFormat"="none"
"SMTPContents"="text/plain"
"MonitorScale"=dword:00000024
"SaveReminder"="N"
"LastTip"=dword:00000001
"ShowTips"="N"
"View"=dword:00000001
"SyncFlags"=dword:0000002f
"SecurityOn"="N"
"LastJobID"=dword:0000008d
"ShutDownEvent"=dword:00000230
"ScheduleFile"="D:\\CD\\SchedulerDB\\CD_Scheduler.dat"
"ResourceMonitor"="Y"
"LowResourcesRestart"="N"
"PeriodicRestart"="N"
"RestartDays"="YNNYNNY"
"RestartTime"="00:00:00"
"ShowDetachedIcons"="Y"
"SNPPServer"=""
"ClearQueue"="Y"
"NextRunID"=dword:0000bf49
"LastQueue"="MISC_Q"
"MonitorRate"=dword:0000000a

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Agents]

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Agents\micapsa]
"Driver"="WinSock"
"Port"="1096"
"Location"="micapsa"
"Options"=""
"TraceEnabled"=""
"Async"="N"

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Debugger]
"State"=dword:00000000
"X"=dword:00000017
"Y"=dword:0000003c
"Width"=dword:000016c5
"Height"=dword:00000c44

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Dependencies]
"State"=dword:00000001
"X"=dword:00000132
"Y"=dword:0000021c
"Width"=dword:00000ae9
"Height"=dword:000006e4

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Editor]
"State"=dword:00000001
"X"=dword:00000272
"Y"=dword:000000ec
"Width"=dword:00000bd2
"Height"=dword:00000734
"Face Name"="FixedSys"
"Points"=dword:00000009
"Weight"=dword:00000190
"Italic"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Explorer]
"State"=dword:00000001
"X"=dword:00000000
"Y"=dword:00000000
"Width"=dword:00000de9
"Height"=dword:00000780

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\LogViewer]
"State"=dword:00000001
"X"=dword:0000002e
"Y"=dword:000000d4
"Width"=dword:00000b4e
"Height"=dword:00000690

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Monitor]
"State"=dword:00000001
"X"=dword:000001d2
"Y"=dword:000000ec
"Width"=dword:00000aee
"Height"=dword:0000054c

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Profiles]

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Profiles\MS SQL Server 7.x and later]

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Profiles\MS SQL Server 7.x and later\CR_PRD]
"AppName"=""
"Async"="N"
"AutoCommit"="N"
"Database"="CR"
"LockMode"=""
"LoginID"="tm"
"Password"="tm"
"Server"="midb01"
"Wait"="600"

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Profiles\MS SQL Server 7.x and later\CR_V7]
"AppName"=""
"Async"="N"
"AutoCommit"="Y"
"Database"="cr"
"LockMode"=""
"LoginID"="tm"
"Password"="tm"
"Server"="mict"
"Wait"="600"

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Profiles\MS SQL Server 7.x and later\MICM]
"AppName"=""
"Async"="N"
"AutoCommit"="Y"
"Database"="MIC"
"LockMode"=""
"LoginID"="tm"
"Password"="tm"
"Server"="midb01"
"Wait"="600"

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Profiles\ODBC]

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Profiles\ODBC\gi7]
"AppName"=""
"Async"="N"
"AutoCommit"="Y"
"Database"="gi7"
"LockMode"=""
"LoginID"="gimsr"
"Password"="k@"
"Server"="ODBC"
"Wait"="600"

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Queue Monitor]
"State"=dword:00000000
"X"=dword:0000026e
"Y"=dword:000002f8
"Width"=dword:00000b8e
"Height"=dword:000003f0

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Queues]

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Queues\BOD_Q1]
"MaxQSize"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Queues\FX_Q]
"MaxQSize"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Queues\MISC_Q]
"MaxQSize"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Queues\[default]]
"MaxQSize"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\RC_COM]
"Serial"="00000-00000"

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Remote Config]


[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Remote Config\micapsa\Agents]

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Remote Config\micapsa\Queues]

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Remote Config\micapsa\Queues\[default]]
"MaxQSize"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Report]
"State"=dword:00000001
"X"=dword:000001f7
"Y"=dword:00000190
"Width"=dword:00000c49
"Height"=dword:00000798
Wed Apr 08, 2009 1:56 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6501

Post Reply with quote
Thanks for the file. I see errors in the text. Almost every key value between [ ] brackets has extra backlash. For example
HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\\Agents
this should be changed to
HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0\Agents

Please modify the job script not to double backslashes in key names
Wed Apr 08, 2009 3:44 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6501

Post Reply with quote
Actually let me take back the last statement about "Please modify the job script not to double backslashes in key names"

The system regedit utility on your server that generates invalid .REG file, not 24x7. I just tried this job on 2 different systems and they both create correct .REG files.
Wed Apr 08, 2009 3:53 pm View user's profile Send private message
Loril



Joined: 21 Feb 2007
Posts: 82

Post Reply with quote
I removed the double backslash but it's still not working. Here's a screenshot of the registry with the correct keys and values for the queues, for example. I am not sure what the issue is...

Wed Apr 08, 2009 4:03 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6501

Post Reply with quote
Please try deleting the existing key HKEY_LOCAL_MACHINE\SOFTWARE\SoftTree Technologies, Inc.\24x7 Scheduler\3.0 before re-runing the corrected .REG file.
Wed Apr 08, 2009 4:10 pm View user's profile Send private message
Loril



Joined: 21 Feb 2007
Posts: 82

Post Reply with quote
I finally figured out what the issue is. Our scheduler is running on a 64bit machine and so the 32bit default registry key path won't work in this case. I found the correct key path from our installation: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SoftTree Technologies, Inc.\24x7 Scheduler\3.0.

After that was changed in the registry file, it worked. Thanks for guiding me to the solution!
Wed Apr 08, 2009 4:32 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6501

Post Reply with quote
Thanks for the status update. I'm glad you found the solution. I wasn't aware that you are running it on a 64-bit system and it would take a while to guess that. In case you are planning on using 32-bit system as a backup, you may want to modify the job and add FileReplaceEx commands to make the job script update contents of the .REG file before it is zipped with other files.
Wed Apr 08, 2009 10:41 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.