From Fedora Project Wiki
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
|actions= | |actions= | ||
In a shell on the client, unmount the volume previously mounted: | |||
# unmount /mnt/testsda | |||
On your desktop run your web browser of choice: | |||
# Open web browser to server node1, port 8080 (e.g. http://192.168.122.21:8080) | # Open web browser to server node1, port 8080 (e.g. http://192.168.122.21:8080) | ||
In your web browser, remove the volume created in the previous test case: | |||
# Click on the Manage | # Click on the Manage Volumes link | ||
# Notice that | # Click on the testsda stop link | ||
# | # Notice that the testsda volume was successfully stopped | ||
# | # Click on the Back to volume configuration link | ||
# Click on the testsda remove link | |||
# Notice that the testsda volume was successfully removed | |||
# Click on the Back to volume configuration link | |||
Provision a volume in the cluster: | Provision a striped volume in the cluster: | ||
# Click on the Manage Volumes link | # Click on the Manage Volumes link | ||
# Check the check-boxes for /bricks/sda on all server nodes | # Check the check-boxes for /bricks/sda on all server nodes | ||
# | # Check the Striped option box | ||
# Enter 2 in Replica or Stripe Count | |||
# Enter testsda in the Volume ID box | # Enter testsda in the Volume ID box | ||
# Press the Provision button | # Press the Provision button | ||
Line 30: | Line 34: | ||
# Press the Done button | # Press the Done button | ||
Enable the volume for the tenant: | |||
# Click on the Manage Tenants link | # Click on the Manage Tenants link | ||
# Click on the yoyodyne volumes link | # Click on the yoyodyne volumes link | ||
# Click the Enabled check-box for testsda | # Click the Enabled check-box for testsda | ||
Line 53: | Line 50: | ||
# Notice that testsda is successfully started | # Notice that testsda is successfully started | ||
In a shell on the client mount the volume: | |||
# enter `mkdir /mnt/testsda` | |||
# enter `hfs_mount 192.168.122.21 yoyodyne bigboote /mnt/testsda` | |||
# enter `df` or `mount` | |||
# Notice that /mnt/testsda was successfully mounted | |||
In a shell on the client, initiate selected I/O: | |||
# Perform I/O on the mounted volume, e.g. touch, cp, rm, ln, ln -s, mkdir, rmdir, ls, etc. | # Perform I/O on the mounted volume, e.g. touch, cp, rm, ln, ln -s, mkdir, rmdir, ls, etc. |
Revision as of 15:44, 18 October 2011
Description
This test case tests the functionality of the HekaFS feature.
How to test
In a shell on the client, unmount the volume previously mounted:
- unmount /mnt/testsda
On your desktop run your web browser of choice:
- Open web browser to server node1, port 8080 (e.g. http://192.168.122.21:8080)
In your web browser, remove the volume created in the previous test case:
- Click on the Manage Volumes link
- Click on the testsda stop link
- Notice that the testsda volume was successfully stopped
- Click on the Back to volume configuration link
- Click on the testsda remove link
- Notice that the testsda volume was successfully removed
- Click on the Back to volume configuration link
Provision a striped volume in the cluster:
- Click on the Manage Volumes link
- Check the check-boxes for /bricks/sda on all server nodes
- Check the Striped option box
- Enter 2 in Replica or Stripe Count
- Enter testsda in the Volume ID box
- Press the Provision button
- Notice that the volume has been successfully provisioned
- Click the Back to volume configuration link
- Notice that the check-boxes for bricks/sda are insensitive (grayed out)
- Press the Done button
Enable the volume for the tenant:
- Click on the Manage Tenants link
- Click on the yoyodyne volumes link
- Click the Enabled check-box for testsda
- Press the Update button
- Notice that the volume is successfully enabled for the tenant
- Click the Back to tenant configuration link
- Press the Done button
Start the volume:
- Click on the Manage Volumes link
- Click on the testsda start link
- Notice that testsda is successfully started
In a shell on the client mount the volume:
- enter
mkdir /mnt/testsda
- enter
hfs_mount 192.168.122.21 yoyodyne bigboote /mnt/testsda
- enter
df
ormount
- Notice that /mnt/testsda was successfully mounted
In a shell on the client, initiate selected I/O:
- Perform I/O on the mounted volume, e.g. touch, cp, rm, ln, ln -s, mkdir, rmdir, ls, etc.
Expected Results
- files and directories are variously created, deleted, etc.