Wednesday, December 22, 2010

VMware Infrastructure client install

VMware infrastructure client install software can be downloaded from VM server URL
https://ip_addr_of_vm_server/client/VMware-viclient.exe

Tuesday, March 30, 2010

Joomla - Google Analytics Integration

Login to Joomla admin website
Ex: www.yourdomain.com/administrator

Navigate to Extensions -> Template Manager -> Select default template -> Edit -> Edit Template HTML
Locate </body> tag
Place Google Analytics tracking code before the </body> tag

Thursday, March 18, 2010

Windows Admin Tool Pack to manage certs

1) Install Windows Server 2003 Service Pack 2 Administration Tools Pack for x86 editions (works for XP to)
http://www.microsoft.com/downloads/details.aspx?FamilyId=86B71A4F-4122-44AF-BE79-3F101E533D95&displaylang=en

2) Navigate to Programs -> Administrative tools -> Certification Authority

3) Right Click Certification Authority (Local) -> Retarget Certification Authority -> Another Computer -> Select desired Certificate Server -> Finish

4) Take required actions

Using Windows MMC to review certificates

Start -> Run -> mmc -> File -> Add/Remove Snap-in -> Standalone -> Snap-ins added to: Certificates -> Certificates -> Select the appropriate option (user, service or computer) -> Finish -> Close -> Ok

Expand the certificates section in Console Root -> Personal -> Look for certificates you are interested in.

If you want to look at the certificates imported into your browser, try selecting user in the above choices.



Friday, February 26, 2010

CISCO switch commands

show interfaces status
show running-config
show mac-address-table
show mac-address-table | include 588

Tuesday, February 23, 2010

Determine Quickr version

Check the files
TS.product
PDM.product

WebSphere ADMR0104E Error

Problem:
WebSphere ADMR0104E: The system is unable to read document cells node-metadata.properties: java.io.IOException: Permission denied

Solution:
Change the ownership to right owner at the was install root or above and not just the cells directory. Restart the server.

Tuesday, January 12, 2010

WebSphere Portal Traces

Traces to troubleshoot URL mapping context after virtual portal creation:

com.ibm.wps.engine.Servlet=all:com.ibm.wps.services.vpmapping.*=all:
com.ibm.wps.command.vp.*=all:com.ibm.wps.portlets.managevirtualportals.*
=all

Traces to debug xmlaccess:
com.ibm.wps.command.xml.*=all

Monday, January 11, 2010

Sybase EA Server 5.3 Provisioning / Hostname change

Following steps will help to save time from doing complete Sybase EA Server 5.3 installation from scratch if you already have a server configured. The steps will also help with hostname changes.

1. Copy the entire D:\Program Files\Sybase from existing server to new server.
2. Update the hostname in the following files
D:\Program Files\Sybase\EAServer\bin\setenv.bat
D:\Program Files\Sybase\EAServer\Repository\Server\Jaguar.props or your server props
D:\Program Files\Sybase\EAServer\SysMgmt\boot.xml
D:\Program Files\Sybase\EAServer\SysMgmt\eas.xml
3. Change com.sybase.jaguar.repository.id value to blank in D:\Program Files\Sybase\EAServer\Repository\Repository\id.props
com.sybase.jaguar.repository.id=
4. Reinstall the windows service.

WebSphere Portal 6.1 Virtual Portal Creation

The below steps were validated in RHEL 5 64 bit environment

1. Export the configuration using xmlaccess from the existing virtual portal

./xmlaccess.sh -user wpsadmin -password {password} -url http://existingvp.test.com:10040/wps/config -in /opt/IBM/WebSphere/PortalServer/doc/xml-samples/Export.xml -out /home/wasadmin/newvp-export.xml

2. Create an empty virtual portal
Edit /opt/IBM/WebSphere/wp_profile/ConfigEngine/properties/wkplc.properties with the following values:
VirtualPortalTitle=Virtual Portal Cloning
VirtualPortalRealm=realm-vptest
VirtualPortalHostName=newvp.test.com
VirtualPortalContext={leave it empty}
VirtualPortalNlsFile={leave it empty}
VirtualPortalObjectId={leave it empty}

Run /opt/IBM/WebSphere/wp_profile/ConfigEngine/ConfigEngine.sh create-virtual-portal

3. Import the configuration using xmlaccess to new virtual portal
./xmlaccess.sh -user wpsadmin -password {password} -url http://newvp.test.com:10040/wps/config -in /home/wasadmin/newvp-export.xml -out /home/wasadmin/newvp-import-results.xml

Tips:
1) Manually edit the exported xml file for any changes.
2) If the update portlet fails for your custom portlets because of this message.


com.ibm.wps.command.xml.XmlCommandException: EJPXA0043E: An error occurred while creating or updating the resource. [url-mapping-context ....
com.ibm.wps.command.mappingurl.MappingURLCommandException: EJPEC0622E: A resource of a virtual portal can only be mapped to a context of the same virtual portal.

make the following change.

url-mapping-context action="update"
to
url-mapping-context action="locate"

3) Find and change existingvp.test.com to newvp.test.com in the exported xml file