Go to main content

Oracle® Solaris Cluster 4.3 Software Installation Guide

Exit Print View

Updated: June 2019
 
 

AI System Configuration Profiles for an Oracle Solaris Cluster Installation Using a MAC Address

This section provides the following example AI system configuration profiles to install Oracle Solaris Cluster nodes to use a MAC address:

To install the new cluster with your custom AI files, follow instructions in one of the following procedures, starting at the specified Step:

Example System Configuration Profile for a Sponsor Node Or a Single-Node Cluster (With MAC Address)

The following example AI system configuration profile installs the first node of a multiple-node cluster, called the sponsor node, or a single-node cluster, and includes configuration of a MAC address. See AI System Configuration Profile Properties for Oracle Solaris Cluster Installation for information about actual values shown for some properties, which might need to be different for some configuration.

<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<service_bundle type="profile" name="system configuration">
   <service name="system/config-user" version="1" type="service">
      <instance name="default" enabled="true">
         <property_group name="root_account" type="application">
            <propval name="password" type="astring" value="password"/>
            <propval name="type" type="astring" value="normal"/>
         </property_group>
      </instance>
   </service>

   <service version="1" name="system/identity">
      <instance enabled="true" name="node">
         <property_group name="config">
            <propval name="nodename" value="sponsor-node"/>
            <propval name="loopback" value="sponsor-node"/>
         </property_group>
      </instance>
   </service>
   <service name="system/console-login" version="1">
      <property_group name="ttymon">
         <propval name="terminal_type" value="ttya"/>
      </property_group>
   </service>
   <service name='network/physical' version='1' type='service'>
      <instance name='default' enabled='true'/>
   </service>
   <service name='system/name-service/switch' version='1' type='service'>
      <instance name='default' enabled='false'/>
   </service>
   <service name='system/name-service/cache' version='1' type='service'>
      <instance name='default' enabled='false'/>
   </service>
   <service name='network/dns/client' version='1' type='service'>
      <instance name='default' enabled='false'/>
   </service>
   <service name='network/ldap/client' version='1' type='service'>
      <instance name='default' enabled='false'/>
   </service>
   <service name='network/nis/domain' version='1' type='service'>
      <instance name='default' enabled='false'/>
   </service>
   <service name='network/nis/client' version='1' type='service'>
      <instance name='default' enabled='false'/>
   </service>
   <service name='network/rpc/keyserv' version='1' type='service'>
      <instance name='default' enabled='false'/>
   </service>

   <service name="system/cluster/sc-ai-config" version="1" type="service">
      <instance name="default" enabled="true">
         <property_group name="cluster_config" type="application">
            <propval name="ai_enabled" type="astring" value="true"/>
            <propval name="ai_action" type="astring" value=""/>
            <propval name="ai_archive_type" type="astring" value=""/>
         </property_group>
         <property_group name="cluster_data" type="application">
            <propval name="SC_ARGVAR_NODENAME" type="astring" value="sponsor-node"/>
            <propval name="SC_ARGVAR_NODEMAC" type="astring" value="mac-address"/>
            <propval name="SC_ARGVAR_NODEIP" type="astring" value="public-ip-address"/>
            <propval name="SC_ARGVAR_CLUSTERNAME" type="astring" value="cluster-name"/>
            <propval name="SC_ARGVAR_SPONSORNODE" type="astring" value="sponsor-node"/>
            <propval name="SC_ARGVAR_ONENODE" type="astring" value="0"/>
            <propval name="SC_ARGVAR_AUTHLIST" type="astring" value="sponsor-node node2 …"/>
            <propval name="SC_ARGVAR_NETADDR" type="astring" value="172.16.0.0"/>
            <propval name="SC_ARGVAR_NETMASK" type="astring" value="255.255.240.0"/>
            <propval name="SC_ARGVAR_MAXNODES" type="astring" value="32"/>
            <propval name="SC_ARGVAR_MAXPRIVATENETS" type="astring" value="10"/>
            <propval name="SC_ARGVAR_VIRTUALCLUSTERS" type="astring" value="12"/>
            <propval name="SC_ARGVAR_XIP_VIRTUALCLUSTERS" type="astring" value="3"/>
            <propval name="SC_ARGVAR_DIRECT" type="astring" value="0"/>
            <propval name="SC_ARGVAR_AUTOQUORUMCONFIG_TASKNAME" type="astring" value="quorum"/>
            <propval name="SC_ARGVAR_AUTOQUORUMCONFIG_STATE" type="astring" value="INIT"/>
            <propval name="SC_ARGVAR_SECURITYCONFIG_TASKNAME" type="astring" value="security"/>
            <propval name="SC_ARGVAR_SECURITYCONFIG_STATE" type="astring" value="SECURE"/>
            <propval name="SC_ARGVAR_JUNCTIONS" type="astring" value="switch1 switch2"/>
            <propval name="SC_ARGVAR_JUNCTYPES" type="astring" value="switch switch"/>
            <propval name="SC_ARGVAR_ADAPTERS" type="astring" value="adapter1 adapter2"/>
            <propval name="SC_ARGVAR_TRTYPES" type="astring" value="dlpi dlpi"/>
            <propval name="SC_ARGVAR_E2CABLES" type="astring" value="switch1 switch2"/>
         </property_group>
      </instance>
   </service>
