Variable for CommServe hostname/clientname?

Last post 05-01-2016, 8:26 PM by ameykarandikar. 3 replies.
Sort Posts: Previous Next
  • Variable for CommServe hostname/clientname?
    Posted: 04-29-2016, 11:59 AM

    What's the variable to reference the CommServe via it's hostname and clientname?  I haven't been able to figure this out yet...

  • Re: Variable for CommServe hostname/clientname?
    Posted: 04-29-2016, 2:45 PM

    There is no built in system variable for it. Generally its not needed for any operations. what do you need it for?

  • Re: Variable for CommServe hostname/clientname?
    Posted: 05-01-2016, 6:54 AM

    I need to setup DIPs to our CommServe (remote computers that can't resolve the CommServe name, so we setup a DIP instead of using HOSTS files).

     

    The command I've used in full command line is:

     

    qoperation execscript -sn DataInterfacePairConfig.sql -si add -si SERVER.remotedomain.local -si SERVER.remotedomain.local -si CommServe01 -si CommServe01.ourdomain.local

     

    I'm working on porting this into a workflow (ExecuteScript).  I have it all done, except that I currently have the CommServer parts hardcoded.  This work, but I would really like to not have it hardcoded so that I can have one script that I can import into multiple CommServes.

  • Re: Variable for CommServe hostname/clientname?
    Posted: 05-01-2016, 8:26 PM

    you can run this query and get the values for name and net_hostname

    select * from app_client where id=2

The content of the forums, threads and posts reflects the thoughts and opinions of each author, and does not represent the thoughts, opinions, plans or strategies of Commvault Systems, Inc. ("Commvault") and Commvault undertakes no obligation to update, correct or modify any statements made in this forum. Any and all third party links, statements, comments, or feedback posted to, or otherwise provided by this forum, thread or post are not affiliated with, nor endorsed by, Commvault.
Commvault, Commvault and logo, the “CV” logo, Commvault Systems, Solving Forward, SIM, Singular Information Management, Simpana, Commvault Galaxy, Unified Data Management, QiNetix, Quick Recovery, QR, CommNet, GridStor, Vault Tracker, InnerVault, QuickSnap, QSnap, Recovery Director, CommServe, CommCell, SnapProtect, ROMS, and CommValue, are trademarks or registered trademarks of Commvault Systems, Inc. All other third party brands, products, service names, trademarks, or registered service marks are the property of and used to identify the products or services of their respective owners. All specifications are subject to change without notice.
Close
Copyright © 2019 Commvault | All Rights Reserved. | Legal | Privacy Policy