Solved

Changing system identies in Solaris 10

Posted on 2008-10-17
4
344 Views
Last Modified: 2013-12-27
I have a new system (A) that I need to configure like old system (B).  Both are running Solaris 10.  I plan to bring down system B into single user, then change the IP and System Name in /etc/hosts, /etc/hostname.* and the /etc/nodename on the A system, with the information from the B system.  Then reboot.  Am I forgetting anything?
0
Comment
Question by:drv35
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 11

Expert Comment

by:jgiordano
ID: 22746777
One thing to remember is the earlier versions on solaris 10 used /etc/inet/ipnodes in addition to the hosts file. (if you didn't edit ip nodes the system would use the original ip).
 I believe update 3 and above use a pointer, so you only have to edit /etc/hosts.

Also - You will need to edit
/etc/defaultrouter
/etc/netmask

0
 
LVL 11

Accepted Solution

by:
jgiordano earned 125 total points
ID: 22746798
/etc/resolv.conf also for dns
nsswitch.conf might need to be updated also.
0
 
LVL 5

Assisted Solution

by:awa2008
awa2008 earned 125 total points
ID: 22747050
hello,

there is a special command to do that in solaris :

sys-unconfig

you can found th man pages a t this adress :http://docs.sun.com/app/docs/doc/816-5166/sys-unconfig-1m?a=view


Regards
0
 

Author Closing Comment

by:drv35
ID: 31507360
Thanks for the help.  Greatly appreciated!!
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question