Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-23 Thread Dave Price
Dear Craig and All,


craig.ben...@oracle.com said:
 Just curious as to what benefit you'd get over just LAN based and a
 manual DHCP config when the network wire itself is private?

Well, the simply answer is because I have always done it that way :-)

The longer answer (or at least my thoughts) go like this...

We run a set of around half a dozen class C networks.  Our
end users with PCs, Apples and other devices connect to
one of our networks.   Most of our server class machines have
mutliple interfaces and I tend to make them all live.  Thus,
most of our servers have multiple IP addresses.  Thus, when users
connect to a server (for whatever reason, computation, file
access, web access or whatever) they reach (most) of the servers
via a switched network path and their traffic does not cross
any routers.

On the same vein of thought, I have tried to run our SunRays
on their own network with just SunRays, one interface from
each SunRay Server and switches involved.  Thus, SunRay traffic
does not make its way on to otyher networks and other traffic
does not make its way into the SunRay private network.

As this was all very easy to create usingutadm -a nxge1
(or whatever on other architectures) I have always done it that way.

I am trying to tackle two problems at the moment.  One being
users (students) complaining about the old fashioned
interface of Solaris 10 and the other being that we have been
seeing quite slow interactive response when running many applications
displaying on the SunRays.  [Things like netbeans, firefox
and others stagger somewhat when moving between windows etc., plus
the other sorts of problems other have noted.]

On the poor interactive response front, I have done all the things
people have suggested, setting hires_tick=1 in /etc/system,
engineering the network so that the connections to our
current two servers and the sunrays all make landfall directly
on the same switch, dropping the switch port
to the server back down to 100mbps to try to avoid packet loss
anywhere and so on.  Nothing makes much difference.  I have tracked
new versions of SunRay server software as they were realeased (one
that came out last autumn made a big improvement I should add).
Whenever I try to collect statistics on packet loss (or whatever)
by using utcapture or looking at switch statistics I never
seen to locate any  bad numbers at all...

Anyway, I have digressed.   I do not expect swapping to Solaris 11
on the servers will improve performance of the SunRay service
(but it would be nice if it did) but at least I may get the users
believing they have a more modern user interface.

Anyway, I will think more about what you say.

I will need DHCP services for the SunRays, but if I read correctly,
running   utadm -A 192.168.199.0   would start a DHCP server
one the sunray server and thus server the SunRays anyway - yes?
And, providing I have this all rigged as a closed network (at the 
swicth/ethernet level) then I should not get
spurious traffic in our out of the netwoerk unless the machine(s)
running the SunRay server software starting forwarding IP packets
between othjer interfaces and the SunRay serving interfaces.
I guess I can control IP forwarding and route announcements using
other tools (I guess ipadm and routeadm in Solaris 11).

Anyway, thanks for info, thoughts and advice.  I will
have a go shorlty and post things again later.

Thanks,

Dave Price

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-23 Thread Dave Price
Dear Craig and All,


craig.ben...@oracle.com said:
 2) utsetup will fail because utsetup tries to install patches via a
 mechanism that is incompatible with S11

 *BUT THAT'S OK*  :)

 The product will be installed. Minus patches at this point.

From what others said, and from looking myself, it seems
the only things actually in the patches are a new version
of utdevmgrd and Xnewt.

Could I not manually copy them into /opt/SUNWut/lib/utdevmgrd
and /opt/SUNWut/lib/Xnewt  or would that break things?

Dave Price

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-23 Thread Toomas Soome

didnt break for me. the package data itself is affected obviously, but thats 
not too important at this stage.

toomas

On 23.08.2012, at 15:24, Dave Price dave.pr...@aber.ac.uk wrote:

 Dear Craig and All,
 
 
 craig.ben...@oracle.com said:
 2) utsetup will fail because utsetup tries to install patches via a
 mechanism that is incompatible with S11
 
 *BUT THAT'S OK*  :)
 
 The product will be installed. Minus patches at this point.
 
 From what others said, and from looking myself, it seems
 the only things actually in the patches are a new version
 of utdevmgrd and Xnewt.
 
 Could I not manually copy them into /opt/SUNWut/lib/utdevmgrd
 and /opt/SUNWut/lib/Xnewt  or would that break things?
 
 Dave Price
 
 ___
 SunRay-Users mailing list
 SunRay-Users@filibeto.org
 http://www.filibeto.org/mailman/listinfo/sunray-users

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-23 Thread Craig Bender
Yes, you can!  There's a map in the patch or follow reloc path, but you 
know where they go already.


Only other advice is to what you do when moving in any file  e.g. double 
check ownership, set any setG/Uid bits, verify perms.  You should be 
golden.  :)


On 8/23/12 5:24 AM, Dave Price wrote:

Dear Craig and All,


craig.ben...@oracle.com said:

2) utsetup will fail because utsetup tries to install patches via a
mechanism that is incompatible with S11



*BUT THAT'S OK*  :)



The product will be installed. Minus patches at this point.



From what others said, and from looking myself, it seems

the only things actually in the patches are a new version
of utdevmgrd and Xnewt.

Could I not manually copy them into /opt/SUNWut/lib/utdevmgrd
and /opt/SUNWut/lib/Xnewt  or would that break things?

Dave Price

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-23 Thread Dave Price
Dear Craig,


craig.ben...@oracle.com said:
 Yes, you can!  There's a map in the patch or follow reloc path, but
 you  know where they go already.

 Only other advice is to what you do when moving in any file  e.g.
 double  check ownership, set any setG/Uid bits, verify perms.  You
 should be  golden.  :)

Thanks for that.  I have so far found enough time to get
as far as having just run utpolicy.  I keep regularly taking
new BEs and rebooting so I can fall back a step (or more)
should something go pear-shaped...

I will create a new BE now and then more those two updated file
into place...

Thanks,

Dave Price

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-23 Thread Dave Price
Dear Craig, Toomas and All,


I have run utinstall, utconfig and utpolicy.

I have also used ipadm to bring up net1 and allocated a
static IP address 192.168.199.7

I have also updated the   /etc/inet/hosts  file so that its
IP address from  net0 (which also ends 7 but has a different
class C netnumber at front) and hostname are on a new line and its name
is not on the localhost line.

I also manually moved the Xnewt and utdevmgrd from the patches
into their normal places and checked permissions.

With all that done, I created a new BE and rebooted into it
so I can roll back if things go wrong.  I also have LOTS of BEs#
from previous milestones too.

So, now I am trying to run   utadm -A 192.168.199.0

