what files need to copy when clone servers?


 
Thread Tools Search this Thread
Operating Systems Solaris what files need to copy when clone servers?
# 1  
Old 01-27-2008
what files need to copy when clone servers?

If I need to clone application server-A to server-B (same IP).
What files that I must copy to server-B?

server-A : Solaris8 and run application(bea-weblogic)

server-B : Only Solaris8 install

I think it should be.
- O/S patches
- /etc/system -- for kernel tunning.
- /etc/shadow
- /etc/password -- for user password.
- #for networking
-> /etc/defaultrouter, /etc/hostname.ether#,/etc/resolv.conf
/etc/hosts, /etc/rc2.d/S99staticroute
- all files in /app -- (that application installed)

Do you think anything else ??

Thanks,
Ratcha.
# 2  
Old 01-27-2008
If you use ufs & ufsretore for the procedure you should not need to explicitly specify any files. This would be one typical approache to cloning a system. However it appears that you are not cloning, but duplicating a system, in which case you probably want everything listsed at the bottom of the man page for sys_unconfig that you have not already included.
# 3  
Old 01-27-2008
i recomend using flasharchive option from solaris. the flash image can be installed during boot from cd or dvd media from solaris.
read the man page for "flarcreate".

hth,
DN2
# 4  
Old 02-04-2008
Very Thanks for reply
Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need help with script to copy code to multiple servers

Hi, I am new to scripting and i am trying to use below script to copy code to multiple servers and multiple locations on each server. the script is not working or doesnt give any error. Any help is appreciated. basically i want a script to get the code from a location (dir below) and read the... (2 Replies)
Discussion started by: Ron0612
2 Replies

2. UNIX for Dummies Questions & Answers

Copy files from one drive to another, keeping most recently modified files

Hi all, I am a bit of a beginner with shell scripting.. What I want to do is merge two drives, for example moving all data from X to Y. If a file in X doesn't exist in Y, it will be moved there. If a file in X also exists in Y, the most recently modified file will be moved to (or kept) in... (5 Replies)
Discussion started by: apocolapse
5 Replies

3. Shell Programming and Scripting

Script to overwrite & before that keep copy a file on many servers

I have ssh password less auth enable & script does the job well as well #/bin/bash for i in `cat ip` do scp /etc/resolv.conf root@$ip done But I need to take backup of the file i will overwrite .. is there any simple way ? Kindly respond (5 Replies)
Discussion started by: heman96
5 Replies

4. HP-UX

Decryption of files on HP-UX servers?

I am pulling a file from sfdc to HP-UX servers. But in HP-UX servers, the file data shows encrypted. Can anyone tell me how to decrypt them? The file data is like- ... (1 Reply)
Discussion started by: saga20
1 Replies

5. AIX

Mount a SAN LUN which contains clone copy - AIX 6.1

Hello Everyone, Can someone help me to mount a SAN hdisk which contains a clone data copy(san) of the remote server to the another machine. Both servers are running in AIX. Thanks in advance ! Regards, Gowtham.G (3 Replies)
Discussion started by: gowthamakanthan
3 Replies

6. Shell Programming and Scripting

shell script to take input from a text file and perform check on each servers and copy files

HI all, I want to script where all the server names will be in a text file like server1 server2 server3 . and the script should take servernames from a text file and perform copy of files if the files are not present on those servers.after which it should take next servername till the end of... (0 Replies)
Discussion started by: joseph.dmello
0 Replies

7. Solaris

How to safely copy full filesystems with large files (10Gb files)

Hello everyone. Need some help copying a filesystem. The situation is this: I have an oracle DB mounted on /u01 and need to copy it to /u02. /u01 is 500 Gb and /u02 is 300 Gb. The size used on /u01 is 187 Gb. This is running on solaris 9 and both filesystems are UFS. I have tried to do it using:... (14 Replies)
Discussion started by: dragonov7
14 Replies

8. Shell Programming and Scripting

Copy a file on remote servers

Hey Unix Gurus, I'm having trouble in copying a file on 5 different servers, first how can you do it locally (i.e without the need to ssh to the server you want to copy the file) and if you need to ssh how do u run a command within that server. Please see my code below(it doesn't work somehow).... (10 Replies)
Discussion started by: sexyTrojan
10 Replies

9. UNIX for Dummies Questions & Answers

copy files to different servers

Please Help! I have data containing wav, txt and different type of files on server A and i'm trying to write a script to copy these files in server B, C and D but each type of files goes to different directories on those server for eg. txt files goes to Text directory and wav goes to music... (1 Reply)
Discussion started by: sexyTrojan
1 Replies

10. UNIX for Advanced & Expert Users

Image copy (Clone)

Hi all, I need to perform a physical copy of a DIGITAL(HP) Server machine: is it possibe to do this in order to have an exact copy ( a clone to intend of)to another machine: including also the configuration files and the network configuration of the previous machine?. Someone said me I can use... (2 Replies)
Discussion started by: cicalons
2 Replies
Login or Register to Ask a Question