Archive

Posts Tagged ‘Sun Ray’

Interesting Sun Ray problem

September 14th, 2006
Comments Off

I got called the other night by our operations group because the keyboard and mouse would not work on their 3 head group of Sun Ray 150′s. So I went in and killed their session and had them restart it, did not work. So I went looking in the log files and saw this:

Sep 11 17:53:41 [10.198.11.221.2.2] 0×0.0x1c392b7 0:3:ba:3c:1b:c1 USB: enable change: 2 lost enable state!
Sep 11 17:53:41 [10.198.11.221.2.2] 0×0.0x1c392b7 0:3:ba:3c:1b:c1 USB: enable change: 4 lost enable state!
Sep 11 20:28:44 [10.198.11.221.2.2] 0×0.0x2a1 0:3:ba:3c:1b:c1 USB: usb port 1 overcurrent
Sep 11 20:28:46 [10.198.11.221.2.2] 0×0.0×307 0:3:ba:3c:1b:c1 USB: usb port 2 overcurrent
Sep 11 20:28:46 [10.198.11.221.2.2] 0×0.0x36d 0:3:ba:3c:1b:c1 USB: usb port 3 overcurrent
Sep 11 20:28:47 [10.198.11.221.2.2] 0×0.0x3d3 0:3:ba:3c:1b:c1 USB: usb port 4 overcurrent
Sep 11 20:28:48 [10.198.11.221.2.2] 0×0.0×439 0:3:ba:3c:1b:c1 USB: usb port 5 overcurrent
Sep 11 20:45:34 [10.198.11.221.2.2] 0×0.0×291 0:3:ba:3c:1b:c1 USB: usb hub port 4 overcurrent!
Sep 11 20:45:35 [10.198.11.221.2.2] 0×0.0x2f9 0:3:ba:3c:1b:c1 USB: usb hub port 1 overcurrent!
Sep 11 20:45:36 [10.198.11.221.2.2] 0×0.0x35f 0:3:ba:3c:1b:c1 USB: usb hub port 2 overcurrent!
Sep 11 20:45:37 [10.198.11.221.2.2] 0×0.0x3c5 0:3:ba:3c:1b:c1 USB: usb hub port 3 overcurrent!
Sep 11 20:45:38 [10.198.11.221.2.2] 0×0.0x42b 0:3:ba:3c:1b:c1 USB: usb hub port 5 overcurrent!
Sep 11 20:46:21 [10.198.11.221.2.2] 0×0.0×304 0:3:ba:3c:1b:c1 USB: usb hub port 1 overcurrent!
Sep 11 20:46:22 [10.198.11.221.2.2] 0×0.0x36a 0:3:ba:3c:1b:c1 USB: usb hub port 2 overcurrent!
Sep 11 20:46:23 [10.198.11.221.2.2] 0×0.0x3d0 0:3:ba:3c:1b:c1 USB: usb hub port 3 overcurrent!
Sep 11 20:46:24 [10.198.11.221.2.2] 0×0.0×436 0:3:ba:3c:1b:c1 USB: usb hub port 4 overcurrent!
Sep 11 20:46:25 [10.198.11.221.2.2] 0×0.0x49c 0:3:ba:3c:1b:c1 USB: usb hub port 5 overcurrent!

Well that could not be good. So I ended up going in to the office. Tried unplugging the Sun Ray and plugging it back in. This is when I saw the 9 D error icon. Nice little icon with a picture of a USB connector and a yellow triangle. So I unplugged it and disconnected the keyboard and mouse and then plugged it back in. Still got the same error. The funny thing about the error is, it is listed as this in the docs:

This is an over current condition on the USB bus, i.e., the total number of devices draws too much current . Consider using a powered hub.

So now I ended up swaping it out with one that was in my office and rebuilding the multi-head group, and they were all set. The interesting thing about it is that the status LED stayed green, instead of turning amber. So the next morning I tried it on a different server (the original server it was attached to is running SRSS 2.0 still) that was running SRSS 3.1, this time nothing showed up in the log files, but the Sun Ray still showed the USB 9 icon and the keyboard and mouse did not work. So I ended up calling it in for replacement. It is nice that the Sun Ray’s have a long warrenty period. This one was bought 2 or 3 years ago.