Now, when I do that I get


root@wiked:~# /opt/SUNWut/sbin/utadm -A 192.168.199.0
### Configuring /etc/nsswitch.conf
### Configuring Service information for Sun Ray
cp: cannot access /etc/init.d/dhcp
chmod: WARNING: can't access /etc/init.d/dhcp.1674
/usr/bin/nawk: can't open file /etc/init.d/dhcp.1674
 source line number 1
### Error: Unable to stop dhcp services.
Please restart dhcp manually after utadm has completed.
root@wiked:~#


So, does   -A   not work either ? or...

After I reboot into a fresh BE again, I can look in /etc/init.d
before I run utadm.  And, lo and behold, there is no /etc/init.d/dhcp
script.

I had loaded dhcp packages much earlier in this tale of course
you may recall and they are still there.

root@wiked:~# svcs -a | grep dhcp
disabled   17:18:08 svc:/network/dhcp-server:default
disabled   17:18:16 svc:/network/dhcp/relay:ipv4
disabled   17:18:16 svc:/network/dhcp/relay:ipv6
disabled   17:18:16 svc:/network/dhcp/server:ipv4
disabled   17:18:16 svc:/network/dhcp/server:ipv6
root@wiked:~# pkg list '*dhcp*'
NAME (PUBLISHER)  VERSIONIFO
network/dhcp/dhcpmgr  0.5.11-0.175.0.0.0.2.1 i--
network/dhcp/dhcpmgr/locale   0.5.11-0.175.0.0.0.1.765   i--
service/network/dhcp  0.5.11-0.175.0.0.0.2.1 i--
service/network/dhcp/datastore/binfiles   0.5.11-0.175.0.0.0.2.1 i--
service/network/dhcp/isc-dhcp 4.1-0.175.0.0.0.2.537  i--
root@wiked:~# 


so, I have got the DHCP packages and services, but I don't have
a DHCP server active.   Of course, without the SunRays I don't
need it active anyway as we have another machine providing
DHCP services to our normal class C IP networks.

I only want this machine wiked to provide DHCp to the SunRays
and I though from readin the utadm man page that running
with -A should indeed interact with the dhcp config and turn it on.

So, have I missed a step, or is srs expecting another flavour
of DHCP server and not the one that I have added to Solaris 11.

Craig: I am re-reading one of your earlier emails
and I see you writing words that just might be saying I have
to do the DHCP setup myself and perhaps implying
that  utadm -A 192.168.199.0  will not work...

Advice/comments folks?

Thanks,

Dave price


___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-23 Thread Toomas Soome

dhcpd is managed by smf now but you can create dummy script there and 
remove after... also beware the /etc/rc?.d directories;)


On 23.08.2012, at 19:29, Dave Price dave.pr...@aber.ac.uk wrote:

 Dear Craig, Toomas and All,
 
 
 I have run utinstall, utconfig and utpolicy.
 
 I have also used ipadm to bring up net1 and allocated a
 static IP address 192.168.199.7
 
 I have also updated the   /etc/inet/hosts  file so that its
 IP address from  net0 (which also ends 7 but has a different
 class C netnumber at front) and hostname are on a new line and its name
 is not on the localhost line.
 
 I also manually moved the Xnewt and utdevmgrd from the patches
 into their normal places and checked permissions.
 
 With all that done, I created a new BE and rebooted into it
 so I can roll back if things go wrong.  I also have LOTS of BEs#
 from previous milestones too.
 
 So, now I am trying to run   utadm -A 192.168.199.0
 
 Now, when I do that I get
 
 
 root@wiked:~# /opt/SUNWut/sbin/utadm -A 192.168.199.0
 ### Configuring /etc/nsswitch.conf
 ### Configuring Service information for Sun Ray
 cp: cannot access /etc/init.d/dhcp
 chmod: WARNING: can't access /etc/init.d/dhcp.1674
 /usr/bin/nawk: can't open file /etc/init.d/dhcp.1674
 source line number 1
 ### Error: Unable to stop dhcp services.
Please restart dhcp manually after utadm has completed.
 root@wiked:~#
 
 
 So, does   -A   not work either ? or...
 
 After I reboot into a fresh BE again, I can look in /etc/init.d
 before I run utadm.  And, lo and behold, there is no /etc/init.d/dhcp
 script.
 
 I had loaded dhcp packages much earlier in this tale of course
 you may recall and they are still there.
 
 root@wiked:~# svcs -a | grep dhcp
 disabled   17:18:08 svc:/network/dhcp-server:default
 disabled   17:18:16 svc:/network/dhcp/relay:ipv4
 disabled   17:18:16 svc:/network/dhcp/relay:ipv6
 disabled   17:18:16 svc:/network/dhcp/server:ipv4
 disabled   17:18:16 svc:/network/dhcp/server:ipv6
 root@wiked:~# pkg list '*dhcp*'
 NAME (PUBLISHER)  VERSION
 IFO
 network/dhcp/dhcpmgr  0.5.11-0.175.0.0.0.2.1 
 i--
 network/dhcp/dhcpmgr/locale   0.5.11-0.175.0.0.0.1.765   
 i--
 service/network/dhcp  0.5.11-0.175.0.0.0.2.1 
 i--
 service/network/dhcp/datastore/binfiles   0.5.11-0.175.0.0.0.2.1 
 i--
 service/network/dhcp/isc-dhcp 4.1-0.175.0.0.0.2.537  
 i--
 root@wiked:~# 
 
 
 so, I have got the DHCP packages and services, but I don't have
 a DHCP server active.   Of course, without the SunRays I don't
 need it active anyway as we have another machine providing
 DHCP services to our normal class C IP networks.
 
 I only want this machine wiked to provide DHCp to the SunRays
 and I though from readin the utadm man page that running
 with -A should indeed interact with the dhcp config and turn it on.
 
 So, have I missed a step, or is srs expecting another flavour
 of DHCP server and not the one that I have added to Solaris 11.
 
 Craig: I am re-reading one of your earlier emails
 and I see you writing words that just might be saying I have
 to do the DHCP setup myself and perhaps implying
 that  utadm -A 192.168.199.0  will not work...
 
 Advice/comments folks?
 
 Thanks,
 
 Dave price
 
 
 ___
 SunRay-Users mailing list
 SunRay-Users@filibeto.org
 http://www.filibeto.org/mailman/listinfo/sunray-users

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-23 Thread Dave Price
Dear Toomas,


