Separate vPars File Systems

   

HP-UX Virtual Partitions
By Marty Poniatowski

Table of Contents
Chapter 9.  File Systems


The file systems for vPars will differ on two different vPars just as they would differ on two different servers. This means that the disk space con-sumed by two vPars running on one server may very well be twice the disk space consumed by one standard HP-UX running on the same server. Each of the two vPars require their own operating system, applications, user home directories, and so on. This may double your storage requirements since none of the files ystems are shared beyond the NFS file systems that would normally be shared in a networked environment. Let's take a look at the file systems running on two different vPars.

The following is a bdf run on the first vPar running on a server (hostname actappd1:)

 # hostname  actappd1  # bdf  Filesystem           kbytes    used   avail %used Mounted on  /dev/vg00/lvol3      245760   40769  192184   18% /  /dev/vg00/lvol1      111637   74350   26123   74% /stand  /dev/vg00/lvol8     1732608  598033 1063751   36% /var  /dev/vg00/lvol7     1732608  755560  915987   45% /usr  /dev/vg00/u001      1228800  466878  714321   40% /u001  /dev/vg00/lvol4      258048   69857  176476   28% /tmp  /dev/vg00/lvol6     1531904 1381306  141226   91% /opt  /dev/vg00/lvol5      819200  176005  603031   23% /home  # 

This listing shows vg00, the only volume group configured on the system, and the capacity setup in each logical volume.

Next is a bdf run on the second vPar running on a server (hostname ecvpard2:)

 # hostname  actappd1  # bdf  Filesystem           kbytes    used   avail %used Mounted on  /dev/vg00/lvol3      143360   43174   93951   31% /  /dev/vg00/lvol1      111637   73632   26841   73% /stand  /dev/vg00/lvol8     1536000  965183  535326   64% /var  /dev/vg00/lvol7     1593344  740643  799434   48% /usr  /dev/vg00/lvol4      258048   68619  177641   28% /tmp  /dev/vg00/lvol6     2084864  563709 1426107   28% /opt  /dev/vg00/lvol5      819200    1314  766771    0% /home  # 

You can see from these two listings that the space consumed by the two vg00 volume groups is roughly twice the space that would be consumed without vPars running. You may very well get twice the work done on this server by running two vPars, so this is probably disk space well spent; however; you need to think about the space being consumed as part of your planning.

The first vPar we listed earlier also has several applications running on it. One is Broadvision, which requires its own directory under /opt/bv1to1 as shown in the following listing:

 # hostname  actappd1  # ll /opt  total 32  dr-xr-xr-x   7 bin        bin             96 Jul 13 15:27 Migration  dr-xr-xr-x   9 bin        bin           1024 Jul 13 15:26 OV  drwxrwxr-x  18 bin        bin           1024 Jul 13 15:23 apache  dr-xr-xr-x   6 bin        bin             96 Jul 13 15:12 asx  dr-xr-xr-x   6 bin        bin             96 Jul 13 15:24 audio  drwxr-xr-x  22 root       bin           1024 Sep 21 13:34 bv1to1  drwxr-xr-x   8 root      users         1024 Jul 13 15:26 cifsclient  dr-xr-xr-x   4 bin        bin             96 Jul 13 15:26 cmcluster  dr-xr-xr-x   4 bin        bin             96 Jul 13 15:25 cmom  dr-xr-xr-x  10 bin        bin           1024 Jul 13 15:10 dce  dr-xr-xr-x   4 bin        bin           1024 Jul 13 15:35 dcelocal  dr-xr-xr-x   4 bin        bin             96 Jul 13 15:13 dmi  dr-xr-xr-x   4 bin        bin             96 Jul 13 15:11 fcms  dr-xr-xr-x   3 bin        bin             96 Jul 13 15:17 graphics  dr-xr-xr-x   4 bin        bin             96 Jul 13 15:08 hparray  dr-xr-xr-x   3 bin        bin             96 Jul 13 15:14 ifor  dr-xr-xr-x  16 bin        bin           1024 Jul 19 15:03 ignite  dr-xr-xr-x   3 bin        bin             96 Jul 13 15:14 image  drwxr-xr-x   4 bin        bin             96 Jul 13 15:25 java1.2  drwxrwxrwx   7 bin        bin           1024 Aug 24 16:34 java1.3  drwxr-xr-x   2 root      root            96 Jul 13 15:04 lost+found  drwxr-xr-x   7 root       sys             96 Aug 24 17:26 make  drwxr-xr-x   8 root       sys           1024 Jul 13 15:27 mx  dr-xr-xr-x   9 bin        bin           1024 Jul 13 15:26 netscape  dr-xr-xr-x   7 bin        bin             96 Jul 13 15:09 nettladm  dr-xr-xr-x  2 bin        bin            96 Jul 13 15:11 networkdocs  dr-xr-xr-x   4 bin        bin             96 Jul 13 15:16 parmgr  dr-xr-xr-x   7 bin        bin             96 Jul 13 15:13 pd  dr-xr-xr-x  12 root       bin           1024 Jul 13 15:25 perf  dr-xr-xr-x   9 bin        bin           1024 Jul 13 15:26 prm  dr-xr-xr-x   4 bin        bin             96 Jul 13 15:11 raid4si  dr-xr-xr-x   6 bin        bin             96 Jul 13 15:12 resmon  drwxr-xr-x  10 root       users         1024 Jul 13 15:25 samba  drwxr-xr-x   3 root       users           96 Jul 13 15:24 samba_src  dr-xr-xr-x   8 bin        bin           1024 Jul 13 15:16 scr  drwxr-xr-x   3 root       bin             96 Aug 24 13:42 tivoli  drwxrwxr-x  11 bin        bin           1024 Jul 13 15:24 tomcat  dr-xr-xr-x   5 bin        bin             96 Jul 13 15:10 upgrade  dr-xr-xr-x   4 bin        bin             96 Jul 13 15:25 video  dr-xr-xr-x   6 bin        bin             96 Jul 13 15:26 webadmin  drwxr-xr-x  10 bin        bin           1024 Jul 13 15:27 wlm  # 

