Sponsored Content
Operating Systems Solaris Key Points when Moving from Server A to Server B?? Post 302605714 by Corona688 on Thursday 8th of March 2012 10:15:23 AM
Old 03-08-2012
Making analogies to Windows isn't frowned upon, but they don't always work, either... That's only what you'd do to move a user's documents, not a an application, from one windows machine to another. For that sort of thing under UNIX, that's all kept under /home/. It may even be possible to replicate usernames and passwords by careful tweaking of the password and shadow file. (VERY careful. One mistake can lock you out.) Or just by doing it by hand, creating new users with the same names and UID numbers they had before, matching the files transferred over. (User IDs do NOT have to exist to create files with that ID. That's handy, you can create the files first then the users later...)

If someone asked you to copy an application that'd be radically different. Which files need to be copied really depend on what files the application's using. It may have executables under /bin, libraries under /usr/lib, live database inside /var/, configuration in /etc/. Which sounds a bit disorganized but there's a method behind the madness -- these different folders are often on different partitions to allow for easy management of growth.

It could also be one big folder under /opt/. Proprietary applications like to do that since it means they don't have to bother integrating into the system. It really depends on the application and how the administrators wanted it to work.

How was this application installed in the first place? There may be records.

Last edited by Corona688; 03-08-2012 at 11:20 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Moving from one web server to another

Hi All, Thanks for taking the time to read and respond to my post. I am a Unix neophyte. I can install scripts, move around some and perform basic functions - mostly related to websites and alway with a resource guide in front of me. I currently have 12 websites hosted on a VPS and I would... (2 Replies)
Discussion started by: lcurrie
2 Replies

2. AIX

moving to new server

I'm moving an application from an old RS6000 running 4.3.2 to a p5 running 5.3. Could someone point me a the direction on docs to perform such a function? Critical OS files, moving of printers and print queues especially. thanks (5 Replies)
Discussion started by: sullivjp
5 Replies

3. Shell Programming and Scripting

Moving files from one server to another server every 5 min

HI All, I am trying to automate my stuff to make 'to-do-easier'. I am new to shell scripting. I need help to you regarding the below problem. I have one directory in my server, frequently files will store in that directory. I want to move that files into another server on every 5... (5 Replies)
Discussion started by: ravvamohan
5 Replies

4. Shell Programming and Scripting

Moving a database from one server to another

I hope I'm posting this in the correct section. I'm trying to move a database from one server to another. This is the code I'm using... tar czf - vbdatabase.sql | ssh username@full.domain.com 'cat > /home/cpanelusername/vbdatabase.tar.gz ... but all I'm getting is a ">" and then nothing... (4 Replies)
Discussion started by: Chimpie
4 Replies

5. Solaris

Solaris 8 ssh public key authentication issue - Server refused our key

Hi, I've used the following way to set ssh public key authentication and it is working fine on Solaris 10, RedHat Linux and SuSE Linux servers without any problem. But I got error 'Server refused our key' on Solaris 8 system. Solaris 8 uses SSH2 too. Why? Please help. Thanks. ... (1 Reply)
Discussion started by: aixlover
1 Replies

6. Linux

Moving Whole OS Centos Server

I currently have a web server its on a small harddrive I didn't know my site would grow so fast but now I need a bigger hard drive. Instead of adding another harddrive (host charge monthly of how many hard drives connected to server) is there anyway to just move the whole os to a bigger hard drive... (2 Replies)
Discussion started by: awww
2 Replies

7. Programming

Problem with Perl script after moving from a Windows/Apache Server to a UNIX server.

I have a Perl script that worked fine before moving it to justhost.com. It was on a Windows/Apache server. Just host is using UNIX. Other Perl scripts on other sites that were also moved work fine so I know Perl is functioning. The script is called cwrmail.pl and is located in my cgi-bin. When I... (9 Replies)
Discussion started by: BigBobbyB
9 Replies

8. Linux

Generate public key to connect from one ftp server to other server

How to generate public key to connect from one ftp server to other server to use in scripting. (0 Replies)
Discussion started by: sridhardwh
0 Replies

9. UNIX for Advanced & Expert Users

Public key to connect from one ftp server to other server

How to generate public key to connect from one ftp server to other server to use in scripting. (1 Reply)
Discussion started by: sridhardwh
1 Replies

10. Red Hat

Moving boot SSD from a dead server to a new server

Hi all, We have a disk array that has the boot drive on an OCZ SSD on a PCIe card. Well, the motherboard died and we got a new motherboard. We moved the controllers, NICs, etc, to the exact same slots on the new motherboard, except now it won't boot. I guess it doesn't recognize the OS on the... (1 Reply)
Discussion started by: glowe57
1 Replies
hier(5) 							File Formats Manual							   hier(5)

NAME
hier - file system hierarchy DESCRIPTION
The HP-UX file system is a hierarchical tree organized for administrative convenience. Within the file-system tree structure, distinct areas are provided for files that are private to one machine, files that can be shared by machines, and home directories. There are two types of files that are shared: those that can be shared by multiple machines of a common architecture, and those that can be shared by all machines. This organization allows sharable files to be stored on one machine (the server), but accessed by many machines (clients). The following diagram illustrates the file system layout. Note that there are many directories that are not is this diagram, but are dis- cussed below. Diagram of Directory Layout |---- dev | |---- bin |---- etc | |---- bin | |---- ccs ------| |---- usr ------| |---- lib / ----| |---- lib |---- sbin | | |---- sbin |---- var | | |---- lbin |---- home | | |---- include |---- dict |---- opt | | | |---- share -----|---- lib |---- (export) | |---- man The following listing discusses a representative HP-UX directory hierarchy. Some HP-UX applications may add additional directories, which are not shown. / Root directory. /dev Special files (block and character device files); see mknod(1M). /etc Host-specific configuration and administration databases. /etc/opt Directory for application-specific configuration files. (Configuration information for optional packages.) /etc/rc.config.d Startup configuration files. /export Default root of exported file systems. Server only. /home Default root for user directories. /lost+found Storage directory for connecting detached files; for use by fsck(1M). /mnt Mounting point for local file systems. /net Mounting point for remote file systems. /opt Root of subtree for optional application packages. /sbin Essential system commands. Essential commands are defined as executables that are needed to boot the system and mount the file systems. A full complement of utilities is available only after is mounted. /sbin/init.d Startup and shutdown scripts. /sbin/rc0.d Link files to scripts in for entering or leaving run level 0. /sbin/rc1.d Link files to scripts in for entering or leaving run level 1. /sbin/rc2.d Link files to scripts in for entering or leaving run level 2. /sbin/rc3.d Link files to scripts in for entering or leaving run level 3. /stand Standalone binaries and kernel configuration files. /tmp System-generated temporary files; generally cleared during the boot operation. /usr Mount point for sharable user and system administration commands, libraries and documentation. /usr/bin Primary location for common utilities and user commands. /usr/ccs C compilation system. Tools and libraries used to generate C programs. /usr/ccs/bin Development binaries; includes cc, make, strings, etc. /usr/ccs/lib Development libraries. /usr/ccs/lbin Development backends. /usr/conf Kernel configuration files. /usr/contrib Directory for user-contributed (unsupported, internal) commands, files, etc. Files in this directory come from outside the local site or organization (for example, from users groups or HP service engineers). /usr/contrib/bin User-contributed commands. /usr/contrib/include User-contributed include files. /usr/contrib/lib User-contributed libraries. /usr/contrib/man User-contributed man pages. /usr/include Included header files, for C and other programs. Some subdirectories are listed below. /usr/include/machine Machine-specific C include files. /usr/include/nfs C include files for Network File System (NFS). /usr/include/sys Kernel related C-language header files. /usr/lbin Directory for backend executables to other commands. A backend executable is an executable that is generally not invoked directly by the user. /usr/lib Program libraries, object code and architecture-dependent databases. /usr/lib/nls Directory for Native Language Support. /usr/local Directory for site-local commands, files, etc. Files under this directory come from inside the local site or organization. See /usr/contrib for non-local unsupported commands and files. /usr/local/bin Site-local commands. /usr/local/lib Site-local libraries. /usr/local/man Site-local man pages. /usr/newconfig Default operating system configuration data files. This directory is a directory hierarchy mirroring New versions of customizable configuration files and databases are shipped here so as not to overwrite current versions. Files in this directory are copied to regular locations for newly installed systems. System administrators may wish to keep them for later reference. /usr/old Files and programs that are being phased out or are obsolete. /usr/sbin System administration commands. /usr/share Architecture-independent sharable files. /usr/share/dict Dictionaries for spell and ispell. /usr/share/lib Miscellaneous sharable libraries. /usr/share/man Online documentation. /var Root of subtree for "varying" files. These are files that are created at runtime and can grow to an arbitrary size. Some examples include log, temporary, transient, and spool files. /var/adm System administrative files, such as log files and accounting files. Some of the subdirectories are listed below. /var/adm/crash For saving kernel crash dumps. /var/adm/cron Directory for cron(1M) queuing. /var/adm/sw Default location for software distribution depot. /var/adm/syslog Log files generated by syslog. See syslog(3C) and syslogd(1M). /var/mail Incoming mail. /var/news Local-system news articles for news(1). /var/opt Root of subtree for varying files associated with optional software packages. /var/preserve Place where ex(1) and vi(1) save lost edit sessions until recovered. /var/run Files created when daemons are running. For example, the process ID (PID) file for syslogd, syslog.pid, is put here. /var/spool Miscellaneous directories for printer spooling, mail delivery, cron(1M), etc. /var/spool/cron cron(1M) and at(1) spooling files. /var/spool/lp Printer spool files. /var/spool/mqueue Outgoing mail and log files containing messages from the mail system. /var/spool/uucp UUCP spool directory. /var/tmp Application-generated temporary files. This directory generally is not cleared between system reboots. /var/uucp UUCP administration files. DEPENDENCIES
Some directories include commands or files not supported on all HP-UX implementations. SEE ALSO
find(1), grep(1), ls(1), whereis(1). hier(5)
All times are GMT -4. The time now is 06:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy