Perhaps you could enlighten us a bit on the WHY of this. As Jim said, it’s rather counterintuitive to put something in a production environment that you don’t want running in production. It’s kind of the point of the engine to have things running. Knowing the why might give folks the perspective to give targeted advice.
That being said, we do things very much like Jim and his shop. If we have a large group of changes to make we’ll instate a freeze, then we’ll make two copies of NetConfig(e.g. NetConfig.b4change and NetConfig.change). We’ll then make our modifications to the NetConfig.change file. That way, you can have your stuff “staged” in production. Then, when it’s time to deploy, it’s just a matter of renaming NetConfig.change to NetConfig, bounce whatever processes are necessary, and be on your merry way. Then, if things go belly up, and we need to revert, we can always take the NetConfig.b4change and put it back as NetConfig. What this means is that if you absolutely HAVE to make a change to the existing threads/processes, you have to do dual maintenance on NetConfig and NetConfig.change.
If it’s a brand new site, you can always create it, populate your NetConfig, make a copy, then copy in a blank NetConfig from siteProto. That way, the site is there, it’s just empty until you’re actually ready to turn things on.
If you’re absolutely adamant about having everything visible, but unusable, and don’t mind having to go back after the fact and do a bunch of cleanup, you could, in addition to setting the threads to not auto-start, configure them to come up on hold. This will prevent them from actually doing anything if they are inadvertently started. What this strategy, along with the auto-start thing, means is that once everything’s up and running, now you’ve created a big clean-up task for yourself where you need to go back and update every, single new thread to now auto-start and/or not come up on hold. Makes me tired just thinking about it. :->
Another point to be made. If you put a new outbound thread in an already existing process, assuming you bounce processes when you do so, and don’t have it auto-start, there are now going to be messages queueing up for that thread in recovery until you’re ready to go live. Is that what you want? Depending on your platform and the length of time that goes on, you could fill up your recovery database and impact threads/processes you actually want running.
One more point(I swear). The longer you have things “in production” that really aren’t, the more likely something’s going to come along and need to be changed. And now you have created more work for yourself.
And yes, removing a site from server.ini will make it invisible to the IDE, as it’s the environs tag that it uses to populate the site list.
HTH,
TIM
Tim Pancost – Trinity Health
-
This reply was modified 1 year, 7 months ago by Tim Pancost.
-
This reply was modified 1 year, 7 months ago by Tim Pancost.
Tim Pancost
Trinity Health