ZennaroNicola

updated

14 years ago

Z

ZennaroNicola

1 Rookie

•

88 Posts

0

2878

June 1st, 2012 01:00

NW763 & VMware

Hi all,I need to automatically add auto-discovered vm to a NW Datazone, since I have an increase of about 100 mv per day. I'd like put them in a "repository group" .

some ideas?

thx in advance

-Nicola

  • Frank Kuhn

    25 Posts

    1004

    0

    Posted June 6th, 2012 02:00

    You can use nsradmin to print the vm list of these machines which were discovered during last run:

    nsradmin> . type:NSR hypervisor

    Current query set

    nsradmin> option hidden

    Hidden display option turned on

    ...

    nsradmin> show vm list

    nsradmin> print

    Then you'll get the list of the discovered VMs

    In order to add the clients you need the VM-Name which is shown in the vm autodiscovered list and teh fqdn/shortname of the client for the clientname

  • ZennaroNicola

    1 Rookie

    •

    88 Posts

    1005

    0

    Posted June 5th, 2012 07:00

    thank you for the answer

    my goal is auto-VMs_discovered-adding in a "repository group". Where NW put VMs-list after the auto-discovery? Has only the VC this list?

    -Nicola

  • Frank Kuhn

    25 Posts

    1005

    0

    Posted June 5th, 2012 07:00

    You can enable auto-discovery for your vcenter > Virtualization

    Added VMs are discovered but not automatically added to your backup environment (client, group).

    You have to add them manually to your backup environment

  • Frank Kuhn

    25 Posts

    1005

    0

    Posted June 5th, 2012 07:00

    I think you have to do this with a script.

    Do I understand you right?

    You want that the newly made VMs are discovered and added to a backup group ind your Datazone?

  • ZennaroNicola

    1 Rookie

    •

    88 Posts

    1005

    0

    Posted June 5th, 2012 08:00

    Yes,it's correct. I'd like create a script for this, but i need the vm autodiscored list in order to use nsradmin..

    thx

  • Frank Kuhn

    25 Posts

    145

    0

    Posted June 6th, 2012 02:00

    :-)

    Glad to help you!

  • Frank Kuhn

    25 Posts

    1004

    0

    Posted June 6th, 2012 02:00

    If you want to add a client for vadp backup you'll need many more opttions :-) Here the information for one VM which is backed  up in my testing environment

    nsradmin> print

                            type: NSR client;

                            name: support-vcenter;

                          server: networker.frankylein.local;

                       client id: \

    afe9fa6d-00000004-4f98ee7d-4f98f180-00245000-30cb8456;

                scheduled backup: Enabled;

                         comment: VADP IMAGE BACKUP;

                 Save operations: ;

                archive services: Disabled;

                        schedule: Full Every Day;

                   browse policy: Month;

                retention policy: Month;

                      statistics: elapsed = 89960, index size (KB) = 10,

                                  amount used (KB) = 10, entries = 48;

                   index message: ;

           index operation start: ;

                  index progress: ;

                 index operation: Idle;

                  index save set: ;

                       directive: ;

                           group: BOOTSTRAP, VADP-SUPPPORT;

                        save set: *FULL*;

                    save set MBT: *FULL*;

      Backup renamed directories: Disabled;

              Checkpoint enabled: Disabled;

          Checkpoint granularity: Directory;

                        priority: 500;

       File inactivity threshold: 0;

    File inactivity alert threshold: 0;

                   remote access: "user=system,host=vadp-proxy.frankylein.local";

                     remote user: ;

                        password: ;

                  backup command: nsrvadp_save;

         application information: VADP_VM_NAME=VMware vCenter Server Appliance,

                                  VADP_DISABLE_FLR=yes,

                                  VADP_HYPERVISOR=172.16.224.11;

                            ndmp: No;

                 NDMP array name: ;

           De-duplication backup: No;

             De-duplication node: ;

                            Pool: ;

              Data Domain backup: No;

             Probe resource name: ;

                  virtual client: Yes;

                   physical host: 172.16.224.10;

               Proxy backup type: VADP;

               Proxy backup host: vadp-proxy.frankylein.local;

                 executable path: ;

        server network interface: ;

                         aliases: support-vcenter;

                      index path: ;

              owner notification: ;

                     parallelism: 4;

    physical client parallelism: Disabled;

                   archive users: ;

                   storage nodes: nsrserverhost;

           recover storage nodes: ;

             clone storage nodes: ;

                      hard links: Disabled;

                 short filenames: Disabled;

                             BMR: Disabled;

                     BMR options: ;

                     backup type: Filesystem;

                   backup config: ;

                        hostname: networker.frankylein.local;

                   administrator: \

    "group=Administrators,host=networker.frankylein.local",

    "user=administrator,host=networker.frankylein.local",

                                  "user=system,host=networker.frankylein.local",

                                  *@mailbox.frankylein.local,

                                  *@mail1.frankylein.local,

                                  *@mail2.frankylein.local;

              ONC program number: 390109;

              ONC version number: 2;

                   ONC transport: TCP;

                  client OS type: ;

                            CPUs: ;

               NetWorker version: ;

                  enabler in use: Yes;

           licensed applications: ;

                   licensed PSPs: ;

    nsradmin>

  • ZennaroNicola

    1 Rookie

    •

    88 Posts

    1004

    0

    Posted June 6th, 2012 02:00

    thank you Frank. So , does NSR hypervisor show me all last discovered vms (not the nw configured vms)? is it right?

    -Nicola

  • ZennaroNicola

    1 Rookie

    •

    88 Posts

    1004

    0

    Posted June 6th, 2012 02:00

    Perfect! Thank you again. I can do a diff between the new list and the configured vm for nw list (obtained with another simple script ) ..

    -Nicola

  • Frank Kuhn

    25 Posts

    1004

    0

    Posted June 6th, 2012 02:00

    withing the NSR hypervisor resource you can switch on that hidden options are shown:

    vm list (read only, hidden)

    This attribute contains names of the virtual machines found dur-

    ing the last execution of the discovery command.

    http://nsrd.moab.be/nwcr/nsr_hypervisor.html

    So this list contains all VM Names (as shown in vCenter - vSphere Client) which were found during last discovery run

    I think this list is not the best way to fullfill the requirement of auto-adding VM to your backup datazone, because not only new VMs are shown in that list.