Porting to new hardware - best way? | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Porting to new hardware - best way?

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 12-04-2012
psychocandy psychocandy is offline
Registered User
 
Join Date: Apr 2011
Last Activity: 22 August 2013, 5:27 AM EDT
Posts: 37
Thanks: 4
Thanked 1 Time in 1 Post
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.
Sponsored Links
    #2  
Old 12-04-2012
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 28 August 2014, 5:04 PM EDT
Location: NM
Posts: 10,180
Thanks: 275
Thanked 785 Times in 734 Posts
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.
Sponsored Links
    #3  
Old 12-04-2012
Joseph_TKLee Joseph_TKLee is offline
Registered User
 
Join Date: Nov 2012
Last Activity: 24 September 2013, 6:55 AM EDT
Location: Brisbane, Australia
Posts: 40
Thanks: 3
Thanked 10 Times in 10 Posts
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
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlos
 
Join Date: Dec 2007
Last Activity: 30 August 2014, 5:15 PM EDT
Location: Paris
Posts: 4,411
Thanks: 16
Thanked 462 Times in 418 Posts
Quote:
Originally Posted by psychocandy View Post
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
Sponsored Links
    #5  
Old 12-05-2012
psychocandy psychocandy is offline
Registered User
 
Join Date: Apr 2011
Last Activity: 22 August 2013, 5:27 AM EDT
Posts: 37
Thanks: 4
Thanked 1 Time in 1 Post
Quote:
Originally Posted by jlliagre View Post
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.....
Sponsored Links
    #6  
Old 12-12-2012
Yeaboem Yeaboem is offline
Registered User
 
Join Date: Aug 2011
Last Activity: 15 July 2014, 6:03 PM EDT
Posts: 39
Thanks: 1
Thanked 6 Times in 5 Posts
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).
Sponsored Links
    #7  
Old 12-13-2012
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlos
 
Join Date: Dec 2007
Last Activity: 30 August 2014, 5:15 PM EDT
Location: Paris
Posts: 4,411
Thanks: 16
Thanked 462 Times in 418 Posts
Quote:
Originally Posted by Yeaboem View Post
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.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Hardware faulty, but which hardware? dehetoxic Solaris 9 12-13-2011 05:38 AM
Porting from HP-UX to AIX maverick786us AIX 0 07-14-2010 07:15 AM
porting areef4u UNIX for Advanced & Expert Users 10 08-03-2006 08:32 AM
Porting Scripts. Cameron Shell Programming and Scripting 1 12-11-2001 07:35 AM



All times are GMT -4. The time now is 06:15 PM.