Solaris Jumpstart and Veritas VxVM 4.0, encapsulation

andre.hilgers_at_mobilcom.de
Date: 09/27/04

  • Next message: fabio: "Local start up scripts in Solaris 9 Sparc"
    To: sunmanagers@sunmanagers.org
    Date: Mon, 27 Sep 2004 10:13:20 +0200
    
    

    Hello everyone,

    in our company we have a jumpstart-install-server which helps us to
    install solaris on our servers.
    During the installation-process we encapsulate the rootdisk with
    "vxencap".

    The way we use here is:
    - vxconfigd -m disable
    - vxdctl init
    - rm /etc/vx/reconfig.d/state.d/install-db
    - fmthard -d 3:0:0:0:0 /dev/rdsk/"$ROOTMIRROR"s2
    - fmthard -d 4:0:0:0:0 /dev/rdsk/"$ROOTMIRROR"s2
    - vxencap -c -g rootdg rootdisk=$ROOTDEV

    If we don't use the fmthard-commands and the mirrordisk $ROOTMIRROR
    contains an old veritas configuration (old rootdg from the last
    installation) we got following error-messages during the next reboot
    (initiated through vxencap) (ROOTDEV=c0t0d0=vx-rootdisk;
    ROOTMIRROR=c0t1d0;):

    Boot device: vx-rootdisk File and args:
    SunOS Release 5.9 Version Generic_117171-08 64-bit
    Copyright 1983-2003 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    obpsym: symbolic debugging is available.
    VxVM sysboot INFO V-5-2-3390 Starting restore daemon...
    VxVM sysboot INFO V-5-2-3409 starting in boot mode...
    NOTICE: VxVM vxdmp V-5-0-34 added disk array DISKS, datype = Disk

    VxVM ERROR V-5-2-9102 Error in GUID generation
    Sep 23 13:11:57 vxvm:vxconfigd: V-5-1-569 Disk group rootdg, Disk
    c0t1d0s2: Cannot auto-import group:
    Sep 23 13:11:57 vxvm:vxconfigd: Memory allocation failure
    configuring IPv4 interfaces: hme0.
    Hostname: jumpstart
    VxVM vxvm-startup2 INFO V-5-2-503 VxVM general startup...
    Sep 23 13:12:03 vxvm:vxconfigd: V-5-1-546 Disk rootdisk in group rootdg:
    Disk device not found
      VxVM vxvm-reconfig INFO V-5-2-324 The Volume Manager is now
    reconfiguring (partition phase)...
      VxVM vxvm-reconfig INFO V-5-2-499 Volume Manager: Partitioning c0t0d0 as
    an encapsulated disk.
    /dev/dsk/c0t0d0s1 was dump device --
    invoking dumpadm(1M) -d swap to select new dump device
      VxVM vxvm-reconfig INFO V-5-2-323 The Volume Manager is now
    reconfiguring (initialization phase)...
      VxVM vxvm-reconfig INFO V-5-2-497 Volume Manager: Adding rootdisk
    (c0t0d0) as an encapsulated disk.
    VxVM vxdg ERROR V-5-1-559 Disk rootdisk: Name is already used
      VxVM vxvm-reconfig ERROR V-5-2-1327 Addition of c0t0d0 to rootdg disk
    group failed.
      VxVM vxvm-reconfig ERROR V-5-2-361 The following disks failed
    encapsulation:
    c0t0d0
    Hit RETURN to continue.

    Does anybody know a second way to configure the encapsulation-process
    without the fmthard-commands for Veritas VxVM 4.0?
    I will summarize!

    Mit freundlichen Gr|_en

    Andri Hilgers
    Systemadministration
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: fabio: "Local start up scripts in Solaris 9 Sparc"

    Relevant Pages

    • Re: help replace disk to diskgroup
      ... but you have to allow VxVM to initialize it so ... that it can use the entire disk. ... that should NOT be destroyed you should encapsulate the existing disk ...
      (comp.unix.solaris)
    • VXVM error while root encapsulation
      ... Today I was trying to encapsulate the root disk under vxvm ... situation & recommend to leave 2 slices free on the boot disk (May be, ... E-mail communications are inherently ... vulnerable to interception by unauthorized parties and are susceptible ...
      (SunManagers)
    • Solaris 8 disk slice 0 need to import into VxVM.
      ... Due to a lack of understanding of VxVM, I created a VxFS filesystem on slice ... of the logical disk on my Storedge 3510. ...
      (SunManagers)
    • Re: Please help me understand disk manager
      ... configuration database isn't stored in a raw disk slice (e.g. the ... It's not stored in a raw disk slice? ... Correct (although generally VxVM manages that setup for you). ... Just like VxVM its database is also stored on raw disk. ...
      (comp.unix.solaris)
    • Re: VxVM for LVM users?
      ... Its previously in LVM with vg00 containing the OS. ... just run the following command to migrate the vg00 disk to ... vxcp_lvmroot 10:32: Starting up VxVM ...
      (comp.sys.hp.hpux)