You are on page 1of 64

Linux is anywhere..

MAXIMO

BIS maximo

Linux is anywhere..

1 ..................................................................................................................................................5
1.1 .......................................................................................................................................5
1.2 ..........................................................................................................................5
1.3 ...............................................................................................................................5
2 Maximo ...........................................................................................................................5
2.1 Maximo .........................................................................................................................5
2.2 Maximo ........................................................................................................6
2.3 Maximo ............................................................................................................6
2.4 ..................................................................................................7
2.5 ...............................................................................................................................7
2.6 ..........................................................................................................................8
2.6.1 ...............................................................................................................8
2.6.2 .......................................................................................................8
2.6.3 ...................................................................................................9
2.7 Maximo ..............................................................................................................10
2.7.1 .................................................................................................................10
2.7.2 .................................................................................................................10
3 Maximo .................................................................................................................10
3.1 .............................................................................................................................10
3.1.1 ..................................................................................................................11
3.1.1.1 ......................................................................................11
3.1.1.2 ..................................................................................................12
3.1.1.3 ..................................................................................................12
3.1.1.4 ..........................................................................................12
3.1.1.5 ..................................................................................................12
3.1.1.6 ..................................................................................13
3.1.1.7 ..........................................................................................13
3.1.1.8 ..................................................................................................13
3.1.1.9 ..................................................................................................14
3.1.1.10 ....................................................................................14
3.1.1.11 ................................................................................................14
3.1.1.12 ................................................................................................15
3.1.1.13 ....................................................................................................15
3.1.2 ...........................................................................................16
3.1.3 ....................................................................................16
3.1.4 .................................................................................................................18
3.1.5 .........................................................................................19
3.1.6 .................................................................................................................20
3.1.7 ...................................................................................21
3.1.8 ..........................................................................................................................22
3.1.9 ...........................................................................................23

Linux is anywhere..
3.1.10 ........................................................................................................................26
3.1.11 ..........................................................................................28
3.2 ....................................................................................................................28
4 Maximo .................................................................................................................29
4.1 ....................................................................................................29
4.1.1 .................................................................................................................29
4.1.2 Eclipse Weblogic ........................................................................................30
4.2 Maximo......................................................................................................................34
4.3 ........................................................................................................................35
4.3.1 ....................................................................................35
4.3.2 .................................................................................................................35
4.3.2.1 ..............................................................................................35
4.3.3 ..................................................................................................................38
4.3.3.1 ..............................................................................................38
4.3.3.2 ..........................................................................................................39
4.3.4 ..................................................................................................................40
4.3.5 ..................................................................................................................40
4.3.6 Configdb...................................................................................................................40
4.3.7 .............................................................................................................41
4.3.8 ......................................................................................................................41
4.4 ....................................................................................................................42
4.4.1 .................................................................................................................42
4.4.2 ............................................................................42
4.4.3 .........................................................................................................42
4.4.3.1 List ...............................................................................................43
4.4.3.2 Main .............................................................................................43
4.4.3.3 ......................................................................................................45
4.4.3.4 ......................................................................................................45
4.4.3.5 ..........................................................................................................46
4.4.3.6 ......................................................................................................46
4.4.3.7 ......................................................................................47
4.4.3.8 ..............................................................................................47
4.4.4 .........................................................................................................47
4.5 ........................................................................................................................47
4.5.1 .............................................................................................................47
4.5.1.1 ......................................................................................49
4.5.1.2 ..............................................................................................51
4.5.2 //...........................................................................................52
4.5.3 .............................................................................................................53
4.5.4 .............................................................................................................53
4.6 .................................................................................................................................54
4.6.1 Mbo .....................................................................................................................54
4.6.1.1 Add .......................................................................................................54
4.6.1.2 Save ......................................................................................................55

