Wednesday, 26 September 12

unevenechoΛογισμικό & κατασκευή λογ/κού

30 Οκτ 2013 (πριν από 3 χρόνια και 5 μήνες)

70 εμφανίσεις

Wednesday, 26 September 12
Paul  Mooney
Geek
Lotus  so0ware  since  R2
Symantec  Authorised  Master  Specialist
Google  Cer?fied  Deployment  Specialist
Apple  Cer?fied  Associate
Cer?fied  Ethical  Hacker  V7.0
Script  Kiddie
Speaker,  Author,  Blogger,  jogger,  biker
www.pmooney.net
2
Wednesday, 26 September 12
Early  2000s
3
Blackberries
Bes
Mobile  access  to  mail
Immediate  
Secure
Combined  phone
Cost  effec?ve
Users  happy!
Wednesday, 26 September 12
2006
The  “Jesus  Phone”
Blackberry  was  no  longer  cool
No  na?ve  support  for  Domino  mail
4
Wednesday, 26 September 12
Boss:    “here  is  my  iPhone,  I  want  my  mail  on  it”
IT:  “Blackberry  is  our  standard”
Boss:  “here  is  my  iPhone,  I  want  my  mail  on  it”
5
Wednesday, 26 September 12
October  2009
Lotus  Traveler  8.5.1
Support  of  iOS
Consumerisa?on  of  IT  
well  under  way
Blackberry  losing  
market  share
6
Wednesday, 26 September 12
Now...
Why  is  he  unhappy?
7
Wednesday, 26 September 12
The  next  level  of  mobilisa?on
Users  want  more
Used  to  more  from  the  consumer  applica?ons
Mail/PIM  not  enough
Business  data
Bespoke  applica?ons
8
Wednesday, 26 September 12
Challenges....
2
Off-the-shelf apps
1
Mobile device
management
3
Custom
apps
Enterprise access, basic
PIM, security
Multiple device support
Self service
9
Applica?on  support
Provisioning  applica?ons
In-­‐house  applica?on  support
Enterprise  Lifecycle  support
Profile  based  deployment
Wednesday, 26 September 12
Why  are  you  here
10
Wednesday, 26 September 12
Old  joke
Boss:    “here  is  my  iPad,  I  want  my  mail  on  it”
IT:  “Blackberry  is  our  standard”
Boss:  “here  is  my  iPad,  I  want  my  mail  on  it”
11
Wednesday, 26 September 12
New  Joke
Boss:    “here  is  my  iPad,  I  want  my  CRM  on  it”
IT:  “That  is  available  in  Lotus  Notes”
Boss:  “here  is  my  iPad,  I  want  my  CRM  on  it”
12
Wednesday, 26 September 12
This  can  put  you  in  a  bad  place
13
You
are
here
Wednesday, 26 September 12
Solu?ons  are  being  researched
As  ever,  you  are  the  last  
to  find  out
“Can  you  put  this  into  
produc?on  please”
14
Wednesday, 26 September 12
What  is  unplugged?
15
Wednesday, 26 September 12
Publishing  your  apps
16
To  devices
Taking  advantage  of  the  device  UI
Offline
Synchronisa?on
Leveraging  your  security  model
Keeping  your  users  happy
Wednesday, 26 September 12
Basic  Architecture
17
Unplugged
Engine
local
data
store
Lotus Domino
server
Unplugged
Replicator
database
Lotus Domino
server
Applications
HTTP(s)
Wednesday, 26 September 12
Extended  Architecture
18
Unplugged
Engine
local
data
store
Lotus Domino
server
Unplugged
Replicator
database
Lotus Domino
server
Applications
HTTP(s)
DMZ
LAN
Wednesday, 26 September 12
More  extended  Architecture
19
Unplugged
Engine
local
data
store
Lotus Domino
server
Standard
Domino Designer
Standard
connectors*
Unplugged
Replicator
database
*IBM Lotus DECS + LEI connectors
Wednesday, 26 September 12
Myth-­‐bus?ng  Unplugged
20
Do  the  target  apps  have  to  exist  on  the  
server?
No
As  long  as  the  unplugged  server  can  connect  to  the  
data,  you  are  good  to  go
Does  it  support  VPNs,  proxies?
Yes
The  devices  need  to  connect  to  the  server
Wednesday, 26 September 12
Myth-­‐bus?ng  Unplugged
21
Can  I  install  it  on  my  traveler  server?
Yes
Not  for  massive  deployments  but  for  tes?ng  sure
Is  it  resource  intensive?
Each  sync  is  a  web  agent  running  on  the  server
Configure  your  server  correctly
Wednesday, 26 September 12
Myth-­‐bus?ng  Unplugged
22
Does  it  support  Domino  ACL  security?
Yes
Replica?on  formulae  too
What  about  rep  conflicts?
Kindof..
Server  side  will  always  win  in  conflict
Licensing?
Per  cal
One  free  cal  included  in  download
Wednesday, 26 September 12
Server  requirements
23
Domino  8.5.1  or  higher
HTTP  task  running  (xPage  based  apps)
Connec?vity  to  source  databases
Access  to  servers  from  devices
Unplugged  dbs  signed  by  id  with  unrestricted  
script  access
Wednesday, 26 September 12
So  what  is  unplugged..really?
24
Wednesday, 26 September 12
Unplugged  
xP
ages  Engine  
architecture
25
HTML5
Browser control
XSP engine
Javascript engine
Datastore
Replicator client
UI
UI
engine
Wednesday, 26 September 12
2  system  databases
26
Synchroniser  database
unplugged.nsf
Many  roles
Manages  deployment
Manages  profiles
Manages  users
Wednesday, 26 September 12
2  system  databases
27
Unplugged  log
unpluggedlog.nsf
Simple  role
Logs  everything
Wednesday, 26 September 12
Current  environment
Domino  server
Alias  in  DNS  of  mobileapps.demo.local
Wireless  network
traveler
password  is  lotusnotes
28
Wednesday, 26 September 12
Step  1  -­‐  get  the  server  so0ware
29
Wednesday, 26 September 12
30
Wednesday, 26 September 12
31
Wednesday, 26 September 12
32
Wednesday, 26 September 12
33
Wednesday, 26 September 12
34
What  do  you  get  (iOS)?
Zip  file  containing
Demo  template
Release  notes
User  guide
Data  Synchroniser  database
Unplugged.nm
Log  database
Unpluggedlog.nm
Put  templates  in  client  data  folder
Wednesday, 26 September 12
35
What  do  you  get  (droid)?
The  same..but
Android  package  file
Unplugged-­‐release.apk
Wednesday, 26 September 12
36
What  do  you  get  (Blackberry)?
The  same..but
Blackberry  package  files
Unplugged.alx
Unplugged.cod
Wednesday, 26 September 12
Step  2  -­‐  Configure  the  server  
so0ware
37
Wednesday, 26 September 12
Create  the  synchroniser  db
38
You  must  call  it  unplugged.nsf
It  must  be  in  root  of  data
On  server
Wednesday, 26 September 12
Create  the  log  db
39
You  must  call  it  
unpluggedlog.nsf
It  must  be  in  root  of  data
On  server
Wednesday, 26 September 12
Sign  the  databases
40
Using  your  standard  signing  id  file
Unrestricted  methods  and
opera?ons  rights  required
Wednesday, 26 September 12
Permit  concurrent  web  agents
41
Permit  more  than  one  device  to  sync  at  a  ?me
Server  doc
Internet  protocols
Domino  Web  engine
Run  web  agents  and  services  concurrently
Set  to  enabled
Restart  hnp
Wednesday, 26 September 12
Increase  HTTPJvmMaxHeapSize
42
Especially  in  32bit  systems
This  is  an  xPage  based  applica?on  solu?on
Increase  default  of  64Mb  
To  recommended  256Mb
Notes.ini
HTTPJVMMaxHeapSize=256M
Wednesday, 26 September 12
Create  a  group  for  users
43
Create  a  group  for  users
That  have  permission  to  use  the  system
$MobileApps
Wednesday, 26 September 12
Fix  the  Data  Sync  ACL
44
Type
Access
-­‐Default-­‐
No  Access
Anonymous
No  Access
“Permined”  Group
Author  with  Create  Docs  privilege
Admins
Manager  with  Admin  role
Signing  ID
Manager  with  Admin  role
Wednesday, 26 September 12
Fix  the  Log  ACL
45
Type
Access
-­‐Default-­‐
No  Access
Anonymous
No  Access
“Permined”  Group
Depositor
Admins
Manager
Wednesday, 26 September 12
Step  3  -­‐  Configure  the  data  
synchroniser
46
Wednesday, 26 September 12
Unplugged.nsf
47
Wednesday, 26 September 12
Views
Applica?ons
Add  new  apps  for  deployment
Assign  apps  to  users
Users
Add  users  /  profiles
Disable  users
Devices
Add  /  disable  devices
Logs
View  sync  logs
48
Wednesday, 26 September 12
Applica?on  deployment
The  applica?on  must  reside
On  the  unplugged  server  
Or  on  a  server  contactable  by  unplugged
Go  to  applica?ons  view  
New  applica?on
49
Wednesday, 26 September 12
Applica?on  deployment
50
Wednesday, 26 September 12
Applica?on  deployment
51
Field
Meaning
Profiles
Add  an  applica?on  to  a  profile.    All  users  that  have  profile  assigned  will  receive  
the  applica?on
Users
Add  an  applica?on  to  a  user/group
Enabled
Quickly  disable  an  applica?on  (removes  it  immediately)
App  server
Server  where  applica?on  resides
App  path
Filename  of  applica?on
Selec?on  formula
Enter  replica?on  formula.    Only  rep  formula  data  will  go  to  device
Device  types
Choose  all  device  types  (or  select  iOS,  BB,  Droid)
Wednesday, 26 September 12
Applica?on  deployment
52
Field
Meaning
Anachments
Permit  anachments  to  “replicate”  to  the  device
Extension  types
If  permined,  select  the  anachment  types  that  will  replicate
Workspace
Hide  the  database  from  the  unplugged  workspace
Auto  Launch
Launch  the  app  when  the  workspace  launches
Wednesday, 26 September 12
Users
53
Wednesday, 26 September 12
Users
54
Field
Meaning
Username
Add  users/groups
Enabled
Immediately  disable  user  access
Profiles
What  profile  is  the  user  assigned  to  (we  will  get  to  profiles  later)
Synch  device  log
the  local  engine  log  will  be  sync’d.    Good  for  debugging
Devices
Can  this  user  add  new  devices?    Or  do  you  want  to  create  a  device  for  the  user
Enable/disable
Devices  assigned  to  user  appear  underneath.    You  can  disable  devices
Wednesday, 26 September 12
Profiles
Ability  to  create  profiles
Assign  to  users
Assign  to  applica?ons
Users  can  have  mul?ple  
profiles
Ease  of  deployment
Defaults  with  none
55
Wednesday, 26 September 12
Step  4  -­‐  Download  client  so0ware
56
Wednesday, 26 September 12
Where  to  go
Apple  iTunes  Appstore
Google  app  world
Blackberry  app  world
57
Wednesday, 26 September 12
Op?ons  on  device
58
Wednesday, 26 September 12
Databases  on  device
59
Wednesday, 26 September 12
Log  on  device
60
Wednesday, 26 September 12
Advanced  seungs
61
Wednesday, 26 September 12
62
Wednesday, 26 September 12
63
What  can  you  alter
Update  licensing  informa?on
Enable  more  synchronisa?on  logging
Debugging
Push  logging
Requests  =    creden?als  sent  to  log
Wednesday, 26 September 12
In  summary
It’s  very  easy  to  install
It’s  very  easy  to  setup
It’s  very  easy  to  test
Don’t  show  your  bosses  ;)
64
Wednesday, 26 September 12
65
Thank  you...
pmooney@pmooney.net
                     (geekmail)
pmooney.net                                                          (geeksite)
www.twiner.com/pmooneynet
         (geektweets)
bleedyellow.com                                                (geekchat)
paul_mooney@hotmail.com
               (geekmsn)
pmooney.net  (skype)                                    (geekcall)
www.bluewave.ie
                                             (worksite)
www.bluewavegroup.eu                (workmail)
paul.mooney@besystems.eu
             (moreworkmail)
Wednesday, 26 September 12