OpenIndianaでSun Rayサーバー構築

#Tech

OpenIndiana Hipster 2025.10でSun Rayサーバー構築に関する記事。

Proxmox VM上にOpenIndianaをインストールし、Sun Ray Installationセクションの手順に従ってSun Rayサーバーのパッケージをインストールします。

Java Runtime EnvironmentやApache Tomcatなどの依存関係も設定し、手動パッチやISC DHCPの設定も行います。

最終的に、クライアントにSun Rayサーバーを指向するための手順を解説しています。

レガシーなシステムを現代の仮想環境で動かす試みとして、Sun RayサーバーをOpenIndiana Hipster 2025.10上に構築する手順が公開されました。この試みは、古い技術スタックを最新のOS環境に移植する際の具体的な課題と解決策を示す貴重な事例となっています。本記事では、その詳細な構築プロセスを解説します。

仮想マシン環境の構築手順

まず、OpenIndiana(OI)をProxmox VM上にインストールするための環境設定が行われています。使用するISOは「OpenIndiana Hipster 2025.10 Live DVD」です。VM設定では、CPUはホストモデル、メモリは8GB、ディスクは60GB(VirtIO Block)といった具体的なスペックが指定されています。特に、IOMMUを「vIOMMU」に設定するなど、レガシーなソフトウェアを動かすための細かな調整が求められています。この設定により、OIのインストーラーを起動させ、OSの初期インストールを完了させます。

Sun Rayサーバーのインストールと調整

OSが稼働した後、システムアップデートと「hipster-encumbered」リポジトリの有効化といった初期設定からスタートします。その後、Sun Rayサーバーに必要な依存関係を導入し、Oracle eDeliveryなどから入手したSun Ray Server Software(SRSS)を展開します。この際、公式のガイドラインとは異なる点が多く見られます。特に、SRSSが要求するJava Runtime Environment(JRE)やApache Tomcatといったコンポーネントは、パッケージ内に含まれているため、手動で適切なディレクトリに配置する作業が必要となります。

パッチ適用と最終設定の完了

SRSSのインストール後、OpenIndianaのパッチツールを用いてサーバーに適用を行います。さらに、Sun Rayサーバーが利用しようとするDHCPデーモンを、ISC DHCPに手動で置き換える調整が行われています。また、公式ハンドブックには記載されていない複数の手動パッチを適用することで、システム間の互換性を確保しています。最終的に、設定ツール(utconfig)を用いてサーバーの初期設定を完了させ、レガシーシステムを現代の仮想環境で動作可能な状態に導いています。

まとめ

本事例は、古い技術を現代のインフラストラクチャに統合する際の技術的な難易度の高さを示しています。公式ドキュメントにない手動での調整やパッチ適用が多々必要となることから、レガシーシステムの運用には深い技術的理解が不可欠であると言えるでしょう。

原文の冒頭を表示(英語・3段落のみ)

time for another Sun Ray blog post! I've had a few people email me asking for help setting up a Sun Ray server over the last few months, and despite my attempts to help them get it going there's been mixed results with running SRSS on OpenIndiana Hipster 2025.10.my Sun Ray server is still on an earlier OI snapshot, so I figured it was about time to try to actually follow the new guides myself.installing OI in a Proxmox VMfirst hurdle - VM configuration. this is what worked for me on a PVE 9.0.11 host, but YMMV:Install media: "OpenIndiana Hipster 2025.10 Live DVD (64-bit x86)" from the OpenIndiana downloads page (file name OI-hipster-gui-20251026.iso)Guest OS: "Solaris Kernel" (I'm not sure if this shows up in older PVE versions?)Machine: type q35, firmware as SeaBIOSGraphic card: Standard VGADisks: 60GB, bus set to "VirtIO Block," cache set to "write back," discard turned onCPU: model host, 1 socket, 4 coresMemory: 8GBNetwork: set model to "VirtIO (paravirtualized)"don't start on creation, there's a few things to edit! in the Hardware tab of the new VM...add a new "VirtIO RNG" deviceedit the "Machine" config, toggle on the "Advanced" checkbox, and set IOMMU to "vIOMMU"the config for our new VM looks like this: after that, start the VM, and boot into the OpenIndiana installer. the GUI installer (there's a shortcut on the desktop of the live image) worked fine for me - although it did pop up a couple of error dialog boxes after starting the install, the install continued with no issues when I closed them. if you walk away while it's installing, and come back to a screen lock - the password for the live user is jack.once it's installed, reboot into your new OI install, and log in as your (normal, unprivileged) user account. open up a terminal - which will likely look like it's broken, because it defaults to black text on a black background for some reason. open the "Edit" menu > "Profile Preferences" > "Colors" tab, and uncheck the "Use colors from system theme" box. use sudo -i to get a root shell.first off, update the system! things will act Really Strangely if you forget to do this. i'd also recommend enabling the hipster-encumbered repository: pkg set-publisher -g https://pkg.openindiana.org/hipster-encumbered/ hipster-encumbered

pkg refresh

pkg updateHey, look out!at this point, we start following the steps from the Sun Ray Installation section of the OpenIndiana Handbook. I'll use a block like this one to point out where what I'm telling you to do differs from that guide.install the sunray-essential package, which brings in all the needed dependencies: pkg install sunray-essentialdownload and extract the Sun Ray Server Software package, which you can download from https://edelivery.oracle.com after signing up. there are a number of Sun Ray-related listings on archive.org which contain the right files, too - you're looking for V37038-01.zip, which is Sun Ray Server Software version 5.4.0.0 for Solaris 11 i386. the only copy of SRSS 5.4.5.0 I've managed to find is for SPARC (found here, on archive.org - the fact that the OI Handbook says that 5.4.5.0 can be found on Oracle eDelivery seems to be utterly untrue. that said, if you do manage to get SRSS 5.4.5.0 for Solaris 11 i386 from Oracle eDelivery - or from anywhere else from that matter - please send me an email! bsdtar -C /root -xf V37038-01.zipafter it's extracted, we can tell IPS where to find it, and install the Sun Ray server packages: pkg set-publisher -g /root/srs_5.4.0.0-Solaris_11plus.i386/IPS.i386/ sunray

※ 著作権に配慮し、引用は冒頭3段落までです。続きは元記事をご覧ください。

元記事を読む ↗