Creating a shared LUN
You can use SnapDrive to create FCP- or iSCSI-accessed LUNs that are shared between clustered Windows servers.
Before You Begin
Considerations
Keep the following consideration in mind when creating a LUN:
Steps
- Perform the following actions to launch the Create Disk wizard:
- Select the SnapDrive instance for which you want to create a disk.
- Select Disks.
- From the menu choices at the top of MMC, navigate to Action > Create Disk .
The Create Disk Wizard is launched.
- In the Create Disk Wizard, click Next.
The Provide Storage System Name, LUN Path and Name panel is displayed.
- In the Provide a Storage System Name, LUN Path and Name panel, perform the following actions:
- In the “Storage System Name” field, type the storage system name where the LUN will be created or select an existing storage system using the pull-down menu.
- In the “LUN Path” field, type the LUN path or select the path on the storage system you added in Step a.
- In the "LUN Name" field, enter a name for the LUN and click Next.
The Select a LUN Type panel is displayed.
- In the Select a LUN Type panel, select Shared, and then click Next.
- In the “Information About the Microsoft Cluster Services System” panel, verify that you want the disk to be shared by the nodes listed, and then click Next.
The Select LUN Properties panel is displayed.
- In the Select LUN Properties panel, either select a drive letter from the list of available drive letters or enter a volume mount point for the LUN you are creating. When you create a volume mount point, enter the drive path that the mounted drive will use: for example, G:\mount_drive1\. Note: The root of the volume mount point must be owned by the node on which you are creating the new disk.Note: You can create cascading volume mount points (one mount point mounted on another mount point); however, in the case of a cascading mount point created on an MSCS shared disk, you might receive a system event warning indicating that disk dependencies might not be correctly set. This is not the case, however, as SnapDrive will create the dependencies and the mounted disks will function as expected.
- While still in the Select LUN Properties panel, complete the following actions:
- Click Limit or Do not limit for the option labeled “Do you want to limit the maximum disk size to accommodate at least one snapshot?”
If you select Limit, the disk size limits displayed are accurate only when they first appear on the Select LUN Properties panel. When this option is selected, the following actions might interfere with the creation of at least one Snapshot copy:
- Select a LUN size. The size must fall within the minimum and maximum values displayed in the panel.
- Click Next.
If the settings on the storage system volume or qtree on which you are creating the LUN do not allow SnapDrive to proceed with the create operation, the Important Properties of the Storage System Volume panel is displayed, as described in Step 8. Otherwise, Step 8 is skipped.
- Click Limit or Do not limit for the option labeled “Do you want to limit the maximum disk size to accommodate at least one snapshot?”
- The Important Properties of the Storage System Volume panel displays the settings that will be used for the volume or qtree you specified in Step 4 of this procedure.
SnapDrive requires the storage system volume containing LUNs to have the following properties:
- create_ucode = on
- convert_ucode = on
- snapshot_schedule = off
- Click Next.
- In the Select Initiators panel, perform the following actions:
- Double-click the cluster group name to display the hosts that belong to the cluster.
- Click the name of a host to select it.
The available initiators for that host are displayed in the Initiator List in the lower half of the pane.
- In the Initiator List pane, select an initiator for the LUN you are creating.
If you select an iSCSI initiator, and an iSCSI connection to the storage system on which you are creating the LUN does not exist, SnapDrive launches the Create iSCSI Session wizard, and you are prompted to select a target portal and initiator. Also, if your target requires authentication of hosts that connect to it, you can type that information here. After you click OK, the iSCSI connection from the Windows host to the storage system is established, even if you do not complete the Create Disk wizard.
If you have MPIO installed and you are using FCP, you have the option to select several FCP initiators.
- Repeat Step 10 and Step 11 for all hosts, and then click Next. Note: The Next button remains unavailable until initiators for all hosts of a cluster have been selected.
The Select Initiator Group management panel is displayed.
- In the Select Initiator Group management panel, specify whether you will use automatic or manual igroup management. If you select automatic igroup management, SnapDrive uses existing igroups or, when necessary, creates new igroups for the initiators you specified in Step 10 through Step 12. If you select manual igroup management, you manually choose existing igroups or create new ones as needed.
If you specify... Then... Automatic igroup management Click Next.
You are done with igroup management.
Manual igroup management Click Next, and then perform the following actions: - In the Select igroups panel, select from the list the igroups to which you want the new LUN to belong. Repeat this action for each node in the cluster.Note: A LUN can be mapped to an initiator only once.
OR
Click Manage igroups and for each new igroup you want to create, type a name in the igroup Name text box, select initiators, click Create, and then click Finish to return to the Select igroups panel.
- Click Next.
Note: The Next button will remain unavailable until the collection of selected igroups contains all the initiators you selected in Step 11. - In the Select igroups panel, select from the list the igroups to which you want the new LUN to belong. Repeat this action for each node in the cluster.
- In the Specify Microsoft Cluster Services Group panel, perform the following actions.
- From the Group drop-down list, select one of the cluster groups owned by this node to which the newly created LUN will belong.
OR
Select Create a New Cluster Group to create a new cluster group and then put the newly created LUN in that group.
Note: When selecting a cluster group for your LUNs, choose the cluster group your application will use. If you are creating a volume mount point, the cluster group is already selected. This is because the cluster group owns your root volume physical disk cluster resources. It is recommended that you create new shared LUNs outside of the cluster group. - Click Next.
The Completing the Create Disk Wizard panel is displayed.
- From the Group drop-down list, select one of the cluster groups owned by this node to which the newly created LUN will belong.
- In the Completing the Create Disk Wizard panel, perform the following actions:
When you start this process, do you already need to configure the microsoft iscsi service so that it connects to the filer? Or do you simply leave it unconfigured and SnapDrive does the rest? I have been trying either on an exchange 2007 system I am configuring with little success so far :)
ReplyDeleteafter creation of lun what storage system name will display
ReplyDelete