The Media Access Proxy (MAP) can be installed in a cluster when it is used to transcode images or other media types displayed by mobile portlets running on WebSphere® Portal.
Perform the following steps to install the MAP software.
. was_root/bin/setupCmdLine.sh
was_root\bin\setupCmdLine
./mapInstaller -DServerName=server_name
-DWasUserid=WAS_admin_userid_value
-DWasPassword=WAS_admin_password_value
-DHostName=imgHost
-DHostPort=imgPort
-DProxyName=proxyHost
-DProxyPort=proxyPort
-DManagedNode=state
-DMapDbHost=fully_qualified_MAPDB_Host_name
-DMapDbPort=MAP_database_port
-DMapDbName=MAP_database_name
-DMapDbUser=MAP_database_userid
-DMapDbPass=MAP_database_password
-DMapDbDrivers=JDBC_driver_path
-DMapDbVendor=Database_vendor_name
-DClusterName=MAP_cluster_name
mapInstaller -DServerName=server_name
-DWasUserid=WAS_admin_userid_value
-DWasPassword=WAS_admin_password_value
-DHostName=imgHost
-DHostPort=imgPort
-DProxyName=proxyHost
-DProxyPort=proxyPort
-DManagedNode=state
-DMapDbHost=fully_qualified_MAPDB_Host_name
-DMapDbPort=MAP_database_port
-DMapDbName=MAP_database_name
-DMapDbUser=MAP_database_userid
-DMapDbPass=MAP_database_password
-DMapDbDrivers=JDBC_driver_path
-DMapDbVendor=Database_vendor_name
-DClusterName=MAP_cluster_name
./mapInstaller map-config-local
-DServerName=server_name
-DWasUserid=WAS_admin_userid_value
-DWasPassword=WAS_admin_password_value
-DHostName=imgHost
-DHostPort=imgPort
-DProxyName=proxyHost
-DProxyPort=proxyPort
-DManagedNode=state
-DMapDbHost=fully_qualified_MAPDB_Host_name
-DMapDbPort=MAP_database_port
-DMapDbName=MAP_database_name
-DMapDbUser=MAP_database_userid
-DMapDbPass=MAP_database_password
-DMapDbDrivers=JDBC_driver_path
-MapDbVendor=Database_vendor_name
-DClusterName=MAP_cluster_name
mapInstaller map-config-local
-DServerName=server_name
-DWasUserid=WAS_admin_userid_value
-DWasPassword=WAS_admin_password_value
-DHostName=imgHost
-DHostPort=imgPort
-DProxyName=proxyHost
-DProxyPort=proxyPort
-DManagedNode=state
-DMapDbHost=fully_qualified_MAPDB_Host_name
-DMapDbPort=MAP_database_port
-DMapDbName=MAP_database_name
-DMapDbUser=MAP_database_userid
-DMapDbPass=MAP_database_password
-DMapDbDrivers=JDBC_driver_path
-MapDbVendor=Database_vendor_name
-DClusterName=MAP_cluster_name
The parameters specified with this command are the same as the parameters specified for the command used to install the MAP on the primary node.
was_root/bin/stopServer.sh server_name -username WAS_admin -password WAS_admin_password_value
was_root/bin/startServer.sh server_name
was_root\bin\stopServer server_name -username WAS_admin -password WAS_admin_password_value
was_root\bin\startServer server_name
where server_name is the name of the WebSphere Application Server to which MAP was mapped (for example, server1 or other_map_server).
If you leave the imgHost parameter blank using single quotation marks, for example '', it indicates that the MAP server hosts itself is an image server.
imgPort parameter represents the port number through which the image is served. If you leave the imgPort parameter blank using single quotation marks, for example '', it indicates that the imgPort is same as MAP Server Port
To verify the successful MAP installation, make sure both imgHost and imgPort are blank, for example imgHost='' and imgPort=''.
was_root/bin/stopServer.sh server_name -username WAS_admin -password WAS_admin_password_value
was_root/bin/startServer.sh server_name
was_root\bin\stopServer server_name -username WAS_admin -password WAS_admin_password_value
was_root\bin\startServer server_name
where server_name is the name of the WebSphere Application Server to which MAP was mapped (for example, server1 or other_map_server).
The image renders in the browser.