According to the documentation, this defaults to 100, retries every 15 seconds, and only applies to an already started and connected remedy server to a db that goes away in the middle of operation...I did not see that this particular option applied to my situation :)
-----Original Message----- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Grooms, Frederick W Sent: Wednesday, June 13, 2012 8:07 AM To: arslist@ARSLIST.ORG Subject: Re: Remedy Startup You can also set a value in your ar.cfg file: Db-Connection-Retries = Number of times the AR System server tries to reestablish a lost connection to the database. Fred -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Longwing, LJ CTR MDA/IC Sent: Wednesday, June 13, 2012 8:55 AM To: arslist@ARSLIST.ORG Subject: Re: Remedy Startup Mark, Thank you again...you may have just added the KB into my 'toolset' again. I have long ago written off this resource as not useful to me on a daily basis....I just went and searched on the search string I would have used to try and find this article, and the one you provided was the second item on the list. I may just need to look in there going forward :). I agree however that this should be in the official documentation because it's a config parameter that is available. -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Walters, Mark Sent: Wednesday, June 13, 2012 7:45 AM To: arslist@ARSLIST.ORG Subject: Re: Remedy Startup There are a number of KB entries that mention this - https://kb.bmc.com/infocenter/index?page=content&id=KA333064 - for example, but I agree it would be helpful if it was in the docs somewhere too. I've raised a documentation defect/RFE to request that this be added the AR manual somewhere. Regarding other gems - there are a couple of other variables, one that can control the polling interval used by armonitor when querying dependent services for example, but I can't ever recall ever seeing them used. Mark -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Longwing, LJ CTR MDA/IC Sent: 13 June 2012 14:28 To: arslist@ARSLIST.ORG Subject: Re: Remedy Startup Ok Mark, first off, Thank you, that worked the miracle that I needed. Secondly, why isn't that documented anywhere? I have spent roughly 10-15 hours trying to 'fix' this particular problem reading every document I can find, scouring the web, utilizing countless resources to try and do exactly what you just gave me, all to no avail because this option isn't documented. If it had been it may have been an hour or two...but I certainly would have found this documented SOMEWHERE and applied the fix. Thirdly, what other 'gems' does BMC have hidden way in un-documented features that the average or advanced user of the system would find EXCEEDINGLY useful if they only knew it was an option Thank you again...you just pulled yet another thing off of my plate, and for that I'm truly appreciative...I can now move onto bigger and more important things :) -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Walters, Mark Sent: Wednesday, June 13, 2012 7:12 AM To: arslist@ARSLIST.ORG Subject: Re: Remedy Startup There's an environment variable that you can set to a numerical value - V_WAIT_BEFORE_STARTUP - that will be read by armonitor and it will wait that many seconds before it starts the server. For example, V_WAIT_BEFORE_STARTUP=300 would be a 5 minute delay. One thing to note though is that this delay will happen on every restart of the Remedy service, which can be a nuisance if you want to just bounce the service once it has been running for a while. The variable needs to be set at the system level so that the service can read it and I think a reboot is required when it is set/changed. Mark -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Longwing, LJ CTR MDA/IC Sent: 13 June 2012 13:58 To: arslist@ARSLIST.ORG Subject: Re: Remedy Startup Andrew, You are correct....SQL Server is reporting itself as online, when it's not fully available, and this is screwing up Remedy because it's trying to connect to a DB that's not yet available. I'm looking for a way to delay that startup -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Andrew Fremont Sent: Tuesday, June 12, 2012 3:13 PM To: arslist@ARSLIST.ORG Subject: Re: Remedy Startup ** It could be that the SQL service is not up yet by the time AR start. It happened on one of our dev machines after rebooting where both AR and SQL are installed. Andrew. -----Original Message----- On Tue, Jun 12, 2012 at 2:03 PM, Longwing, LJ CTR MDA/IC wrote: Ok...my box is running Remedy and SQL Server both and on startup the Remedy service fails to start properly. The arerror.log shows an error about ARAdmin login failing twice, then the process dies. An immediate attempt to start the service functions fine. Checking the SQL Logs I see something along the lines of 12:00:00 Starting ARSystem 12:00:01 Attempted login from ARAdmin failed 12:00:02 Scanning ARSystem 12:00:06 Recovery of ARSystem complete That's not a copy of the log (because I can't get that to the internet)...but that's close to what it says....this is only happening on one of my boxes, and I suspect that it's a memory related issue because when I check a functional box, I see everything except the login failed line, but it all happens within a second of each other...and my remedy doesn't have any problems starting. I have the Remedy service set to depend on the SQL service, but according to the internet (and my personal experience) the SQL Service reporting as 'up' does not mean that DB's are available. MS recommends that if you need to 'delay' the startup of a particular service that you should set it dependent on 'Spooler'...I've done this but it doesn't help...I need another 5-10 seconds delay with the attempted starting of Remedy service....any recommendations? _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are" _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"