Linux is anywhere..
4.6.1.3 Init ........................................................................................................55
4.6.2 .............................................................................................................56
4.6.2.1 ......................................................................................................56
4.6.2.2 /............................................................................57
4.6.2.3 ..................................................................................................58
4.6.3 Bean .....................................................................................................................58
4.6.3.1 Appbean ....................................................................................................58
4.6.3.2 MultiselectDataBean ................................................................................60
5 Maximo .....................................................................................................................61
5.1 Action..................................................................................................................................61
5.2 ALNDOMAIN....................................................................................................................61
5.3 APPLICATIONAUTH........................................................................................................61
5.4 AUTOKEY..........................................................................................................................61
5.5 BOOKMARK ....................................................................................................................62
5.6 DOCINFO...........................................................................................................................62
5.7 DOCLINKS.........................................................................................................................62
5.8 DOCTYPES........................................................................................................................62
5.9 MAXAPPS..........................................................................................................................62
5.10 MAXDOMAIN.................................................................................................................62
5.11 MAXMENU......................................................................................................................62
5.12 MAXMODULES..............................................................................................................63
5.13 MAXMESSAGES.............................................................................................................63
5.14 MAXOBJECT...................................................................................................................63
5.15 MAXPRESENTATION....................................................................................................63
5.16 MAXRELATIONSHIP.....................................................................................................63
5.17 SIGOPTION......................................................................................................................63
5.18 WFPROCESS....................................................................................................................63
5.19 WFACTION......................................................................................................................63
5.20 MAXROLE.......................................................................................................................64

Linux is anywhere..

1
1.1
Maximo

Maximo
Maximo

1.2

MAXIMO
EAM

IBM EAM 6.2


MXES
Enterprise Asset Manager

1.3

2 Maximo
2.1 Maximo
Maximo

Maximo (EAM)
(ITAM)
Maximo

Maximo

Linux is anywhere..


(IT) Maximo

Maximo

(IT)

Maximo

Maximo

2.2 Maximo
Maximo
Maximo


2.3 Maximo
Maximo

Linux is anywhere..

Maximo

Maximo

2.4
Maximo


Maximo


Alt + F1

2.5
Maximo
Maximo
Maximo
Maximo

Linux is anywhere..

2.6
Maximo Maximo

2.6.1

2.6.2

Maximo

Linux is anywhere..

INPRG

COMP
CLOSE
(PR)

WAPPR


APPR

(PO)

(PR) (PO)

CLOSE



Maximo

2.6.3
Maximo

Linux is anywhere..

2.7 Maximo
2.7.1
Web Maximo Microsoft Internet Explorer 5.5 SP2

1024 x 768

2.7.2
oracle10G 10.1.0.2.0
Maximo maximo6.2
WebLogic WebLogic Server 8.1 SP4
Eclipse Eclipse3.1
PLSQLSQL Plus

3 Maximo
3.1

Maximo

(IT)

Maximo Fusion Maximo Maximo

Linux is anywhere..

Maximo

3.1.1

Maximo

3.1.1.1

Maximo

Linux is anywhere..

3.1.1.2

3.1.1.3

3.1.1.4
Maximo

Corn


Maximo

3.1.1.5

Linux is anywhere..

3.1.1.6


(IT) Maximo Fusion
Maximo


IT
IT
Maximo

3.1.1.7

3.1.1.8

/
/

Linux is anywhere..

3.1.1.9
Maximo





/

3.1.1.10

3.1.1.11

Linux is anywhere..

/


Maximo
Maximo

Maximo
/

3.1.1.12
! Maximo
! Maximo !
Maximo

3.1.1.13
Maximo Maximo

Maximo

Maximo
FACILITIES

(HVAC)

Linux is anywhere..

FLEET
IT (IT)
PRODUCTION


3.1.2

>
Maximo




3.1.3

Linux is anywhere..

(IT)

/

/

/
/

Linux is anywhere..

(IT)

3.1.4

(PM)

Linux is anywhere..

TEMP1 TEMP2 TEMP3


CM

3.1.5

>

Maximo

Linux is anywhere..


PRESSURE1 PRESSURE2 PRESSURE3

3.1.6
Maximo



Maximo

Maximo


Causes
for
Causes for

Remedies for
Remedies for Causes for



Linux is anywhere..




Maximo

3.1.7

>

Maximo


/ !
!
Maximo
Maximo
Maximo



Causes for
Remedies for

Linux is anywhere..

Causes for Remedies for











3.1.8


Maximo


Maximo

Linux is anywhere..


Maximo




Maximo

3.1.9

>
Maximo




Linux is anywhere..

Maxim



Maximo


Linux is anywhere..


Maximo
/



10
100000




Linux is anywhere..

NOT READY

OPERATING
DECOMMISSIONED

DECOMMISSIONED

3.1.10
Maximo

Linux is anywhere..

TEMP1 TEMP2 TEMP3


Maximo

Maximo




Maximo

Maximo

Maximo

CONTINUOUS


GAUGE

Linux is anywhere..

CHARACTERISTIC
/

3.1.11

>
Maximo

3.2

MXES60v2 .pdf MXES60v2


.pdf

Linux is anywhere..

