Visit Our UNIX and Linux User Community

Solaris printing system migration

Thread Tools Search this Thread
Operating Systems Solaris Solaris printing system migration
# 1  
Old 10-29-2010
Solaris printing system migration

Hello folks,
I'm currently working on migration of printing system from one server to another (namely from Sol 9 to Sol 10).
I would like ask if is possible to manage migration via simple copying /etc/printers.conf file and folder /etc/lp to the new server??? I'm not sure if printers configuration is located in some another place in system.

Many thanks

# 2  
Old 10-30-2010
Half an answer: I recently moved a printers.conf file from 9 -> 10/09. It worked.
Do not know about /etc/lp. You do know there are files in there that are symlinks, right?

I just looked thru a 9 /etc/lp tree & a 10 tree. It looks like you can copy them. There are some fd files that require files in places like /usr/sfw. Which can be specified during installation. So beware. IF you played with your base install on either box, you could be in for surpises.

Last edited by jim mcnamara; 10-30-2010 at 03:00 PM.. Reason: prowled and found more information
# 3  
Old 11-01-2010
Hi Jim,
thanks for your effort. I have looked at /etc/lp directory and there are some soft links to /usr/lib/lp/model/ and /var/lp/logs directories (these looks to be existing in each Solaris installation).
I have found that in folder /etc/lp/priters are subfolders named based on particular printer names. These folders includes printer config file and probably user authorisation.

root@xxx # ls -la /etc/lp/printers/prpaxe3bcs01
total 16
drwxrwxr-x   2 lp       lp           512 Mar 23  2010 .
drwxrwxr-x 231 lp       lp          5632 Sep 29 11:28 ..
-rw-rw-r--   1 lp       lp           177 Mar 23  2010 configuration
-rw-rw-r--   1 lp       lp             0 Mar 23  2010 users.deny

root@xxx # ls -la /etc/lp/
total 58
drwxrwxr-x  10 lp       lp           512 Oct 31  2007 .
drwxr-xr-x  65 root     sys         5120 Oct 25 10:14 ..
-rw-rw-r--   1 lp       lp           349 Jan 19  2005 Systems
drwxr-xr-x   2 root     lp           512 Jan 19  2005 alerts
drwxrwxr-x   2 lp       lp           512 Jan 19  2005 classes
drwxr-xr-x   2 root     lp           512 Feb  2  2007 fd
-rw-rw-r--   1 lp       lp           268 Feb  2  2007 filter.table
drwxrwxr-x   2 lp       lp           512 Jan 19  2005 forms
drwxrwxr-x   3 lp       lp          6656 Oct 25 10:05 interfaces
lrwxrwxrwx   1 root     root          17 Jan 19  2005 logs -> ../../var/lp/logs
lrwxrwxrwx   1 root     root          18 Dec  8  2006 model -> /usr/lib/lp/model/
drwxrwxr-x   2 root     other        512 Oct 31  2007 ppd
drwxrwxr-x 259 lp       lp          6144 Oct 25 10:05 printers
drwxrwxr-x   2 lp       lp           512 Jan 19  2005 pwheels

So probably copy /etc/lp can be sufficient for successful migration.
Currently I'm not sure about printer queues, they are created dynamically during starting of print daemon, or must be created manually (in default by manual adding printer into system)???
Any idea??

Many thanks


Previous Thread | Next Thread
Test Your Knowledge in Computers #36
Difficulty: Easy
Moving processes from the main memory of a memory-constrained Linux computer to disk is called 'swapping'.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

Migration from AIX to Solaris

We are going to work on a project which aims at migrating set of applications from AIX to Solaris. The major portion of the source code involves C, C++, Shell/PERL scripts and Oracle database. We are grateful hear about any commercial tools available for porting AIX to Solaris. Another... (2 Replies)
Discussion started by: Namitap
2 Replies

2. Solaris

Migration of Solaris 10 on physical host to Solaris Zones

Hi All Kindly let me know how can I move Solaris 10 OS running update 10 on physical machine to another machine solaris zone running Solaris 10 update 11 (2 Replies)
Discussion started by: amity
2 Replies

3. Shell Programming and Scripting

UNIX file system to Linux file system migration

We would be migrating UNIX file system to Linux file system. We do have many directory and sub directories with files. after migrating unix to linux file system , i want to make sure all the files has been copied ? What would be the best approach to validate directory ,sub-directory and file... (1 Reply)
Discussion started by: balajikalai
1 Replies

4. Linux

Migration from solaris to linux

Hi, Currently I can able to access php script from solaris. I want to access from Linux I have done the following things: 1) I have copied all the scripts from solaris to linux. 2) I have installed php,mysql,apache. I tried with http://Hostname/username/test.php . This is not working .... (6 Replies)
Discussion started by: Mani_apr08
6 Replies

5. Solaris

Migration from AIX to Solaris

Hi All, We are planing to do a migration of our server from AIX 5.3 to Solaris (Linux). But we are not aware about the gap between the both and also impact of that gap. We want to migrate following things, - Common directories setup (like control-M, emer,sysout, and others) - Inbound &... (1 Reply)
Discussion started by: vinod369
1 Replies

6. Solaris

Solaris system and database migration help

HI, let me explain you the current situation. We have three server with OS Solaris and oracle products. Following is the somewhat detail, 1st Server= oracle DB 2nd Server= Oracle Warehouse builder 3rd Server= Oracle Business Intelligence Enterprise Manager Question: these three... (0 Replies)
Discussion started by: malikshahid85
0 Replies

7. Solaris

Migration from solaris 8 to 10

Hello, We have upgraded our system from SunOS 5.8 to Solaris 10. I would like to know if the applications (written in c, c++, pro*c, java,..) running on the 5.8 can run on the Solaris 10 without code modification or the need to be recompiled ? thanks you for your help. (4 Replies)
Discussion started by: Jidma
4 Replies

8. HP-UX

Migration from HP-UX to Solaris/Linux

Hi eveyone Ours is an application hosted on HP-UX 11 and we are trying to migrate the server to different flavour of UNIX. We are actually looking at the option of migrating it to Sun Solaris or Linux. We are trying to evaulate the pros and cons of migrating our application to Solaris/Linux.... (6 Replies)
Discussion started by: turaga.krishna
6 Replies

9. UNIX for Advanced & Expert Users

Solaris migration

Hi , There is going to be a server migration from Solaris 8.0 to Solaris10.0. Could anyone give me some tips and documents regarding the steps to be remembered,tips to be followed etc. like syntax differences any new changes to the existing commands and tools we use whatever the... (1 Reply)
Discussion started by: mohanpadamata
1 Replies

10. Solaris

Migration Solaris 5.8 to 10

Hi, it is necessary to make the migration of Solaris 5.8 for Solaris 10, would like to know which the best form to execute this task, if to be able to say me where I can arrange some manual that helps me to make this task. Thanks :o (2 Replies)
Discussion started by: bruno_a_correia
2 Replies

Featured Tech Videos