</service_bundle>

Example System Configuration Profile for Additional Cluster Nodes (With MAC Address)

The following example AI system configuration profile installs additional nodes of a cluster, including configuration of a MAC address. See AI System Configuration Profile Properties for Oracle Solaris Cluster Installation for information about actual values shown for some properties, which might need to be different for some configuration.

<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<service_bundle type="profile" name="system configuration">
   service name="system/config-user" version="1" type="service">
      <instance name="default" enabled="true">
         <property_group name="root_account" type="application">
            <propval name="password" type="astring" value="password"/>
            <propval name="type" type="astring" value="normal"/>
         </property_group>
      </instance>
   </service>

   <service version="1" name="system/identity">
      <instance enabled="true" name="node">
         <property_group name="config">
            <propval name="nodename" value="additional-node"/>
            <propval name="loopback" value="additional-node"/>
         </property_group>
      </instance>
   </service>
   <service name="system/console-login" version="1">
      <property_group name="ttymon">
         <propval name="terminal_type" value="ttya"/>
      </property_group>
   </service>
   <service name='network/physical' version='1' type='service'>
      <instance name='default' enabled='true'/>
   </service>
   <service name='system/name-service/switch' version='1' type='service'>
      <instance name='default' enabled='false'/>
   </service>
   <service name='system/name-service/cache' version='1' type='service'>
      <instance name='default' enabled='false'/>
   </service>
   <service name='network/dns/client' version='1' type='service'>
      <instance name='default' enabled='false'/>
   </service>
   <service name='network/ldap/client' version='1' type='service'>
      <instance name='default' enabled='false'/>
   </service>
   <service name='network/nis/domain' version='1' type='service'>
      <instance name='default' enabled='false'/>
   </service>
   <service name='network/nis/client' version='1' type='service'>
      <instance name='default' enabled='false'/>
   </service>
   <service name='network/rpc/keyserv' version='1' type='service'>
      <instance name='default' enabled='false'/>
   </service>
   <service name="system/cluster/sc-ai-config" version="1" type="service">
      <instance name="default" enabled="true">
         <property_group name="cluster_config" type="application">
            <propval name="ai_enabled" type="astring" value="true"/>
            <propval name="ai_action" type="astring" value=""/>
            <propval name="ai_archive_type" type="astring" value=""/>
         </property_group>
            <property_group name="cluster_data" type="application">
            <propval name="SC_ARGVAR_NODENAME" type="astring" value="additional-node"/>
            <propval name="SC_ARGVAR_NODEMAC" type="astring" value="mac-address"/>
            <propval name="SC_ARGVAR_NODEIP" type="astring" value="public-ip-address"/>
            <propval name="SC_ARGVAR_CLUSTERNAME" type="astring" value="cluster-name"/>
            <propval name="SC_ARGVAR_SPONSORNODE" type="astring" value="sponsor-node"/>
            <propval name="SC_ARGVAR_ADAPTERS" type="astring" value="adapter1 adapter2"/>
            <propval name="SC_ARGVAR_TRTYPES" type="astring" value="dlpi dlpi"/>
            <propval name="SC_ARGVAR_E2CABLES" type="astring" value="switch1 switch2"/>
         </property_group>
      </instance>
   </service>
</service_bundle>