[SunHELP] changing hostname
Lund, Dennis
sunhelp at sunhelp.org
Tue May 15 13:34:44 CDT 2001
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C0DD6D.B6471760
Content-Type: text/plain; charset="iso-8859-1"
There are 5 places you need to modify to correctly change
a system nodename under Solaris.
/etc/net/ticlts/hosts
/etc/net/ticots/hosts
/etc/nodename
/etc/hosts
/etc/hostname.xxN
The "uname" or "hostname" command can be used to take care
of some of these changes, but not all.
If you don't want to manually modify all of these files, I
suggest running sys-unconfig.
Changing the hostname becomes more difficult as documented
below if you are running Veritas. If you are running Veritas,
you will need to export your volume groups prior to changing
the hostname and then import them back in after the hostname
changes. I believe the Veritas documentation explains this.
Dennis L. Lund
-----Original Message-----
From: anna menshch [mailto:anna.menshch at micromuse.com]
Sent: Tuesday, May 15, 2001 4:33 PM
To: sunhelp at sunhelp.org
Subject: [SunHELP] changing hostname
Hello,
I need to change the hostname on one of my servers. Would changing it the
/ets/hosts file be enoght or is there something else that I need to do?
Thanks a lot
Anna
_______________________________________________
SunHELP maillist - SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp
<html>
<body>
<font size="2" face="Arial"><span style="mso-fareast-font-family: Times New Roman; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">
- - - - - - - Appended by Scientific-Atlanta, Inc. - - - - - - -
<span style="font-size:10.0pt;font-family:Arial;
mso-fareast-font-family:"Arial";mso-ansi-language:EN-US;mso-fareast-language:
EN-US;mso-bidi-language:AR-SA"></span><font face="Arial" size="2"><span style="mso-fareast-font-family: Arial; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">This e-mail and any attachments may contain information which is confidential, proprietary, privileged or otherwise protected by law. The information is solely intended for the named addressee (or a person responsible for delivering it to the addressee). If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it from your computer.</span></font></p>
</body>
</html>
------_=_NextPart_001_01C0DD6D.B6471760
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Diso-8859-=
1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [SunHELP] changing hostname</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>There are 5 places you need to modify to correctly change=
</FONT>
<BR><FONT SIZE=3D2>a system nodename under Solaris.</FONT>
</P>
<P><FONT SIZE=3D2>/etc/net/ticlts/hosts</FONT>
<BR><FONT SIZE=3D2>/etc/net/ticots/hosts</FONT>
<BR><FONT SIZE=3D2>/etc/nodename</FONT>
<BR><FONT SIZE=3D2>/etc/hosts</FONT>
<BR><FONT SIZE=3D2>/etc/hostname.xxN</FONT>
</P>
<P><FONT SIZE=3D2>The "uname" or "hostname" command can=
be used to take care </FONT>
<BR><FONT SIZE=3D2>of some of these changes, but not all. </FONT>
</P>
<P><FONT SIZE=3D2>If you don't want to manually modify all of these files, =
I </FONT>
<BR><FONT SIZE=3D2>suggest running sys-unconfig. </FONT>
</P>
<P><FONT SIZE=3D2>Changing the hostname becomes more difficult as documente=
d </FONT>
<BR><FONT SIZE=3D2>below if you are running Veritas. If you are runni=
ng Veritas, </FONT>
<BR><FONT SIZE=3D2>you will need to export your volume groups prior to chan=
ging </FONT>
<BR><FONT SIZE=3D2>the hostname and then import them back in after the host=
name </FONT>
<BR><FONT SIZE=3D2>changes. I believe the Veritas documentation expla=
ins this.</FONT>
</P>
<P><FONT SIZE=3D2>Dennis L. Lund</FONT>
</P>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: anna menshch [<A HREF=3D"mailto:anna.menshch at micro=
muse.com">mailto:anna.menshch at micromuse.com</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Tuesday, May 15, 2001 4:33 PM</FONT>
<BR><FONT SIZE=3D2>To: sunhelp at sunhelp.org</FONT>
<BR><FONT SIZE=3D2>Subject: [SunHELP] changing hostname</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>Hello,</FONT>
</P>
<P><FONT SIZE=3D2>I need to change the hostname on one of my servers. =
Would changing it the</FONT>
<BR><FONT SIZE=3D2>/ets/hosts file be enoght or is there something else tha=
t I need to do?</FONT>
</P>
<P><FONT SIZE=3D2>Thanks a lot</FONT>
</P>
<P><FONT SIZE=3D2>Anna</FONT>
</P>
<P><FONT SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>SunHELP maillist - SunHELP at sunhelp.org</FONT>
<BR><FONT SIZE=3D2><A HREF=3D"http://www.sunhelp.org/mailman/listinfo/sunhe=
lp" TARGET=3D"_blank">http://www.sunhelp.org/mailman/listinfo/sunhelp</A></=
FONT>
</P>
<CODE><FONT SIZE=3D3><BR>
<BR>
<html><BR>
<body><BR>
<font size=3D"2" face=3D"Arial"><span style=3D"mso-fareast-font-family: Tim=
es New Roman; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bi=
di-language: AR-SA"><BR>
- - - - - - - Appended by Scientific-Atlanta, Inc. - - - - - - -<BR>
<span style=3D"font-size:10.0pt;font-family:Arial;<BR>
mso-fareast-font-family:"Arial";mso-ansi-language:EN-US;mso-farea=
st-language:<BR>
EN-US;mso-bidi-language:AR-SA"></span><font face=3D"Arial" size=3D"2"><span=
style=3D"mso-fareast-font-family: Arial; mso-ansi-language: EN-US; mso-far=
east-language: EN-US; mso-bidi-language: AR-SA">This e-mail and any attachm=
ents may contain information which is confidential, proprietary, privileged=
or otherwise protected by law. The information is solely intended for the =
named addressee (or a person responsible for delivering it to the addressee=
). If you are not the intended recipient of this message, you are not autho=
rized to read, print, retain, copy or disseminate this message or any part =
of it. If you have received this e-mail in error, please notify the sender =
immediately by return e-mail and delete it from your computer.</span></font=
></p><BR>
</body><BR>
</html><BR>
</FONT></CODE></BODY>
</HTML>
------_=_NextPart_001_01C0DD6D.B6471760--
More information about the SunHELP
mailing list