I need to create VSI using the VRS file. Can this be done using any vse classes?
Also, please provide any javadoc for com.itko.lisa.vse.
Well I have solved this issue having a custom date feature within my batch script. For example every day I have to create a new VSI for from VRS e.g xyzSystemService.
My batch script creates new VSI based on currentDateTimestamp feature.
Everytime you execute script with new VRS file your service will be created like below:
So in your script you only need to provide "xyzSystemServiceName" and "version" and rest of the part will be replaced dynamically
In this way if you can create multple VSI in one day or every next day based on current time stamp without any need of much manual work with batch file. This will help you avoiding issue of same VSI being updated by batch script everyday.
The only change that will be required would be providing new VRS file which anyway you have provide in Java as well.
This solution is working perfectly for me.
Why you want to do it using java?
You can do it using command line tool provided by LISA ServiceImageManager.exe.
We are doing it using batch script only. But we have raw traffic file for each day. So for creating vsi I would need to create batch files for each day.
Having a java code will be much helpful though as the whole process could be automated.
I have a batch script that creates a VSI from a VRS file using ServiceImageManager.exe. Just let me know if you need it.
What is the protocol you have used? I'm trying to create for IBMMQNative protocol. But it's not generating VSM.
Your help will be appreciated.
Thanks Salman . Will go ahead with this approach.
Share you email Id and I will send my scripts later today, so that you don't have to re-invent the wheel.
Its email@example.com . Thanks a lot
Please check your mail as I have sent the scripts.
Could you please share me as well firstname.lastname@example.org. Thanks.
Please check your mail as I have sent the scripts
Thanks Javed for sharing. I will get back to you if any queries if I come across.
Could you please share me as well email@example.com Many Thanks in advance!
Retrieving data ...