Thursday, December 30, 2010

Setting VXVM PATH environment variables

  • If you are using the Bourne or Korn shell (sh or ksh), use the commands:
    # PATH=$PATH:/usr/sbin:/opt/VRTS/bin:/opt/VRTSvxfs/sbin:\
    
     /opt/VRTSdbed/bin:/opt/VRTSdb2ed/bin:/opt/VRTSsybed/bin:\
    
     /opt/VRTSob/bin
    
    # MANPATH=/usr/share/man:/opt/VRTS/man:$MANPATH
    
    # export PATH MANPATH
  • If you are using a C shell (csh or tcsh), use the commands:
    # set path = ($path /usr/sbin /opt/VRTSvxfs/sbin \
    
     /opt/VRTSdbed/bin /opt/VRTSdb2ed/bin /opt/VRTSsybed/bin \
    
     /opt/VRTSob/bin /opt/VRTS/bin )
    
    # setenv MANPATH /usr/share/man:/opt/VRTS/man:$MANPATH
Note:
If you have not installed database software, you can omit /opt/VRTSdbed/bin, /opt/VRTSdb2ed/bin and /opt/VRTSsybed/bin. Similarly, /opt/VRTSvxfs/bin is only required to access some VxFS commands.
VxVM library commands and supporting scripts are located under the /usr/lib/vxvm directory hierarchy. You can include these directories in your path if you need to use them on a regular basis.
For detailed information about an individual command, refer to the appropriate manual page in the 1M section.

Commands and scripts that are provided to support other commands and scripts, and which are not intended for general use, are not located in /opt/VRTS/bin and do not have manual pages.

No comments:

Post a Comment