Installing Oracle® Solaris 11.2 Systems

Exit Print View

Updated: July 2014
 
 

Specifying an iSCSI Target Device

In this example, the target for the installation is an iSCSI device. Use the iscsi element in the disk element in the target element. The whole_disk attribute of the disk element is set to true, which is typical for iSCSI disks. See the ai_manifest(4) man page for descriptions of the target_name, target_lun, and target_ip attributes.

<auto_install>
  <ai_instance name="default">
    <target>
      <disk whole_disk="true">
        <iscsi target_name="iqn.1986-03.com.sun:02:1234567890abcdef" \
               target_lun="1" target_ip="129.158.144.200"/>
      </disk>
      <logical>
        <zpool name="rpool" is_root="true">
          <filesystem name="export" mountpoint="/export"/>
          <filesystem name="export/home"/>
          <be name="solaris"/>
        </zpool>
      </logical>
    </target>
    <software type="IPS">
      <source>
        <publisher name="solaris">
          <origin name="http://pkg.oracle.com/solaris/release"/>
        </publisher>
      </source>
      <software_data action="install">
        <name>pkg:/entire@0.5.11-0.175.2</name>
        <name>pkg:/group/system/solaris-large-server</name>
      </software_data>
    </software>
  </ai_instance>
</auto_install>