Licensed Materials - Property of IBM
CIJE9EN
CIJF0EN
CIJF2EN
(c) Copyright IBM Corporation 1996, 2013
All rights reserved.
IBM, the IBM logo, IBM Notes and Domino are trademarks of
IBM Corporation in the United States, other countries, or both.
PROGRAM
-------
Clumon - Advanced Server Cluster Monitor sample program.
ENVIRONMENTS
------------
Windows (32-bit)
IBM AIX
IBM i
Note: Currently not support 64-bit UI application on Windows 64-bit
FILES
-----
clumon.c - Main program for Windows version of sample.
clumoncm.c - Main program for character mode version (AIX) of sample.
clumon.h - Local function prototypes and data definitions for clumon.c.
clumon.rc - Resource compiler file for this sample.
clfunc.c - Service routines for the UI-specific event handlers. Organized
for platform independence, and contains all relevent API
function calls.
clfunc.h - External function prototypes for routines defined in clfunc.c.
clumon.ico - Program Icon
mswin32.def - Windows 32-bit definition file for this sample.
mswin32.mak - Make file for 32 bit Windows.
aix.mak - Make file for IBM AIX.
aix64.mak - Make file for IBM AIX64.
readme.txt - This file. Descibes the sample and specifies how to use it.
clumoni5.c - Main program for IBM i version of sample.
mk_cluster_i.clp - Make file (CL Program) for IBM i using ILE C
with the source code being an IFS file.
mk_cluster_p.clp - Make file (CL Program) for IBM i using ILE C
with the source code being in a source physical file.
DESCRIPTION
-----------
This program illustrates cluster administration through the Advanced Server
cluster API. The sample program capabilities include:
1) displaying a Domino server's cluster information; including cluster name,
availability index, and other servers that are cluster members,
2) displaying a Domino server database's current mark options associated
with a cluster; specifically marked in service, marked out of service,
and marked for delete,
3) modifying a Domino server database's current mark options,
4) restricting a Domino server to facilitate database open failover,
5) shutting down a Domino server to facilitate database open failover,
6) setting the Domino server availability threshold to facilitate database
open failover,
7) creating and copying replica databases to other Domino servers.
NOTES OPERATING ENVIRONMENT REQUIREMENTS
----------------------------------------
I) Cluster Information
In order to fully illustrate the capabilities of this sample program, you must
have access to at least one server that is configured in a Advanced Server
Cluster. For information on how to configure a Domino server within a cluster,
refer to the R8 Release Notes and Administrator's Guide databases that were
installed with the Domino server.
If you specify the name of a server that is not a member of a Domino cluster, an
error will be returned by the program when trying to obtain the server's cluster
information.
Additionally, your Notes Workstation's location record must be configured as
follows:
1) The "Mail domain" must be set to the domain name for the server(s) in the
cluster.
2) The "Home/mail server" must be set to a server in this domain.
Refer to the Notes V8 Administrator's Guide for more information on
configuring location records.
The sample may not work properly if you are trying to obtain cluster
information for a cluster/server in a domain other than that specified in
your location record.
II) Database Mark Option Management
You can specify any database on the server when viewing the current database
mark options from the sample. When managing/modifying the database mark
options from the sample, it is highly recommended that you use the supplied
sample database file, MarkTest.nsf. Copy this file from the NOTEDATA
subdirectory of the toolkit into the data directory of the Domino servers
in the cluster. Note that if you supply your own database, then you must
have at least "Designer" access in order to mark the database in/out of
service, and "Manager" access to mark the database for deletion.
III) Database Replicas
In order to successfully create replica databases to the servers in your
cluster, you must have privileges to create replica databases on the targeted
servers. This information can be configured via the N&A book of the server
domain.
IV) Server Configuration Management
The CLUMON sample programatically uses remote server console commands to
manage the server configuration information related to server restriction,
threshold manipulation, shutdown. As such, you must have administrative
privileges on each server that you plan to remotely manage. This information
can be configured via the N&A book of the server domain.
RUNNING Clumon
--------------
Before you run the sample program (clumon.exe), verify that you have met the
requirements specified for accessing the exposed features of a clustered
Domino server, as described in the previous section.
Windows
-------
From the File-Run dialog of Windows NT, or the Program-Run dialog of
Windows95, or the DOS command prompt, run the program executable CLUMON.EXE.
A simple Windows interface will appear with the following three menu options:
File, Information, Administration.
AIX
---
From the command shell, run the program executable clumon. The Main
Menu for the the sample program will be displayed.
I5OS
----
RUNDOMCMD SERVER(<servername>) CMD(CALL PGM(QNTCSDK/CLUMONI5))
BATCH(*NO)
USING Clumon
------------
The following describes the menu item options for the Windows program version.
The relevant Character Mode program menu items are referenced in parentheses
below the Windows items. Instead of using Windows dialogs, the Character Mode
program prompts the user for the information.
Information-Cluster...
(Main Menu-1. Cluster Information)
----------------------------------
This menu item displays a modal dialog box, titled "Cluster Information".
When a server name is entered in the "Server Name:" editbox, clicking on the
"Info" button (or hitting <Enter>) will display the Cluster Name, Availability,
the number of Cluster Mates, and a list of Cluster Mates for that server in
the relevant "Cluster Information" group text fields and listbox.
If the server cannot be found, is not a member of a cluster, or does not have
any clustermates, the sample will display an appropriate messagebox. Likewise,
all API errors and their appropriate descriptions will be displayed.
Clicking the "Done" button will end the dialog box and return focus to the
main window.
NOTE:
The server's availability index is a value (between 0 and 100) that is
computed based on the current activity occurring on the server, for example
session and database activity. The server availability index works in
conjunction with the configured server availability threshold (also a value
from 0 to 100). When the availability drops below the threshold, the server
is in a "busy" state, meaning that it will not accept any new session activity.
This is true until the availability index rises above the threshold. Refer to
the "Administration-Server Availability Threshold" section below for
information on configuring this threshold value.
Information-Database Mark Options...
(Main Menu-2. Cluster Administration)
-------------------------------------
This menu item displays a modal dialog box, titled "DB Mark Options
Information". After a server/domain name is entered in the "Server Name:"
editbox and a database name (e.g. MarkTest) is entered in the "Database Name:"
editbox, clicking on the "Current" button (or hitting <Enter>) will display
the current database mark option(s) of the database in the appropriate
"Database Mark Options" group checkboxes.
Database server failover is sup
没有合适的资源?快使用搜索试试~ 我知道了~
C_API _Domino9
共1222个文件
mak:541个
clp:198个
c:174个
需积分: 10 8 下载量 27 浏览量
2017-10-21
00:21:39
上传
评论
收藏 2.39MB RAR 举报
温馨提示
Domino9开放,C写的,一个简单小例子.费了很大劲,找到的这个,看了看,很受益,不能独享受,共享之,希望看到的人能有收获,那就不胜荣幸。
资源推荐
资源详情
资源评论
收起资源包目录
C_API _Domino9 (1222个子文件)
exports.aix 74B
exports.aix 27B
exports.aix 23B
extwin.aps 38KB
a.bat 78B
notes.bmp 370B
dumpcd.c 299KB
history.c 95KB
makeform.c 92KB
clumon.c 80KB
nsf_dump.c 60KB
nsf_dump.c 60KB
createdb.c 60KB
agents.c 57KB
runmacro.c 57KB
doclink.c 51KB
agents.c 48KB
hotspot.c 44KB
clumoni5.c 42KB
clumoncm.c 41KB
tracker.c 40KB
dusspi.c 35KB
threads.c 33KB
auth_fld.c 30KB
extmngr.c 29KB
dumpitem.c 29KB
cdtable.c 27KB
navigate.c 26KB
dbdrive.c 26KB
schedule.c 26KB
sendmail.c 26KB
idtables.c 26KB
addmacro.c 25KB
makeview.c 25KB
easyrich.c 24KB
billses.c 24KB
fields.c 24KB
extmail.c 24KB
dbrecs.c 24KB
makenav.c 22KB
importer.c 22KB
acls.c 22KB
lgimport.c 22KB
ragents.c 21KB
jvapplet.c 21KB
summary.c 21KB
userreg.c 21KB
putnote.c 20KB
dxlimport.c 20KB
convertattach.c 20KB
convertpic.c 19KB
ftsearch.c 19KB
setprivs.c 18KB
clfunc.c 18KB
parseMMmsg.c 18KB
cdrecord.c 18KB
dxlexport.c 18KB
mixed_1.c 18KB
encrypt.c 18KB
namelook.c 17KB
sel_rep.c 17KB
mixed_2.c 17KB
readview.c 17KB
xedit.c 17KB
readform.c 16KB
introwin.c 16KB
statdemo.c 16KB
cdfile.c 16KB
big_rich.c 16KB
viewsumm.c 15KB
convertnormal.c 15KB
sendAttMM.c 15KB
dbpolicy.c 15KB
uiaddin2.c 15KB
secdom.c 15KB
unread.c 15KB
readmail.c 15KB
fontbl.c 14KB
msg_q.c 14KB
xview.c 14KB
mktable.c 14KB
wrich.c 14KB
dbprops.c 13KB
getnote.c 13KB
servlist.c 13KB
find_dbs.c 13KB
response.c 13KB
srch_all.c 12KB
billmngr.c 12KB
rsimple.c 12KB
dynamic.c 12KB
onecat.c 12KB
readMMTxt.c 12KB
sendmemo.c 12KB
formula.c 11KB
win32io.c 11KB
iedit.c 11KB
archexp.c 11KB
copydb.c 11KB
fileatt.c 11KB
共 1222 条
- 1
- 2
- 3
- 4
- 5
- 6
- 13
资源评论
tiaotiaolong1976
- 粉丝: 2
- 资源: 30
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功