Forum Discussion

LIMRA's avatar
LIMRA
Level 4
11 years ago

VMware policy change via command line

Dear Expert

Due to some reasons, I am not able to change some settings from GUI, its been taking too long to load and I had many policies to change

I am trying to make sure 'Primary VM identifier' is set to  'VM display name' instead of 'VM hostname' under  VMWare  tab.

Can some one please advise how I can do via command line because I could not find correct switches in the command for it.

 

thanks!

 

  • try this, see if that helps..

    bpplinfo <policyname> -modify -nameuse 1

    if it does not work...need to play arourd the options that are listed in below T/N

    http://www.symantec.com/business/support/index?page=content&id=HOWTO92099#v80137875

    http://www.symantec.com/business/support/index?page=content&id=HOWTO92097

    let us know how it goes...

  • To automatically select virtual machines through a query rule (for example):

    bpplclients pol1 -add MEDIA_SERVER VMware VMware
    bpplinclude pol1 -add "vmware:/?filter= Displayname Contains 'prvm'"

     

    Reference

    Using NetBackup commands to create a VMware policy
    http://www.symantec.com/docs/HOWTO92097

     

     

    DeepS

  • try this, see if that helps..

    bpplinfo <policyname> -modify -nameuse 1

    if it does not work...need to play arourd the options that are listed in below T/N

    http://www.symantec.com/business/support/index?page=content&id=HOWTO92099#v80137875

    http://www.symantec.com/business/support/index?page=content&id=HOWTO92097

    let us know how it goes...

  • Thanks  U r legend.. worked out..

    final commaned, bolded are must parameters , that need to given all the time when modify.

    [nbuser@masterserver1 ~]$ sudo bpplinfo t7-B-XXX-PPP-001-OOCP-T8SSS-048-vm-3m-01 -modify -use_virtual_machine 1 -alt_client_name kn02.axx.at.com.au -snapshot_method "VMware_v2" -snapshot_method_args "nameuse=1"