AIX

AIX

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


#Power
 View Only
  • 1.  copy lpar profile - hmc command

    Posted Tue November 30, 2010 01:38 AM

    Originally posted by: enmanasu


    Hi,

    I would like to know hmc command line options to copy a lpar profile onto a different name..i could see copy option in GUI..but i need command line options to perform few tasks through script..

    -shan
    #AIX-Forum


  • 2.  Re: copy lpar profile - hmc command

    Posted Tue November 30, 2010 04:57 AM

    Originally posted by: sreten


    Hi,
    You can do it from hmc cli, with mksyscfg command.

    mksyscfg -r prof -m system1 -o save -p p1 -n newProfile

    This will create new profile for p1 partition.

    Then you can see new profile from GUI or command line.

    lssyscfg -r prof -m system1 --filter lpar_names=p1

    Regards,
    Sreten
    #AIX-Forum


  • 3.  Re: copy lpar profile - hmc command

    Posted Mon April 11, 2011 12:03 PM

    Originally posted by: BeDro


    Hi,

    the command mentioned in the answer do not copy the profile.

    mksyscfg -r prof -m system1 -o save -p p1 -n newProfile
    saves the configuration of the running lpar.

    chsyscfg -r prof -m system1 -i "lpar_name=P1,name=p1,new_name=p1_new
    renames the profile p1.

    How can I copy an lpar profile?

    Thanks in advance.

    bernhard
    #AIX-Forum