I have a customer running AIX v4.3 They have a printer using a particular IP address and want to change the IP address. Is it possible to change that IP address without removing the printer and re-adding it using SMIT?
The printers are identified by hostname, not IP address. As long as you can ping the printer by name you will have no problem. Be sure that you are using the same name in ping as in the queue definition: we have multiple domains (north america, europe, africa, etc) so some queues are reachable only by the full domain name.
Just change the ip address in /etc/hosts file. You might have to start/stop the queue. If a job was stuck trying to print to the old IP, sometimes I have to delete it to get the queue to start again.
Either way. My setup is turning complicated so I suggest whichever method you use, try to make it standard. For +100 servers, I prefer to use DNS. I don't have to know the IP of the print servers that way and the NT team can move servers around all day without bothering me.
As for deleting the queue, never happened to me, just lucky I guess... except for when I got the good old "dummy" entries in /etc/qconfig but wacky stuff happens in printing. In fact, my published method of redirecting print queues in a failure situation is to just add an entry to /etc/hosts. It started printing every time (maybe I'm just lucky) and I didn't even have to cycle the qdaemon.
Thank you for your help, all Ineeded to do was change the ip address in the /etc/hosts file. I will keepin mind the other recommnedation for our larger customers.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.