![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
In conjunction with the UPS monitoring software that comes with Windows 2000, I have set up a script that is executed when the power has been off for three minutes. The script consists of "net stop D3vme", and then blat.exe to send me email notification (all comm gear is on the UPS). After the script is run, the UPS software then shuts down the computer. I understand that the D3Tray program can also be used to automate this procedure, but it appears that the console must be logged on in order for that to work, and our console is typically not left logged on. I don't know if my setup qualifies as a "best practice", but I certainly do not want it to be a "worst practice". Is there any else or anything different that I should be doing? thanks |
#3
| |||
| |||
|
|
I would suggest that it is NEVER a good idea to simply stop the D3 service. That will NOT force memory to flush or processes to log off properly. If at all possible, it will always be better if you get a port logged on to do a proper "shutdown". Even something as simple as: for i = 1 to system(18) execute "logoff ":i:" (z" next i data "Y" chain "shutdown" This will at least force the ports to all logoff, giving up their workspace to overflow. Some steps actually writing to filespace will not allow themselves to be broken, so this will keep you from creating GFEs automatically. Using the STOP to stop the service simply kills D3 and if it's in the middle of pulling up a group or updating the overflow table, you're just out of luck. "Brian Bond" <brian (AT) XYZXYZXYZXYZbonanzapress (DOT) com> wrote in message news:11rm2hq4cndca31 (AT) corp (DOT) supernews.com... In conjunction with the UPS monitoring software that comes with Windows 2000, I have set up a script that is executed when the power has been off for three minutes. The script consists of "net stop D3vme", and then blat.exe to send me email notification (all comm gear is on the UPS). After the script is run, the UPS software then shuts down the computer. I understand that the D3Tray program can also be used to automate this procedure, but it appears that the console must be logged on in order for that to work, and our console is typically not left logged on. I don't know if my setup qualifies as a "best practice", but I certainly do not want it to be a "worst practice". Is there any else or anything different that I should be doing? thanks |
#4
| |||
| |||
|
|
In conjunction with the UPS monitoring software that comes with Windows 2000, I have set up a script that is executed when the power has been off for three minutes. The script consists of "net stop D3vme", and then blat.exe to send me email notification (all comm gear is on the UPS). After the script is run, the UPS software then shuts down the computer. I understand that the D3Tray program can also be used to automate this procedure, but it appears that the console must be logged on in order for that to work, and our console is typically not left logged on. I don't know if my setup qualifies as a "best practice", but I certainly do not want it to be a "worst practice". Is there any else or anything different that I should be doing? thanks |
#5
| |||
| |||
|
|
Hi I have seen mention of this tray program several times recently and must admit I am not sure what it is supposed to be. However for several years D3 has automatically shut down cleanly when the server is shut down whether anyone is logged on or not. So if someone goes to the server console on say XP professional without logging on and takes the shutdown option D3 pops up a little window to say it is closing down sweetly. The only problem that I have had is where some impatient twerp has taken the option to stop immediately. Obviously this should only be taken when one is trashing the disk with a complete reinstall or replacement. I am pretty sure that a UPS program would initiate the same response as a normal NT shutdown. Peter McMurray "Mark Brown" <mbrown (AT) drexelmgt (DOT) com> wrote in message news:whGuf.9508$ka.187 (AT) tornado (DOT) socal.rr.com... I would suggest that it is NEVER a good idea to simply stop the D3 service. That will NOT force memory to flush or processes to log off properly. If at all possible, it will always be better if you get a port logged on to do a proper "shutdown". Even something as simple as: for i = 1 to system(18) execute "logoff ":i:" (z" next i data "Y" chain "shutdown" This will at least force the ports to all logoff, giving up their workspace to overflow. Some steps actually writing to filespace will not allow themselves to be broken, so this will keep you from creating GFEs automatically. Using the STOP to stop the service simply kills D3 and if it's in the middle of pulling up a group or updating the overflow table, you're just out of luck. "Brian Bond" <brian (AT) XYZXYZXYZXYZbonanzapress (DOT) com> wrote in message news:11rm2hq4cndca31 (AT) corp (DOT) supernews.com... In conjunction with the UPS monitoring software that comes with Windows 2000, I have set up a script that is executed when the power has been off for three minutes. The script consists of "net stop D3vme", and then blat.exe to send me email notification (all comm gear is on the UPS). After the script is run, the UPS software then shuts down the computer. I understand that the D3Tray program can also be used to automate this procedure, but it appears that the console must be logged on in order for that to work, and our console is typically not left logged on. I don't know if my setup qualifies as a "best practice", but I certainly do not want it to be a "worst practice". Is there any else or anything different that I should be doing? thanks |
#6
| |||
| |||
|
|
I would suggest that it is NEVER a good idea to simply stop the D3 service. That will NOT force memory to flush or processes to log off properly. If at all possible, it will always be better if you get a port logged on to do a proper "shutdown". Even something as simple as: for i = 1 to system(18) execute "logoff ":i:" (z" next i data "Y" chain "shutdown" This will at least force the ports to all logoff, giving up their workspace to overflow. Some steps actually writing to filespace will not allow themselves to be broken, so this will keep you from creating GFEs automatically. Using the STOP to stop the service simply kills D3 and if it's in the middle of pulling up a group or updating the overflow table, you're just out of luck. |
#7
| |||
| |||
|
|
With the example below, should there be a check in place so that the line running the process will not log itself off in the middle of things? I originally had something similar in place using D3TCL, but in testing realized that the job was killing itself in the middle of shutting things down (d-uh!). "Mark Brown" <mbrown (AT) drexelmgt (DOT) com> wrote in message news:whGuf.9508$ka.187 (AT) tornado (DOT) socal.rr.com... I would suggest that it is NEVER a good idea to simply stop the D3 service. That will NOT force memory to flush or processes to log off properly. If at all possible, it will always be better if you get a port logged on to do a proper "shutdown". Even something as simple as: for i = 1 to system(18) execute "logoff ":i:" (z" next i data "Y" chain "shutdown" This will at least force the ports to all logoff, giving up their workspace to overflow. Some steps actually writing to filespace will not allow themselves to be broken, so this will keep you from creating GFEs automatically. Using the STOP to stop the service simply kills D3 and if it's in the middle of pulling up a group or updating the overflow table, you're just out of luck. |
#8
| |||
| |||
|
#9
| |||
| |||
|
|
For D3 ... System(18) = number of ports on system --- OK System(12) = system time in milliseconds --- WRONG! Should not system(12) be system(22) ???? System(22) = port number of current process. Dave Weaver, Weaver Consulting |
#10
| |||
| |||
|
|
Hi I have seen mention of this tray program several times recently and must admit I am not sure what it is supposed to be. |
|
However for several years D3 has automatically shut down cleanly when the server is shut down whether anyone is logged on or not. So if someone goes to the server console on say XP professional without logging on and takes the shutdown option D3 pops up a little window to say it is closing down sweetly. |
![]() |
| Thread Tools | |
| Display Modes | |
| |