UnixPedia : HPUX / LINUX / SOLARIS: HPUX :Modular package (Adding new VG and LV in package /Adding new FS in package/updating Mount point in package)

Saturday, December 13, 2014

HPUX :Modular package (Adding new VG and LV in package /Adding new FS in package/updating Mount point in package)



Online updating the configuration :Adding new VG and LV in package.

-       Create VG and mark it as cluster aware  (vgcahgne –c y  vgname and vgchange –a e vgname)
-       Create new logical volume
-       Create directory(mount point) on both nodes.
-       Mount the FS with mount options manually on command line. (it will detect if mount is happening without busy status and directory is available for mount.)
-       Always work with configuration file generated via cmgetconf.
-       Update the configuration with new entry.
-       Run cmcheckconf of configuration file. (it will validate the correctness of configuration it should not  through any error, Error should be eliminated if any).
-       Run cmapplyconf of package file, it should return no error. (at this point package will be re-configure)
-       Check FS is mounted
-       Update the configuration on both nodes (cmsync )
-       Do vgexport and import for volume group.


Online updating the configuration :Adding new FS in package.

-       Create new logical volume
-       Create directory(mount point) on both nodes.
-       Mount the FS with mount option manually on command line. (it will detect if mount is happening without busy status and directory is available for mount.)
-       Always work with configuration file generated via cmgetconf.
-       Update the configuration with new entry.
-       Run cmcheckconf of configuration file. (it will validate the correctness of configuration it should not through any error, Error should be eliminated if any).
-       Run cmapplyconf of package file, it should return no error. (at this point package will be re-configure)
-       Check FS is mounted.
-       Update the configuration on both nodes (cmsync )
-       Do vgexport and import for volume group.

Online updating the configuration :updating  Mount point  in package.

-       Umount file system.
-       Create directory(rename mount point) on both nodes.
-       Mount the FS with mount option manually on command line. (it will detect if mount is happening without busy status and directory is available for mount.)
-       Always work with configuration file generated via cmgetconf.
-       Update the configuration with new name of mount point.
-       Run cmcheckconf of configuration file. (it will validate the correctness of configuration it should  not through any error, Error should be eliminated if any).
-       Run cmapplyconf of package file, it should return no error. (at this point package will be re-configure)
-       Check FS is mounted
-       Update the configuration on both nodes (cmsync )
 

No comments:

Post a Comment