Flag Days » Flag Day for bugs 7850,10781
en

Flag Day for bugs 7850,10781

If you don't use Automated Installer, you can safely delete this message.

With the integration of

PSARC/2010/164 interfaces for basic install network configuration
6923163 Automated Install requires mechanism for configuring static IP addresses
6923168 Automated Install requires a mechanism for configuring name services for clients

and related slim_source changeset

Author: Jan Damborsky <jan.damborsky@sun.com>
Repository: /hg/caiman/slim_source
Latest revision: f51b1eaaef28b6665b210e4de433b15d43fc5930
Total changesets: 1
Log message:
7850 RFE would like support for static network instead of nwam config
10781 RFE - AI Needs to Support DNS Name Service Configuration for Clients
16526 Missing dir in system-install.mf

Files:
 create: usr/src/cmd/auto-install/static_network.xml
 update: usr/src/Makefile.master
 update: usr/src/Targetdirs
 update: usr/src/cmd/Makefile.targ
 update: usr/src/cmd/auto-install/Makefile
 update: usr/src/pkg/manifests/system-install-auto-install-auto-install-common.mf
 update: usr/src/pkg/manifests/system-install.mf

Automated Installer has been enhanced with better support for
networking configuration.

It is now possible to configure

  • one IPv4 network interface (static or DHCP)
  • one IPv6 network interface (static or addrconf)
  • IPv4 default route
  • IPv6 default route
  • DNS as naming service (nameserver list, search list, domain)

In order to ease the process of creating System Configuration (SC)
manifest with networking configuration, template of SC manifest
with pre-configured values is provided.

It can be downloaded from [4] or if you install latest version
of installadm(1M) tools (which is recommended anyway), it will
reside in /usr/share/auto_install/sc_profiles/static_network.xml.

Comparing with SC manifest delivered in default AI manifest,
this template additionally pre-configures:

  • 'default' instance of svc:/network/physical smf service taking care
      of network configuration instead of 'nwam' (which is disabled). This
      is prerequisite for enhanced networking configuration.
  • one network interface with static IPv4
  • IPv4 default route
  • one IPv6 network interface with addrconf, stateful=yes,stateless=yes
    (see ipadm(1M) man page for information for more details and alternatives)
  • DNS as a naming service

In that template, you need to modify at least following parameters
to reflect your real networking configuration:

In 'install_ipv4_interface' property group:

  • name - name of network interface to be configured with IPv4
  • static_address - IPv4 static address with length of network prefix (e.g. 10.0.0.10/8)
  • default_route - IPv4 default route, e.g. 10.0.0.1

In 'install_ipv6_interface' property group:

  • name - name of network interface to be configured with IPv6
    (it could be the same as IPv4 one)

In 'install_props' property group of 'svc:/network/dns/install:default'
smf service:

  • nameserver - nameserver list
  • search - search list

The resulting manifest can be either used to directly replace
SC manifest embedded within AI manifest or could be included
in AI manifest taking advantage of <sc_manifest_file>
tag.
See manifest related section in AI documentation [3]
for more information.

IMPACT

Machine hosting AI server needs to run build 144 or newer,
so that AI server can correctly handle System Configuration
manifest containing new smf types 'net_address' and 'net_address_list'
(those smf types were introduced in build 144).

REPORTING ISSUES

Any bugs related to to these changes can be filed in Bugzilla
under Development/installer/autoinstall category.

For questions, please send email to caiman-discuss@opensolaris.org
mailing list.

FURTHER READING

For more details and more examples, see PSARC document [1] and
documents on System Configuration project pages [2].

REFERENCES

[1] http://arc.opensolaris.org/caselog/PSARC/2010/164/
[2] http://hub.opensolaris.org/bin/view/Project+caiman/System+Configuration+Project
[3] http://dlc.sun.com/osol/docs/content/dev/AIinstall/manifest.html
[4] http://hub.opensolaris.org/bin/download/Project+caiman/System+Configuration+Project/staticnetwork.xml

Tags:
Created by Jan Damborsky on 2010/08/02 12:42
Last modified by Jan Damborsky on 2010/08/02 13:28

Collectives

Project caiman Pages


XWiki Enterprise 2.7.1.34853 - Documentation