Those who are not working with OpenSolaris, please ignore this mail.
Dear colleagues,
I would like to show you how we install OpenSolaris using Automated
Installer (AI) in our Globalisation team. We use a simple script which
creates the macro needed for the installation.
You can use it also.
/Note:/ this process is highly experimental and unsupported!
*Advantages are:*
* install OpenSolaris on SPARC machines
* the installation process is quite similar to Jumpstart
* don't need to have or manage your own AI server
* can use our IPS repositories located in Prague (the installation
is faster)
*System requires:*
* DHCP server where you have administrator privileges
* the script works on OpenSolaris, Solaris 10 and Nevada systems
(for Solaris 9 need to change the script)
* SPARC clients - must support WAN boot and have the latest OBP
(Open Boot PROM)
* PXE protocol for x86 clients
* booting from network must be set as a first boot options (for x86
clients only)
*How the script works:*
You need to tell the script what is your network, broadcast and router.
The script takes these information, plus information about AI server and
creates the macro. Then you can reboot your client and boot from
network. The client should get the created macro from your DHCP server
and start with the installation.
/Note:/ for SPARC clients - reboot with net:dhcp parameter (reboot
net:dhcp) or press Stop A when booting and type: boot net:dhcp
*The script is interactive and will ask you a couple of questions:*
*1.* Select client platform - choose what platform you want to install
(SPARC or x86)
*2.* Select the image which you want to install
/Note:/ just one image could be chosen for SPARC right now. For x86 we
can add more possibilities for the installation (different image,
specific manifest etc.)
*3.* Choose the client which you want to install
/Note:/ be sure that you add client's hostname into ALLOWED_HOSTS and
the entries are listed in /etc/ethers and /etc/hosts for your client.
*4.* The script will ask you if you want to delete the created macro in
5 minutes. This is recommended if you are going to install x86 clients
and 'booting from net' in BIOS is set as a permanent first option.
/Note:/ your client will be automatically rebooted after the successful
installation and if no macro is found, will boot from hard disk.
/Note:/ if you choose 'No', the macro will not be deleted and your
client will always find this installation macro when booting from
network is set as a permanent first option in BIOS.
*5.* Now it's everything ready and you can reboot your client:
for x86 clients - reboot
for SPARC clients - reboot net:dhcp
The progress of the Automated Installation can be followed by viewing
the log file:
$ tail -f /tmp/install_log
or
$ tail -f /var/svc/log/application-auto-installer\:default.log
/Note:/
login name is: jack
password is: jack
The same login name and password are used for the installed client.
*Watch Jump script in action:
*Short video about how this script works:
http://mediacast.sun.com/users/Jan_Hlodan/media/example.swf
*FAQ*
1. What is Automated Installer (AI)? -
http://opensolaris.org/os/project/caiman/auto_install/
2. Does my SPARC client supports the WAN boot? -
http://dlc.sun.com/osol/docs/content/dev/AIinstall/faq.html#wanboot
3. How can I upgrade the OBP? -
http://developers.sun.com/solaris/articles/openboot_sparc.html
4. What internal IPS repositories are available in Prague? -
http://tgm.czech/twiki/bin/view/Main/IPS_repositories
/Note:/ the repositories are cloned from the pkg team and they are not
mirrors!
If you have any more questions or you need help, please contact:
jan.damborsky at sun.com and jan.hlodan at sun.com
*The default installing manifest:
*<ai_criteria_manifest>
<ai_embedded_manifest>
<ai_manifest name="default">
<ai_pkg_repo_default_authority>
<main url="http://lepra.czech/dev"
authname="opensolaris.org"/>
<mirror url=""/>
</ai_pkg_repo_default_authority>
<!--
By default the latest build available, in the specified IPS
repository, is installed.
If another build is required, the build number has
to be appended to the 'entire' package in following
form:
<pkg_name="entire at 0.5.11-0.111/>
-->
<ai_install_packages>
<!--
Due to dependency issues, entire must be listed first
in the package list, followed by SUNWcsd, and then
SUNWcs.
Any additional packages must be listed after SUNWcs.
-->
<pkg name="entire at 0.5.11-0.111"/>
<pkg name="SUNWcsd"/>
<pkg name="SUNWcs"/>
<pkg name="babel_install"/>
</ai_install_packages>
<ai_uninstall_packages>
<pkg name="babel_install"/>
<pkg name="slim_install"/>
</ai_uninstall_packages>
<ai_auto_reboot>
true
</ai_auto_reboot>
</ai_manifest>
</ai_embedded_manifest>
<sc_embedded_manifest name = "AI">
<!-- <?xml version='1.0'?>
<!DOCTYPE service_bundle SYSTEM
"/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<service_bundle type="profile" name="name">
<service name="ai_properties" version="1" type="service">
<instance name="default" enabled="true">
<property_group name="ai" type="application">
<propval name="username" type="astring"
value="jack"/>
<propval name="userpass" type="astring"
value="9Nd/cwBcNWFZg"/>
<propval name="description" type="astring"
value="default_user"/>
<propval name="rootpass" type="astring"
value="$5$VgppCOxA$ycFmYW4ObRRHhtsGEygDdexk5bugqgSiaSR9niNCouC"/>
<propval name="timezone" type="astring"
value="US/Pacific"/>
</property_group>
</instance>
</service>
</service_bundle>
-->
</sc_embedded_manifest>
</ai_criteria_manifest>
*
*
Regards,
Jan Hlodan
G11n, Prague
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.opensolaris.org/pipermail/caiman-discuss/attachments/20090612/0c1dbd17/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: jump
URL:
<http://mail.opensolaris.org/pipermail/caiman-discuss/attachments/20090612/0c1dbd17/attachment.ksh>