OpenSolaris as a boot server
I recently upgraded to the "latest" OpenSolaris on my desktop. This is also my primary NIS and NFS server and boot server.
I was rather dismayed at first by some of the bits that were missing. NIS, DHCP, and more. I finally got it all working, and I thought I'd document it here for posterity.
First install NIS. "pkg install SUNWyp"
(Configuration of NIS left as an "exercise" for the reader.)
Second, DHCP was missing, so we install it as well:
"pkg install SUNWdhcs SUNWdhcsb SUNWdhcm"
(Configuration of DHCP left as an exercise...)
Then, it turns out that there was no manifest for TFTPD, not even a commented out entry in /etc/services. I copied the line from /etc/inetd.conf on another system:
tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot
Then run "inetconv".
My question to the OpenSolaris/Indiana folks -- why wasn't this listed in the stock inetd.conf -- even as a commented out entry? What I'd have preferred is to see a default service installed, but not enabled by this for default. It took some man page reading and investigation to figure out where tftp was in the "new" world.
Anyway, its all working now... I'm booting a b95 image over the network as I type this...
I was rather dismayed at first by some of the bits that were missing. NIS, DHCP, and more. I finally got it all working, and I thought I'd document it here for posterity.
First install NIS. "pkg install SUNWyp"
(Configuration of NIS left as an "exercise" for the reader.)
Second, DHCP was missing, so we install it as well:
"pkg install SUNWdhcs SUNWdhcsb SUNWdhcm"
(Configuration of DHCP left as an exercise...)
Then, it turns out that there was no manifest for TFTPD, not even a commented out entry in /etc/services. I copied the line from /etc/inetd.conf on another system:
tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot
Then run "inetconv".
My question to the OpenSolaris/Indiana folks -- why wasn't this listed in the stock inetd.conf -- even as a commented out entry? What I'd have preferred is to see a default service installed, but not enabled by this for default. It took some man page reading and investigation to figure out where tftp was in the "new" world.
Anyway, its all working now... I'm booting a b95 image over the network as I type this...
Comments
I'll go file a bug to track this.
While I was trying setup tftp server on my OpenSolaris env, I hit the same issue that there is no tftp listed by "svcs -a".
SUNWtftp had been installed at that time.
Anyway, we need have a CR to track this issue.
//Jim