nv-l

Re: Moving SmartSets from 1 box to another

2000-06-20 11:11:10
Subject: Re: Moving SmartSets from 1 box to another
From: ronnie.ross AT springs DOT com
To: nv-l AT lists.tivoli DOT com
Date: Tue, 20 Jun 2000 11:11:10 -0400
James,
     When I did a nvUtil G I got:
Collection: AllBayEnet
     Description: All Bay Enet
     Rule: ('isSnpxEnet' = True)
Next collection...

     I ftp'd this file over to the other box. In a terminal window I did a
nvUtil a and then pasted the first collection rule.  In the windows it
looked like:

prompt>nvUtil a Collection: AllBayEnet
     Description: All Bay Enet
     Rule: ('isSnpxEnet' = True)
Add failed: Invalid syntax for rule or blank rule specified
prompt>/bin/ksh: Description:: not found.
prompt>/bin/ksh: 0403-057 Syntax error: '(' is not expected.

My only guess was when I pasted the stuff on the line it took the carriage
returns as literals and did not keep everything together as 1 command.
Since I got 2 more prompts trying to run the other lines.


Ronnie Ross
Network Engineer



                                                                                
                            
                    [email protected]                                               
                            
                    tivoli.com           To:     IBM NetView Discussion <nv-l 
AT tkg DOT com>                      
                    Sent by:             cc:                                    
                            
                    [email protected]        Subject:     Re: [NV-L] Moving 
SmartSets from 1 box to another     
                    g.com                                                       
                            
                                                                                
                            
                                                                                
                            
                    06/20/00                                                    
                            
                    10:34 AM                                                    
                            
                    Please                                                      
                            
                    respond to                                                  
                            
                    IBM NetView                                                 
                            
                    Discussion                                                  
                            
                                                                                
                            
                                                                                
                            






That's how you would do it, basically.  But of course, some smartsets of
the
same name may already exist on your target box, so would would not be able
to
add those.  What errors did you get?

James Shanks
Team Leader, Level 3 Support
 Tivoli NetView for UNIX and NT



ronnie.ross AT springs DOT com on 06/20/2000 09:59:55 AM

Please respond to IBM NetView Discussion <nv-l AT tkg DOT com>

To:   IBM NetView Discussion <nv-l AT tkg DOT com>
cc:    (bcc: James Shanks/Tivoli Systems)
Subject:  [NV-L] Moving SmartSets from 1 box to another





Hello,
     Is there a way to move SmartSets from 1 NetView to another NetView?  I
tried nvUtil G to list all SmartSets with the rule and piped this to a file
and tried to run this into the nvUtil a to add it back in but it did not
like it.

     Thanks for the help.

Ronnie Ross
Network Engineer


_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l



_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l


<Prev in Thread] Current Thread [Next in Thread>