AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

lpar_netboot recovering old client

  • 1.  lpar_netboot recovering old client

    Posted Thu August 23, 2018 06:17 AM

    Originally posted by: savidgea


    Hi

     

    I have a script that runs from a central box and variously creates an LPAR on the HMC, client LVs on the VIO and boots it all up from a NIM server using lpar_netboot. It works really well most of the time, except now and then it will somehow 'recover' an old deleted client from the VIO resources and boots that instead of starting the NIM installation.

     

    I'm assuming this tends to happen as my standard client disk is 20GB and the new LV on the VIO still contains some old VGDA  data from a previous client partition.

     

    Is there a way to either tell lpar_netboot to ignore ghosted VGDAs or to more securely delete the old client LVs when I run rmvdev when I clean up when I delete the partition?

    Apart from anything it seems quite unsecure. I've also had the ghosted LPARs coming up using old IP addresses that have since been used elsewhere.

     

    Thanks for your help,


    Andy


    #AIX-Forum


  • 2.  Re: lpar_netboot recovering old client

    Posted Thu August 30, 2018 04:41 AM

    Originally posted by: savidgea


    Decided to chpv -c the boot disk before final decommissioning and this seems to do the trick. Still worrying to me that a netboot will pick up a previously deleted rootvg though.


    #AIX-Forum