| Author |
Quick Question about Autoexec.ncf
|
|
| fizz85 2001-06-30, 12:43 am |
| Now that I got your attention.
O/S Novell 5.1
OK, at work they won't listen to my suggestion and by a good UPS so here is the problem.
Everytime the power and the server goes out I have to manually load the NLM PSERVER and the select the context where the object is located on the NDS tree.
for instance:
PMO.PRINTERS
I thought about adding PSERVER to the Autoexec.ncf to make it load automatically to take care of that problem.
Could I make a batch file or something to automatically input the correct context.
Any help is appreciated
I know this is a simple Q to answer I just cannot play around with the actual server and I do not have a test server set up yet so.... | |
| chunder 2001-06-30, 2:09 am |
| all you need is this in your autoexec.ncf:
load pserver .ps-server.ou.o
where ps-server is the name of your print server object and ou is the container in which it resides and o is your org.
to test it, i created a ps, p and q (via the quick setup on the tools menu in NWAdmin) and then connected to my server via RConJ and entered the command. use the leading period to tell NDS that you will tell it exactly where the printer is (meaning you have to provide the fully-distinguished name). you may be able to get away with just typing "load pserver ps-server" if you tree isn't very big.
you shouldn't need any other batch files unless you have several p-servers to load and don't your autoexec cluttered. if that was the case, you'd just create the file with the command in it and save it as "pserv.ncf" or something and then call that from within autoexec. and so you don't have to put in the full path to that batch file (i.e. SYS:FOLDER\FOLDER\pserv.ncf) put the batch in SYS:SYSTEM. (i tested that too.)
ok?
oh, since it's NW5.x, you don't NEED to type "LOAD" as part of the command. | |
| ccieToBe 2001-06-30, 11:31 am |
| Chunders instructions sound good.
You really need to get a UPS. The last thing you need is to lose some critical data when the power goes out. | |
| dheinsdorf 2001-06-30, 7:11 pm |
| quote: Originally posted by ccieToBe
Chunders instructions sound good.
You really need to get a UPS. The last thing you need is to lose some critical data when the power goes out.
Heres a good one:
We use TrippLite UPSs mostly, like 30 Tripps and maybe 4 APC's and 6 big Leiberts. The Tripp Poweralert software is up rev 10.2, soon to go to rev 11.0 for NetWare.
We have bad power in our area. But the Poweralert software causes more abends than any other problems we have, period. And the Tripps like to just drop dead also.
Just kickin in some data.. | |
| fizz85 2001-06-30, 9:14 pm |
| Thanks for all the help I will try it ASAP.
It funny about the UPS all the money the US Gov spends on useless stuff and they won't buy what they need to help square away the system.
They figure they have me 24/7 until I get out of the army anyway (to come in and manually load it). They would rather call me in during my off time then pay the full time civilian overtime to do that or buy the UPS.
The civilian sys admin gets pissed when I recommend upgrades or better ways to do things anyway. He revoked all my rights except for browse. I think it is preatty funny. I don't get as much time as I would like to mess around on the system. I have my other two job + full time college to occupy my time anyway.
But that is the curse of "The Army of One"
Lol
Thanks alot
I am getting a little rusty with this stuff man that sucks.
ahhhhh only 201 days left till freedom, how sweet it is. |
|
|
|