CSPOC commands are located under /usr/es/sbin/cluster/sbin. If you need, please add this directory to your PATH.
1. To create a user in a cluster :
# cl_mkuser
2. To change/set passwd for a user in a cluster :
# cl_chpasswd
3. To change a user's attribute in a cluster :
# cl_chuser
4. To remove a user in a cluster :
# cl_rmuser
5. To list users in a cluster :
# cl_lsuser
6. To create a group in a cluster :
# cl_mkgroup
7. To change attributes of a group :
# cl_lsgroup
8. To remove a group in a cluster :
# cl_rmgroup
9. To create a shared VG in a cluster :
# cl_mkvg
10. To change the attributes of a shared VG :
# cl_chvg
11. To extend a VG (add a PV to a VG) :
# cl_extendvg
12. To reduce a VG (remove a PV from a VG) :
# cl_reducevg
13. To mirror a VG :
# cl_mirrorvg
14. To unmirror a VG :
# cl_unmirrorvg
15. To list VG's in a cluster :
# cl_lsvg
16. To sync a VG :
# cl_syncvg
17. To import a volume group :
# cl_importvg
18. To import a VG into a list of nodes :
# cl_updatevg
19. To activate/varyon a VG :
# cl_activate_vgs VG_name
20. To deactivate/varyoff a VG :
# cl_deactivate_vgs VG_name
21. To create a LV :
# cl_mklv
22. To change the attributes of a LV :
# cl_chlv
23. To list a LV :
# cl_lslv
24. To remove a LV :
# cl_rmlv
25. To make copies for a LV :
# cl_mklvcopy
26. To remove copies for a LV :
# cl_rmlvcopy
27. To extend a LV :
# cl_extendlv
28. To create a file system in a cluster :
# cl_crfs
29. To create a LV followed by a FS :
# cl_crlvfs
30. To change the attribute of a FS :
# cl_chfs
31. To lsit file systems :
# cl_lsfs
32. To remove a FS :
# cl_rmfs
33. To show JFS2 file systems with all attributes :
# cl_lsjfs2
34. To list JFS2 filesysems and their resource groups :
# cl_showfs2
35. To activate/mount a file system :
# cl_activate_fs /filesystem_mountpoint
36. To activate/mount a NFS file system :
# cl_activate_nfs retry NFS_Hostname /filesystem_mountpoint
37. To deactivate/unmount a file system :
# cl_deactivate_fs /filesystem_mountpoint
38. To deactivate/unmount a NFS file system :
# cl_deactivate_nfs /filesystem_mountpoint
39. To export(NFS) a file system :
# cl_export_fs hostname /filesystem_mountpoint
40. To list the process numbers using the NFS directory :
# cl_nfskill -u /nfs_mountpoint
41. To kill the processes using the NFS directory :
# cl_nfskill -k /nfs_mountpoint
This post is under construction.
Please check the updated version in future.
3 comments:
Hi Raja
utility commands are available under /usr/es/sbin/cluster/utilities.
If you need, please add it to your PATH variable.
Could you tell me how to do add (/usr/es/sbin/cluster/utilities) it to the path?
Just add the below line to your .profile (located under your home dir).
PATH=$PATH:/usr/es/sbin/cluster/utilities
export PATH
hi raja, i m new one to HACMP. how to increase the FS size in HACMP?
Post a Comment