Topic
  • 4 replies
  • Latest Post - ‏2013-03-05T19:46:07Z by kenhygh
Arnab_Ghosh
Arnab_Ghosh
94 Posts

Pinned topic Deployment Strategy

‏2013-03-05T18:42:23Z |
Hi,
For deployment, we are doing the following steps:
1. Export the config from DEV box
2. Preloaded PERF Datapower box with a Import Deployement Policy
3. Using CURL command, RESET PERF Datapower box
4. Using CURL command, push new config to PERF Datapower box
5. Using CURL command, save the config to PERF Datapower box

But when we are resetting the domain using below XML, the deployment policy from step 2 also gets deleted and so step 4 is failing. What is the strategy for this? I am resetting the domain to get rid of the redundant remnants in the Datapower domain.

<dp:request domain="XXX" xmlns:dp="http://www.datapower.com/schemas/management">
<dp:do-action>
<ResetDomain>
<Domain>XXX</Domain>
</ResetDomain>
</dp:do-action>
</dp:request>

Thanks,
Arnab
Updated on 2013-03-05T19:46:07Z at 2013-03-05T19:46:07Z by kenhygh
  • SystemAdmin
    SystemAdmin
    6772 Posts

    Re: Deployment Strategy

    ‏2013-03-05T19:00:04Z  
    > Arnab_Ghosh wrote:
    > Hi,
    > For deployment, we are doing the following steps:
    > 1. Export the config from DEV box
    > 2. Preloaded PERF Datapower box with a Import Deployement Policy
    > 3. Using CURL command, RESET PERF Datapower box
    > 4. Using CURL command, push new config to PERF Datapower box
    > 5. Using CURL command, save the config to PERF Datapower box
    >
    > But when we are resetting the domain using below XML, the deployment policy from step 2 also gets deleted and so step 4 is failing. What is the strategy for this? I am resetting the domain to get rid of the redundant remnants in the Datapower domain.
    >
    > <dp:request domain="XXX" xmlns:dp="http://www.datapower.com/schemas/management">
    > <dp:do-action>
    > <ResetDomain>
    > <Domain>XXX</Domain>
    > </ResetDomain>
    > </dp:do-action>
    > </dp:request>

    Step1: Your have deployment policy in export.zip
    Step2: import to domain A and making the changes with deployment policy.

    After this if you are using reset domain than naturally all objects will be wiped out except file system.

    You have to reset the domain prior to deployment.
  • Arnab_Ghosh
    Arnab_Ghosh
    94 Posts

    Re: Deployment Strategy

    ‏2013-03-05T19:24:45Z  
    > Arnab_Ghosh wrote:
    > Hi,
    > For deployment, we are doing the following steps:
    > 1. Export the config from DEV box
    > 2. Preloaded PERF Datapower box with a Import Deployement Policy
    > 3. Using CURL command, RESET PERF Datapower box
    > 4. Using CURL command, push new config to PERF Datapower box
    > 5. Using CURL command, save the config to PERF Datapower box
    >
    > But when we are resetting the domain using below XML, the deployment policy from step 2 also gets deleted and so step 4 is failing. What is the strategy for this? I am resetting the domain to get rid of the redundant remnants in the Datapower domain.
    >
    > <dp:request domain="XXX" xmlns:dp="http://www.datapower.com/schemas/management">
    > <dp:do-action>
    > <ResetDomain>
    > <Domain>XXX</Domain>
    > </ResetDomain>
    > </dp:do-action>
    > </dp:request>

    Step1: Your have deployment policy in export.zip
    Step2: import to domain A and making the changes with deployment policy.

    After this if you are using reset domain than naturally all objects will be wiped out except file system.

    You have to reset the domain prior to deployment.
    HI Kumar,
    I am resetting domain in step 3 and deploying in step 4. So step 4 is not getting the deployment policy. The deployment policy in DEV is different from that in PERF. So i need to reset the domain but not remove the deployment policy in perf so that in step 4 of deployment it finds the policy. how to achieve this?
  • SystemAdmin
    SystemAdmin
    6772 Posts

    Re: Deployment Strategy

    ‏2013-03-05T19:43:52Z  
    HI Kumar,
    I am resetting domain in step 3 and deploying in step 4. So step 4 is not getting the deployment policy. The deployment policy in DEV is different from that in PERF. So i need to reset the domain but not remove the deployment policy in perf so that in step 4 of deployment it finds the policy. how to achieve this?
    > Arnab_Ghosh wrote:
    > HI Kumar,
    > I am resetting domain in step 3 and deploying in step 4. So step 4 is not getting the deployment policy. The deployment policy in DEV is different from that in PERF. So i need to reset the domain but not remove the deployment policy in perf so that in step 4 of deployment it finds the policy. how to achieve this?

    I think you haven't understood what I was saying. The step1 and step2 ( export.zip with deployment policy object. You can have the one which you want for making changes in export.zip)

    and than import in PERF Env with applying the deployment policy.
  • kenhygh
    kenhygh
    1577 Posts

    Re: Deployment Strategy

    ‏2013-03-05T19:46:07Z  
    HI Kumar,
    I am resetting domain in step 3 and deploying in step 4. So step 4 is not getting the deployment policy. The deployment policy in DEV is different from that in PERF. So i need to reset the domain but not remove the deployment policy in perf so that in step 4 of deployment it finds the policy. how to achieve this?
    I'd have

    1.5: Export the Perf DeploymentPolicy, save on disk
    3.5: Using CURL command, push DeploymentPolicy to PERF Datapower box