tso...@mac.com said:
 dhcpd is managed by smf now but you can create dummy script there
 and remove after... also beware the /etc/rc?.d directories;)

yes, I had of course realised the SMF manages DHCP (as it
does for most other things), but other than that, do you
reckon utadm -A 192.168.199.1  will have set up
dhcp configs o.k.?

But thinking, it can't have as it has not asked me
what ranges of IP addresses it can hand out.  In the past,
I have always been queried (but then of course I used
-a which Craid said did not work).  As I commented
now many emails ago, I let our one DHCP server
hand out something like 16 - 79 and the other
hand our 60 - 123 (or whatever).

I am now presuming I am going to have to do all that setup
by hand if utadm is not going to ask the right questions - yes?

Dave Price

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-23 Thread Toomas Soome

tbh, i dont know - I only have set srss on s11 without dhcp and only for lan 
enabled setup for soft client for test purposes:) 

the basic dhcp setup (dhcptab) is done by utadm -c, as you can verify with 
dhtadm -P :) with fake init.d dhcp start scrip, i'm sure you can get other 
bits done as well.

toomas

On 23.08.2012, at 19:45, Dave Price dave.pr...@aber.ac.uk wrote:

 Dear Toomas,
 
 
 tso...@mac.com said:
 dhcpd is managed by smf now but you can create dummy script there
 and remove after... also beware the /etc/rc?.d directories;)
 
 yes, I had of course realised the SMF manages DHCP (as it
 does for most other things), but other than that, do you
 reckon utadm -A 192.168.199.1  will have set up
 dhcp configs o.k.?
 
 But thinking, it can't have as it has not asked me
 what ranges of IP addresses it can hand out.  In the past,
 I have always been queried (but then of course I used
 -a which Craid said did not work).  As I commented
 now many emails ago, I let our one DHCP server
 hand out something like 16 - 79 and the other
 hand our 60 - 123 (or whatever).
 
 I am now presuming I am going to have to do all that setup
 by hand if utadm is not going to ask the right questions - yes?
 
 Dave Price
 
 ___
 SunRay-Users mailing list
 SunRay-Users@filibeto.org
 http://www.filibeto.org/mailman/listinfo/sunray-users

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-23 Thread Dave Price
Dear Toomas,


tso...@mac.com said:
 tbh, i dont know - I only have set srss on s11 without dhcp and only
 for lan enabled setup for soft client for test purposes:) 

 the basic dhcp setup (dhcptab) is done by utadm -c, as you can verify
 with dhtadm -P :) with fake init.d dhcp start scrip, i'm sure you
 can get other bits done as well.

Indeed, looking through the utadm script, it has the SMF reference
to the dhcp server in it, line 116 says

DHCP_FMRI=svc:/network/dhcp-server:default

It sets a variable  INIT_DHCP=/etc/init.d/dhcp;

So, I reckon I'll edit that to point elsewhere and then
I will grab a copy of the /etc/init/d/dhcp file off my Solaris 10
box and use that.  Looking at the Solaris 10 version,
that uses svcadm to control the DHCP server anyway.

More later...

dave Price

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC, with private interconnect

2012-08-23 Thread Art Peck

Dave:

If you have a DHCP service, any DHCP service, that is visible to the Sun 
Ray DTUs why don't you create a scope limited to Vendor Id Tag 
SUNW.NewT.SUNW**and with appropriate IP addresses. Don't fiddle with 
all those other vendor tags, the better way to provide those, if needed, 
is thru the *.parms file(s) in /tftpboot.


In your DNS, configure sunray-config-servers and sunray-servers to point 
to your SRS server. You can also deliver the config server through 
TFTPSRVR tag in you DHCP scope. Everything else is in your *.parms 
file(s), for example:


servers=ipaddr1,...,ipaddrN
select=[random|inorder]

Finally, in your SRS configuration, just use /utadm -L on/ so the 
software will listen for incoming connection requests from the LAN.


This is the modern way of setting up SRS networking and much easier than 
all the hackery you are having to do. I have done more than a few 
installs and have rarely used /utadm -a/. The only circumstance where I 
might do that would be if I need a local filling station to upgrade 
firmware in DTUs that for some odd reason didn't want to upgrade over 
the network.


Art
--


___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


[SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-22 Thread Dave Price
Dear All,

Firstly, can I say thanks for all the comments
and notes so far, much appreciated.

A variety of attempts to install SunRay software on Solais 11
all failed yesterday...

[yesterday, I was attempting
to install WITHOUT having firmware installed, which
it seems to claim should work - I was going to let SunRays
use their existing firmware].

tso...@mac.com said:
 after that you need to follow normal SRSS
 configuration docs, http://  docs.oracle.com/cd/E25749_01/E25745/
 html/Installing.html  note the  kiosk mode is still not working.
 for s11 management, follow s11 docs,  not express ones - there may
 be some differences.

I seem to have to do more than that...

utsetup bombs out after installing just the SunRay server software
and does not enter the stages where it asks questions.

I then went back to an earlier clean BE of solaris 11 and tried
again using utinstall etc. followed by other tools, but more problems...

One problem that popped up at the end of rrunning utconfig was...

=
**
The current policy has been modified.  You must restart the
authentication manager to activate the changes.
***

/opt/SUNWut/sbin/utconfig[1306]: /opt/SUNWuttsc/lib/uttscadm: not found [No 
such file or directory]

Configuration of Sun Ray Server Software has completed.  Please check
the log file, /var/adm/log/utconfig.2012_08_21_13:41:11.log, for errors.
===

even though /opt/SUNWuttsc/lib/uttscadm seemed to exist.

When I try to run utadm, that needs me to edit the /etc/inet/hosts
file to have machine name on its own name with it primary
IP address and not on the localhost line...

So, it seems that the main instructions in the admin guide are
not sufficient and I am going to need some hybrid
of the old opensolaris/solaris express type bodges mixed in with the
new admin instructions...

To remind folks, I am doing a SunRay install on a T5140 with a fresh Solaris 11
installation and wanting primary IP address on net0, Sunray private
interconnect on net1.

[We also normally configure net2 and net3 as we
 normally run our main hosts multihomed with live IP interfaces
on several different class-C IP networks.]

Has anyone got any definitive notes of a complete install?

I'll post more later after I do some more experiments. I am trying
again with SunRay firmware installed as well today.

Thanks folks,
Dave Price

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-22 Thread Dave Price
Dear All,

A few minutes ago I said...


dave.pr...@aber.ac.uk said:
 So, it seems that the main instructions in the admin guide are not
 sufficient and I am going to need some hybrid of the old opensolaris/
 solaris express type bodges mixed in with the new admin
 instructions...

So I am now looking at

http://wiki.sun-rays.org/index.php/SRS_5.1_on_Solaris_11_Express

as well as the advice given to me yesterday and I am reading
the lastest SunRay admin guide (august edition).

The wiki page has material about changing between different
flavours of IP interface control and wiki says...

  svcadm disable network/physical:nwam
  svcadm enable network/physical:default

But my fresh Solaris 11 installation already has the second
enabled but also has another service...

online 17:50:52 svc:/network/physical:upgrade
online 17:50:55 svc:/network/physical:default

So can I assume that's o.k.?

Thw wiki also says...

  update /etc/hosts to specify a static IP address for your hostname,
  and   eliminate your hostname from the localhost line

  edit /etc/hostname.INTF to contain your hostname, where INTF is
  your network interface name (see ifconfig -a output)

  edit /etc/netmasks to contain the appropriate netmask for your
  subnet

  create /etc/defaultrouter containing the IP address or hostname
  of your subnet's router 

But from what I can see, ifconfig -a now only shows interfaces
which are active and it seems to me that the correct way
to handle IP / interfaces is to use the   ipadm  program
and routeadm and so on.

I notice we also have routing related services
running on our fresh Solaris 11 installation.

  svcs | grep rout
  online 17:51:04 svc:/network/routing-setup:default
  online 17:51:08 svc:/network/routing/route:default
  online 17:51:15 svc:/network/routing/ndp:default


So, should I be editing /etc/hosts, /etc/hostname.INTF,
/etc/netmasks and /etc/defaultrouter or should I really be making
changes another way now on Solaris 11??

I don't (at present) need Sunray windows connector (SWRC)
running by the way as we don't use that at present. We only
use our SunRays to get to Solaris machines.


Anyway, if anyone has either some complete notes, or can offer comments
on how much I need to do over and above SunRay admin  guide
and whether or not I do need to do all or some
of the things from the
http://wiki.sun-rays.org/index.php/SRS_5.1_on_Solaris_11_Express
wiki page..

Thanks for advice and help so far...

Dave Price

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-22 Thread Toomas Soome


switching network config in S11 is *not* done as it was in opensolaris/express. 


to prepare networking in S11 for static setup, you need to do following:

#  netadm enable -p ncp DefaultFixed# switch to fixed IP config profile
#  use ipadm to create correct address(es)
#  route -p add default or edit /etc/defaultrouter to add default routing


# svccfg -s svc:/system/identity:node setprop config/nodename = yourhostname  
#set nodename for host
# svccfg -s svc:/system/identity:node refresh
# svcadm restart identity:node

set up your /etc/resolv.conf and /etc/nsswitch.conf with proper content and 
import the config:

# nscfg import -f svc:/system/name-service/switch:default
# nscfg import -f svc:/network/dns/client:default

also fix your hosts file.

you dont need to touch nwam/default smf services at all.  

toomas

On 22.08.2012, at 12:31, Dave Price dave.pr...@aber.ac.uk wrote:

 Dear All,
 
 A few minutes ago I said...
 
 
 dave.pr...@aber.ac.uk said:
 So, it seems that the main instructions in the admin guide are not
 sufficient and I am going to need some hybrid of the old opensolaris/
 solaris express type bodges mixed in with the new admin
 instructions...
 
 So I am now looking at
 
 http://wiki.sun-rays.org/index.php/SRS_5.1_on_Solaris_11_Express
 
 as well as the advice given to me yesterday and I am reading
 the lastest SunRay admin guide (august edition).
 
 The wiki page has material about changing between different
 flavours of IP interface control and wiki says...
 
  svcadm disable network/physical:nwam
  svcadm enable network/physical:default
 
 But my fresh Solaris 11 installation already has the second
 enabled but also has another service...
 
 online 17:50:52 svc:/network/physical:upgrade
 online 17:50:55 svc:/network/physical:default
 
 So can I assume that's o.k.?
 
 Thw wiki also says...
 
  update /etc/hosts to specify a static IP address for your hostname,
  and   eliminate your hostname from the localhost line
 
  edit /etc/hostname.INTF to contain your hostname, where INTF is
  your network interface name (see ifconfig -a output)
 
  edit /etc/netmasks to contain the appropriate netmask for your
  subnet
 
  create /etc/defaultrouter containing the IP address or hostname
  of your subnet's router 
 
 But from what I can see, ifconfig -a now only shows interfaces
 which are active and it seems to me that the correct way
 to handle IP / interfaces is to use the   ipadm  program
 and routeadm and so on.
 
 I notice we also have routing related services
 running on our fresh Solaris 11 installation.
 
  svcs | grep rout
  online 17:51:04 svc:/network/routing-setup:default
  online 17:51:08 svc:/network/routing/route:default
  online 17:51:15 svc:/network/routing/ndp:default
 
 
 So, should I be editing /etc/hosts, /etc/hostname.INTF,
 /etc/netmasks and /etc/defaultrouter or should I really be making
 changes another way now on Solaris 11??
 
 I don't (at present) need Sunray windows connector (SWRC)
 running by the way as we don't use that at present. We only
 use our SunRays to get to Solaris machines.
 
 
 Anyway, if anyone has either some complete notes, or can offer comments
 on how much I need to do over and above SunRay admin  guide
 and whether or not I do need to do all or some
 of the things from the
 http://wiki.sun-rays.org/index.php/SRS_5.1_on_Solaris_11_Express
 wiki page..
 
 Thanks for advice and help so far...
 
 Dave Price
 
 ___
 SunRay-Users mailing list
 SunRay-Users@filibeto.org
 http://www.filibeto.org/mailman/listinfo/sunray-users

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-22 Thread Dave Price
Dear Toomas,

Thanks for latest advice.  I plan to start another go on a fresh
BE shortly, just got caught up in admin meetings :-(

I will report back...  I am trying to keep definitive
notes so I can post whole (hopefully sucessful) take later...

Dave Price

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-22 Thread Bob Doolittle

The basic model for Solaris installation is that LiveCD is intended for laptops 
or workstations, and Text installation or AI is intended for servers. They 
install different sets of packages which target the intended model. 
multi-user-desktop is an optional package (group) intended for desktop servers 
(i.e. Sun Ray).

May I suggest that instead of using LiveCD for Sun Ray, you use the Text 
installer and then install group/feature/multi-user-desktop. This will do 
several useful things for you:
1. It will install a more minimal package subset for desktops.
2. It will configure networking appropriately for a server instead of a laptop 
(e.g. no NWAM, static address)
3. I will install the core dependent packages required by SRS (DHCP, CDE/Motif)
4. It will provide an SMF 'multi-user-desktop' service, which you can enable to 
provide some useful optimizations for Sun Ray deployments (mostly restricted 
choices for desktop users to mitigate desktop features that don't scale well in 
shared environments). We'd be interested in feedback regarding experiences with 
that service. There's a document that describes how to configure it, should you 
care to: http://docs.oracle.com/cd/E23824_01/html/E26032/index.html

Finally, regarding the updates available through MOS: Patch packages are 
generally *not* complete packages. I suspect you're looking at the wrong place 
in the update image. The update image consists of two things: A copy 
(identical) of the initial release image (suitable for fresh installs or 
release upgrades), and a Patch directory containing patches, which consist of 
*partial* packages with just the updated binaries. Our installer will first 
install/upgrade the release if necessary, then apply any patches. This doesn't 
yet work for S11 since S11 isn't supported in SRS 5.3. SROS is the one 
exception. In that case since SUNWutdfw only contains firmware we do release a 
new complete package in an update and utfwinstall simply replaces it (which 
will work fine on S11).

-Bob

On 08/22/12 06:01, Dave Price wrote:

Dear Toomas,

Thanks for latest advice.  I plan to start another go on a fresh
BE shortly, just got caught up in admin meetings :-(

I will report back...  I am trying to keep definitive
notes so I can post whole (hopefully sucessful) take later...

Dave Price

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-22 Thread Jeremy Loukinas
http://alanhargreaves.wordpress.com/2011/05/27/sun-ray-on-solaris-11-sparc/

Have you read this article?


On Wed, Aug 22, 2012 at 4:10 AM, Dave Price dave.pr...@aber.ac.uk wrote:

 Dear All,

 Firstly, can I say thanks for all the comments
 and notes so far, much appreciated.

 A variety of attempts to install SunRay software on Solais 11
 all failed yesterday...

 [yesterday, I was attempting
 to install WITHOUT having firmware installed, which
 it seems to claim should work - I was going to let SunRays
 use their existing firmware].

 tso...@mac.com said:
  after that you need to follow normal SRSS
  configuration docs, http://  docs.oracle.com/cd/E25749_01/E25745/
  html/Installing.html  note the  kiosk mode is still not working.
  for s11 management, follow s11 docs,  not express ones - there may
  be some differences.

 I seem to have to do more than that...

 utsetup bombs out after installing just the SunRay server software
 and does not enter the stages where it asks questions.

 I then went back to an earlier clean BE of solaris 11 and tried
 again using utinstall etc. followed by other tools, but more problems...

 One problem that popped up at the end of rrunning utconfig was...

 =
 **
 The current policy has been modified.  You must restart the
 authentication manager to activate the changes.
 ***

 /opt/SUNWut/sbin/utconfig[1306]: /opt/SUNWuttsc/lib/uttscadm: not found
 [No such file or directory]

 Configuration of Sun Ray Server Software has completed.  Please check
 the log file, /var/adm/log/utconfig.2012_08_21_13:41:11.log, for errors.
 ===

 even though /opt/SUNWuttsc/lib/uttscadm seemed to exist.

 When I try to run utadm, that needs me to edit the /etc/inet/hosts
 file to have machine name on its own name with it primary
 IP address and not on the localhost line...

 So, it seems that the main instructions in the admin guide are
 not sufficient and I am going to need some hybrid
 of the old opensolaris/solaris express type bodges mixed in with the
 new admin instructions...

 To remind folks, I am doing a SunRay install on a T5140 with a fresh
 Solaris 11
 installation and wanting primary IP address on net0, Sunray private
 interconnect on net1.

 [We also normally configure net2 and net3 as we
  normally run our main hosts multihomed with live IP interfaces
 on several different class-C IP networks.]

 Has anyone got any definitive notes of a complete install?

 I'll post more later after I do some more experiments. I am trying
 again with SunRay firmware installed as well today.

 Thanks folks,
 Dave Price

 ___
 SunRay-Users mailing list
 SunRay-Users@filibeto.org
 http://www.filibeto.org/mailman/listinfo/sunray-users

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-22 Thread Dave Price
Daer Bob,

Thanks for email.


bob.doolit...@oracle.com said:
 The basic model for Solaris installation is that LiveCD is intended
 for laptops or workstations

But I can't use that anyway as I have SPARC (T5140).


bob.doolit...@oracle.com said:
 and Text installation or AI is intended for servers. They install
 different sets of packages which target the intended model.
 multi-user-desktop is an optional package (group) intended for desktop
 servers (i.e. Sun Ray).

I used the text installer (from DVD and
controlling it via the service processor),
but it did not seem to offer me any options
of what package set to install.

bob.doolit...@oracle.com said:
 May I suggest that instead of using LiveCD for Sun Ray, you use the
 Text installer and then install group/feature/multi-user-desktop. This
 will do several useful things for you: 1. It will install a more
 minimal package subset for desktops.

I did not see it offer me that choice.   From what I saw, and
from what I read in the Note on page
16 of the March 2012 ediiton of Installing Oracle Solaris 11 System,
it only installs the solaris-large-server package
when using the text installer directly.

Thus, after that I then installed the slim_install package
(as as recommended then removed that group container
leaving the packages it has sucked in intact)
and then I also installed

pkg install SUNWdhcsb SUNWdhcs SUNWdhcm 
pkg install /x11/library/libxevie 
pkg install SUNWmfrun SUNWtltk SUNWdtbas


bob.doolit...@oracle.com said:
 1. It will install a more minimal package subset for desktops.

Our machines do sometimes run the odd cpu-resource-limited zone
too so I really need more than just desktop.


bob.doolit...@oracle.com said:
 2. It will configure networking appropriately for a server instead of
 a laptop (e.g. no NWAM, static address)

yes, I gave it fixed addresses and the SMF services that are
live show that is the case.


bob.doolit...@oracle.com said:
 3. I will install the core dependent packages required by SRS (DHCP,
 CDE/Motif)

I hope the packages I mentioned I had installed a few lines
ago meet those requirements too.


bob.doolit...@oracle.com said:
 4. It will provide an SMF 'multi-user-desktop' service

I don't seem to have that running.


root@wiked:~# svcs -a | grep -i multi
disabled   17:50:20 svc:/network/dns/multicast:default
online 17:51:08 svc:/milestone/multi-user:default
online 17:51:11 svc:/milestone/multi-user-server:default
root@wiked:~# 


from what you say, should I see a service called multi-user-desktop too?

bob.doolit...@oracle.com said:
 which you can enable to provide some useful optimizations for Sun Ray
 deployments (mostly restricted choices for desktop users to mitigate
 desktop features that don't scale well in shared environments). We'd
 be interested in feedback regarding experiences with that service.
 There's a document that describes how to configure it, should you care
 to: http://docs.oracle.com/cd/E23824_01/html/E26032/index.html

I will have a look at that document before I go further.
I have been tied up in a variety of meetings this morning
so not gone any further today.

I am presuming also that I will need to update the
IP config (at least editing /etc/hosts) using the commands
that Toomas suggested earlier anyway.  As I noted in other
emails, one of the commands (utadm -a net1) fails unless
I manually change /etc/hosts anyway...

I downloaded the new SRS etc fine.

My problems are that if I try to run   utsetup   that bombs
out and when I try to start again (on a new BE) and instead
try to manually go through utinstall, utconfig, ...
instead various of those are bombing out too.

Anyway, thanks for advice, I will read that document and
then try more things.  I am keeping notes so
perhaps I will have a full comprehensive set that may have
value to others once I get this going (optimist here :-))

Thanks,
Dave Price

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-22 Thread Dave Price
Dear Jeremy,


sunad...@gmail.com said:
 http://alanhargreaves.wordpress.com/2011/05/27/sun-ray-on-solaris-11-sp
 arc/

 Have you read this article? 

yes, along with many others :-(

If you just start from that specific article though, lots goes
wrong.  Fopr instance, the   utsetup  installs things, but then blows
up when it gets to the patches and never asks you the questions
you need to answer to be able to set things up...

In his case, he was effectively upgrading from a previous
install (some of which he talks about in previous web pages)
and I think he has inherited various bits of config from those
earlier installs.  I am working on a virgin install
of Solaris 11 and so hitting lots of silly things it seems

Anyway, thanks for comments, keep them rolling in...

Dave Price

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-22 Thread Marcel Telka
On Wed, Aug 22, 2012 at 02:47:25PM +0100, Dave Price wrote:
 pkg install SUNWdhcsb SUNWdhcs SUNWdhcm 
 pkg install /x11/library/libxevie 
 pkg install SUNWmfrun SUNWtltk SUNWdtbas

After the Solaris 11 install on my T4-1 I do basically only this:

pkg install network/dhcp/dhcpmgr service/network/dhcp/datastore/binfiles
pkg install cde/cde-runtime
pkg install group/feature/multi-user-desktop

svcadm enable gdm

reboot

Then I install SRSS 4.4.

And it works.

-- 
+---+
| Marcel Telka   e-mail:   mar...@telka.sk  |
|homepage: http://telka.sk/ |
|jabber:   mar...@jabber.sk |
+---+
___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-22 Thread Dave Price
Dear Toomas and all,

Some of the setting are already o.k. I believe.

1/.
root@wiked:~# netadm list
netadm: DefaultFixed NCP is enabled; automatic network management is not 
available.
'netadm list' is only supported when automatic network management is active.
root@wiked:~# 

so that's already o.k.

2/. 

root@wiked:~# ipadm show-if
IFNAME CLASSSTATEACTIVE OVER
lo0loopback ok   yes--
net0   ip   ok   yes--
root@wiked:~# 
so that is o.k. to start with I think.   I want SunRay
to pick up net1 as the private interconnect, so assuming things
are like in the old days, it is probably correct that it
does not show yet. 

ipadm show-addr   display the fixed addresses I have allocated
to net0 so that's o.k. too I think.

root@wiked:~# svccfg -s svc:/system/identity:node listprop config/nodename
config/nodename astring wiked
root@wiked:~# 

so I don't need to set that.

3/. Toomas said...

tso...@mac.com said:
 set up your /etc/resolv.conf and /etc/nsswitch.conf with proper
 content and import the config:

 # nscfg import -f svc:/system/name-service/switch:default # nscfg
 import -f svc:/network/dns/client:default

I have checked and both files are already o.k. and it sayd they
have been generated from SMF data so I don't think
I need to change things there either.

4/. 

tso...@mac.com said:
 also fix your hosts file

So, here the default /etc/hosts has the computer's name (wiked)
on the 127.0.0.1/localhost line.   So, I will edit that
as I did yesterday to have the machine's name on a new line
against it's IP address from net0.

However, I think that then just takes me to exactly the state
I was at yesterday and then after that, if I use   utsetup  I expect it
to fail again as I will have changed nothing beyond
what I had yesterday.  Well, except I now have some SunRay firmware
in place and I was trying without that yesterday.

I will read what the others said before I try anything.

Dave Price

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-22 Thread Dave Price
Dear Marcel,


1/. 
mar...@telka.sk said:
 
 pkg install network/dhcp/dhcpmgr service/network/dhcp/datastore/
 binfiles

On my machine...

oot@wiked:~# pkg list '*dhcp*'
NAME (PUBLISHER)  VERSIONIFO
network/dhcp/dhcpmgr  0.5.11-0.175.0.0.0.2.1 i--
service/network/dhcp  0.5.11-0.175.0.0.0.2.1 i--
service/network/dhcp/datastore/binfiles   0.5.11-0.175.0.0.0.2.1 i--
service/network/dhcp/isc-dhcp 4.1-0.175.0.0.0.2.537  i--
root@wiked:~# 

so I already have those.

2/. 
mar...@telka.sk said:
 pkg install cde/cde-runtime

and on my machine

root@wiked:~# pkg list '*cde*'
NAME (PUBLISHER)  VERSIONIFO
cde/cde-runtime   0.5.11-0.175.0.0.0.0.0 i--
consolidation/cde/cde-incorporation   0.5.11-0.175.0.0.0.0.0 i--
root@wiked:~# 

so I have that already too.

3/.
mar...@telka.sk said:
 pkg install group/feature/multi-user-desktop

on my machine

root@wiked:~# pkg list '*multi-user-desktop*'
pkg list: no packages matching '*multi-user-desktop*' installed
root@wiked:~# 

so I don't have that at present.

4/.
mar...@telka.sk said:
 svcadm enable gdm 

on my machine

root@wiked:~# svcs | grep gdm
online 17:51:16 svc:/application/graphical-login/gdm:default
root@wiked:~# 

so I already have that too.


5/. 
mar...@telka.sk said:
 Then I install SRSS 4.4.

So what instructions did you use for that and which download
did you use?I am trying to install using
either utsetup or utinstall etc from

srs_5.3.1.0-SunOS.sparc

and both fall over in various ways.  utsetup bombs out reporting

=
Installation of Sun Ray Server Software has completed.

./utinstall[466]: main[409]: handle_component[293]: installed_rev[168]: 
showrev: not found [No such file or directory]
Updating software, please wait.

Stopping Sun Ray services, please wait ...
./utinstall[466]: main[409]: handle_component[298]: do_patchadd[224]: patchadd:
not found [No such file or directory]
There was an error in Patch installation. Please check the above output for 
details.

Please check for errors/warnings in

/var/adm/log/utinstall.2012_08_21_12:27:13.log

+++ Done.
root@wiked:~/sunray/srs_5.3.1.0-SunOS.sparc#
=

and so it never asks me any setup questions etc.

So, what did you run to install and configure SRSS 4.4 ??

I will try adding the  pkg install group/feature/multi-user-desktop
and see what happens on next try.  I suspect I may
be better running utinstall and all the other tools
manually one after the other though.

Dave Price

Dave Price

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-22 Thread Craig Bender

Hi Marcel,

Just FYI, if you are interested in saving steps...

Your first two pkg install commands are redundant, given your third 
choice.  Multi-user-desktop *includes* cde-runtime and dhcpmgr.


-CB

On 8/22/12 7:24 AM, Marcel Telka wrote:

On Wed, Aug 22, 2012 at 02:47:25PM +0100, Dave Price wrote:

pkg install SUNWdhcsb SUNWdhcs SUNWdhcm
pkg install /x11/library/libxevie
pkg install SUNWmfrun SUNWtltk SUNWdtbas


After the Solaris 11 install on my T4-1 I do basically only this:

 pkg install network/dhcp/dhcpmgr service/network/dhcp/datastore/binfiles
 pkg install cde/cde-runtime
 pkg install group/feature/multi-user-desktop

 svcadm enable gdm

 reboot

Then I install SRSS 4.4.

And it works.


___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-22 Thread Craig Bender

Hi Dave,

Three things.

1) You need to install group/feature/multi-user-desktop *after* Solaris 
installation completes.  Until this is done, the SMF multi-user service 
will not be available



2) utsetup will fail because utsetup tries to install patches via a 
mechanism that is incompatible with S11


*BUT THAT'S OK*  :)

The product will be installed. Minus patches at this point.

Now you would reboot at this point.

Then run your utconfig by hand (something else that utsetup does now 
that used to be separate)


3) Private interconnects (e.g. utadm -a) are one of the thing that won't 
work with the current release of SRS and S11.


This won't stop you from being able to run Sun Rays on an isolated 
network, but all the networking configuration won't be done 
automatically.  Enable LAN based interconnects and provide DHCP, and 
some sort of way from the Sun Rays to find the server on that segment, 
and you should be fine.




On 8/22/12 8:25 AM, Dave Price wrote:

Dear Marcel,


1/.
mar...@telka.sk said:


 pkg install network/dhcp/dhcpmgr service/network/dhcp/datastore/
binfiles


On my machine...

oot@wiked:~# pkg list '*dhcp*'
NAME (PUBLISHER)  VERSIONIFO
network/dhcp/dhcpmgr  0.5.11-0.175.0.0.0.2.1 i--
service/network/dhcp  0.5.11-0.175.0.0.0.2.1 i--
service/network/dhcp/datastore/binfiles   0.5.11-0.175.0.0.0.2.1 i--
service/network/dhcp/isc-dhcp 4.1-0.175.0.0.0.2.537  i--
root@wiked:~#

so I already have those.

2/.
mar...@telka.sk said:

pkg install cde/cde-runtime


and on my machine

root@wiked:~# pkg list '*cde*'
NAME (PUBLISHER)  VERSIONIFO
cde/cde-runtime   0.5.11-0.175.0.0.0.0.0 i--
consolidation/cde/cde-incorporation   0.5.11-0.175.0.0.0.0.0 i--
root@wiked:~#

so I have that already too.

3/.
mar...@telka.sk said:

pkg install group/feature/multi-user-desktop


on my machine

root@wiked:~# pkg list '*multi-user-desktop*'
pkg list: no packages matching '*multi-user-desktop*' installed
root@wiked:~#

so I don't have that at present.

4/.
mar...@telka.sk said:

svcadm enable gdm


on my machine

root@wiked:~# svcs | grep gdm
online 17:51:16 svc:/application/graphical-login/gdm:default
root@wiked:~#

so I already have that too.


5/.
mar...@telka.sk said:

Then I install SRSS 4.4.


So what instructions did you use for that and which download
did you use?I am trying to install using
either utsetup or utinstall etc from

srs_5.3.1.0-SunOS.sparc

and both fall over in various ways.  utsetup bombs out reporting

=
Installation of Sun Ray Server Software has completed.

./utinstall[466]: main[409]: handle_component[293]: installed_rev[168]: 
showrev: not found [No such file or directory]
Updating software, please wait.

Stopping Sun Ray services, please wait ...
./utinstall[466]: main[409]: handle_component[298]: do_patchadd[224]: patchadd:
not found [No such file or directory]
There was an error in Patch installation. Please check the above output for 
details.

Please check for errors/warnings in

 /var/adm/log/utinstall.2012_08_21_12:27:13.log

+++ Done.
root@wiked:~/sunray/srs_5.3.1.0-SunOS.sparc#
=

and so it never asks me any setup questions etc.

So, what did you run to install and configure SRSS 4.4 ??

I will try adding the  pkg install group/feature/multi-user-desktop
and see what happens on next try.  I suspect I may
be better running utinstall and all the other tools
manually one after the other though.

Dave Price

Dave Price

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-22 Thread Marcel Telka
On Wed, Aug 22, 2012 at 04:25:14PM +0100, Dave Price wrote:
 =
 Installation of Sun Ray Server Software has completed.
 
 ./utinstall[466]: main[409]: handle_component[293]: installed_rev[168]: 
 showrev: not found [No such file or directory]
 Updating software, please wait.
 
 Stopping Sun Ray services, please wait ...
 ./utinstall[466]: main[409]: handle_component[298]: do_patchadd[224]: 
 patchadd:
 not found [No such file or directory]
 There was an error in Patch installation. Please check the above output for 
 details.
 
 Please check for errors/warnings in
 
 /var/adm/log/utinstall.2012_08_21_12:27:13.log
 
 +++ Done.
 root@wiked:~/sunray/srs_5.3.1.0-SunOS.sparc#
 =
 
 and so it never asks me any setup questions etc.
 
 So, what did you run to install and configure SRSS 4.4 ??
 
 I will try adding the  pkg install group/feature/multi-user-desktop
 and see what happens on next try.  I suspect I may
 be better running utinstall and all the other tools
 manually one after the other though.

I use these steps to install SRSS 4.4 build 49 (which should be the officially
released build of 4.4; and yes, I use Oracle internal source for the SRSS
software, so I am not sure where it is available for download externally):

export VER=4.4
export BUILD=49
export SRS_VER=5.3.0.0
export FW_VER=11.0.0.0 
mkdir -p /var/tmp/srss
cd /var/tmp/srss
scp -p x...@.us.oracle.com:/PATH/sros_$FW_VER.tar.Z .
scp -p x...@.us.oracle.com:/PATH/srs_$SRS_VER.tar.Z .
gtar -xf sros_$FW_VER.tar.Z
gtar -xf srs_$SRS_VER.tar.Z
mv sros_$FW_VER sros_$VER-$BUILD
mv srs_$SRS_VER srss_$VER-$BUILD
rm sros_$FW_VER.tar.Z
rm srs_$SRS_VER.tar.Z

sros_$VER-$BUILD/utfwinstall
srss_$VER-$BUILD/utinstall

/opt/SUNWut/sbin/utconfig
/opt/SUNWut/sbin/utpolicy -a -m -g -z both -u both -M
/opt/SUNWut/sbin/utcrypto -a enc_up_type=ARCFOUR enc_down_type=ARCFOUR 
auth_down_type=simple auth_up_type=none mode=hard
/opt/SUNWut/sbin/utadm -L on
/opt/SUNWut/sbin/utstart -c
/opt/SUNWut/sbin/utfwadm -A -a -V -G force -f /opt/SUNWutdfw/lib/firmware

echo 'export PATH=$PATH:/opt/SUNWut/sbin:/opt/SUNWut/bin:/opt/SUNWkio/bin' 
 ~root/.profile

reboot

-- 
+---+
| Marcel Telka   e-mail:   mar...@telka.sk  |
|homepage: http://telka.sk/ |
|jabber:   mar...@jabber.sk |
+---+
___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-22 Thread Dave Price
Dear Craig,


craig.ben...@oracle.com said:
 1) You need to install group/feature/multi-user-desktop *after*
 Solaris  installation completes.  Until this is done, the SMF
 multi-user service  will not be available

