Add Sunray to lan and configure multihead
February 22, 2008 Sunray No CommentsIn a previous post i showed how to install the Sunray server and setup a dedicated interconnect, that is the Sunray plugs into the back of the Sunray server. Not very useful. To setup a Sunray so you can plug the terminals into the lan is just as easy.
# ./opt/SUNWut/sbin/utadm -A <subnet address>
Then just follow the couple of prompts, which will not differ greatly from the entries with the utadm command given in the previous post.
I also mentioned multihead in the last post. So let’s get multihead setup. First let’s check it’s configured.
heineken:/opt/SUNWut/sbin # ./utpolicy
# Current Policy:
-a -g -z both
I don’t see a ‘-m’, so i know multihead is not configured. Let’s configure it. By the way, if you run utpolicy with -h flag you will see what the options are and what they mean.
heineken:/opt/SUNWut/sbin # ./utpolicy -a -m -z both
And it will tell you a restart is required, and in this case a warm restart is sufficient.
heineken:/opt/SUNWut/sbin # ./utrestart
heineken:/opt/SUNWut/sbin # ./utpolicy
# Current Policy:
-a -m -z both
We now can create a multihead group. Note that the commands are different if you are using smart cards or not. This example will presume there are no smart cards.
heineken:/opt/SUNWut/sbin # ./utmhadm
no group(s) for multihead found.
Run the utdesktop -l command to determine the identifier of the Sunray terminals.
heineken:/opt/SUNWut/sbin # ./utdesktop -l
Desktop ID Location Other Info
————— ————————- ———————————–
0003baffa206 Wall desk
0003baffa2b9 Middle desk
2 desktops total.
heineken:/opt/SUNWut/sbin # ./utmhadm -a test-mh -g 2×1 -p 0003baffa2b9 -l 0003baffa2b9,0003baffa206
1 Group for multihead added.
heineken:/opt/SUNWut/sbin # ./utmhadm
Multihead Group Geometry CIDs
—————— —————— ——————————–
test-mh geometry=2×1 IEEE802.0003baffa2b9 (P)
IEEE802.0003baffa206
1 group total.
You will now see that only primary specified Sunray has a login screen. If i login to it then the other screen becomes the secondary. To cancel it you just reverse the process. First disable multihead:
heineken:/opt/SUNWut/sbin # ./utpolicy -a -g -z both
And restart:
heineken:/opt/SUNWut/sbin # ./utrestart
To delete the multihead group:
heineken:/opt/SUNWut/sbin # ./utmhadm -d test-mh
group deleted.
If you want to use smartcards then the utmhconfig command is used instead of utmhadm.