In an unrelated note, I have to go in early to get a power backplane replaced in one of our V890′s because we have went through three power supplies in the PS0 slot in under a month. The bad part about this is the 890 has 11 zones on it and 1TB of disk, so we are going to have some services out while Sun replaces the backplane and power supply. Hopefully this will fix it though.

Computer Hardware, Interesting, Solaris, Sun, Sun Ray, Thin Clients, Work, Zones/Containers , , , , , , ,

new “ultra thin” client?

August 3rd, 2006
Comments Off

I received a “big” envelope in the mail the other day, it was from Axel. (No Justin, not Axel Rose ;-) but the company Axel www.axel.com). In it they were talking about their new Ultra-Think Client techonology which is now available. What is interesting is their little info sheet that accompanied it. What follows is a copy of what they had on the sheet:

ULTRA-THIN CLIENT TECHNOLOGY is now available!!!

AXEL Inc has developed a unique technical approach, geared toward providing the following benefits:

  • Optimized Electronics
  • No Opertaing System
  • No Local Administration necessary
  • Embedded native client for RDP and ICA
  • Emulation for 5250, 3270, UNIX
  • Multiple Independent Sessions
  • 100% Virus immunity

…Regardless of the size of your organization, type of host, servers, or application if reliability, security and cost of ownership are your primary concerns, the ultra-thin client technology is the right answer.

Consider the following: (applicable to PC’s and OS-based thin clients)
Anti virus license – Cost per PC or PC based thin client – $30.00 / year -
Usual warranty coverage for PC’s – 3 years
Up to 70% of standard PC’s (and thin clients based on this architecture) resources are dedicated to the operating system
Extensive usage of network bandwidth capacity.
Up grade license required for various application sold – per PC or user.
Multiple support sources needed from various vendors depending on the nature of the problem

And then consider, with Axel’s Ultra Thin-Client Technology…

No need for Anti-Virus license
5 years warranty
Resources fully dedicated to applications
Low Bandwidth usage thanks to smart display management
Upgrades unnecessary
Support from one source

