Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RAFW: ear files in media best practice

Hello,

what would be the recommended approach to managing ear files in media directory in a RAFW cell environment? To keep files there as a "last-deployed" backup or to clean them up after a successful installation?

Thanks!

Regards,

Jorge.

0 votes



3 answers

Permanent link
Jorge,

There isn't really a 1 best practice for EAR file management. What we typically see is the EAR files are placed in the RAFW tree by another library/step that the user has created. Typically this means that the first set of actions in a deployment plan has a step(s) to extract the desired version of the application from either an SCM system or an asset manager. The next set of steps in the automation plan uses RAFW actions to actually deploy the application to WAS.
From the file system you won't really be able to tell what version of the application is there, you will have to use the audit trail in BF to determine what was last deployed or you will have to tell the automation plan exactly which version you would like for your new deployment.

You could also place the application in a folder named according to the baseline in the application. For example, rafw_cell_def/apps/media/MyEarV2.2, this does however mean you have to update the application's properties file to point to the new location of the ear.

--tim

0 votes


Permanent link
Hello Tim,

thanks for the reply. It's good to see that we are doing what everyone else:

1. Extract from SCM
2. Build
3. Package
4. Copy to RAFW env FS
5. Deploy
and .. for the moment defyining a FS structure were to track EAR files already deployed.

Regards,

Jorge.

0 votes


Permanent link

4. Copy to RAFW env FS
5. Deploy and .. for the moment defyining a FS structure were to track EAR files already deployed.


We are also doing a FS structure (outside RAFW FS) for audit trail of deployed .ear files.

Upon successful deployment, we immediately remove the .ear from the RAFW env FS. Otherwise, the next RAFW activity will sync that .ear file to the RAFW FS on all 12 nodes in the WAS cell, which increases the time to complete the RAFW activity, and uses space on the nodes FS.

Regards,

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Nov 19 '10, 7:34 a.m.

Question was seen: 4,829 times

Last updated: Nov 19 '10, 7:34 a.m.

Confirmation Cancel Confirm