I have done that.  As it seemed a good/safe thing, I have
now created a new BE and activated/booted that so  I can start
again from here if going forward fails yet again...


craig.ben...@oracle.com said:
 2) utsetup will fail because utsetup tries to install patches via a
 mechanism that is incompatible with S11

 *BUT THAT'S OK*  :)

 The product will be installed. Minus patches at this point.

 Now you would reboot at this point. 

o.k.   But if I am doing that, why don't I just run utinstall
rather than utsetup?  Surely at the point utsetup
bombs out it has only done the utinstall part anyway...

craig.ben...@oracle.com said:
 Then run your utconfig by hand (something else that utsetup does now
 that used to be separate)

o.k.


craig.ben...@oracle.com said:
 3) Private interconnects (e.g. utadm -a) are one of the thing that
 won't  work with the current release of SRS and S11.

Ah - you are the first person to say that and I have not
spotted in in any web pages/forums/wikis etc...


craig.ben...@oracle.com said:
 This won't stop you from being able to run Sun Rays on an isolated
 network, but all the networking configuration won't be done
 automatically.  Enable LAN based interconnects and provide DHCP, and
 some sort of way from the Sun Rays to find the server on that segment,
  and you should be fine. 

o.k., I need to think about this

I can clearly bring up my net1 interface and
manually give it an IP address etc using ipadm

