How to extend the Steeleye LifeKeeper mirrored clustered filesystem

steeleye

1. Login to the LifeKeeper GUI and bring the resources to out of service.

3e28cc24ec1d0e83

77db9b7772a385b2

6c593acec446d392

616025d747d0ddc5

640c2615af692e8c

Perform below steps on all steeleye clustered servers.

2. Validate mirror is out of service and nbd service is stopped.

278063b67ca6656c

 

2399b6a2abb36891

 

5156fbcbe4050b0c

 

6a3c0621a32b56ac

 

de5cc271d1fc7f1

 

34eb4d4c9a3398ca

3. Run scan command to detect new disk and cat /proc/partitions to make sure new disk is visible.

7b82434cf7ed188f

4. Format the new disk

fdisk /dev/sdx and create the LVM partition

 

737e4875252d78bf

5. Add new disk to Physical Volume.

pvcreate /dev/<sdx1>

6. Add new disk to Volume Group

vgextend vgname /dev/<sdx1>

7. Extend the logical Volume.

lvextend -L+<x> /dev/<vgname>/<lvname>

8. Resize the mirror on active server.

/opt/LifeKeeper/bin/mirror_resize datarep-steeleye_shared

9. On steeleye GUI bring only the datarep resource to in service.

7da6c3d71dd29b08

10. Run fsck and resize2fs for /dev/md0 to extend the mirror.

e2fsck -f /dev/md0

resize2fs /dev/md0

4b614d6509bf0920

11. Bring other resources to In service.

17669884920a677c

7e429798b6115d4e

35df4daa716539b2

12. Run df -h command and verify the filesystem is increased to required size

Before increased the /dev/md0 filesystem.

2

After increased 500MB space on /dev/md0 disk

3

13. Validate nbd service is running on all clustered servers.

4

14. Run mirror_status, cat /proc/mdstat and mdadm –detail /dev/md0 commands to verify that mirror is active and functional.

5

15. Inform the application team to validate the application services.

About the Author: admin

Leave a Reply

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter
Subscribe to our email newsletter today to receive updates on the latest news, tutorials and special offers!
No Thanks
Thanks for signing up. You must confirm your email address before we can send you. Please check your email and follow the instructions.
We respect your privacy. Your information is safe and will never be shared.
Don't miss out. Subscribe today.
×
×
WordPress Popup Plugin