Lock Vobs jobs

Came in today and noticed that Notes was complaining that a network operation had failed. Also saw a couple of messages that Clearcase was having problems so I started investigating. Apparently the albd_server was not running on rtnlprod01. Scanning the logs I found:

albd_log: Error: Unable to connect to SMTP server "172.16.101.56[6400]": Bad file descriptor.

Well 172.16.101.56 happens to be notesadmin01:

C09-272-A:nslookup 172.16.101.56
Server:  dhcp01.ameriquest.net
Address:  172.16.101.100

Name:    notesadmin01.ameriquest.net
Address:  172.16.101.56

Why are we trying to email through notesadmin01 instead of notesmail01?

Meantime I unlocked the vobs...

Looking at the SMTP setting in Control Panel: Clearcase: Options I find the SMTP Host set to appsmtp.ameriquest.net which is an alias to notestadmin01.ameriquest.net:

C09-272-A:nslookup appsmtp
Server:  dhcp01.ameriquest.net
Address:  172.16.101.100

Name:    notesadmin01.ameriquest.net
Address:  172.16.101.56
Aliases:  appsmtp.ameriquest.net

I guess the questions are:

  • What is the official SMTP host that we can rely on?
  • Why does the [un]lock vobs job have problems and eventually kill the albd_server process simply because it cannot contact the SMTP host?

Further investigation yields the following: The lock and unlock vobs scripts apparently appear in .../Rational/Clearcase/var/scheduler/tasks. There are 4 files involved:

  • ccase_lock_vobs.bat: Simple bat file that fires off Perl on...
  • lock_vobs.pl: This locks the vobs and sends email
  • ccase_unlock_vobs.bat: Simple bat file that fires off Perl on...
  • unlock_vobs.pl: This unlocks the vob and sends email

Additionally these Perl scripts use C:/Winnt/System32/blat.exe to send mail.

Finally the task_registry file was modified to add these custom jobs.

I believe that this was done by perhaps Paul and/or Brian and it is fine work and does the job. However, seeing as we are about to reburn this system to Windows 2003 Server such work would be lost! And who would remember where this blat came from and that it needed to be reinstalled?

Suggestions:

I think we should use the Rational supplied tool, notify, instead of blat. This way we would not need to remember to find and reinstall this blat thing. I think Brian had problems getting notify to work and instead fell back on something he knew, blat, to get this working. Additionally IMHO blat should not be in the Windows directory! If we must use blat then perhaps we should install it into CM_TOOLS/bin.

Additionally I suggest that we relocate the .bat files and Perl scripts to CM_TOOLS/bin also and task_registry file should be pointed to CM_TOOLS/bin.

Finally I think there should be a script set up to reproduce/reinstall this environment.

IOW our stuff should also be version controlled and scripts written to automate it's installation and workings.