Professional Documents
Culture Documents
Lab Guide For Managing Hitachi Storage With Hitachi Command Suite v8.x
Lab Guide For Managing Hitachi Storage With Hitachi Command Suite v8.x
TSI2565
Notice: This document is for informational purposes only, and does not set forth any warranty, expressed or implied, concerning any equipment or service offered
or to be offered by Hitachi Data System Corporation.
ii
Lab 1: Installation
Objective
In this lab, you will learn how to install Hitachi Device Manager.
Activities
• Install the Hitachi Device Manager server software
Resources
• Hitachi Command Suite Installation and Configuration Guide
Lab 1: Installation
• Refer to the Hitachi Command Suite Install and Configuration Guide to ensure your
management server meets the minimum requirements
Lab Tasks
1. Log on to the management server using the Administrator Account.
2. Check with your instructor on the location of the HSC8 install files folder. Change the directory
to the folder.
3. Click index.html. A browser window gets launched with the install options.
Note: if you are installing the software from the HCS DVD, index.html gets launched
automatically.
4. Click Install next to Hitachi Device Manager.
5. When you are prompted, enter the required information.
6. In the Installation Completed window, select the When installation completes; open the
Device Manager check box.
7. Click Finish. The login window is displayed.
Note: If required you can log in without installing the license key.
1-2
Lab 2: Initial Configuration
Objective
In this lab, you will learn how to perform the process of initial configuration of Hitachi Device Manager
(HDvM).
Activities
• Install HDvM agent
• Register storage systems into Hitachi Device Manager
• Use HCS v8.x Online HELP function
• Use the HCS GUI dashboard
Resources
• Hitachi Command Suite Installation and Configuration Guide
• Hitachi Command Suite Configuration Guide
• Hitachi Command Suite User Guide
2-1
Lab 2: Initial Configuration
Note: You can discover hosts for other lab groups also but agent installation and configuration
should be performed for servers assigned to you only.
Lab Tasks
1. Discover the above Hosts by using Host Data Collector option in Device Manager.
2. Install Device Manager Agent on Hosts allocated to you.
3. Use IMPORTHOSTS command to add hosts to HCS.
When the above tasks are completed, answer the following questions:
1. Can the Host Scan be scheduled? ___________________________________________________
2. Can the HDvM Agent report host data based on a schedule? _____________________________
3. Does the Host Data Collector support replication configuration? __________________________
4. Does the Hitachi Device Manager Agent support replication configuration? _________________
5. Which user/password had to be specified for host discovery using Host Data Collector?
__________________________________________________________________________________
6. Which user/password had to be specified for Device Manager Agent to report host information?
__________________________________________________________________________________
2-2
Lab 2: Initial Configuration
Before proceeding, determine the following information about your Storage Systems (check with
instructor if required):
Storage 1
Lab Tasks
1. Register the above systems in Device Manager.
2. Refresh the storage system information in Device Manager.
Note: As you go through the lab you will also see a Question Mark (?) on some of the screens. By clicking
on this Question mark, it will take you to the online Help section which discusses the content that you are
looking at on the particular screen.
2-3
Lab 2: Initial Configuration
2. From the Administration tab, select Managed Resources. In the Main Information Area you can
select the Storage Systems and Hosts tabs to view information about those resources.
End of Lab 2.
2-4
Lab 3: Administration
Objective
In this lab, you will learn how to perform some standard administration tasks.
Activities
• Configure options
• Create new user environment
• Create virtual storage machine
Resources
• Hitachi Command Suite Configuration Reference Guide
Configure Options
Note: In this lab you will not be configuring security options such as specifying password conditions and
automatic locking of user accounts.
3-1
Lab 3: Administration
Lab Tasks
Note: Check your group number before starting the Lab.
1. Create 2 new users in Device Manager. (Name them labx1 and labx2 where x=Group Number.)
2. Assign Admin permissions to the new users.
3. Create a new Resource group. (Name it rgx where x=Group Number.)
4. Include the resources assigned to you in your resource group.
5. Create a new User group. (Name it ugx where x=Group Number.)
6. Assign Admin role for managing the Resource group.
7. Add users created in step 1 to this User group.
8. Login with the new user.
When the above tasks are completed, answer the following questions:
9. What resources are displayed under Volumes and Parity groups? ________________________
10. Can you create new Resource groups/User groups? ____________________________________
11. What permissions does the user HAUSER have? (HAUSER was the user you specified when you
configured the Host Agent.) _______________________________________________________
12. Can you register a new Storage System/Host? _________________________________________
End of Lab 3.
3-2
Lab 4: Storage Provisioning
Objective
In this lab, you will learn how to work with Hitachi Dynamic Provisioning and Hitachi Dynamic Tiering.
Activities
• Provision storage with Hitachi Dynamic Provisioning (HDP) and Hitachi Dynamic Tiering (HDT)
• Virtualize storage
Resources
• Hitachi Command Suite User Guide
4-1
Lab 4: Storage Provisioning
• Pool capacity
• Parity group
• Capacity required
To create a dynamic provisioning pool:
1. From the Resources tab, in the navigation tree, select Pools under the target storage system.
2. Click Create Pool. The Create Pool dialog opens.
3. Specify the pool name and other necessary information.
4. Add 1 parity group.
5. Expand Advanced options.
6. Specify pool ID (list shows available IDs).
7. Enable Subscription setting.
8. Set Subscription Threshold – Warning – 10%, Limit 100%.
9. Click Show Plan to verify the plan and then click Execute.
10. The plan is registered as a task. View the task status to confirm that it completed.
11. In the Storage tree, return to the target storage system, click DP Pools and confirm that the pool
is created.
12. Select the row with your pool and click Expand Pool.
13. Select the parity group to be added to the pool. Click Show Plan.
14. Expand Plan Details. Check the expansion capacity vs. free capacity on the parity group. The
pool gets expanded by volume capacity.
4-2
Lab 4: Storage Provisioning
4. Depending on your storage system configuration, the Available Tiers will be listed for your
selection. Select all the tiers.
Note: When you select a Tier, the related Tier tab under Parity Groups section becomes activated.
5. The next step is to add capacity to each Tier. Select the tab for a Tier under the Parity Group
section. Click on Select Parity Group to select and add capacity to the tier. Repeat the process
for each Tier you selected in the previous step.
6. Set the following options in HDT Options section.
a. Tier Management (Auto) – 1 hour.
b. Monitoring Mode – Periodic.
7. Click Show Plan to verify the plan and then click Submit.
8. The plan is registered as a task. View the task status to confirm that it completed.
9. In the Storage tree, return to the target storage system, and then click DP Pools. Confirm that
the pool is created.
Virtualize Storage
Virtualizing volumes is the process of mapping volumes in a source storage system to a target storage
system. The volumes in the source storage system (registered and referred to as external volumes) then
can be managed in the same way as the volumes in the target storage system (registered and referred
to as internal volumes).
Collect the following information from your instructor before moving to the lab steps:
Internal Storage
External Storage
• For VSP and earlier storage systems use the Element Manager to change Path1/Path2 ports on
the Internal Storage to External.
• For VSP G1000 use Ports/Host Groups to edit port configuration and set External attribute.
Perform these steps to virtualize volumes:
1. From the Actions menu, select Virtualize Volumes.
2. Specify the appropriate information.
3. To change default values, click Paths, Path Priority Setting, Host Group, LUN Number Setting and
External Volume Configuration.
a. Click Edit External Paths. Validate the Paths settings.
4-3
Lab 4: Storage Provisioning
Create Volumes
You create volumes by using the available space in a Hitachi Dynamic Provisioning (HDP)/Hitachi
Dynamic Tiering (HDT) pool or Parity group, and then access the volumes when you are ready to allocate
them to a host.
Use Create Volumes to create Dynamic Provisioning volumes from the pool created earlier in the lab.
1. Create 6 volumes of 2GB each.
2. Check the size of the pool and create a volume that is 100% of the size.
3. Check the task status and error message you get (because you are exceeding the subscription
threshold limit).
4. Check the number of DP-VOLs by navigating to storage > Pools > Your Pool > DP-VOLs.
5. Create 6 volumes of Basic Internal Volumes of 2GB each.
6. From the Actions menu, select Create New Volumes.
7. Specify the appropriate information (Basic Volume, Internal).
8. Click Show Plan to review the plan and specify additional information, as appropriate.
9. Click Execute.
10. When the task completes, verify that the volumes appear in the Open-Unallocated volume list in
the Resources tab.
End of Lab 4.
4-4
Lab 5: Allocate Storage
Objective
In this lab, you learn how to allocate storage to a host and unallocate storage.
Activities
• Allocate volume to the host
• Unallocate volume
Resources
• Hitachi Command Suite User Guide
5-1
Lab 5: Allocate Storage
• Before allocating volumes to a host or file server, you must verify that the host, file server, and
storage systems are registered in Hitachi Command Suite.
• If you want to select volumes from a tier, Tiered Storage Manager license must be enabled.
In addition, determine:
• The target host or file server
• The volume type, count, capacity, and performance characteristics
• An appropriate storage system
Process:
1. From the Actions menu, select Allocate Volumes. The Allocate Storage dialog opens.
2. Follow the instructions to specify necessary settings and then create the task.
3. For the Volume Type, select Basic Volume.
4. Choose the Volume Location as Internal.
5. In the Advanced Options, set the Format Type as Normal Format (if required).
Note: The Format Type prompt appears only if the volume with the required capacity is not
available.
6. Click Show Plan to review the plan and specify additional information.
7. Click Submit.
8. When the task completes, confirm that the volumes are recognized by the target host.
Note: When allocation completes, the administrator must mount the volume and create a file
system to make the volume writable (refer to file system operations section).
9. Click the Tasks and Alerts Tab.
10. Click on your task name and find out the volume IDs that were created ____________________.
Additional Task:
• Identify other screens from where you can launch the Allocate Volume Task.
• Go through all the screens but do not complete the task:
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
5-2
Lab 5: Allocate Storage
• Use Allocate Like Volumes to allocate storage to the Host. Identify the differences between
Allocate Like Volumes and Allocate Volumes by selecting a specific host.
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
Unallocate Volume
You must unallocate a volume before it can be reused or taken offline. You should also unallocate all the
volumes assigned to the UNIX server.
Before you begin:
• Back up all necessary data from the volume, and review prerequisites for unallocating volumes
• You must have administrator permission to perform this task
• Unmount/remove drive letters from the host before unallocating the volume
To unallocate volumes:
1. From the Actions menu, select Unallocate Volumes.
2. From the Host list, select the host to which the target volume is currently allocated.
3. From the Volumes, select any one volume. Click the row to select it.
4. Click Show Plan to review the plan and specify additional information, as appropriate. Expand
Advanced Option.
5. Note the options available: _______________.
6. Click Submit. When the task completes, confirm that the volumes are no longer recognized by
the host.
7. When the unallocation completes, the data stored on the volume is no longer accessible by the
host.
Identify other screens from where you can launch the Unallocate Storage Task:
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
5-3
Lab 5: Allocate Storage
Additional Tasks
1. Go through all the screens but do not complete the tasks.
2. Reallocate the volumes you unallocated in the previous step (to the same server).
End of Lab 5.
5-4
Lab 6: Logical Groups
Objective
In this lab, you will practice how to manage storage with logical groups.
Activities
• Create Logical Groups
Resources
• Hitachi Command Suite User Guide
6-1
Lab 6: Logical Groups
• Determine the type of Logical Group that should be created, either public or private
Lab Task:
Create a Folder
1. To create a folder, click the Folder option and click OK.
6-2
Lab 6: Logical Groups
Note: You can also choose to click Search Result Preview, select one or more hosts in the list
of hosts, and then click Add to add them to the list of hosts, and finally click OK.
a. If you select By Search Criteria, click Add Criteria in the list of criteria.
b. In the Add Conditions dialog box, specify values for Usage Criteria, Storage System Criteria,
and Volume Criteria as needed.
Note: You can also choose to click Search Result Preview, select one or more volumes in the
list of selected volumes, and click Add, and then click OK.
4. To specify volumes Manually, do the following:
Identify the tasks that can be launched from the logical groups:
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
6-3
Lab 6: Logical Groups
a. In the Export To CSV window, click Save… to save the CSV file on the main console desktop.
b. Open the CSV file and view the format of the information.
End of Lab 6.
6-4
Lab 7: Tasks and Alerts
Objective
In this lab, you will learn about the utility of the Tasks & Alerts tab.
Activities
• Check Task Status
• Check Alerts
7-1
Lab 7: Tasks and Alerts
Lab Tasks
1. On the Tasks & Alerts tab, select the Task Type and choose Device Manager task.
2. Check the status of the Device Manager task on the Uncompleted Tasks tab or the History tab.
3. View the task status in the Status column.
4. To display task details, click the task name link in the summary column.
For further review:
1. Create a Create Volume task for the future by scheduling the execution for a future date.
a. Can you cancel and/or delete the task? ______________________
2. Create a Create Volume task to execute immediately.
a. While the task is in progress, can you cancel and/or delete the task?
Check Alerts
1. On the Tasks & Alerts tab, click Alerts.
2. Click on an alert to review the alert details and take appropriate action.
3. If appropriate, delete the alert. To delete an alert select the row for the alert. To delete multiple
alerts at once, select the rows for each of the alerts. Click Delete Alerts.
4. Click OK.
End of Lab 7.
7-2
Lab 8: Command Line Interface Setup
Objective
In this lab, you will learn how to set up Hitachi Device Manager command line interface (CLI).
Activities
• Configure CLI for Hitachi Device Manager
• Validate configuration by using simple CLI commands
Resources
• Hitachi Command Suite CLI Reference Guide
8-1
Lab 8: Command Line Interface Setup
End of Lab 8.
8-2
Lab 9: Maintenance (Optional)
Objective
In this lab, you will perform various maintenance tasks such as backing up and restoring databases.
Activities
• Back up Hitachi Relational Database
• Restore Hitachi Relational Database
• Agent Commands
• Collect Logs
Resources
• Hitachi Command Suite Installation and Configuration Guide
9-1
Lab 9: Maintenance (Optional)
Lab Tasks
1. Back up Hitachi Relational Database to the folder C:\dvmbackup by entering the following
command:
Lab Tasks
1. Open the server.properties file in a text editor and find the line.
9-2
Lab 9: Maintenance (Optional)
Note: Putting synchronization back to false is required to prevent Device Manager from synchronizing
every time the services are started.
Agent Commands
Note: The following commands need to be executed on the server where agent is installed.
1. Agent install folder
<Agent_Install_folder>/HDVM/HBaseAgent/bin/hbsasrv
3. Stop HDvM agent by using the following code:
<Agent_Install_folder>/HDVM/HBaseAgent/bin/hbsasrv stop
4. Start HDvM agent by using the following code:
<Agent_Install_folder>/HDVM/HBaseAgent/bin/hbsasrv start
5. Check Status of HDvM agent by using the following code:
<Agent_Install_folder>/HDVM/HBaseAgent/bin/hbsasrv
6. Display disk details for current server by using the following code:
<Agent_Install_folder>/HDVM/HBaseAgent/util/bin/hldutil
9-3
Lab 9: Maintenance (Optional)
Collect Logs
Collect Device Manager Server Logs
The command hcmdsgetlogs captures all error-related information for Hitachi Device Manager
(HDvM) servers.
1. Run the following command:
End of Lab 9.
9-4