Kategorie
zapiski

OSX ScreenCapture keyboard shortcuts

Full screen (Save to Desktop) – CMD+Shift+3
Full screen (Save to Clipboard) – CMD+CTRL+Shift+3
Select region (Save to Desktop) – CMD+Shift+4
Select region (Save to Clipboard) – CMD+CTRL+Shift+4
Select item (Save to Desktop) – CMD+Shift+4 then Spacebar
Select item (Save to Clipboard) – CMD+CTRL+Shift+4 then Spacebar

Kategorie
Maximo server

Secure WAS wsadmin SOAP access

To disable prompting form password without passing password in input param:

1. Put password info in soap.client.props file

sudo mcedit /opt/IBM/WebSphere/AppServer/profiles/ctgDmgr01/properties/soap.client.props

2. Encode password in that file

sudo /opt/IBM/WebSphere/AppServer/profiles/ctgDmgr01/bin/PropFilePasswordEncoder.sh /opt/IBM/WebSphere/AppServer/profiles/ctgDmgr01/properties/soap.client.props com.ibm.SOAP.loginPassword

Kategorie
IBM SmartCloud Control Desk

Classification attribute changes are not inherited

Case:
Two classifications: PARENT and CHILD
Table ATTR defined on PARENT ant incherited to CHILD.

Change to ATTR is required, but after ATTR modification on PARENT changes (DOMAINID, TABLEATTRIBUTE, LOOKUPNAME) are not reflected to CHILD.

Workaround:
Changing data from DB level.

SELECT
CLASSSTRUCTUREID, ASSETATTRID, DOMAINID, TABLEATTRIBUTE, LOOKUPNAME, INHERITEDFROM
FROM maximo.CLASSSPEC
WHERE
CLASSSTRUCTUREID LIKE 'LOC.MEET-ROOM%'
ORDER BY ASSETATTRID

Kategorie
IBM SmartCloud Control Desk Maximo

Maximo SelfService Labels modification (Editing SRM Labels)

SRM Labels are defined in:

SMP: /opt/IBM/SMP/maximo/applications/maximo/maximouiweb/webmodule/webclient/javascript/simplesrm/srm/dijit/nls/LANGUAGE/uiStringTable.js

and after deploy in:

WAS: /opt/IBM/WebSphere/AppServer/profiles/ctgAppSrv01/installedApps/ctgCell01/MAXIMO.ear/maximouiweb.war/webclient/javascript/dojo-YYYYMMDD-HHMM/ibm/tivoli/simplesrm/srm/dijit/nls/LANGUAGE/uiStringTable.js

IBM Technote

Kategorie
IBM SmartCloud Control Desk Maximo

SSL certificate on WebSphere Application Server IHS

To support SSL, you must add WebSphere® Application Server’s SSL certificate to IBM HTTP Server’s trust store and then configure IBM HTTP Server for SSL traffic.

Preparing

#Copy certificates to WAS:
sudo su -
cp -r /home/lukaszmu/cert /opt/IBM/HTTPServer/conf

#list certificate files
ls /opt/IBM/HTTPServer/conf/cert/
wildcard.p12 ca-bundled-thawte.pem thawte_Primary_Root_CA.pem

Create IHS Security enabled virtual host

Servers > Server Types > Web servers > webserver1 > Web server virtual hosts >

click New
choose „Security enabled virtual host”
set and remember „Key store password”

Remove default selfSigned certificates

Web servers > webserver1 > Web server virtual hosts > *:443 > Manage Keys and Certificates
remove: Signer certificates
remove: Personal certificates

Import personal certificates

Web servers > webserver1 > Web server virtual hosts > *:443 > webserver1 > Personal certificates > Import certificates from a key file or key store

choose „Key store file”
Key file name: /opt/IBM/HTTPServer/conf/cert/wildcard.p12
Type: PKCS12
Key file password: fill in

click: Get Key Aliases
set new alias: wildcard

Import signer certificates

Web servers > webserver1 > Web server virtual hosts > *:443 > webserver1 > Signer certificates > Add signer certificate
1. ca-bundled-thawte
/opt/IBM/HTTPServer/conf/cert/ca-bundled-thawte.pem

2. thawte_Primary_Root_CA Thawte Root Certificates
/opt/IBM/HTTPServer/conf/cert/thawte_Primary_Root_CA.pem

Finalize IHS configuration

Web servers > webserver1 > Web server virtual hosts > *:443
click „Copy to Web server key store directory” (Key store settings)
click OK
click Propagate configuration file directly to the target Web server machine.

Restart the Web server for changes to take effect.

/opt/IBM/WebSphere/AppServer/profiles/ctgAppSrv01/bin/stopServer.sh webserver1
/opt/IBM/WebSphere/AppServer/profiles/ctgAppSrv01/bin/startServer.sh webserver1 -nowait
Kategorie
IBM SmartCloud Control Desk Maximo

Wejście do Maximo z pominięciem IHS

port 9080
http://MAXIMO_URL:9080/…

Kategorie
server

Instalacja git pod RHEL5

dl.fedoraproject.org/pub/epel/


rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
yum install git

Kategorie
IBM SmartCloud Control Desk Maximo

Maximo – przekierowanie domyślnego hosta websphere/IHS do portalu

Jedno z możliwych rozwiązań:
Zmiana pliku startowego IHS (w moim przypadku /opt/IBM/HTTPServer/htdocs/index.html) na:

<!DOCTYPE html>
<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <meta http-equiv="Refresh" content="0; URL=/maximo/" />
      <title>Przejście do portalu Maximo</title>
   </head>
   <body>
      <p><a href="/maximo/">Przejście do portalu Maximo</a></p>
   </body>
</html>
Kategorie
IBM SmartCloud Control Desk Maximo

Centrum samoobsługowe jako domyślna strona startowa IBM SmartCloud Control Desk

System Configuration > Platform Configuration > System Properties
zmiana parametru z
webclient.startapp = startcntr
na
webclient.startapp = srmssctr

Wg. Making the Self Service Center the default page.

Kategorie
server

Połączenie do zewnętrznej bazy MySQL słuchającej tylko na localhost

Mapowanie lokalnego portu MySQL na port na zdalnym serwerze do którego mamy dostęp po SSH.

ssh -L 3306:localhost:3306 external_server