Re: DP Buddy question

121 views
Skip to first unread message

Alexander 'Sasha' Ananiev

unread,
Aug 18, 2011, 10:16:22 PM8/18/11
to Noppon.K...@thomsonreuters.com, DataPower Buddy
Hi Noppon,

1. Yes, you can export multiple domains using the "backup" task, your example is correct. 
2. Yes, you do need to import one domain at a time. There is a "restore" SOMA command that would import multiple domains, but currently it is not exposed in dpbuddy.  You need to be careful importing the entire domain (let alone multiple domains) in a different device as there could be parameters, such as ports and IP addresses, that could be different between devices.
3. If your deployment failed for whatever reason, the domain will not be saved and no changes will be applied. 

- Alexander



On Thu, Aug 18, 2011 at 6:57 AM, <Noppon.K...@thomsonreuters.com> wrote:

Dear All,

 

I am interested to apply the DPBuddy to our Auto Deploy process. I can import this follow the step in document. I have some questions hope to get your suggestion.

I want to import the package that have got from exporting from GUI like this captured image below.

And I have save it to package/DP_All_Domainl.zip



In this zip package contains 2 domains (default , TimeSereis). My question are:

1.     How can I export all entire system by using tag? Can I use the following command?

     <target name="backup" description="Backup one or multiple domains">

        <dp:backup file="backup.zip" domainPatterns="TimeSeries.*, default" appendTimestamp="true" />

    </target>

 

 

2.     How can I import them by using the tag target?

    

    <target name="importall" description="Import configuration and apply deployment policy to it">

         <property name="ws.port" value="5550" />

         <dp:import domain=”default” file="package/DP_All_Domainl.zip"  overwriteFiles="true" overwriteObjects="true" />

    </target>

PS: I can only import per each domain by using 2 tags of target (e.g. <target name=”import_default> .. and <target name=”import_TimeSeries”>) but what I would like to do is to import all.

 

3.     If deploying is failed e.g. the management interface has been replaced with the incorrect IP. So we will cannot access the management interface , right?

The question is How we rollback this?

 

 

Regards,

Noppon K.

 


This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.

Alexander 'Sasha' Ananiev

unread,
Aug 21, 2011, 9:27:35 PM8/21/11
to Noppon.K...@thomsonreuters.com, karn.si...@thomsonreuters.com, Sawadee.Pra...@thomsonreuters.com, woranop.ch...@thomsonreuters.com, DataPower Buddy
Hi Noppon, 
All changes go into effect right away, however they only apply to the currently running configuration. You need to explicitly invoke "Save config" form Web GUI or use the dpbuddy "save" task to persist the changes to the domain. You can reboot the domain to return it to the state before the change. 
But what you should be doing, in fact, is creating checkpoints ("checkpoint" task in dpbuddy). Then you can easily roll back to the checkpoint before the change from Web GUI even if the management interface is unavailable.

- Alexander


On Thu, Aug 18, 2011 at 11:13 PM, <Noppon.K...@thomsonreuters.com> wrote:

Hi Alexander,

 

Thanks for your quick reply. I am interested for the #3. In the past I have some problem in GUI access. While I was importing by replacing the incorrect IP on eth4 (management interface). Then the result is I could not do the next step. This means that it automatic apply what I had done, right?

 

I just concern that it will impact to DPBuddy cause it is using XML management interface as well. If I am wrong please correct.


I am appreciated for your help and hope to get helping in the future question
J

Many Thanks

Noppon K.

Noppon.K...@thomsonreuters.com

unread,
Aug 23, 2011, 6:03:05 AM8/23/11
to alex...@myarch.com, karn.si...@thomsonreuters.com, Sawadee.Pra...@thomsonreuters.com, woranop.ch...@thomsonreuters.com, dpb...@myarch.com

Hi Alexander,

 

Thanks for this answer. I still have more question.

 

In case I want to import the configuration to non-existing domain. I have tried but it returned error “Authentication error” something like this. I need to create domain myself on GUI.

 

Is there any way to import the configuration to non-existing or is there any command to check and creating domain before importing?

Dear All,

 

Error! Filename not specified.

And I have save it to package/DP_All_Domainl.zip



In this zip package contains 2 domains (default , TimeSereis). My question are:

1.     How can I export all entire system by using tag? Can I use the following command?

     <target name="backup" description="Backup one or multiple domains">

        <dp:backup file="backup.zip" domainPatterns="TimeSeries.*, default" appendTimestamp="true" />

    </target>

 

 

2.     How can I import them by using the tag target?

    

    <target name="importall" description="Import configuration and apply deployment policy to it">

         <property name="ws.port" value="5550" />

         <dp:import domain=”default” file="package/DP_All_Domainl.zip"  overwriteFiles="true" overwriteObjects="true" />

    </target>

PS: I can only import per each domain by using 2 tags of target (e.g. <target name=”import_default> .. and <target name=”import_TimeSeries”>) but what I would like to do is to import all.

 

3.     If deploying is failed e.g. the management interface has been replaced with the incorrect IP. So we will cannot access the management interface , right?

The question is How we rollback this?

 

 

Regards,

Noppon K.

 


This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.


This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.

Alexander 'Sasha' Ananiev

unread,
Aug 26, 2011, 12:36:58 AM8/26/11
to Noppon.K...@thomsonreuters.com, karn.si...@thomsonreuters.com, Sawadee.Pra...@thomsonreuters.com, woranop.ch...@thomsonreuters.com, dpb...@myarch.com
Hi Noppon, 

I'm not sure. There might be a SOMA command for this. Not sure why you'd want to do it though. If this is for disaster recovery, try secure backup/restore, otherwise user credentials and keys won't be exported.
Regards,
- Alexander
Reply all
Reply to author
Forward
0 new messages