SA103 - How to Be a Domino Administration Superhero - MWLUG 2012
1. SA103: How to be a Domino
Administration Superhero
Ray Bilyk – Lotus Notes Administrator, Ilitch Holdings, Inc.
2. Abstract
You're Clark Kent, and you've just entered a Domino infrastructure
that has been beaten and battered, and has been taken over by
the forces of evil. Time to put on your tights and get to work...
This session takes our valiant heroes, Domino Administrators, into all
the things they can do to change their environments from a
wasteland to a 'Fortress of Awesomeness'! You will fly with
lightening speed thru steps to take when you take over an existing
infrastructure and 'traps' you will need to avoid. You will also
receive the best tips, tricks and tools from the greatest
superheroes in the Yellowverse.
So charge your power ring, get your superhero outfit to the
drycleaners and take your administration to the next level! Fight
the forces of darkness, and don't miss this session!
3. But first, this commercial break…
http://www.youtube.com/watch?v=rRAhCCGb7BY
11. And to include fantastic comments on
the quality of the speaker
12. And to state, for the record that you
and/or your company would not be
willing to invest in attending MWLUG
2013 in the case, be it intentional or
unintentional that the presenter of this
session, is not giving a session next
year, due to any possible
circumstances.
13. So say we all :)
Thank you Bill Buchan and Paul Mooney!
14. So what are we going to talk about?
So what are we going to talk about?
If you’re an Administrator…
15. So what are we going to talk about?
So what are we going to talk about?
If you’re an Administrator…
YOU!
16. So what are we going to talk about?
So what are we going to talk about?
If you’re a Developer…
17. So what are we going to talk about?
So what are we going to talk about?
If you’re a Developer…
YOU!
20. What is a superhero?
What is a superhero?
Let’s ask Wikipedia!
21. What is a superhero?
http://en.wikipedia.org/wiki/Superhero
A superhero is a type of stock character
possessing "extraordinary or superhuman
powers" and dedicated to protecting the
public.
22. What kind of Superhero are you?
What kind of Superhero are you?
http://en.wikipedia.org/wiki/Superhero#Types_of_superheroes
Acrobat: A hero whose skills rely in their incredible aerobic & gymnastic abilities, their own stamina and reflexes,
whether they're regular (like Daredevil, Dick Grayson and Super Mario), or superhuman (like Spider-Man or John
Carter).
Flip from the single user to multi user install using MUMA
(Multi User Migration Assistant)
http://www-01.ibm.com/support/docview.wss?uid=swg21459627
New in 8.5.3!
23. What kind of Superhero are you?
What kind of Superhero are you?
http://en.wikipedia.org/wiki/Superhero#Types_of_superheroes
Aerial: A hero whose primary power is flight (not to be confused with the strong & durable Paragons). These types fly
either through physical means (wings like Angel or Hawkman) or through special means (levitation or energy
propulsion like Nova). Heroes who are extraordinary aviators (like the Thunderbirds) may also count as Aerials.
Fly over and get an ‘aerial’ view of your environment
– Review:
• Server documents
• Configuration documents
• Program documents
• Connection documents
– Talk with colleagues:
• Upgrades (successful/unsuccessful)
• Add-on/3rd Party (successful/unsuccessful)
– Use Domino Domain Monitoring (DDM)
24. What kind of Superhero are you?
What kind of Superhero are you?
http://en.wikipedia.org/wiki/Superhero#Types_of_superheroes
Armored Hero: A gadgeteer whose powers are derived from a suit of powered armor with no super powers that
means they are not a "super" hero; e.g., Iron Man and Steel.
Your Suit of Armor? The Cluster Analysis Tool
http://ab1osborne.blogspot.com/2012/08/how-to-use-cluster-analysis-tool-to-run.html
1. Start the Admin Client
2. Enable Full Access Administration
3. Go to the ServerAnalysis tab, Analyze tool and select Cluster
4. Select the options you want, select if you would like to overwrite or append, then click
OK
25. What kind of Superhero are you?
What kind of Superhero are you?
http://en.wikipedia.org/wiki/Superhero#Types_of_superheroes
Aquatic: A hero whose abilities either come from living underwater (like Aquaman, Namor and Aspen Matthews from
Fathom) or from being trained to adapt to underwater conditions (like the Sea Devils).
Uninstall or upgrade leave you under water? Control it
with the Lotus Notes Install Cleanup Executable Tool
(aka NICE)
http://www-01.ibm.com/support/docview.wss?uid=swg21459714
New in 8.5.3!
For clean installs, failed installs, failed upgrades and failed uninstalls
Cleans up files and settings, including registry settings and data
Consider backing up Notes client data first!
26. What kind of Superhero are you?
What kind of Superhero are you?
http://en.wikipedia.org/wiki/Superhero#Types_of_superheroes
Blaster: A hero whose main power is a distance attack, usually an "energy blast"; e.g., Cyclops, Starfire, Roy Mustang
and Static.
Blast attachments right to an action without a dialog box
Push this using a Desktop policy to your clients:
AttachmentActionDefault=1 Defaults to "Open"
AttachmentActionDefault=2 Defaults to "Edit"
AttachmentActionDefault=3 Defaults to "View"
AttachmentActionDefault=4 Defaults to "Save..."
http://www-01.ibm.com/support/docview.wss?uid=swg21292126 (valid as of 8.0.1)
27. What kind of Superhero are you?
What kind of Superhero are you?
http://en.wikipedia.org/wiki/Superhero#Types_of_superheroes
Brick/Tank: A character with a superhuman degree of strength and endurance and, for males, usually an oversized
muscular body; e.g., The Hulk, The Thing, Colossus, the Master Chief, and Lobo. Almost every superhero team
has one member of this variety, a point X-Factor's Guido Carosella noted when he took the codename "Strong
Guy" at a reporter's suggestion that this was his role in the team.
Show your strength when restricting server access with
these NOTES.INI settings
Server_Restricted=1 (Prevents non-administrators from opening databases on the server, but does not
prevent replication - Rebooting server sets it back to unrestricted)
Server_Restricted=2 (Prevents non-administrators from opening databases on the server, but does not
prevent replication - Rebooting server keeps it restricted)
Server_Restricted=3 (Like “1”, but also blocks all replication that is not coming from an ID for an
administrator)
Server_Restricted=4 (Like “2”, but also blocks all replication that is not coming from an ID for an
administrator)
http://www-01.ibm.com/support/docview.wss?uid=swg21089278
28. What kind of Superhero are you?
What kind of Superhero are you?
http://en.wikipedia.org/wiki/Superhero#Types_of_superheroes
Elementalist: A hero who controls some natural element or part of the natural world; e.g., Storm (weather), Magneto
(magnetism), Swamp Thing (vegetation), the Human Torch (fire), Iceman (ice), Aang (air, water, earth, and fire),
Static (electricity), and Gaara (Wind and Earth).
Control the time it takes to start Notes and Domino
Designer
1. Shut down Notes and Domino Designer (reboot OS just to be safe)
2. Find the jvm.properties file in the <Notes Program Directory>frameworkrcpdeploy directory
3. Open with your favorite text editor
4. Change the following values if you have 2GB or more memory:
vmarg.Xmx=-Xmx256m Start at 512m, but don’t go over 1024m
vmarg.Xms=-Xms48m Start at 256m
5. Save and start client.
The key is to set in multiples of 16 (eg. 128m, 512m, 768m, etc.)
http://www.tlcc.com/admin/tips.nsf/tipurlref/20120217
Your mileage may vary…
29. What kind of Superhero are you?
What kind of Superhero are you?
http://en.wikipedia.org/wiki/Superhero#Types_of_superheroes
Energizer: A hero who emits great amount of energy in combat (ki, chakra, karma, etc.), neither by supernatural
powers (like Cole McGrath) or thought for combat (like Son Goku and Naruto)
Adjust your Karma with AdminP
Make sure you have AdminP set up correctly… including the ACL
Make sure ADMIN4.NSF is replicating frequently…
same schedule as NAMES.NSF perhaps
Validate the Server document settings – make sure they’re
consistent…
30. What kind of Superhero are you?
What kind of Superhero are you?
http://en.wikipedia.org/wiki/Superhero#Types_of_superheroes
Feral: A hero whose abilities come from a more beastial nature. This beastial nature could manefest itself either
partially (like Wolverine), fully (like Beast) or through therianthropic dual natures (such as the supernatural
werewolf Jack Russell, the mutant werewolf Wolfsbane or the wolf shapeshifter Jacob Black (whose beastial
nature could also pass as partial).
Turn your NOTES.INI file into a BEAST!
a) From the server console: show config *
NOTES.INI values in alphabetical order
Writes to log.nsf for reference too!
b) NOTES.INI Analyzer from lntoolbox.com
http://www.lntoolbox.com/en/online-tools/notes-ini-analyzer.html
Reformats file – makes it easy to read
Free login required for use
31. What kind of Superhero are you?
What kind of Superhero are you?
http://en.wikipedia.org/wiki/Superhero#Types_of_superheroes
Gadgeteer: A hero who invents special equipment that often imitates superpowers but have no super powers
themselves, meaning they are not a "super"hero; e.g., Nite Owl, Batman, and Iron Man.
Get the Gadget Widget to send remote console commands
to your servers… from the Sidebar!
Julian Robichaux – ReCon (Remote Console Tool)
Find at: http://templates.snapps.com/widgets/SidebarApps.nsf
32. What kind of Superhero are you?
What kind of Superhero are you?
http://en.wikipedia.org/wiki/Superhero#Types_of_superheroes
Ghost: A hero with 'ghost' type powers: either invisibility (such as Invisible Woman); or intangibility (such as Kitty
Pryde); or both (such as Martian Manhunter, Deadman and Danny Phantom).
Looking for Ghosts with Event Monitoring and DDM
• Lots of great information on the internet
Look at the Lotus Notes and Domino Wiki
• Search for previous Admin conferences and Lotuspheres
• Don’t forget to set up your probes… and disable ones you don’t need!
33. What kind of Superhero are you?
What kind of Superhero are you?
http://en.wikipedia.org/wiki/Superhero#Types_of_superheroes
Healer: A hero who is able to quickly recover from serious injury; e.g., The Crow, Wolverine, the Hulk, and Deadpool.
This may also be a hero whose primary ability is to heal others; e.g., Elixir.
Find (and heal) injuries to your Domino server with the
Domino Configuration Tuner (DCT)
http://www-10.lotus.com/ldd/dominowiki.nsf/dx/domino-configuration-tuner
Evaluates your server, and makes recommendations… and can even apply fixes!
Your mileage may vary… some settings/values may not be relevant to your
environment.
34. What kind of Superhero are you?
What kind of Superhero are you?
http://en.wikipedia.org/wiki/Superhero#Types_of_superheroes
Mage: A hero who is trained in the use of magic; e.g., Doctor Fate, Doctor Strange, Zatanna.
Is it Magic? No, it’s just the ACL…
• Check the system databases (especially NAMES.NSF) for individual names
• Individual names BAD…
• Names of Developers… REALLY BAD!
• Life becomes easier if you use groups… but make sure you can control them!
• Limit use of Full Access Administration
• Full Access Administration should only be used rarely, when a need to
override ACL or ReaderNames is required.
• Grant this only to specific ID files. Make the administrator switch to this ID
file when needed.
• Create an "Event" notification to notify management any time this level of
access is granted.
35. What kind of Superhero are you?
What kind of Superhero are you?
http://en.wikipedia.org/wiki/Superhero#Types_of_superheroes
Marksman: A hero who uses projectile weapons, typically guns, bows and arrows or throwing blades; e.g., Green
Arrow, Hawkeye and The Punisher.
Throw your data with these NOTES.INI settings!
View_Rebuild_Dir=c:my_view_rebuild_directory
Specifies the directory where temporary files will be created for optimized view rebuilds
Notes_TempDir=c:my_new_temp_directory
Specifies the temporary directory used (otherwise it’s the OS temp directory)
FTBasePath=d:new_ft_directory
New in 8.5.3!
Specifies the directory to store the fulltext index of databases to a different location including a
different drive. This allows to make use of more I/O channels and avoid fragmentation on the data
drives.
(Run updall -f to delete the old FT index and recreate it at new location – Thanks JT and Daniel
Nashed)
Of course… Don’t forget Create_R85_Databases=1 (Apply to servers AND clients!)
http://www-10.lotus.com/ldd/dominowiki.nsf/dx/view_rebuild_dir
http://www-10.lotus.com/ldd/dominowiki.nsf/dx/notes_tempdir
http://www-10.lotus.com/ldd/dominowiki.nsf/dx/FTBasePath
36. What kind of Superhero are you?
What kind of Superhero are you?
http://en.wikipedia.org/wiki/Superhero#Types_of_superheroes
Martial Artist: A hero whose physical abilities are mostly human rather than superhuman but whose hand-to-hand
combat skills are phenomenal. Some of these characters are actually superhuman (Iron Fist, and Daredevil),
while others are human beings who are extremely skilled and athletic (Batman and related characters, Captain
America, every superhero of Watchmen save for Doctor Manhattan, Rock Lee, and Shang Chi).
Fight thru Server and Client Crashes
Set up a Fault Reports database
Look for trends and attack issues before your users tell you it’s a problem
Tip: Create one for servers and one for clients
Set up this info in a Desktop policy for clients and the Diagnostics tab for servers (in the
Server Configuration document)
Consider enabling ‘Fault Analyzer’ on a server
Lotus Notes Diagnostic (LND)
http://www-01.ibm.com/support/docview.wss?uid=swg24019151
Lotus Notes and Domino Wiki: http://www-
10.lotus.com/ldd/dominowiki.nsf/dx/Using_the_LND_tool_to_analyze_IBM_Lotus_Not
es_and_Domino_hangs_and_crashes
37. What kind of Superhero are you?
What kind of Superhero are you?
http://en.wikipedia.org/wiki/Superhero#Types_of_superheroes
Mentalist: A hero who possesses psionic abilities, such as telekinesis, telepathy and extra-sensory perception; e.g.,
Professor X, Jean Grey, and Raven.
Control Domino… using the Controller and the Lotus
Domino Console!
How to set up Domino to run under the Controller:
http://ab1osborne.blogspot.com/2012/08/how-to-set-domino-to-run-under.html
How to run Domino Console without Notes installed:
http://ab1osborne.blogspot.com/2012/08/how-to-run-domino-console-on-any.html
38. What kind of Superhero are you?
What kind of Superhero are you?
http://en.wikipedia.org/wiki/Superhero#Types_of_superheroes
Moleculer: A hero with the power to manipulate molecules, thus being able to alter the laws of physics (such as
Doctor Manhattan, Firestorm and Captain Atom).
Alter the laws of (cluster) physics… with code to scan mail
files on clusters to find and fix Quotas not in sync
http://www.thenewdominoadmin.com/blog/?p=2072
Your mileage may vary…
39. What kind of Superhero are you?
What kind of Superhero are you?
http://en.wikipedia.org/wiki/Superhero#Types_of_superheroes
Possessed: A hero who harbors an entity inside of him/herself; e.g., Etrigan the Demon, Ghost
Rider, Spectre, Naruto, and Yugi Moto.
Are your unread marks POSSESSED (out of sync)? Fix it!
1. Unstack replica icons
2. CTRL+SHIFT, and select the databases you want to sync
3. Select EDIT -> Unread Marks -> Exchange Unread Marks
http://www.vlaad.lv/lotus.nsf/dx/unread-mark-
synchronization?opendocument
40. What kind of Superhero are you?
What kind of Superhero are you?
http://en.wikipedia.org/wiki/Superhero#Types_of_superheroes
Size Changer: A hero who can alter his/her size; e.g., the Atom (shrinking only), Colossal Boy, Giganta, Apache Chief
(growth only), Hank Pym (both).
Change your server data size with Quotas!
Great article and recommendations but slightly dated:
http://www.ibm.com/developerworks/lotus/library/domino-mail-quotas/
Customizing mail quota warning text using a NOTES.INI file setting:
http://publib.boulder.ibm.com/infocenter/domhelp/v8r0/index.jsp?topic=%2Fcom.ibm.help.domino.a
dmin85.doc%2FH_CUSTOMIZING_MAIL_QUOTA_WARNING_TEXT_USING_A_NOTES_INI_FILE_SET
TING_STEPS.html
QUOTAWARNINGTEXT=<value>
Add this to the Desktop Settings in a Policy
TIP: Use a URL or notes:// reference for instructions to reduce their mail file size
Generate quota warning and over quota dialogs on new document creation:
http://www-01.ibm.com/support/docview.wss?uid=swg21247798
Check_Quota_On_Mail_Create=1 (apply using Desktop Settings in policy)
41. What kind of Superhero are you?
What kind of Superhero are you?
http://en.wikipedia.org/wiki/Superhero#Types_of_superheroes
Speedster: A hero possessing superhuman speed and reflexes; e.g., The Flash, Quicksilver, Sonic the Hedgehog,
Sasuke Uchiha and Rock Lee.
Make Domino faster… in bandwidth
Domino TCP/IP Port Compression
Must set this on servers AND clients!
Servers: Admin client
Option A: ServerStatus tab – Ports tool – Setup…
Option B: Configuration tab – Server tool – Setup ports…
Clients: Using Desktop policy
42. What kind of Superhero are you?
What kind of Superhero are you?
http://en.wikipedia.org/wiki/Superhero#Types_of_superheroes
Mastermind/Super Genius: A hero possessing superhuman/superior intelligence or intellect; e.g., Batman, Iron Man,
Professor X, The Question, Shikamaru Nara, Forge, L, Brainiac 5, Mister Fantastic.
Be the first to know… using IBM Electronic Support
http://www-01.ibm.com/support/electronicsupport/overview.html
• Prevent problems
• Find information
• Download fixes and updates
• Troubleshoot problems
• Work with IBM Support
• Learn more about your products
• Tweets, blog entries, videos
43. What kind of Superhero are you?
What kind of Superhero are you?
http://en.wikipedia.org/wiki/Superhero#Types_of_superheroes
Teleporter: A hero who is able to teleport from point A to point B to point C, etc; e.g., some teleport due to their own
body chemistry, Nightcrawler, others teleport via telekinetic energy Mysterio II, others for unknown reasons
(Jumper).
Teleport mail locally… with Managed Replicas
- Introduced in 8.5.2
- Lotus Domino administrators can create and configure local
replicas through policies using the new managed mail replica
feature
- Better explanation and setup found on Lotus Notes and Domino
wiki:
http://www-10.lotus.com/ldd/dominowiki.nsf/dx/Managed_Replicas_
44. What kind of Superhero are you?
What kind of Superhero are you?
http://en.wikipedia.org/wiki/Superhero#Types_of_superheroes
Time Manipulater: A hero possessing either a natural, magical, or scientific control of time. This could be either time
travel like Waverider or the Doctor, time stop like Tempo or both like Hiro Nakamura who can also teleport.
Preventing servers from re-starting after a certain time has passed
Restart_Time_Action=1
Restart_Time_Interval=3600
(in seconds, smallest value is 300 seconds according to a TN)
How does Domino keep track of the time of the server?
NOTES.INI value - LAST_DOMINO_TIME (example: LAST_DOMINO_TIME=004EF4F1C1257A2E)
Set value to 24 – 48 hours
Good news: Server will not start if value is reached or exceeded
Bad news: No log message about it!
Look for new entry added to NOTES.INI similar to this:
LAST_DOMINO_TIME_ABORT=16.07.2012 09:56:49 Startup aborted: Excess restart time interval.
http://blog.nashcom.de/nashcomblog.nsf/dx/preventing-wrong-server-time.htm
45. What kind of Superhero are you?
What kind of Superhero are you?
http://en.wikipedia.org/wiki/Superhero#Types_of_superheroes
Wolf-Dog: A hero who originates from the side of the enemy but changes sides and fights against his kind to protect
humanity; for example a vampire who hunts vampires (Angel, Vampire Hunter D, Alucard from Hellsing series) a
demon who kills other demons (Mike Mignola's Hellboy), etc.
Fighting your fellow Admins for ‘the good of
the server’!
Who changed the Server Configuration… and what did they do?
LND (again) to the rescue!
http://www.vlaad.lv/lotus.nsf/dx/easy-way-to-recover-server-document-or-config-
document?opendocument
46. Questions?
How to contact me?
Ray Bilyk
Twitter: @raybilyk – Other methods: http://about.me/raybilyk
www.thepridelands.com
Adam Osborne - http://ab1osborne.blogspot.com/2012/08/how-to-set-domino-to-run-under.htmlhttp://ab1osborne.blogspot.com/2012/08/how-to-run-domino-console-on-any.html
Marc Champoux - http://www.thenewdominoadmin.com/blog/?p=2072