4 Maximo
4.1
4.1.1
1
mxes_install\maximo_install\Docs\60_mx_install_bea814_win_p04.pdf
BEA Weblogic
mxes_install\maximo_install\MXES\MCP1317_BEA Weblogic Server Version 8.1
SP4 Windows
server814_win32.exe
BEA814LicUpd56.exe
2
maximo60.exe
mxes_install\maximo_install\Docs\60_mx_install_bea814_win_p04.pdf
maximo60.exe mxes_install\maximo_install\MXES\MCP1271_Application Software
Oracle Only
maxlangen.exe
mxes_install\maximo_install\Docs\60_mx_install_bea814_win_p04.pdf
maxlangen.exe mxes_install\maximo_install\MXES\MCP1274B_English Language
Utilities
maximo key
mxes_install\maximo_install\Docs\60_mx_install_bea814_win_p04.pdf
maximo key mxes_install\maximo_install\MXES\key\maximo key
3
maximo C:\Maximo\applications\maximo
maximo maximo6.2
4
C:\Maximo\applications\maximo\properties maximo.properties
Oracle thin driver
Oracle thin driver
mxe.db.url=jdbc:oracle:thin:@XXX.XXX.XXX.XXX:1521:?????
XXX.XXX.XXX.XXX IP
?????
5

Linux is anywhere..
C:\bea\user_projects\domains\mydomain\startWebLogic.cmd
6
IE http://localhost:7001/console ID PASSWORD
Deployments Applications
Deploy a new Application

Location: localhost \ C: \ Maximo \ applications
maximo

continue

Deploy

7
IE http://localhost:7001/maximo

4.1.2 Eclipse Weblogic


1.

- Myecplise

2.

myeclipse Application Servers

Linux is anywhere..

weblogic8
Enable
bea bea c:\bea
weblogic81 C:\bea\weblogic81
domain
domain
domain C:\bea\user_projects\domains\SCMIS
domain domain
myserver
IP localhost:7001
C:\bea\weblogic81\server\lib\weblogic.policy
eclipse
JDK BEA JRE
ADD bea JRE JRE

Linux is anywhere..

-ms256m
-mx512m
-Djava.library.path="C:/Environment/bea/weblogic81/server/bin"
-Dweblogic.management.discover=false
-Dweblogic.ProductionModeEnabled=false
path classpath
Weblogic 8 Paths BEA /weblogic81/server/lib
webservices.jar weblogic.jar oracle

Linux is anywhere..

eclipse eclipse
eclipse
MBO
3. database explorer
drivers.
4.
5. --> JRE JRE

Linux is anywhere..

6.

4.2 Maximo
IE http://localhost:7001/maximo
Maximo localhost maximo
localhost IP

Maximo

login.jsp maximo

C:\Maximo\applications\maximo\maximouiweb\webmodule\webclient\login

D:\qware\deployment\nmscmis\maximo.ear\maximouiweb.war\webclient\login\l
ogin.jsp

Linux is anywhere..

input id="username" input id="password" 1


value="XXXXX " XXXXX

4.3
4.3.1
Maximo
---

4.3.2
maximo

18

5
Set

4.3.2.1
maximo 5
CustomMbo.java
package psdi.mbo.custapp;

Linux is anywhere..

import java.rmi.RemoteException;
import psdi.mbo.*;
import psdi.util.MXException;
// Referenced classes of package psdi.mbo.custapp:
//
CustomMboRemote
public class CustomMbo extends Mbo
implements CustomMboRemote
{
public CustomMbo(MboSet mboset)
throws MXException RemoteException
{
super(mboset);
}
public MboRemote duplicate()
throws MXException RemoteException
{
return copy();
}
protected boolean skipCopyField(MboValueInfo mbovalueinfo)
throws RemoteException MXException
{
return !mbovalueinfo.getAttributeName().equalsIgnoreCase("SITEID") &&
!mbovalueinfo.getAttributeName().equalsIgnoreCase("ORGID")
&&
mbovalueinfo.isKey();
}
}
CustomMboRemote.java
package psdi.mbo.custapp;
import psdi.mbo.MboRemote;
public interface CustomMboRemote
extends MboRemote
{
}
CustomMboSet.java
package psdi.mbo.custapp;
import java.rmi.RemoteException;

