Home > Solaris, Sun Ray, Work > Fun with Sun Desktop Manager

Fun with Sun Desktop Manager

October 26th, 2006

The other day I showed Chris how to install a new Sun Ray server. (this one is a 10 processor domain on a E25K, running Solaris 10, ZFS and everything new). Well we switched it over to be the primary Sun Ray server last night and noticed some slowness. So we decided to install APOC Sun Desktop Manager on it to see if we could disable some stuff to make the JDS enviroment run a little faster. The install of the console and server seemed to go fine, but every time we tried to run the “svcadm enable apocd/udp” it would fail and go in to maintenance mode. It seems that when ever the install happened, the info for the apocd/udp was not populated in to the inetadm..
The first thing I did was look at the /var/adm/messages and saw this:

Oct 26 10:12:06 megatron inetd[280]: [ID 702911 daemon.error] Property ‘name’ of instance svc:/network/apocd/udp:default is missing, inconsistent or invalid
Oct 26 10:12:06 megatron inetd[280]: [ID 702911 daemon.error] Property ‘endpoint_type’ of instance svc:/network/apocd/udp:default is missing, inconsistent or inval
id
Oct 26 10:12:06 megatron inetd[280]: [ID 702911 daemon.error] Property ‘isrpc’ of instance svc:/network/apocd/udp:default is missing, inconsistent or invalid
Oct 26 10:12:06 megatron inetd[280]: [ID 702911 daemon.error] Property ‘wait’ of instance svc:/network/apocd/udp:default is missing, inconsistent or invalid
Oct 26 10:12:06 megatron inetd[280]: [ID 702911 daemon.error] Unspecified inetd_start method for instance svc:/network/apocd/udp:default
Oct 26 10:12:06 megatron inetd[280]: [ID 702911 daemon.error] Invalid configuration for instance svc:/network/apocd/udp:default, placing in maintenance

Interesting, we then spent a while trying to figure out what was supposed to be in there. Running “inetadm -l network/apocd/udp” produced this:

# inetadm -l network/apocd/udp
SCOPE NAME=VALUE
Error: Required property name is missing.
Error: Required property endpoint_type is missing.
Error: Required property proto is missing.
Error: Required property isrpc is missing.
Error: Required property wait is missing.
Error: Required property exec is missing.
Error: Required property user is missing.
default bind_addr=”"
default bind_fail_max=-1
default bind_fail_interval=-1
default max_con_rate=-1
default max_copies=-1
default con_rate_offline=-1
default failrate_cnt=40
default failrate_interval=60
default inherit_env=TRUE
default tcp_trace=FALSE
default tcp_wrappers=FALSE

What I ended up doing was this:

inetadm -m network/apocd/udp name=apocd
inetadm -m network/apocd/udp endpoint_type=dgram
inetadm -m network/apocd/udp proto=udp
inetadm -m network/apocd/udp isrpc=FALSE
inetadm -m network/apocd/udp wait=TRUE
inetadm -m network/apocd/udp exec="/usr/lib/apoc/apocd inetdStart"
inetadm -m network/apocd/udp user="daemon"
inetadm -l network/apocd/udp
SCOPE    NAME=VALUE
         name="apocd"
         endpoint_type="dgram"
         proto="udp"
         isrpc=FALSE
         wait=TRUE
         exec="/usr/lib/apoc/apocd inetdStart"
         user="daemon"
default  bind_addr=""
default  bind_fail_max=-1
default  bind_fail_interval=-1
default  max_con_rate=-1
default  max_copies=-1
default  con_rate_offline=-1
default  failrate_cnt=40
default  failrate_interval=60
default  inherit_env=TRUE
default  tcp_trace=FALSE
default  tcp_wrappers=FALSE

# svcs apocd/udp
STATE          STIME    FMRI
maintenance    11:21:41 svc:/network/apocd/udp:default
# svcadm disable apocd/udp
# svcadm enable apocd/udp
# svcs apocd/udp
STATE          STIME    FMRI
online         11:36:52 svc:/network/apocd/udp:default

So now apoc runs, but now only part of the config stuff that I set in the Desktop Manager actually works. For example, I got the splash screen not to show, but I can’t get the default terminal to be dtterm instead of gnome-terminal (dtterm uses about 7meg of ram, whereas gnome-terminal uses about 78 meg..Take that and add about 20 users with about 10 or 15 terminal windows open and you have 2gig of ram for dtterm vs 23.4 gig of ram) So now we are trying to figure out some other performance enhancements. Thinking about putting a less intensive graphical environment on it for the people to use.

Any one have some good tips for speeding up a 10 x 1.2GHz UltraIII box with 16gb of ram running Solaris 10?

Technorati Tags: ,

Solaris, Sun Ray, Work , ,

Comments are closed.