How to create a customized repository for websphere (Application server)? - websphere-8

I want to create a customized repository for websphere and publish that URL using IHS server.(preferably i want to do it in Windows server ) so that i can use that link to access binaries for installations/upgrades/patchings from other servers(Linux/Solaris) in my environment. Can anyone please provide the process ?

WebSphere Application Server install and maintenance is managed with a tool called IBM Installation Manager (IIM). There is an optional tool called PUCL (Packaging Utility Commnad Line) that allows you to mirror existing repositories into directories that are directly usable over ftp:// and http://
A good summary of PUCL relative to WebSphere is available here:
http://www.ibm.com/developerworks/websphere/library/techarticles/1201_seelemann/1201_seelemann.html
You can use the IBM Packaging Utility to create custom or “enterprise”
IBM Installation Manager repositories that contain multiple products
and maintenance levels that fit the needs of your business. As an
administrator, you can control the content of your enterprise
repository, which then can serve as the central repository to which
your organization connects to perform product installations and
updates. IBM Packaging Utility essentially copies from a set of source
IBM Installation Manager repositories to a target repository and
eliminates duplicate artifacts, helping to keep the repository size as
small as possible. You can also delete (or “prune”) a repository,
removing maintenance levels or products that are no longer needed. IBM
Packaging Utility 1.5.0.1 can be downloaded at no cost from the IBM
Support Portal.
$ PUCL copy com.ibm.websphere.BASE.v80 –repositories
http://www.ibm.com/software/repositorymanager/com.ibm.websphere.BASE.v80 -target D:\WASBase8001

Related

Artifactory - Concept of File Versions

I'm currently starting with JFrog Artifactory. Up to now I have only been working with source code control systems not with binary repositories.
Can someone please tell how the versioning of files is done in Artifactory?
I have been trying to deploy a file, then change it and deploy it again.
The checksum has changed, so it's the new file. But it seems that the old version is gone.
So it looks like there are no version of files. If I want that do I have to do it in the filename?
I found versions related to packages.
But I was thinking to use it for other files as well.
Thanks for your help
Christoph
Artifactory, unlike a VCS system, is not managing a history of versions for a given path. When you deploy an artifacts over an existing artifact, it will overwrite it (you can block this by configuring the right permissions).
If you wish to manage permission for generic artifacts (ones which are not managed by a known package manager like npm, Maven etc.), there are a couple of options you can take:
Add the version as part of the artifact name, for example foo-1.0.0.zip
Add the version as part of the artifact path, for example /foo/1.0.0/foo.zip
Combine the 2 above approaches, for example /foo/1.0.0/foo-1.0.0.zip
Use an existing package management tool which is flexible enough to handle generic packages. Many people are using Maven to manage all types of packages beyond Java ones (it comes with its pros and cons)
From the Artifactory point of view there are a couple of capabilities you can leverage:
Generic repositories - aimed at managing proprietary packages which are not managed by a known package manager
Custom repository layout - can be used to define a custom layout for your generic repository and assist with tasks like automatic snapshot version cleanup
Properties - can be used to add version (and other) metadata to your artifacts which can used for searching, querying,resolution and more
Lastly, Conan is another option you should consider. Conan is a package manager intended for C and C++ packages. It is natively supported in Artifactory and can give you a more complete solution for managing your C libraries.

Upgrade from Alfresco 3.4 to 5.1 Community Edition

I want to upgrage Alfresco from 3.4 to 5.1 community Edition on linux
What should I do exactly ? ?
Actually you cannot upgrade directly to 5.1.
You will have to update to 4.x beforehand and as a next step upgrade from 4.x to 5.1.
This is described here in the documentation.
Briefly you will have to do following:
backup your database and alf_data folder
install 4.x
configure it to use your existing (3.4) database and alf_data folder (in alfresco-global.properties)
start it and wait till all upgrades scripts will execute successfully
install 5.1
configure it to use your existing database and alf_data folder (in alfresco-global.properties)
start it and wait till all upgrades scripts will execute successfully
Please note that 5.1 don't have an user interface in /alfresco (repo) webapp.
GUI was separated to /share webapp so all your customization should be rewritten/reconfigured to be used inside Share.
For more information on how to upgrade Alfresco please follow instructions from this official documentation page Upgrading Alfresco on a single instance.
If you have "default configuration"- I mean like there you dont have some custom things like certificates, etc..
You dont need to backup & restore complete "alf_data", but just alf_data contentStore & contentStore.deleted should be fine
Also one importatnt thing
database backup must be made firts, earlier than "data" backup- because of indexes saved in DB
(if there will be indexed some files, which will dont be in data, alfresco will dont start, if there will be some files without indexes, it will index them)
Btw also what is recommended is to make reindex (on new Alfresco)- steps has dependencies on the Alfresco version (eg. Alf 4 has solr1, alf 5.x has solr4 by default), but its usually something like this