[My machine in question
normally gets given   192.168.199.7  for its sunray interconnect IP address.]

Can I then use

utadm -A 192.168.199.0

or does -A not work either?

Would I need to also issue

   utadm -L on

I don't want SunRay service running on the net0 interface though.
So if I do have to issue   utadm -L on   would
I then need to issue   utadm -D x.y.z.0  (where x.y.z.0
is the range I have on net0).

If I can use  -A, then it think that will start a DHCP service - yes? or
does that not work either on Solaris 11??

Thanks for the help.

Dave Price

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-22 Thread Dave Price
Dear Marcel,

Thanks for your detailed list of commands.  There
are a few parameter choices I think I will pick differently.
I don't think I want to enable NSCM in my scenario for instance.

I see also that you use   -A   and  -L on  to utadm and
I wanted a private interconnect (-a) which Craig Bender
says does not work on Solaris 11.   I think I will
have to hand craft things a bit ...

I think I may choose to not use utseup at all, but do things
the old way as you have done.

Thanks,

Dave Price

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] more help needed - Advice: Sunray on Solaris 11/SPARC with private interconnect

2012-08-22 Thread Craig Bender
If you really want to hack it, a private interconnect possible.  But 
you'll have to do so by hand.  Note that you'll have to create files 
that don't exist on S11, and you'll have to manually setup DHCP.


Basically follow the utadm script, follow the -a case. Where it does 
file checks, create those files if they don't exist.  Populate those 
files as the script would do.  Manually configure DHCP, as the script 
would do.


Just curious as to what benefit you'd get over just LAN based and a 
manual DHCP config when the network wire itself is private?


I feel that anything but LAN on always results in more work down the 
road.  In this case, where they don't work on S11, results in more 
upfront work and more work anytime you want to make a change to 
something like firmware versions, barrier levels, etc.  Remember that 
the DHCP vendor class tags used in private interconnects will override 
other configuration methods, so I'd at least give a bit of thought to 
whether you really want to do this considering the struggles you've 
faced thus far.


This will eventually all work, but only when we officially support S11.



On 8/22/12 9:38 AM, Dave Price wrote:

Dear Marcel,

Thanks for your detailed list of commands.  There
are a few parameter choices I think I will pick differently.
I don't think I want to enable NSCM in my scenario for instance.

I see also that you use   -A   and  -L on  to utadm and
I wanted a private interconnect (-a) which Craig Bender
says does not work on Solaris 11.   I think I will
have to hand craft things a bit ...

I think I may choose to not use utseup at all, but do things
the old way as you have done.

Thanks,

Dave Price

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users