Discussion:
Change host name on ora-Sol 11
Harry Putnam
2011-11-16 02:43:38 UTC
Permalink
Is there some different way to change host name in oracle-solaris 11?

There is no /etc/nodename file. and I find the only place under /etc/
the hosts' current name is referenced is in:
/etc/svc/profile/site/sc_profile.xml

That doesn't look like the kind of place renaming would be done.

So any special technique involved or am expected to create /etc/nodename?
Alan Coopersmith
2011-11-16 02:51:22 UTC
Permalink
Post by Harry Putnam
Is there some different way to change host name in oracle-solaris 11?
http://docs.oracle.com/cd/E23824_01/html/E24456/glilb.html#scrolltoc
--
-Alan Coopersmith- alan.coopersmith-QHcLZuEGTsvQT0dZR+***@public.gmane.org
Oracle Solaris Platform Engineering: X Window System
Mike Gerdts
2011-11-16 02:55:35 UTC
Permalink
Post by Harry Putnam
Is there some different way to change host name in oracle-solaris 11?
There is no /etc/nodename file.  and I find the only place under /etc/
  /etc/svc/profile/site/sc_profile.xml
That doesn't look like the kind of place renaming would be done.
So any special technique involved or am expected to create /etc/nodename?
When a machine is standalone or its IP address is configured
locally, the svc:/system/identity:node SMF service has a
property, namely nodename, for setting the system name.

To set the name of the node use the following command:

# svccfg -s node setprop config/nodename = "mynodename"
# svcadm refresh node
--
Mike Gerdts
http://mgerdts.blogspot.com/
Mark Haywood
2011-11-16 03:06:26 UTC
Permalink
Post by Mike Gerdts
Post by Harry Putnam
Is there some different way to change host name in oracle-solaris 11?
There is no /etc/nodename file. and I find the only place under /etc/
/etc/svc/profile/site/sc_profile.xml
That doesn't look like the kind of place renaming would be done.
So any special technique involved or am expected to create /etc/nodename?
When a machine is standalone or its IP address is configured
locally, the svc:/system/identity:node SMF service has a
property, namely nodename, for setting the system name.
# svccfg -s node setprop config/nodename = "mynodename"
# svcadm refresh node
I think there might be a bug here. You will also have to restart the
service, 'svcadm restart node'.
Harry Putnam
2011-11-16 14:15:38 UTC
Permalink
Post by Mark Haywood
I think there might be a bug here. You will also have to restart the
service, 'svcadm restart node'.
Good catch.. I probably would have been blundering around trying
figure out why the name wasn't changing.
Cindy Swearingen
2011-11-16 15:43:29 UTC
Permalink
Hi Harry,

You might review this summary table of changes to see what else
has changed and it should point you in the right direction:

http://download.oracle.com/docs/cd/E23824_01/html/E24456/compare-1.html

If it doesn't, let us know.

Thanks,

Cindy
Post by Harry Putnam
Post by Mark Haywood
I think there might be a bug here. You will also have to restart the
service, 'svcadm restart node'.
Good catch.. I probably would have been blundering around trying
figure out why the name wasn't changing.
_______________________________________________
opensolaris-discuss mailing list
Ian Collins
2011-11-16 19:43:59 UTC
Permalink
Post by Cindy Swearingen
Hi Harry,
You might review this summary table of changes to see what else
http://download.oracle.com/docs/cd/E23824_01/html/E24456/compare-1.html
If it doesn't, let us know.
Cindy,

How about an "Oracle Solaris 11 Express Compared to Oracle Solaris 11"
page? A lot of us are familiar with the express build.
--
Ian.
Cindy Swearingen
2011-11-16 22:49:54 UTC
Permalink
Hi Ian,

We had several choices for the Express info:

1. Provide the Express issue in related topic area, network,
device in this doc, so the info is available in the right context.
You can search the PDF for Express and find them.

2. Gather all the Express issues and summarize them along with
the upgrade info in the appendix.

3. Create a separate doc for Express transition info.

We went with #1, mostly because we ran out of time.
Maybe we should reconsider #1.

For #3, we had several comments that this doc is titled s10-->s11
transition so why does it include Express info at all?

If you originally reinstalled an Oracle Solaris 10 system with Oracle
Solaris 11 Express and will upgrade to Oracle Solaris 11, then
including the Express info in this doc is not such a stretch. MHO.

Thanks,

Cindy
Post by Ian Collins
Post by Cindy Swearingen
Hi Harry,
You might review this summary table of changes to see what else
http://download.oracle.com/docs/cd/E23824_01/html/E24456/compare-1.html
If it doesn't, let us know.
Cindy,
How about an "Oracle Solaris 11 Express Compared to Oracle Solaris 11"
page? A lot of us are familiar with the express build.
Harry Putnam
2011-11-16 21:54:03 UTC
Permalink
Cindy Swearingen
Post by Cindy Swearingen
Hi Harry,
You might review this summary table of changes to see what else
http://download.oracle.com/docs/cd/E23824_01/html/E24456/compare-1.html
If it doesn't, let us know.
This is minor, but one thing I noticed is that a page search on
`hostname' doesn't lead to that section. Maybe no one else would
search for it using hostname.... maybe everybody else would use
nodename, but if I had not known there was something there explaining
the new change of hostname procedure, I might have just assumed
there was no change.
Cindy Swearingen
2011-11-16 22:31:41 UTC
Permalink
Hi Harry,

I will add hostname to the nodename section so that a search
is more successful.

I noticed this today myself, trying to find the right command
after changing nodename.

# nodename
-bash: nodename: command not found
# hostname
x4200-brm-10

D'oh.

Thanks,

Cindy
Post by Harry Putnam
Cindy Swearingen
Post by Cindy Swearingen
Hi Harry,
You might review this summary table of changes to see what else
http://download.oracle.com/docs/cd/E23824_01/html/E24456/compare-1.html
If it doesn't, let us know.
This is minor, but one thing I noticed is that a page search on
`hostname' doesn't lead to that section. Maybe no one else would
search for it using hostname.... maybe everybody else would use
nodename, but if I had not known there was something there explaining
the new change of hostname procedure, I might have just assumed
there was no change.
_______________________________________________
opensolaris-discuss mailing list
Loading...