RE: [NV-L] SmartSets Dilemma!!!
2007-08-08 13:58:35
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
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 AT gmail DOT 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 AT lists.ca.ibm DOT com Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser
access limited to internal IBM'ers
only)
_______________________________________________
NV-L mailing list
NV-L AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to
internal IBM'ers only)
|
|
|