Configuration Wizard Profile (cw_profile) - Enable Standalone LDAP using configuration wizard workflows


Recently came across one usecase where configuration wizard profile is very useful to configure multiple development workstations.

The Configuration wizard is installed on server1 in the cw_profile (WebSphere/AppServer/profiles/cw_profile) profile  .

NOTE : You can find the wizard.war file under /Websphere/ConfigEngine/installableApps)

  1. Accessing configuration wizard

you can start the cw_profile from /WebSphere/AppServer/profiles/cw_profile/bin/

or you can access configuration wizard profile is using first steps





Once we start the configuration wizard profile, you can see the "Configuration Wizard" option in admin console as below (https://sivapc.sivavaka.com:9044/ibm/console/)



  1. Existing sample workflows


  1. UseCase:  - Configuring the Standalone LDAP

Customizing workflow (based on your environment)
Following shows how to customize the "configuring the standalone LDAP security"







##############################################################################
# IBM WebSphere Portal configuration helper file for script EnableLDAPSecurity.
##############################################################################
standalone.ldap.baseDN=dc=sivavaka, dc=com
standalone.ldap.bindDN=cn=wasadmin,ou=system,dc=sivavaka,dc=com
standalone.ldap.bindPassword=wasadmin
standalone.ldap.et.group.objectClasses=groupOfUniqueNames
standalone.ldap.et.group.objectClassesForCreate=
standalone.ldap.et.group.searchBases=ou=groups,dc=sivavaka,dc=com
standalone.ldap.et.personaccount.objectClasses=inetorgperson
standalone.ldap.et.personaccount.searchBases=ou=persons,dc=sivavaka,dc=com
standalone.ldap.gm.dummyMember=uid=dummy
standalone.ldap.gm.groupMemberName=uniqueMember
standalone.ldap.gm.objectClass=groupOfUniqueNames
standalone.ldap.gm.scope=direct
standalone.ldap.groupFilter=(&(cn=%v)(|(objectclass=groupofUniqueNames)(objectclass=accessGroup))
standalone.ldap.groupIdMap=*:cn
standalone.ldap.groupMemberIdMap=
standalone.ldap.groupParent=ou=groups,dc=sivavaka,dc=com
standalone.ldap.groupRdnProperties=cn
standalone.ldap.host=ldap.sivavaka.com
standalone.ldap.ldapServerType=IDS
standalone.ldap.personAccountParent=ou=persons,dc=sivavaka,dc=com
standalone.ldap.personAccountRdnProperties=uid
standalone.ldap.port=636
standalone.ldap.primaryAdminId=uid=wpsadmin,ou=persons,dc=sivavaka,dc=com
standalone.ldap.primaryAdminPassword=wpsadmin
standalone.ldap.primaryPortalAdminGroup=cn=wpsadmins,ou=groups,dc=sivavaka,dc=com
standalone.ldap.primaryPortalAdminId=uid=wpsadmin,ou=persons,dc=sivavaka,dc=com
standalone.ldap.primaryPortalAdminPassword=wpsadmin
standalone.ldap.realm=SivaRealm
standalone.ldap.serverId=cn=wasadmin,ou=system,dc=sivavaka,dc=com
standalone.ldap.serverPassword=wasadmin
standalone.ldap.userFilter=(&(|(uid=%v)(cn=%v))(|(objectclass=accessGroup))
standalone.ldap.userIdMap=*:uid
WasPassword=wasadmin







 Click on Next ( If you want to save changes to local directly, you can save in above step).




  1. Executing the Scripts that’s generated as part of custom workflow

Instruction file (html) named after your workflow
The instruction file provides you with tailored steps for your configuration and your target operating system. Based on the information provided when customizing your workflow, an instruction file is created to guide you in running scripts in combination with other manual configuration steps for your specific configuration goal.
Scripts
Depending on the conditions of your environment, the script files use a .sh or .bat file extension or are simple text files. Use the scripts, along with other manual configuration steps described by your instruction file, to perform your configuration. For example, your workflow may provide you with a script to run a ConfigEngine task rather than you running the task.
Updated properties
Configuration helper files with updated property values entered for your configuration are created when customizing your workflow. You can use these helper files to save time later.
.wfi file
File used for troubleshooting your workflow.

Instructions HTML looks like below.

NOTE : In Websphere Portal 8.5, you can Install the PAA (Portal Application Archive) files also

Resources:

No comments:

Post a Comment