HP StorageWorks Scalable File Share User Manual
Page 231
Replacing a service LUN with a spare service LUN
9–7
mysql> select * from hpls_object_states where type=’Luns’;
+------+------+--------------+--------------+--------+------------+-------+
| name | type | current_state| desired_state| action | command_id | status|
+------+------+--------------+--------------+--------+------------+-------+
| 4 | Luns | Configured | NULL | NULL | NULL | NULL |
| 10 | Luns | Configured | NULL | NULL | NULL | NULL |
+------+------+---------------+-------------+--------+------------+-------+
2 rows in set (0.00 sec)
3.
Change the entry for LUN 10, as shown in the following example:
mysql> update hpls_object_states set current_state=’Unconfigured’
-> where name=’10’ and type=’Luns’;
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0
4.
Verify that the entry has been changed correctly, as shown in the following example:
mysql> select * from hpls_object_states where type=’Luns’;
+------+------+--------------+--------------+--------+------------+-------+
| name | type | current_state| desired_state| action | command_id | status|
+------+------+--------------+--------------+--------+------------+-------+
| 4 | Luns | Configured | NULL | NULL | NULL | NULL |
| 10 | Luns | Unconfigured | NULL | NULL | NULL | NULL |
+------+------+--------------+--------------+--------+------------+-------+
2 rows in set (0.00 sec)
5.
Shut down and reboot both of the Object Storage Servers in the server pair, as shown in the following
example:
sfs> shutdown server south[3-4] wait=0
sfs> boot server south[3-4]
9.12 Replacing a service LUN with a spare service LUN
If the service LUN on an array attached to an Object Storage Server pair becomes inaccessible (for
example, if the array fails completely), you must configure a spare service LUN on another array attached
to the server pair for use as the service LUN. The procedure for doing this is described here.
CAUTION:
Do not use the procedure described here to replace an administration LUN with a spare
administration LUN (on an array attached to the administration server and the MDS server). If the
administration LUN becomes inaccessible, contact your HP Customer Support representative for assistance.
NOTE:
You cannot use the procedure provided here to replace a service LUN on an array attached to the
administration server and the MDS server pair. If the service LUN on an array attached to this server pair
becomes inaccessible, contact your HP Customer Support representative for assistance.
To replace a service LUN with a spare service LUN (on an array attached to an Object Storage Server pair),
perform the steps shown in the following example. In this example, the array with the service LUN for servers
south3
and
south4
is no longer accessible:
1.
Shut down both of the servers attached to the array, as shown in the following example:
sfs> shutdown server south[3,4]
2.
Identify the service LUN and a spare service LUN on the arrays attached to the servers, as follows:
sfs> show lun
LUN Array Role Used by Size(GB) Preferred Server Visible to
--- ----- ----- ---------- -------- ---------------- ----------
.
.
.
11 3 service south3 1 - south[3-4]
12 3 ost ost1 2048 south3 south[3-4]
13 4 svcspare - 1 - south[3-4]
14 4 ost ost2 2048 south4 south[3-4]