The bv1to1 directory is the directory in which the Broadvision application is loaded. This directory will appear on every vPar on which Broadvision is to be run. The following listing shows the capacity consumed by each directory under /opt with the du command:

 # hostname  actappd1  # cd /opt  # hostname  actappd1  # pwd  /opt  # du -s *  13842   Migration  80456   OV  57604   apache  250     asx  1912    audio  1402052 bv1to1                    <-- Broadvision directory  5072    cifsclient  2304    cmcluster  4720    cmom  22214   dce  2       dcelocal  446     dmi  296     fcms  620     graphics  44848   hparray  28708   ifor  146206  ignite  2064    image  136598  java1.2  136910  java1.3  0       lost+found  2386    make  53634   mx  54444   netscape  1292    nettladm  512     networkdocs  1076    parmgr  35770   pd  216234  perf  112774  prm  2182    raid4si  850     resmon  26874   samba  10514   samba_src  8648    scr  87810   tivoli  8628    tomcat  1998    upgrade  1272    video  28684   webadmin  5908    wlm  # 

This application will be loaded in every vPar in which it is to be run and consume the disk space associated with it. This is true for all applications.

Issuing swlist on this vPar shows all applications that have been loaded on it, including vPars software and the Broadvision application:

 # swlist  # Initializing...  # Contacting target "actappd1"...  #  # Target:  actappd1:/  #  #  # Bundle(s):  #    B9788AA                               1.3.0.01       Java 2 SDK 1.3 for HP-UX (700/800),                                                         PA1.1 + PA2.0 Add On    BUNDLE11i                             B.11.11.0102.2 Required Patch Bundle for HP-UX 11i    CDE-English B.11.11                                  English CDE Environment    FDDI-00                         B.11.11.01    PCI FDDI;Supptd HW=A3739A/A3739B;SW=J3626AA    FibrChanl-00                          B.11.11.06     PCI/HSC FibreChannel;                                                         Supptd HW=A6684A,A6685A,A5158A    GOLDAPPS11i                           B.11.11.0106.9 Gold Applications Patches                                                         for HP-UX 11i, June 2001    GOLDBASE11i                      B.11.11.0106.9 Gold Base Patches for HP-UX 11i, June 2001    GigEther-00                           B.11.11.14     PCI/HSC GigEther;Supptd                                                   HW=A4926A/A4929A/A4924A/A4925A;SW=J1642AA    HPUX11i-OE-MC                         B.11.11.0106   HP-UX Mission Critical                                                         Operating Environment Component    HPUXBase64                            B.11.11        HP-UX 64-bit Base OS    HPUXBaseAux                           B.11.11.0106   HP-UX Base OS Auxiliary    HWEnable11i                           B.11.11.0106.8 Hardware Enablement Patches for                                                         HP-UX 11i, June 2001    IUX-Recovery                        B.3.3.116      Ignite-UX network recovery tool subset    J4258BA                             B.04.13        Netscape Directory Server v4 for HP-UX    OnlineDiag                        B.11.11.04    HPUX 11.11 Support Tools Bundle, Jun 2001    RAID-00                               B.11.11.01     PCI RAID; Supptd HW=A5856A  #  # Product(s) not contained in a Bundle:  #    BVSN1to1                              6.0            BroadVision One-To-One Enterprise    BVSN6-0AA                      6.0          BroadVision One-To-One Enterprise 6.0 Patch AA    BVSNCommerceB2BMKT                    6.0.0          BroadVision 1:1 Business-To-                                                      Business Contract Utility Installation    BVSNTradingConnector                6.0.0         BroadVision 1:1 Adapter TradingConnector                                                         Application Installation    BVSNb2b                               6.0.0          BroadVision 1:1 Commerce Business-To-                                                        Business Installation    BVSNb2bAA                             6.0.0-AA       BroadVision 1:1 Commerce Business                                                         Commerce Patch AA Installation    BVSNcwa                       6.0.0        BroadVision 1:1 Core Commerce Base Installation    BVSNcwaAA                            6.0.0-AA       BroadVision 1:1 Core Commerce Patch AA                                                         Installation    BVSNcwaAB                             6.0.0-AB       BroadVision 1:1 Core Commerce Patch                                                         AB Installation    BVSNverity261                         2.6.1          Verity v2.6.1 Developer Kit    PHCO_23578                           1.0            Software Distributor Cumulative Patch    PHCO_24625                          1.0           Virtual Partitions manpages cumul patch    PHKL_24546                            1.0            vPar enablement patch    PHKL_24547                            1.0            vPar enablement patch    PHKL_24548                            1.0            vPar enablement patch    PHKL_24549                            1.0            vPar enablement patch    PHKL_24550                         1.0          early boot panic, Psets & vPar enablement    PHKL_24551                         1.0          thread nostop, vPar, Psets, load averages    PHKL_24552                            1.0            vPar enablement patch   PHKL_24553                           1.0           console, chassis code, crash/dump, vPar   PHKL_24554                             1.0            vPar enablement patch   PHKL_24555                             1.0            PREFETCH_LOCK I/O, PA 8700 2.2, vPar   PHKL_24556                             1.0            vPar enablement patch   PHKL_24557                             1.0            vPar enablement patch   PHKL_24558                             1.0            vPar enablement patch   PHKL_24559                           1.0           Syslog overflow, high temp alerts, vPar   PHKL_24560                             1.0            vPar enablement patch   PHKL_24561                             1.0            Psets & vPar Enablement   PHKL_24562                             1.0            vPar enablement patch   PHKL_24563                             1.0            vPar enablement patch   PHKL_24564                             1.0            vPar enablement patch   PHKL_24565                             1.0            vPar Enablement patch   PHKL_24566                         1.0          Kernel Memory allocation, Psets Enablement   PHKL_24570                             1.0             Boot hang, Psets & vPar enablement   PHKL_24582                             1.0             iCOD Support, Psets Enablement Patch   PHKL_24585                             1.0             Psets & vPar enablement patch   PHKL_24960                             1.0             vPar enablement patch   PHKL_25080                             1.0             vPar enablement patch   PHNE_23715                             1.0             Cumulative STREAMS Patch   PHSS_22535                           1.0            ld(1) and linker tools cumulative patch   TIVsm                                  4.1.2           Tivoli Storage Manager   VirtualPartition                     A.01.00.08      HP-UX Virtual Partitions Functionality   make                                   3.79.1          make  # 

The revision of VirtualPartition software you see on your system will be later than that shown in the example.

Maintaining additional HP-UX file systems, which is probably going to be the case when you run vPars, requires you to think about the additional disk space required as well as techniques to ensure that your systems run smoothly such as recovery and operating system and application updates. Be sure to have a current inventory of your systems and perform backups and create bootable recovery tapes often.


       
    Top
     



    HP-UX Virtual Partitions
    HP-UX Virtual Partitions
    ISBN: 0130352128
    EAN: 2147483647
    Year: 2002
    Pages: 181

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net