Porting to new hardware - best way?


 
Thread Tools Search this Thread
Operating Systems Solaris Porting to new hardware - best way?
# 1  
Old 12-04-2012
Porting to new hardware - best way?

Same version of Solaris etc. Moving to new hardware.

The application that runs on this server is easy enough to re-install but Im concerned about things like:-

1. Users/passwords/home directories
2. Cron jobs
3. Static routes

Is there ANY way to either export this sort of thing so that I can re-do on new server or is it going to be a manual process only?

I did think about maybe creating a flash archive of the entire system and doing a flash install from DVD for Solaris on the new machine? Not that straightforward though.
# 2  
Old 12-04-2012
There isn't a best way. If you have zones, you can export and then import the zone into a new server. Most of the entanglements with this are IP addresses, which are handled up front.

Otherwise, tar up certain files in /etc and /var and restore them on the new box.
If you are using LDAP this can get interesting. "certain" varies with how you have your stuff set up, like time servers, nisplus, snmp, etc.
# 3  
Old 12-04-2012
I used to migrate to a new haredware.
You need to do it manually.
From top of my head, you need the following checklist.
1. /etc is important which has most of configuration files such as hosts,network info, dns,mail,applications startup scripts so you need to back up and copy each files to new hardware.
2. crontab files : /var/spool/cron
3. home directories : /export/home
4. root profile
5. kernal values
6. Package list

Cheers,
# 4  
Old 12-05-2012
Quote:
Originally Posted by psychocandy
Same version of Solaris etc.
Yes, but which one ? What about Solaris update, packages, patches ?
Quote:
Moving to new hardware.
From which one to which one ?
Quote:
Is there ANY way to either export this sort of thing so that I can re-do on new server or is it going to be a manual process only?

I did think about maybe creating a flash archive of the entire system and doing a flash install from DVD for Solaris on the new machine? Not that straightforward though.
You are close. Assuming you have no non-global zones, the easiest way would be to use Solaris P2V (physical to virtual) functionality.

The steps are
- create a flash archive
- move it to the new system
- create a zone
- install the zone from the flar updating it

Solaris 10 9/10: Migrating a Physical Solaris System Into a Zone (Tasks) - System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones

https://blogs.oracle.com/vreality/en...es_physical_to
# 5  
Old 12-05-2012
Quote:
Originally Posted by jlliagre
Yes, but which one ? What about Solaris update, packages, patches ?
From which one to which one ?
You are close. Assuming you have no non-global zones, the easiest way would be to use Solaris P2V (physical to virtual) functionality.

The steps are
- create a flash archive
- move it to the new system
- create a zone
- install the zone from the flar updating it

Solaris 10 9/10: Migrating a Physical Solaris System Into a Zone (Tasks) - System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones

https://blogs.oracle.com/vreality/en...es_physical_to
Solaris 10 05/09 u7

Moving from a V440 to a T2000.

Yes. Thinking about the zone idea.....
# 6  
Old 12-12-2012
I think your initial impulse to create a flash archive is going to be easiest for you. Just create the flar on a NFS share that the new hardware can also get read access to, boot the new machine from DVD, and navigate the installer questions to perform the flash install from NFS. (note: NFS server must support NFSv4).
# 7  
Old 12-13-2012
Quote:
Originally Posted by Yeaboem
Just create the flar on a NFS share that the new hardware can also get read access to, boot the new machine from DVD, and navigate the installer questions to perform the flash install from NFS.
That might be slightly easier but less interesting than the P2V approach I suggested. In the latter case, the T2000 is able to consolidate other servers and the fact they are relocated in zones allow them to be moved easily to other servers should it is needed again in the future.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Hardware faulty, but which hardware?

Hi folk, I have this hardware faunty message, but dont know which hardware is this ? can you guide me ? --------------- ------------------------------------ -------------- --------- TIME EVENT-ID MSG-ID SEVERITY ---------------... (9 Replies)
Discussion started by: dehetoxic
9 Replies

2. AIX

Porting from HP-UX to AIX

I am orignally a VC++ programmer, this is the my post in UNIX form. I have an existing source code, that was developed in old HP-UX system, the objective is to make it work on new AIX system. It does'nt appear that AIX has the necessary libraries or even run the application if its... (0 Replies)
Discussion started by: maverick786us
0 Replies

3. HP-UX

Makfile porting

I am trying to port to HP-UX 11i v3 system an application in C++ language written for a Tru64 Unix V5. I am trying to execute on HP-UX 11i v3 a Makefile written for Tru64 Unix V5 with this code: $(TARGET_MORE): $(DEPEND_FILE) $(SOURCE_MORE.cc) $(LIBS) @for i in $(TARGET_MORE); do \ ... (1 Reply)
Discussion started by: angeloberardi
1 Replies

4. Linux

when porting from HP-UX to Linux

helo, i m porting HP-UX socket application to Linux SSL-socket application. I have use htonl() in HP-UX. so when i use it in Linux, data transf is not done and application become soem time crashed. now when i remove htonl() in linux, then i got data but it will not proper order or some data may... (1 Reply)
Discussion started by: amitpansuria
1 Replies

5. UNIX for Advanced & Expert Users

porting

I want to know what are the design considerations to be taken into account. when porting a socket project from Unix platform to another ...... (10 Replies)
Discussion started by: areef4u
10 Replies

6. Programming

Porting tools

I m sorry if this is the wrong place to post this. I m going to do a project on porting tools in unix platform. Can any one give me further suggestions and resources for this topic "Porting tools". Thanks in advance (5 Replies)
Discussion started by: veeru554
5 Replies

7. UNIX for Dummies Questions & Answers

HP-UX to linux porting

Hi all, i wanted to port some HP-UX code to linux. can anybody point to some documents or resources that would help me in doing the porting.. thanks in advance Arun Prakash (0 Replies)
Discussion started by: arunprakash
0 Replies

8. Programming

Porting to solaris

I have ported a c program to solaris. When I run , it gives me segmentation fault error at line :- memcpy ((char *)a_string ,(char *)0, MAX_READ ) ; originally this was in reliant unix as :- memcpy ( a_string , 0 , MAX_READ ) ; Can somebody help me about this ? (1 Reply)
Discussion started by: suds19
1 Replies

9. Shell Programming and Scripting

Porting Scripts.

Hi all, Figured this would be a good a place (well more apropriate) to ask this ... What considerations are necesary to port a script from one system to another? The below link is a script that I'm currently working on at work. The work system is a SCO box and I'm slowly becoming familar... (1 Reply)
Discussion started by: Cameron
1 Replies
Login or Register to Ask a Question