OOPS. nvUtil doesn't use the minus. It's "nvUtil G". Now I have to
write "Measure twice, saw once" on the board 100 times.
Bill
-----Original Message-----
From: nv-l-bounces@lists.ca.ibm.com
[mailto:nv-l-bounces@lists.ca.ibm.com] On Behalf Of Evans, Bill
Sent: Wednesday, August 08, 2007 1:54 PM
To: Tivoli NetView Discussions
Subject: RE: [NV-L] SmartSets Dilemma!!!
Been there. Done that. The "nvUtil -G >temp.file" command will list
all your SmartSets in a file and I presume that "smartsetutil -G" will
do that as well. It only takes a little editing and you can then
execute the result as a shell script which uses the "nvUtil a" command
to add them to the new system.
The result of the query "smartsetutil g temp" :
SmartSet: Temp
Description: descriptive text
Rule: isRouter=TRUE
becomes this to create the new one:
nvUtil a Temp "descriptive text" "isRouter=TRUE"
Repeat for each group in the "G" output file. Forgive any errors in
syntax on the smartsetutil side; I haven't worked with the Windows
version for a couple years.
Bill Evans
________________________________
From: nv-l-bounces@lists.ca.ibm.com
[mailto:nv-l-bounces@lists.ca.ibm.com] On Behalf Of Marcelo Zacchi
Sent: Wednesday, August 08, 2007 9:30 AM
To: Tivoli NetView Discussions
Subject: Re: [NV-L] SmartSets Dilemma!!!
Usman,
As far as I know, you can export the smartset's rules on Windows using
the smartsetutil -g <smartset name> and then import them on Linux using
nvUtil -a <smartset name> <smartset description> "<smartset rule>"
I do not know a way to import/export all of them at once, but I hope
this helps.
Best regards,
Marcelo Zacchi
On 8/8/07, Usman Taokeer < usman.taokeer@gmail.com> wrote:
Hi List,
We recently migrated from NV 7.1.4 (Windows) to NV 7.1.5
(Linux), took a backup of entire 'usr' folder, but later decided not
restore to linux but to do a rediscovery. Rediscovery was done smoothly
had some issues migrating the DNS to BIND as well but its resolved. Now
the problem is we had a lot of smartsets maintained on the Windows
enviornment, how do we migrate those to Linux? We have a backup which we
took using the smartsetmaint/smartutil scripts. Is there a way to
restore the smartsets using the backup.
Thanks in advance
Regards,
Usman Taokeer
_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access
limited to internal IBM'ers only)
_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to
internal IBM'ers only)
|