Now I have never used one of the Axel Terminal’s, but I have used nearly every type of Sun Ray from Sun Microsystems. What I find funny about this ad is that what they are talking about is nothing new. Sun has been doing it for years. What is intresting is that it says there is no operating system in the thin client. But if it supports all those emulations it must have some sort of OS in them wouldn’t it? I like how it says that it supports “Multiple Independent Sessions”, but from looking at the specs it doesn’t look like it supports the hot desking like the Sun Ray’s do. I really like Sun’s hot desking feature when I can go between my house, office and off-site data center and still have access to the same desktop in all three places. My sessions also stays where it was when the network goes out (like tonight for some reason we were having hit and miss getting to the sun ray server at the office, but our sessions were always in the state that they were when the network went out.

Doing a quick search on google it also looks like the price of these terminals may be more than Sun’s Sun Ray thin clients. Sorry Axel, nice flyer, but I will stick with Sun Ray’s.

Sun Ray, Sun Ray @Home, Thin Clients , ,

Sun Ray 270

July 11th, 2006

Sun released the new RoHS complaint Sun Ray 270 today. Basicly the same as the Sun Ray 170, but one thing that needs changed on their page is a pretty “obvious” error.. Down under the hardware requirements it says :

A monitor, keyboard, and mouse for each Sun Ray 270.

Now I can see the need for a keyboard and mouse, but not a montior, especially when it has a built in LCD Panel… Specificly if it does not have the built in dual head feature like the Sun Ray 2FS then why is a montior needed? I think they just probably copied a page from a different product.

Technorati Tags:

Sun, Sun Ray ,

Sun Ray @Home howto part 1 (quick and dirty)

March 22nd, 2006

This part will cover how I accomplished getting a Sun Ray to run at home over a DSL and Cable modem. This is using SRSS 3.1. (Part 2 which I will do later is for SRSS 2.0 and 3.0) This is a quick and dirty howto, and assumes that you already have SRSS 3.1 up and running on your local network and have some understanding of DNS, ipfilter, cisco access lists, (or equivelent)

Here is a quick overview

  1. Make sure specific ports are open to the server
  2. Turn on LAN connections
  3. Make sure the Sun Ray has the latest firmware for SRSS 3.1 that is available
  4. Add DNS entries
  5. Configure Home network
  6. Enjoy Sun Ray from Home

More Detailed Instructions

Configure Network to allow Specific ports to Sun Ray Server

These are the rules I used on my Cisco router (10.10.10.101 is the Public IP address of the server, just changed to hide it’s real ip) :

access-list 16 permit tcp any host 10.10.10.101 eq 7007
access-list 16 permit tcp any host 10.10.10.101 eq 7008
access-list 16 permit tcp any host 10.10.10.101 eq 7009
access-list 16 permit udp any host 10.10.10.101 eq 7009
access-list 16 permit tcp any host 10.10.10.101 eq 7010
access-list 16 permit tcp any host 10.10.10.101 eq 7011
access-list 16 permit tcp any host 10.10.10.101 eq 7012
access-list 16 permit tcp any host 10.10.10.101 eq 7013
access-list 16 permit udp any host 10.10.10.101 eq 7013
access-list 16 permit udp any host 10.10.10.101 range 40000 42000
access-list 16 permit tcp any host 10.10.10.101 eq 80

Now that I have these ACL’s setup, ANY machine/Sun Ray on the Internet can get to the Sun Ray server. So to fix this I did the following:

Setup a Web server that runs on the Sun Ray server (or some place else if you wish). The purpose of this web server is to allow your users to “register” their Sun Ray to use the server. When I say “register” what I mean is this:

  1. By default I have IPFilter configured (the machine is running Solaris 10) to deny all incoming traffic except for port 80
  2. The User then must go to the web server and log in with their username and password and on the web page it will ask them if their IP is correct, if it is not then they can update it. Once they update it a cron job runs in the background that creates new IPFilter rules and reloads the ipfilter firewall.
  3. User can then power on their Sun Ray, they will then get the Secured Login where they have to have either a registered Java Card, or they can register their Java Card if they have a valid username and password on the box.
  4. User should now be able to log in

The reason I did it this way was I did not want any one in the world to be able to configure their Sun Ray to see my Sun Ray server. This way I am only allowing “known” people to get to it.

The way I store the IP’s is in a mysql db on the SunRay server. To reload the firewall I run this script as a cronjob that runs every minute:

#!/bin/ksh
#purpose is to reload the ipfilter firewall rules for when a new sunray needs access to the server
#Runs every minute from a cron job
rm -f /root/ipf.conf.tmp
/usr/local/bin/php /root/exportipf > /root/ipf.conf.tmp

FILESIZE="`wc -l /root/ipf.conf.tmp |awk ‘{print $1}’`"
if [[ ${FILESIZE} -gt 0 ]]; then
        rm -f /etc/ipf/ipf.conf
        cat /etc/ipf/ipf.conf.head > /etc/ipf/ipf.conf
        cat /root/ipf.conf.tmp >> /etc/ipf/ipf.conf
        ipf -Fa -f /etc/ipf/ipf.conf
        rm -f /root/ipf.conf.tmp
fi

The contents of the ipf.conf.head file look like this:

block in log on ge0 all
pass out quick on ge0 all keep state
pass in quick on ge0 proto tcp from any to any port = 80 flags S keep state

The exportipf file is a php script that looks like this:

< ?
mysql_connect("localhost","root");
mysql_select_db("sunray");
$result=mysql_query("select count(*) as count from homeusers where active=’N'");
$num=mysql_result($result,0,"count");
if ($num > 0) {
        //New IP address has shown up, create new set of rules
        $result=mysql_query("select ipaddress,who from homeusers order by ipaddress");
        $num=mysql_num_rows($result);
        $i=0;
        while ($i < $num) {
                $ipaddress[$i]=mysql_result($result,$i,"ipaddress");
                $who[$i]=mysql_result($result,$i,"who");
                echo "#$who[$i]\n";
                echo "pass in quick on ge0 proto tcp from $ipaddress[$i]/32 to any port = 7007 flags S keep state\n";
                echo "pass in quick on ge0 proto tcp from $ipaddress[$i]/32 to any port = 7008 flags S keep state\n";
                echo "pass in quick on ge0 proto tcp from $ipaddress[$i]/32 to any port = 7009 flags S keep state\n";
                echo "pass in quick on ge0 proto udp from $ipaddress[$i]/32 to any port = 7009 flags S keep state\n";
                echo "pass in quick on ge0 proto tcp from $ipaddress[$i]/32 to any port = 7010 flags S keep state\n";
                echo "pass in quick on ge0 proto tcp from $ipaddress[$i]/32 to any port = 7011 flags S keep state\n";
                echo "pass in quick on ge0 proto tcp from $ipaddress[$i]/32 to any port = 7012 flags S keep state\n";
                echo "pass in quick on ge0 proto tcp from $ipaddress[$i]/32 to any port = 7013 flags S keep state\n";
                echo "pass in quick on ge0 proto udp from $ipaddress[$i]/32 to any port = 7013 flags S keep state\n";
                echo "pass in quick on ge0 proto udp from $ipaddress[$i]/32 to any port 40000 >< 42000 flags S keep state\n";
                echo "\n\n";
                mysql_query("update homeusers set active=’Y’ where ipaddress=’$ipaddress[$i]‘");
                $i++;
        }
}
?>

Now that the ports are “open”, we need to make sure the Sun Ray’s can connect, to do this we need to turn on Lan connections:

/opt/SUNWut/sbin/utadm -L on

Now, add the following entries in to your DNS for the domain you want the Sun Ray’s to query:

sunray-config-servers   IN      A       10.10.10.101
sunray-servers            IN      A       10.10.10.101

So we would now have FQDN of sunray-config-servers.someplace.net and sunray-servers.someplace.net.

Now it is time to take the Sun Ray home and configure your home network. I am going to assume that you have some sort of “firewall/router” device, such as a Linksys Broadband router, etc.. The key thing you need to do is configure the DNS Domain that is handed to your DHCP clients to be the same as what you made your DNS host entries as. So in our case, I would configure the DNS domain to be someplace.net. Now you should be able to boot your Sun Ray and get a “login screen” or some other response codes from the server. I have noticed that some time’s the Sun Ray will stay on a 26B, if this happens, you can insert your Java Card, and a login screen should come up. I have not quite figured out what causes it.

Hopefully this will help those running SRSS 3.1.. I will put the instructions for version 2 and 3.0 up later, as they are extremely more involved and requires more hardware to do. But since 3.1 is now “free” everyone should be using it, or moving to it soon!

Some Notes about using a Sun Ray at home:

  1. USB Thumbdrives/cdroms/harddrives do not work if you are behind a NAT device
  2. Depending on your connection speed, you may want to disable all background images, and any “fancy” items such as anti-aliased fonts, shadows, network connection app, etc
  3. Streaming Audio will start out a little shaky, but “will” work if nothing else is happening. (This is based on trying it with a cable modem and dsl modem
  4. I have not tried to upgrade the firmware remotely on the Sun Ray’s, currently I have just have the users bring it back in to the office to have the firmware upgraded

Technorati Tags: , ,

Sun Ray, Sun Ray @Home ,

Interesting Digg link

March 5th, 2006
Comments Off

I found this link http://linuxgazette.net/124/smith.html on digg. It is how to make a multi-head, multi-user Linux machine. My personal opinion.. Go get the Sun Ray Server software and do it for a cheaper and you can have more than 6 people on the machine at once.

The Advantages they list are:

Advantages of a Multi-Seat System: The advantages of multi-seat systems in schools, Internet cafes, and libraries include more than just saving money. They include much lower noise pollution, much less power consumption, and lowered space requirements. For many applications, power and noise budgets are as important as initial cost.

But what they didn’t mention was the biggest disadvantage:
All the monitors basicly have to be with in 6 feet of the PC, and that you have to have 6 Video cards to drive the six “heads”…

If they were to switch this to Sun Ray’s, They could easily have more than 6 people on the same machine and they are not limited to be sitting at the same table as everyone else is.

Just another reason to use the FREE Sun Ray Server software.

Sun Ray