Linux is anywhere..
import psdi.mbo.*;
import psdi.util.MXException;
// Referenced classes of package psdi.mbo.custapp:
//
CustomMboSetRemote
public class CustomMboSet extends MboSet
implements CustomMboSetRemote
{
public CustomMboSet(MboServerInterface mboserverinterface)
throws MXException RemoteException
{
super(mboserverinterface);
}
protected Mbo getMboInstance(MboSet mboset)
throws MXException RemoteException
{
return new CustomMbo(mboset);
}
}
CustomMboSetRemote.java
package psdi.mbo.custapp;
import psdi.mbo.MboSetRemote;
public interface CustomMboSetRemote
extends MboSetRemote
{
}
CustomService.java
package psdi.mbo.custapp;
import java.rmi.RemoteException;
import psdi.server.*;
public class CustomService extends AppService
implements AppServiceRemote
{
public CustomService()
throws RemoteException
{

Linux is anywhere..
}
public CustomService(MXServer mxserver)
throws RemoteException
{
super(mxserver);
}
}

4.3.3

FLD

&AUTOKEY&

4.3.3.1
Maximo

Linux is anywhere..

BLOB
DURATI
ON
YORN
DATETI
ME
TIME
SMALLI
NT
INTEGE
R
FLOAT
ALN
LONGA
LN
GL
CRYPTO
X
CRYPTO
LOWER
DECIMA
L
CLOB
AMOUN
T
UPPER
DATE

-
YN

4.3.3.2

Maximo
SYNONYM Maximo SYNONYM

ALN
NUMERIC
NUMRANGE
TABLE
CROSSOVER Maximo

Linux is anywhere..

Maximo

4.3.4

4.3.5

Where where Sql

4.3.6 Configdb

Maximo \tools\maximo\ configdb.bat


configdb
configdb configdb

Linux is anywhere..

Configdb
1 --> cmd-
2 cd c:\Maximo\tools\maximo
3 configdb.bat

restorefrombackup.bat

4.3.7

configdb
1 configdb
2

3 configdb

4.3.8

configdb

Linux is anywhere..

4.4
4.4.1

5
Maximo \applications\maximo\businessobjects\classes

4.4.2
Maximo
---

4.4.3

10

2
maxmenu

2
List

Linux is anywhere..

Main

4.4.3.1List

table

event
toggleselectrow

event
BOOKMARK
btn_addtobookmarks.gif

LINK
selectrecord

where

4.4.3.2Main
main

Linux is anywhere..

main

1 date datetime datelookup


2 valuelist
3 lookup.xml table
id

GOTO

main
main

- toggledetailstate
EVENT
- Toggledeleterow
EVENT btn_garbage.gif list
main

addrow

Linux is anywhere..

4.4.3.3
/
/

BOOKMARK
CLEAR
DELETE
INSERT
NEXT
PREVIOUS
SAVE
SEARCHBOOK
SEARCHMORE
SEARCHSQRY
SEARCHTIPS
SEARCHVMQR
SEARCHWHER

/
Where

4.4.3.4

/
/

OPTION

HEADER
/

ALL
LIST list

Linux is anywhere..
MAIN list

4.4.3.5

maximo

INSERT
SAVE
CLEAR
PREVIO
US
NEXT

OPTION
OPTION
OPTION
SEP
OPTION

10
11
12
13
14

0
nav_icon_insertkey.gif
0
nav_icon_save.gif
0
nav_icon_clear.gif
0
0
nav_icon_previous.gif

ALL
MAIN
MAIN
MAIN
MAIN

OPTION
SEP

15
16

0
0

MAIN
MAIN

nav_icon_next.gif

4.4.3.6

maximo

SEARCHM
ORE
SEARCHW
HER
SEARCHTI
PS
SEARCHS
QRY
SEARCHV
MQR
SEARCHB
OOK

HEADE
R
OPTION

10

10

10

ALL

OPTION

10

20

ALL

OPTION

10

30

ALL

HEADE
R
OPTION

20

20

10

ALL

OPTION

20

10

ALL

OPTION

30

ALL

atb_search.gif

atb_save.gif

ALL

ALL

Linux is anywhere..

4.4.3.7

4.4.3.8

---

4.4.4

4.5
---

4.5.1
2
10

Linux is anywhere..

start1 stop2

Linux is anywhere..

4.5.1.1

Linux is anywhere..

10

Linux is anywhere..

4.5.1.2

Linux is anywhere..

//

4.5.2 //

Linux is anywhere..

4.5.3

4.5.4

Linux is anywhere..

4.6
4.6.1 Mbo
Maximo 5 mbo
mbo