Alfresco Development . Working with All in one Archetype

I have created a multi module project in Alfresco using All-in-one Archetype of the Maven Alfresco SDK. I have selected 1.1.1 archetype version. The project directory was build successfully. But in that directory I couldnt find the wcmqs(Alfresco Web Quick Start) directory which is used to build websites. Can anyone help me hw to get this wcmqs, as I need to work with wcmqs for creating new pages and templetes in wcmqs?
The wcmqs module did used to be in the Maven Alfresco SDK but it never worked very well and caused other problems. It is however unnecessary to use the Maven Alfresco SDK if you wish to get started.
To get started with Alfresco Web Quick Start you just need to download and install the files. You can get the files from Sourceforge: http://sourceforge.net/projects/alfresco/files/Alfresco%204.2.f%20Community/
Installation should be straightforward. You need to install the AMPs on your Alfresco instance and deploy the WARs to a servlet container (like your Tomcat).
If you want to customise Web Quick Start, such as changing the model, that is a different matter. There is a short example here that you can go through to give you an idea of what you need to do:
http://ecmarchitect.com/archives/2011/01/06/1254

How to configure workflow in alfresco workdesk?

I have installed alfresco community 4.2 on my laptop. Also i have downloaded alfresco workdesk & configured it to use my local alfresco repository instead of default one.
Now i am not able to figure out how to get workflow features on content i uploaded in workdesk UI as well as how to proceed with case management features as clubbing multiple files to create one case etc.?
Can anybody help me here?
OK. I have done some more research & found out that one can use alfresco enterprise edition & install workdesk enterprise trial for same. This trial is a preconfigured case management example which has lots of features which can be used as yardsticks such as creating case folders with multiple files, workflow etc.
Now depending upon information/documentation you have got, one can extend it for further use.

CCNET - build task required? Multiple repositories, one CCNET source section per project

CCNET questions - Here's the scenario:
I've got 10 developers doing local development to a Sitecore installation w/GIT as version control. When done with their feature/fix they push to an integration repository.
I've got CCNET setup for the Sitecore project that points to the remote Integration rep and the local live qa code base. CCNET finds the commits that my developers have made to integration repository and then updates the qa code base repository.
I also have a couple other .Net class lib projects that are managed by CCNET, compiled with their output pointed to the Sitecore bin dir.
The Sitecore installation is merely a result of a build with no compilable aspects. Its a web product with it's own API as well as the ability to integrate custom dll that we create to customize the product.
Questions:
Is CCNET build task required as a condition to execute other activities such as nUnit or robocopy? (the reason I ask this is because a "build" is natively used to compile an app and generate output, whereas, the only reason why we'd want to build is to make sure all dependencies are there and we can jump to unit testing...).
If my developers are NOT pointing to a centralized rep like integration, how would CCNET know where all of their remote GIT repositories are when the config doc only allows one GIT source control section per project?
Per project when I configure the GIT vc specs it asks for the branch that needs to be statically saved to the doc. Does CCNET have the ability to accept different branches dynamically?
There's no need to have an "actual build" in your project - it could consist of any type of tasks inside the tasks element. I have a couple of projects which only copy the files from the repository to an FTP server after deleting some files which shouldn't be published.
I have no experience with GIT but you have a possibility to define multiple source control blocks of any type if you use the multi source control block.
You could use dynamic parameters which allow the user to set their values when triggering the build.

Resources