HP 3PAR Ubuntu Operating System Implementation Guide
Contents
1 Introduction...............................................................................................4
Supported Configurations..........................................................................................................4
HP 3PAR OS Upgrade Considerations.........................................................................................4
Audience.................................................................................................................................4
2 Configuring the HP 3PAR StoreServ Storage for iSCSI......................................6
Configuring Ports for an iSCSI Connection...................................................................................6
Creating the Software iSCSI Host Definition..................................................................................7
Ubuntu iscsiadm Utility Usage....................................................................................................8
Connecting a Host Server with iSCSI.........................................................................................10
Setting Up the Switch, iSCSI Initiator, and iSCSI target ports....................................................10
Configuring Ubuntu for iSCSI...............................................................................................10
Installing iSCSI on Ubuntu..............................................................................................10
Setting Up iSCSI for Ubuntu............................................................................................11
Configuring Ubuntu iSCSI Settings with Device-mapper Multipathing....................................13
Starting the iSCSI Daemon for Ubuntu..............................................................................14
Creating the iSCSI Connection in Ubuntu Using the iscsiadm Command...............................15
Configuring CHAP for the iSCSI Host....................................................................................16
Setting the Host CHAP Authentication on the HP 3PAR StoreServ Storage.............................16
Setting iSCSI CHAP on the Ubuntu Host...........................................................................16
Setting Up the Bidirectional CHAP on the HP 3PAR StoreServ Storage..................................17
Setting Bidirectional CHAP on the Ubuntu Host.................................................................18
Target Port Limits and Specifications for iSCSI.............................................................................20
HP 3PAR Priority Optimization..................................................................................................20
HP 3PAR OS Persistent Ports.....................................................................................................20
3 Allocating Storage for Access by the Ubuntu Host.........................................21
Creating Storage on the HP 3PAR StoreServ Storage...................................................................21
Creating Virtual Volumes....................................................................................................21
Creating Thinly-provisioned Virtual Volumes...........................................................................22
Exporting LUNs to the Host......................................................................................................22
Restrictions on Volume Size and Number...................................................................................23
Discovering New Devices/New Partitioned Devices without rebooting...........................................23
Discovering Devices................................................................................................................24
Scan Methods for LUN Discovery.........................................................................................25
Method 1 - sysfs Scan....................................................................................................25
Method 2 - Adding Single Devices..................................................................................26
Verifying Devices Found by the Host.....................................................................................26
4 Modifying HP 3PAR Devices on the Host Server............................................28
Creating Device-mapper Devices..............................................................................................28
Displaying Detailed Device-mapper Node Information.................................................................29
Partitioning Device-mapper Nodes............................................................................................30
Removing a Storage Volume from the Host.................................................................................31
5 Known Issues and Examples.......................................................................34
6 Support and Other Resources.....................................................................42
Contacting HP........................................................................................................................42
HP 3PAR documentation..........................................................................................................42
Typographic conventions.........................................................................................................45
HP 3PAR branding information.................................................................................................45
7 Documentation feedback...........................................................................46
Contents 3