4.6.1.1Add
.
public void add() throws MXException RemoteException
{
//
super.add();
// XXX XXX
setValue("XXX" getOwner.getString("XXX") 11L);
//CREATEDATE
setValue("CREATEDATE" Calendar.getInstance().getTime() 11L);
// id idCREATORNO
setValue("CREATORNO" getUserInfo().getPersonId() 11L);
// id
CREATOR
MboSetRemote

mboSetRemote

getMboSet("$PERSON"

"PERSON" "PERSONID='" + getUserInfo().getPersonId() + "'");


MboRemote mboRemote = mboSetRemote.getMbo(0);
mbo.setValue("CREATOR"
mboRemote.getString("DISPLAYNAME") 11L);
}

Linux is anywhere..

4.6.1.2Save

protected void save() throws MXException RemoteException


{
try
{

//MODIFIEDDATE
setValue("MODIFIEDDATE"Calendar.getInstance().getTime() 11L);
// id

MODIFIEDBY
MboSetRemote mboSetRemote = getMboSet("$PERSON" "PERSON"
"PERSONID='" + getUserInfo().getPersonId() + "'");
MboRemote mboRemote = mboSetRemote.getMbo(0);
setValue("MODIFIEDBY" mboRemote.getString("DISPLAYNAME")
11L);

} catch (RemoteException e)
{
e.printStackTrace();
}

4.6.1.3Init

public void init() throws MXException


{
// init
super.init();
// xxx
if (!toBeAdded())

Linux is anywhere..
{
setFieldFlag("XXX" 7L true);
}
}

4.6.2

4.6.2.1
MAXTableDomain
public class FldLeaderNo extends MAXTableDomain
{
public FldLeaderNo(MboValue mbovalue)throws MXException RemoteException
{
super(mbovalue);
//

setRelationship("QHREmployee" "EMPLOYEEID=:LeaderNo");
//
setLookupKeyMapInOrder(new String[] {
"LeaderNo""LEADERNAME"//
} new String[] {
"EMPLOYEEID""EMPLOYEENAME"//
});
}
// getList()
public MboSetRemote getList() throws MXException RemoteException
{
//
return

getMboValue().getMbo().getMboSet("$QHREmployee"

"QHREmployee""DeletedFlag=0");

Linux is anywhere..
}
action()
public void action() throws MXException RemoteException
{
super.action();
}
validate()
public void validate() throws MXException RemoteException
{
super.validate();
}
}

4.6.2.2/
maximo 2 2
MboValueAdapter
public class FldTimeEndDate extends MboValueAdapter
{
public FldTimeEndDate(MboValue arg0)throws MXException
{
super(arg0);
}
// validate()
public void validate()throws MXException RemoteException
{
MboValue EndDate = getMboValue("ENDTIME");
MboValue StartDate = getMboValue("BEGINTIME");
if(EndDate.isNull() || StartDate.isNull())
return;
Date ENDDATE = EndDate.getDate();

Linux is anywhere..
Date STARTDATE = StartDate.getDate();
if(STARTDATE.after(ENDDATE))
throw new MXApplicationException("contract" "endDateBeforeToday");
else
return;
}
}

4.6.2.3
maximo
MAXTableDomain
action
public void action() throws MXException RemoteException
{
// action
}

4.6.3 Bean

4.6.3.1Appbean
appbean
AppBean

appbean

Linux is anywhere..

AppBean
AppBean
public class XXXAppBean extends AppBean
{
public XXXAppBean()
{
}
public int DELETE() throws MXException RemoteException
{
//
}
public int SAVE() throws MXException RemoteException
{
//
}
}

Linux is anywhere..

4.6.3.2MultiselectDataBean

MultiselectDataBean bean

public class YearPlanBean extends MultiselectDataBean


{

Linux is anywhere..
public YearPlanBean()
{
}
public int Toggledeleterow()throws MXExceptionRemoteException
{
//
}
}

5 Maximo
5.1 Action

5.2 ALNDOMAIN
Aln

5.3 APPLICATIONAUTH

5.4 AUTOKEY

Linux is anywhere..

5.5 BOOKMARK

5.6 DOCINFO

5.7 DOCLINKS

5.8 DOCTYPES

5.9 MAXAPPS
Maximo

5.10 MAXDOMAIN
Maximo

5.11 MAXMENU
Maximo

Linux is anywhere..

5.12 MAXMODULES
Maximo

5.13 MAXMESSAGES
Maximo

5.14 MAXOBJECT
Maximo

5.15 MAXPRESENTATION
xml

5.16 MAXRELATIONSHIP
Maximo

5.17 SIGOPTION

5.18 WFPROCESS

5.19 WFACTION

Linux is anywhere..

5.20 MAXROLE