| Oracle® Calendar Reference Manual 10g Release 1 (10.1.2) Part Number B25486-03 |
|
|
View PDF |
This chapter contains full instructions on the usage and syntax of all utilities shipped with your Oracle Calendar server. Note that the Oracle Universal Installer does not install UNIX-only utilities on Windows platforms. All utilities are installed in the $ORACLE_HOME/ocal/bin directory.
The following table lists all utilities in alphabetical order.
Table 6-1 Oracle Calendar server utilities
| Utility | Function |
|---|---|
|
|
Manage access rights between users. |
|
|
Create a new Oracle Calendar server node or re-initialize an existing one |
|
|
Manage the administration rights of users. |
|
|
Create a tar archive of the Oracle Calendar server. |
|
|
Convert an Oracle Calendar server node database from a format for big-endian processors to a format for little-endian processors. |
|
|
Verify the Oracle Calendar server file system. |
|
|
Generate a checksum for a file. |
|
|
Clean up the Oracle Calendar server file system (remove transient files and set permissions). |
|
|
Copy resource data from a file created by |
|
|
Copy the contents of a file of user data created by |
|
|
Copy resource data from an Oracle Calendar server node into a file. |
|
|
Copy user data from an Oracle Calendar server node to a file. |
|
|
Format of the file created by |
|
|
Format of the file created by |
|
|
Create an archive of the Oracle Calendar server. |
|
|
Convert a version 2.62, or 6.00 node database to version 6.10. |
|
|
Check, repair, defragment and maintain an Oracle Calendar server node database. |
|
|
Restore the contents of an Oracle Calendar server from a backup created by |
|
|
Export an Oracle Calendar server node to LDIF |
|
|
Set the access control information in the directory server for the Oracle Calendar server ADMIN group. (External directories only, not available for Oracle Internet Directory) |
|
|
Find and delete differences between an Oracle Calendar server node and a directory server. (external directory only) |
|
|
List all users in a directory server who are not Oracle Calendar server users (external directory only). |
|
|
Synchronize the information in an Oracle Calendar server node with that in a directory server (external directory only). |
|
|
Report the status of the directory server (external directory only). |
|
|
Encrypt a password for inclusion in an Oracle Calendar server configuration file |
|
|
Create, modify and delete administrative and public groups |
|
|
Import iCAL VEVENTs into an agenda. |
|
|
Convert an Oracle Calendar server node database from a format for little-endian processors to a format for big-endian processors. |
|
|
Display Oracle Calendar server SIGNON/SIGNOFF statistics. |
|
|
Display information on memory usage |
|
|
Import data from MeetingMaker servers to Oracle Calendar server. |
|
|
Move a user from one Oracle Calendar server node to another. |
|
|
Administer an Oracle Calendar server node network. |
|
|
Utility used by the installation process to configure Oracle Calendar server with Oracle internet Directory. |
|
|
Change a user password on an Oracle Calendar server database. Internal directory servers only. |
|
|
Ping an Oracle Calendar server node or nodes. |
|
|
View, and optionally delete, requests in the queue of the Corporate-Wide Services (CWS) daemon. |
|
|
Restore a user's calendar data from a backup |
|
|
Remove old events and tasks from agendas in an Oracle Calendar server database. |
|
|
Delete a remote node from a local Oracle Calendar server node database. |
|
|
Propagate deletions in the local information of one node to another node in the network. |
|
|
Compute the size of the Oracle Calendar server installation. |
|
|
Extract information from Oracle Calendar server log files. |
|
|
Compile Oracle Calendar server information for diagnostic purposes. |
|
|
Retrieve statistics from the Oracle Calendar server's Synchronous Network Connection daemon/service. |
|
|
Start up a node, the Oracle Calendar server or some components only. |
|
|
Produce a report on an Oracle Calendar server node. |
|
|
Display summary statistics of the data in an Oracle Calendar server statistics (stats.log) file. |
|
|
Determine the status of the Oracle Calendar server. |
|
|
Shut down a node, the Oracle Calendar server or some components only. |
|
|
Convert a string to UTF-8 |
|
|
Refresh synchronization records. |
|
|
Print information about an Oracle Calendar server time zone. |
|
|
List, add, or delete calendar users, resources or event calendars; modify the information associated with them. |
|
|
Verify the version of the Oracle Calendar server and its components. |
|
|
Display information on signed-on calendar users. |
uniaccessrights - Grant access rights to agendas of users, resources or event calendars.
SYNTAX
uniaccessrights -ls -grantee <user> -grantor <filter> [-n <node-ID>] [-host <hostname:port>] [-uid <uid>] | [-krb]] [-designate] [-eventview] [-taskview] [-scheduling] uniaccessrights -mod -grantee <user> -grantor <filter> [-n <node-ID>] [-host <hostname:port>] [-uid <uid>] | [-krb]] [-designate <modifier>] [-taskview <modifier>] [-eventview <modifier>] [-scheduling <modifier>] uniaccessrights -reset -grantee <user> -grantor <filter> [-n <node-ID>] [-host <hostname:port>] [-uid <uid>] | [-krb]] [-designate] | [-taskview] | [-eventview] | [-scheduling]] uniaccessrights -info [-n <node-ID>] [-host <hostname:port>] [-uid <uid>] | [-krb]] [[-designate] | [-taskview] | [-eventview] | [-scheduling]] uniaccessrights -v uniaccessrights -h
DESCRIPTION
This utility allows the administrator to grant a user access rights to another user's, resource's or event calendar's calendar data, as well as to modify or revoke these rights. It can also be used to set access rights to users in bulk.
The access rights that can be granted from one user, resource or event calendar (grantor) to another (grantee) are:
designate access to the grantor's calendar data (-designate)
viewing grantor's calendar events (-eventview)
viewing grantor's tasks (-taskview)
the right to invite the grantor to meetings (-scheduling)
Note that the -ls option is mutually exclusive with the -mod option, and with the -reset option.
The Oracle Calendar server must be up to run uniaccessrights.
OPTIONS
-designate
<modifier>
Change the designate rights. A designate is a user who has been assigned the right to modify the agenda of another user or resource. Use this flag to give or remove designate access to the grantor's calendar data. See FORMAT OF THE <modifier> ARGUMENT for details on the <modifier> argument.
-eventview
<modifier>
Change the calendar event viewing rights. Use this flag to set viewing rights to the grantor's agenda entries. See FORMAT OF THE <modifier> ARGUMENT for details on the <modifier> argument.
-grantor
filter: <user> / [<resource>] / [<eventcal>]
Specify the entity that is granting the rights for access to its calendar. The grantor can be a user, resource or event calendar. If more than one match for the entity is found in the database, uniaccessrights fails. An action (-mod/-reset/-ls) must be specified along with this option. See FORMAT OF THE <user> ARGUMENT for syntax information.
-grantee
<user>
Specify the user or users to whom the access rights are granted. If this is a multi-node network, specify the grantee's remote node-ID. If more than one match for the user is found in the database, you will be prompted to choose from three options: (Q)uit, (P)rompt or (A)pply to all. Enter Q if you do not want to grant access to all matching users. Enter P if you want to be prompted for each matching user. Enter A and the specified access rights will be granted to all matching users. An action (-mod/-reset/-ls) must be specified along with this option. See FORMAT OF THE <user> ARGUMENT for details on the <user> argument.
-host
<hostname:port>
Specify the name and port number of the host on which the grantor's account exists. The port is optional and if omitted, the default port is used.
-info
Print the keys and values that can be used as valid arguments for specifying the <modifier> strings. The values listed in the <modifier> following tables will be displayed.
-krb
Use automatic Kerberos login with a valid Kerberos ticket. To use this option, the user running the utility must be an Oracle Calendar server user with administrative rights, and have a UID on the Kerberos server that matches the Oracle Calendar server UID. This option cannot be used with the -uid option.
-ls
List the rights that the grantor has currently granted to the grantee for the specified access type. Use one or more of the options -designate, -eventview, -taskview or -scheduling to specify which rights to display. If none are specified, all rights are displayed. A grantee must be specified. The default rights that the grantor has granted will be displayed with the heading "Grantee: Everyone".
-mod
Change the access rights to be granted by a user to another user. Used with the -grantor and -grantee options. Use the options -designate, -eventview, -taskview or -scheduling to specify which rights to modify.
-n
<node-ID>
Specify the node on which the grantor's account exists. Required if more than one node exists on the host.
-reset
Reset an access right to the grantor's default. Used with the -grantor and -grantee options. Use the -ls option to display a user's default rights.
-scheduling
<modifier>
Change the scheduling rights. Use this flag to grant a user (grantee) the right to invite another user (grantor). See FORMAT OF THE <modifier> ARGUMENT for details on the <modifier> argument.
-taskview
<modifier>
Change the task viewing rights. Use this flag to set viewing rights to the grantor's tasks. See FORMAT OF THE <modifier> ARGUMENT for details on the <modifier> argument.
-uid
<user-ID>
The administrator's user ID. If none is specified the SysOp is used.
-v
Print the current version number of uniaccessrights.
-h
Print a usage message explaining how to run uniaccessrights.
FORMATS
FORMAT OF THE <user> ARGUMENT
This argument can represent a user, a resource or an event calendar. The <user> argument is a string of the form "key=value/key=value/...", where "key" is one of those listed in the following table, and "value" is any string. Both "key" and "value" are case insensitive. The "value" string may be terminated by a wild card symbol (*). If a forward slash "/" is to be included in a string, it should be escaped with the character "\" to prevent it from being interpreted as a key-value pair delimiter - i.e. "S=Hoopla/OU1=R\/D".
If, in a UNIX environment, a shell will be processing the string (for example, the string is provided on the command line or is passed as an argument to the utility), the string should be enclosed in quotation marks. Furthermore, if characters meaningful to the shell are included in the string, they may need to be escaped (i.e. preceded by the escape character "\") to prevent the shell from interpreting them.
|
Note: If the ID key-value pair is specified in the user argument, all other key-value pairs specified along with it are ignored. |
Some example specifications are: "S=Kilpi/G=Eeva", "S=B*/G=Nicole/O=Acme", "O=Acme/ID=1111/OU1=authors"
Table 6-2 Accepted keys: UNIACCESSRIGHTS
| Key | X.400 Field |
|---|---|
|
|
Surname |
|
|
Given name |
|
|
Initials |
|
|
Identifier |
|
|
User unique identifier |
|
|
Resource name |
|
|
Resource number |
|
|
Generation |
|
|
Event calendar name |
|
|
Organizational Unit 1 |
|
|
Organizational Unit 2 |
|
|
Organizational Unit 3 |
|
|
Organizational Unit 4 |
|
|
Organization |
|
|
Country |
|
|
Administration domain |
|
|
Private domain |
|
|
Node ID |
|
|
Department |
|
|
Display name |
|
|
Home phone number |
|
|
Alternate home phone number |
|
|
Alternate business phone |
|
|
Building name |
|
|
Office street address |
|
|
City |
|
|
State |
|
|
Postal Code |
|
|
Pager |
|
|
User's Alias |
|
|
Notes |
|
|
Assistant's name |
|
|
Assistant's phone number |
FORMAT OF THE <modifier> ARGUMENT
The <modifier> argument is a string of the form "key=value/key=value/...", where "key" is one of those listed in the following table, and "value" is any of the possible values listed in the following table for each key. Both "key" and "value" are case insensitive.
For the -designate option, use "NONE" if you wish to give no access to the type of calendar entries specified by the key. Use "REPLY" to give the right to reply to invitations for this type of calendar entries. Use "MODIFY" to give the right to modify any details of the specified calendar entries that the grantor owns (created). Use "VIEWTIMES" to give the designate user the right to see the start and end times of a given type of event. Use the key and value "ALL=true" to give the grantee designate rights to all calendar data. Use the key and value "ALL=false" to remove all designate rights. Granting designate rights to a user must include the right to modify at least one type of event.
For the -eventview and -taskview options, use "NONE" if you don't wish the grantee to view any calendar entries of the type specified by the key. Use "TIMES" to give the right to see the times of the events. Use "ALL" to give the right to see any details of the specified calendar entries that are in the grantor's agenda. Public entries in a user's agenda are always viewable by other users.
The only right that can be set for the -scheduling option is the right to invite a user. Use "CANBOOKME=true" to give the right to the grantee to invite the grantor.
Table 6-3 Accepted keys and values for UNIACCESSRIGHTS -designate option
| Key | Possible values |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ |
|
|
|
|
|
|
|
|
|
Table 6-4 Accepted keys and values for UNIACCESSRIGHTS -eventview option
| Key | Values |
|---|---|
|
|
[true, false] |
|
|
|
|
|
|
|
|
|
Table 6-5 Accepted keys and values for UNIACCESSRIGHTS -taskview option
| Key | Values |
|---|---|
|
|
[true, false] |
|
|
|
|
|
|
|
|
|
Table 6-6 Accepted keys and values for UNIACCESSRIGHTS -scheduling options
| Key | Values |
|---|---|
|
|
[true, false] |
EXAMPLES
List the access rights that Don Martin has granted.:
% uniaccessrights -ls -host gravel -grantor "S=Martin/G=Don"
Grant to Mr. O'Brian the right to view personal events in Don Martin's agenda and the right to view his tasks:
% uniaccessrights -mod -grantee "S=OBrian" -grantor "S=Martin/G=Don" -host gravel -eventview "PERSONAL=ALL" -taskview "all=true"
Grant to Mr. O'Brian the following designate access rights to Don Martin's agenda: the right to reply to invitations to confidential events that Don received and the right to modify public events that Don created:
% uniaccessrights -mod -grantee "S=OBrian" -grantor "S=Martin/G=Don" -host gravel -designate "CONFIDENTIALEVENT=REPLY/PUBLICEVENT=MODIFY/PERSONALEVENT=VIEWTIMES"
Grant to multiple users (who have an OU1 value of "IS") full designate rights access to Don's calendar data:
% uniaccessrights -mod -grantee "OU1=IS" -grantor "S=Martin/G=Don" -host gravel -designate "ALL=true"
If more than one user match the grantee specified, you will be prompted with a choice of actions:
uniaccessright: Found 4 users that match the grantee filter.
uniaccessright: (Q)uit/(P)rompt/(A)pply to all [q,p,a] : a
Set scheduling rights such that students will not be allowed to invite Professor Smith:
% uniaccessrights -mod -grantor "S=Smith/G=John/JOB-TITLE=Professor" -grantee "OU2=student" -host gravel -scheduling "canbookme=false"
Give user John Smith the designate right to modify public events in the event calendar "Montreal Jazz Festival":
% uniaccessrights -mod -grantee "S=Smith/G=John" -grantor "N=Montreal Jazz Festival" -host gravel -n 24 -designate "PUBLICEVENT=MODIFY"
List all designate access rights user John Smith has granted:
% uniaccessrights -ls -grantor "S=Smith/G=John" -grantee "S=*" -host gravel -n 24 -designate
List all task viewing access rights user John Smith has granted to Mr. Kusuma:
% uniaccessrights -ls -grantor "S=Smith/G=John" -grantee "S=Kusuma" -host gravel -n 24 -taskview "ALL=true"
Give all remote users of node 2001 full designate rights to the Saturn conference room. In this case, (multi-node networks) the node-ID must specify the node on which the grantor's account exists, and the remote node must be specified in the grantee's filter; for example:
% uniaccessrights -mod -grantor "R=Conference Room Saturn" -grantee "NODE-ID=2001" -n 2000 -designate "ALL=TRUE"
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
uniaddnode - Create a new Oracle Calendar server node or re-initialize an existing one.
SYNTAX
Internal Directory (no external directory)
uniaddnode -n <node-ID> [-t <timezone>] [-a <nodealias>] [-r] [-y] uniaddnode -sn <startNode-ID> [-num <numberOfNodes>] [-y] uniaddnode -v uniaddnode -h
External Directory Server (Oracle Collaboration Suite)
uniaddnode [-n nodeId] [-t timezone] [-a alias] [-r] [-y] uniaddnode -sn StartNode -num NumberOfNodes [-y] uniaddnode -v uniaddnode -h
External Directory Server (standalone)
uniaddnode -n <node-ID> [-t <timezone>] [-a <nodealias>] [-r] [-y] uniaddnode -sn <startNode-ID> [-num <numberOfNodes>] [-y] uniaddnode -v uniaddnode -h
DESCRIPTION
This utility creates and initializes a new Oracle Calendar server node.
It can also be used to re-initialize an existing node. Before re-initializing a node, the user accounts must be deleted from the node's calendar database. This will ensure a proper clean-up of the user accounts information in any connected nodes and in the LDAP directory if one exists.
The usage varies slightly when no external LDAP directory is used.
uniaddnode runs only when the Oracle Calendar server is down.
OPTIONS
-a
<nodealias>
Specify an alias for the node. <nodealias> is a descriptive word which cannot contain spaces.
-n
<node-ID>
Specify the node-ID. The node-ID must be unique across all nodes in the network. The -n option is optional when connected to the Oracle Internet Directory where if no node-ID is specified, a random node-ID will be generated.
-r
Re-initialize the node.
|
Caution: All existing calendar data of the node is lost. |
Note that in the case of an external LDAP directory, all users and resources must first be removed from the node before it can be re-initialized.
-t
<timezone>
Specify a time zone for the node. The default is the time zone set during installation of the Oracle Calendar server. Time zones can be obtained from the unitzinfo utility, the $ORACLE_HOME/ocal/misc/timezone.ini file, or in Chapter 7, "Calendar TimeZone Table".
-sn
<startNode-ID>
Specify the node-ID of the first node to be initialized. The node-ID must be unique across all nodes in the network. Use -num to specify how many node-IDs to be initialized. The node-IDs will be generated automatically starting with the specified start node-ID.
-num
<numberOfNodes>
Used with the -sn option to specify the number of node-IDs to be generated for the node initialization.
-y
Used with the -r option to auto-confirm the re-initialization. Used with the -sn option to confirm the node range when nodes already exist in that range.
-v
Print the current version number of uniaddnode.
-h
Print a usage message explaining how to run uniaddnode.
EXAMPLES
Create a node with node ID "44", an alias of "admin", and the time zone of New York City for an Oracle Calendar server using a directory server:
% uniaddnode -n 44 -a admin -t EST5EDT uniaddnode: Database initialization done uniaddnode: node [44] has been successfuly initialized
The following entry now appears in the [<YOURNODEID>] section of the $ORACLE_HOME/ocal/misc/unison.ini file.
[44] name = <internally-assigned value> version = A.02.62 aliases = admin timezone = EST5EDT
FILES
$ORACLE_HOME/ocal/misc/unison.ini
This is the Oracle Calendar server configuration file. For each new node, a node entry is created in this file by the uniaddnode utility.
EXIT STATUS
Exit values are:
0 Success
Any nonzero value signals an error.
uniadmrights - Manage the administration rights of users.
SYNTAX
uniadmrights -info [-n <node-ID>] [-host <hostname:port>] [-uid <uid>] | [-krb]] uniadmrights -ls -u <user> [-n <node-ID>] [-host <hostname:port>] [-uid <uid>] | [-krb]] uniadmrights -scope <scope> -u <user> [-n <node-ID>] [-host <hostname:port>] [-uid <uid>] | [-krb]] uniadmrights -u <user> [-n <node-ID>] [-host <hostname:port>] [-uid <uid>] | [-krb]] [-user <rightsFilter>] [-resource <rightsFilter>] [-eventcal <rightsFilter>] [-admgrp <rightsFilter>] [-pubgrp <rightsFilter>] [-node <rightsFilter>] [-server <rightsFilter>] [-csm <rightsFilter>] uniadmrights -v uniadmrights -h
DESCRIPTION
This utility allows the SYSOP, or a user with administration rights to grant certain administration rights to users as well as to revoke these rights. It can also be used to determine the rights held by each user.
The existing rights are granted on a per-node basis and apply to various groups of administration rights:
user administration
resource administration
event calendar administration
administrative groups management
public groups management
node administration
server administration
CSM (Calendar Server Manager daemon) administration
By default, uniadmrights option -ls lists all rights that have been granted by the SYSOP, or a user with administration rights to a user. Note that the -ls option is mutually exclusive with the other options.
The Oracle Calendar server must be up to run uniadmrights.
|
Note: Use the ManageHolidays, ManageAdmGroups, and CreatePublicGroups keywords in theuser.ini file to automatically grant one or more of these administration rights on user creation. |
OPTIONS
-admgrp
<rightsFilter>
Specify the administrative groups management rights. Use this option to give rights to manage administrative groups. Cannot be used with -ls. See FORMAT OF THE <rightsFilter> ARGUMENT for details on the <rightsFilter> argument.
-csm
<rightsFilter>
Give or revoke access to the CSM (Calendar Server Manager). Use this option to give the right to start and stop an Oracle Calendar server or to disable a node. Cannot be used with -ls.
These rights however will still require that the administrator user know the CSM uid and password. See uninode, unistart, unistop. See FORMAT OF THE <rightsFilter> ARGUMENT for details on the <rightsFilter> argument.
-eventcal
<rightsFilter>
Specify the event calendar administration rights. Cannot be used with -ls. See FORMAT OF THE <rightsFilter> ARGUMENT for details on the <rightsFilter> argument.
-host
<hostname:port>
Specify the name and port number of the host. Required if the host is remote. The port is optional and if omitted, the default port is used.
-krb
Use automatic Kerberos login with a valid Kerberos ticket. To use this option, the user running the utility must be an Oracle Calendar server user with administrative rights, and have a UID on the Kerberos server that matches the Oracle Calendar server UID. This option cannot be used with the -uid option.
-ls
List all rights granted to the specified user.
-n
Specify the node. Required if more than one node exists on the host.
<node-ID>
-node
<rightsFilter>
Specify the node level administration rights. See FORMAT OF THE <rightsFilter> ARGUMENT for details on the <rightsFilter> argument.
-pubgrp
<rightsFilter>
Specify the public groups management rights. Cannot be used with -ls. See FORMAT OF THE <rightsFilter> ARGUMENT for details on the <rightsFilter> argument.
-resource
<rightsFilter>
Specify the resource administration rights. Cannot be used with -ls. See FORMAT OF THE <rightsFilter> ARGUMENT for details on the <rightsFilter> argument.
-scope
<scope>
Specify the scope of the administration rights. There are two possible values for <scope>: node or network. Use node if the rights are to be limited to the user's own node. Use network if the administrative rights can be applied to any node of the network (all nodes connected to the specified node). The scope will apply to all groups of rights granted to this user.
-server
<rightsFilter>
Specify the server administration rights. Cannot be used with -ls. See FORMAT OF THE <rightsFilter> ARGUMENT for details on the <rightsFilter> argument.
-u
<user>
Specify the user whose administrative rights will be modified or simply listed (-ls). If more than one match for the user is found in the database, uniadmrights fails. The specified right(s) will be granted to the user. See FORMAT OF THE <user> ARGUMENT for details on the <user> argument.
-uid
<user-ID>
The administrator's user ID. If none is specified the SysOp is used.
-user
<rightsFilter>
Specify the user administration rights. Cannot be used with -ls. See FORMAT OF THE <rightsFilter> ARGUMENT for details on the <rightsFilter> argument.
-v
Print the current version number of uniadmrights.
-h
Print a usage message explaining how to run uniadmrights.
FORMATS
FORMAT OF THE <user> ARGUMENT
The <user> argument is a string of the form "key=value/key=value/...", where "key" is one of those listed in the following table, and "value" is any string. Both "key" and "value" are case insensitive. The "value" string may be terminated by a wild card symbol (*). If a forward slash "/" is to be included in a string, it should be escaped with the character "\" to prevent it from being interpreted as a key-value pair delimiter - i.e. "S=Hoopla/OU1=R\/D".
If, in a UNIX environment, a shell will be processing the string (for example, the string is provided on the command line or is passed as an argument to the utility), the string should be enclosed in quotation marks. Furthermore, if characters meaningful to the shell are included in the string, they may need to be escaped (i.e. preceded by the escape character "\") to prevent the shell from interpreting them.
|
Note: If the ID key-value pair is specified in the user argument, all other key-value pairs specified along with it are ignored. |
Some example specifications are: "S=Kilpi/G=Eeva", "S=B*/G=Nicole/O=Acme", "O=Acme/ID=1111/OU1=authors"
Table 6-7 Accepted keys: UNIADMRIGHTS
| Key | X.400 Field |
|---|---|
|
|
Surname |
|
|
Given name |
|
|
Initials |
|
|
Identifier |
|
|
User unique identifier |
|
|
Generation |
|
|
Organizational Unit 1 |
|
|
Organizational Unit 2 |
|
|
Organizational Unit 3 |
|
|
Organizational Unit 4 |
|
|
Organization |
|
|
Country |
|
|
Administration domain |
|
|
Private domain |
|
|
Department |
|
|
Display name |
|
|
Home phone number |
|
|
Alternate home phone number |
|
|
Alternate business phone |
|
|
Building name |
|
|
Office street address |
|
|
City |
|
|
State |
|
|
Postal Code |
|
|
Pager |
|
|
User's Alias |
|
|
Notes |
|
|
Assistant's name |
|
|
Assistant's phone number |
FORMAT OF THE <rightsFilter> ARGUMENT
The <rightsFilter> argument is a string of the form "key=value/key=value/...", where "key" is one of those listed in the following table, and "value" is any of the possible values listed in the following table for each key. Both "key" and "value" are case insensitive.
Use the key and value "ALL=true" to give all the administrative rights of the specified group of administration rights to the specified user. Use the key and value "ALL=false" to remove all the rights.
Table 6-8 Accepted keys and values for UNIADMRIGHTS -user option
| Key | Possible values | Description |
|---|---|---|
|
|
|
All rights listed in this table |
|
|
|
Create user accounts |
|
|
|
Modify user account information |
|
|
|
Delete user accounts |
|
Enable |
|
Enable or disable user accounts |
|
Setrights |
|
Grant administration rights to a user |
|
Setdesignate |
|
Set designate rights for users |
|
Setviewing |
|
Grant viewing rights to a user's calendar data |
|
Password |
|
Change user passwords |
|
Transferevent |
|
Transfer event ownership from one user to another |
Table 6-9 Accepted keys and values for UNIADMRIGHTS -resource option
| Key | Possible values | Description |
|---|---|---|
|
|
|
All rights listed in this table |
|
|
|
Create resource accounts |
|
|
|
Modify resource account information |
|
|
|
Delete resource accounts |
|
Enable |
|
Enable or disable resource accounts |
|
Setdesignate |
|
Set designate rights for resources |
|
Setviewing |
|
Grant viewing rights of a resource's calendar data |
|
Password |
|
Change resource passwords |
|
Transferevent |
|
Transfer event ownership from one resource to another |
Table 6-10 Accepted keys and values for UNIADMRIGHTS -eventcal option
| Key | Possible values | Description |
|---|---|---|
|
|
|
All rights listed in this table |
|
|
|
Create event calendar accounts |
|
|
|
Modify event calendar account information |
|
|
|
Delete event calendar accounts |
|
Enable |
|
Enable or disable event calendar accounts |
|
Setdesignate |
|
Set designate rights for event calendars |
|
Setviewing |
|
Grant viewing rights of an event calendar's calendar data |
|
Password |
|
Change event calendar passwords |
|
Manageevent |
|
Manage event calendar's entries |
Table 6-11 Accepted keys and values for UNIADMRIGHTS -admgrp option
| Key | Possible values | Description |
|---|---|---|
|
|
|
All rights listed in this table |
|
|
|
Create administrative groups |
|
|
|
Modify administrative groups |
|
|
|
Delete administrative groups |
|
Attach |
|
Add a user to an administrative group |
|
Detach |
|
Remove a user from an administrative group |
Table 6-12 Accepted keys and values for UNIADMRIGHTS -pubgrp option
| Key | Possible values | Description |
|---|---|---|
|
|
|
All rights listed in this table |
|
|
|
Create public groups |
|
|
|
Modify public groups |
|
|
|
Delete public groups |
|
Attach |
|
Add a user to a public group |
|
Detach |
|
Remove a user from a group |
Table 6-13 Accepted keys and values for UNIADMRIGHTS -node option
| Key | Possible values | Description |
|---|---|---|
|
|
|
All rights listed in this table |
|
|
|
Using the Calendar Administrator WEB interface, Edit the user.ini, resource.ini or eventcal.ini files |
|
|
|
Restore a user |
|
|
|
Manage holidays |
|
Modify |
|
Change the node information in the unison.ini (alias, or time zone) using the Calendar Administrator WEB interface |
Table 6-14 Accepted keys and values for UNIADMRIGHTS -server option
| Key | Possible values | Description |
|---|---|---|
|
|
|
All rights listed in this table |
|
|
|
Update the unison.ini file |
Table 6-15 Accepted keys and values for UNIADMRIGHTS -csm option
| Key | Possible values | Description |
|---|---|---|
|
|
|
All rights listed in this table |
|
|
|
Access the CSM to start and stop servers and nodes. |
EXAMPLES
List all administration rights of user Alice Smith:
% uniadmrights -ls -u "S=Smith/G=Alice" -host gravel -n 203
Grant holiday administration rights to Don Martin in R&D, at node 80:
% uniadmrights -u "S=Martin/G=Don/OU1=r&d" -node "holiday=true" -n 80 - krb
Set the scope for Don Martin in R&D to all nodes of the same network as node 80:
% uniadmrights -u "S=Martin/G=Don/OU1=r&d" -n 80 - krb -scope "network"
Grant the right to create and delete administrative groups and the right to create user accounts to Don Martin in R&D, at node 80:
% uniadmrights -u "S=Martin/G=Don/OU1=r&d" -user "create=true" -admgrp "create=true/delete=true" -n 80 - krb
Remove all user administration rights from Joan Bean on host montreal:
% uniadmrights -u "S=Bean/G=Joan" -user "all=false" -host montreal
WARNINGS
Directory Server Warning
It is important to understand the implications of the directory server configuration for Oracle Calendar server utilities.
Supplier-Consumer Configurations
In a supplier-consumer configuration, the scheduling of updates between the consumer and supplier may result in temporary differences between the two. This may mean that an Oracle Calendar server utility is reading from a consumer directory server that has not yet been synchronized with its supplier.
Additional Steps for Third-Party Directory Servers
When the Oracle Calendar server is deployed in standalone mode with a supported directory server, additional steps may be necessary to grant users administrative rights. For more information about granting non SYSOP users access to the directory server, see "Granting Access to Other Directory Servers" in Chapter 6 of Oracle Calendar Reference Manual.
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
unicpinr - Copy resource data from a file created by unicpoutr to an Oracle Calendar server node.
SYNTAX
unicpinr [-add] [-f <filename>] [-start <day> <month> <year>] [-end <day> <month> <year>] [-host <hostname:port>] -n <Node-ID> unicpinr [-add] [-start <day> <month> <year>] [-end <day> <month> <year>] [-host <hostname:port>] -n <Node-ID> < [<filename>] unicpinr -ls [<filename(s)>] unicpinr -v unicpinr -h
DESCRIPTION
Copies a file containing resource data (created with the unicpoutr utility) into an Oracle Calendar server node. The utility can be used in conjunction with unicpoutr to move a resource from one node to another, or to add the agenda of one resource to that of another (see EXAMPLES).
By default, the resource specified in the file must already exist in the destination Oracle Calendar server node. If this is not the case, the -add option is used to add it.
unicpinr can only be run if the Oracle Calendar server is up.
It is important to understand how unicpinr handles the information in the file during the copy into the destination node.
Resource identifier
These are the values for the keys R, N, CA, S, G, ID, LOC, PHONE, FAX (see RESOURCE IDENTIFIER KEYS for details on these keys). Only non-null values are output to the file by unicpoutr so not all keys may appear in the file.
unicpinr uses these values to uniquely identify an existing resource in the destination node.
Password and agenda-specific preferences
Where the resource already exists in the destination node, these values are already set and unicpinr does NOT overwrite them with those in the input file.
Agenda information
Where a resource already exists in the destination node, unicpinr simply adds the agenda information in the input file to the existing agenda.
All events listed in the file are copied into the destination node with the resource as the owner. Where appropriate, the description of each event contains extra data indicating the invitees to the event, their status, and the original creator and owner. Recurring or repeating instances of an event are disconnected from each other and copied in as individual events.
The -start and -end options can be used to import only those events that fall within the specified time.
|
Note: Theunicpinr utility does not consult the resource.ini files when importing resources. |
OPTIONS
-add
Add the resource to the database before copying in the file. It is an error to specify this option if the resource already exists in the node. In the case of a directory server, the resource is created under the baseDN.
-end
<day> <month> <year>
Set the end dates of the events to be processed. By default, all events in the file are created; this option and the -start option allow you to exclude certain events. Dates must be expressed in the form "day month year". Years must be specified using four digits. Some legal dates are "12 mar 1995", "15 october 1994", "25 12 1995" (for December 25, 1995). Variations such as "mar 12 1995" or "12 dec" are illegal and produce an error message.
-f
<filename>
Specify the input file name. The file must have been created with the unicpoutr utility. By default, standard input is used.
-host
<hostname:port>
Specify the name and port number of the host. Required if the host is remote. The port is optional and if omitted, the default port is used.
-ls
List the file name followed by the name of the resource it contains for each specified file name. Files not created with the unicpoutr command are not listed. If no file names are specified, the files of the current directory (.) are examined.
-n
<node-ID>
Specify the node.
-start
<day> <month> <year>
Set the start date of the events to be processed. By default, all events in the file are created; this option and the -end option allow you to exclude certain events. Dates must be expressed in the form "day month year". Years must be specified using four digits. Some legal dates are "12 mar 1995", "15 october 1994", "25 12 1995" (for December 25, 1995). Variations such as "mar 12 1995" or "12 dec" are illegal and produce an error message.
-v
Print the current version number of unicpinr.
-h
Print a usage message explaining how to run unicpinr.
RESOURCE IDENTIFIER KEYS
Table 6-16 Accepted keys: UNICPINR
| Key | Description |
|---|---|
|
|
Resource name |
|
|
Resource number |
|
|
Capacity |
|
|
Contact's surname |
|
|
Contact's given name |
|
|
Location |
|
|
Phone number |
|
|
Fax phone number |
EXAMPLES
MOVE A RESOURCE FROM ONE NODE TO ANOTHER
unicpinr is used in conjunction with unicpoutr and uniuser to move a resource from one node to another. In the following example, the resource "betacam" will be moved from node 30 to 35.
Verify that the resource to be moved exists in node 30:
% uniuser -ls "R=Betacam" -n 30 R=Betacam/CA=1/ID=1234
Copy out the resource data to a file:
% unicpoutr "R=Betacam" -f betacam.dat -n 30
Delete the resource from the node. This is normal practice as you do not usually want the same resource to exist in two different nodes.
% uniuser -del "R=Betacam" -n 30
Add the resource to the destination node:
% unicpinr -add -f betacam.dat -n 35
ADD THE AGENDA OF ONE RESOURCE TO THAT OF ANOTHER RESOURCE
unicpinr can be used in conjunction with unicpoutr to add the agenda of one resource to that of another resource. This example adds the agenda for "PineNook" to the agenda for "OakCranny".
Copy out the resource data for PineNook (from node 30) to a file:
% unicpoutr "R=PineNook" -f pinenook.dat -n 30
Edit the file and modify the resource identifier to match that for OakCranny
% vi pinenook.dat
Copy in the file to OakCranny in node 30. Since this resource exists, the password, and agenda-specific preferences are not overwritten.
% unicpinr -f pinenook.dat -n 30
The agenda information for PineNook has been added to the existing agenda information for OakCranny.
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
WARNINGS
Agenda size and processing time
Depending on the size of the agenda in the file, unicpinr may take some time to complete.
Limitations of this utility
The unicp family of utilities have the following limitations that must be considered.
Events
From the perspective of a moved user (or resource), each of the moved events in the new agenda is a personal event with enough data in the description to determine who created the event and who the attendees are. All links are broken but there is sufficient information in the description to allow the links to be rebuilt manually.
Note also that where the agenda of one user (or resource) is being added to that of another, double-booking may occur.
When a user (or resource) is moved to a new node, that user (or resource) should be deleted from the old node (using uniuser -del).
When a resource is deleted, all traces of that resource are removed. Thus, that resource is no longer booked for events.
When a user is deleted, all traces of that user are removed. Thus, that user is no longer invited to events created by other users. Furthermore, and most importantly, all events created by the user are deleted. As a consequence, any user in the old node who was invited to an event by the moved user, will no longer be able to view the event.
Moving several users (and/or resources) at a time
If several users (and/or resources) are to be moved, it is best to perform the move in three phases:
Copy the information on each user (and/or resource) from the source node to a file (using unicpoutu and/or unicpoutr).
Delete each user (and/or resource) from the source node.
Copy the information on each user (and/or resource) into the destination node using (unicpinu and/or unicpinr).
This ensures that information on any links among the users (and/or resources) being moved is not lost (see "Deleting a resource").
Directory Server Warning
It is important to understand the implications of the directory server configuration for Oracle Calendar server utilities. In a supplier-consumer configuration, the scheduling of updates between the consumer and supplier may result in temporary differences between the two. This may mean that an Oracle Calendar server utility is reading from a consumer directory server that has not yet been synchronized with its supplier.
SEE ALSO
unicpoutr, unicpr
uniarch - Create a tar archive of the Oracle Calendar server.
SYNTAX
uniarch [-d] [-y] [-t | -f <filename>] [-p <path>] [-u <user>] [-g <group>] uniarch -v uniarch -h
DESCRIPTION
uniarch creates a backup of the Oracle Calendar server. By default, the entire $ORACLE_HOME/ocal directory is archived.
You must invoke uniarch from outside of the directory or directories it is backing up. For example, to back up the entire Oracle Calendar server, you invoke uniarch from outside of the $ORACLE_HOME/ocal directory.
uniarch can only be run if the Oracle Calendar server is down.
|
Caution: uniarch backs up the Oracle Calendar server internal database. If a directory server is being used, its database should also be backed up. |
OPTIONS
-d
Back up only the contents of $ORACLE_HOME/ocal/db/nodes, the Oracle Calendar server database.
-f
<filename>
Specify the name of the archive file. If this option is not used, prompting for the filename occurs.
-t
Force the tar default device to be used for the archive destination file.
-y
By default, uniarch asks for confirmation before proceeding with the creation of the archive. This option tells uniarch to automatically proceed, without prompting for confirmation. Default if there is no tty associated with the calling process.
-g
<group>
Specify the unix group.
-p
<path>
Specify the path to the server directory which contains the db directory (such as -p "$ORACLE_HOME/ocal").
-u
<user>
Specify the unix user.
-v
Print the current version number of uniarch.
-h
Print a usage message explaining how to run uniarch.
EXAMPLES
Archive the entire $ORACLE_HOME/ocal directory:
% uniarch uniarch: working, please wait ... uniarch: input tar archive destination file name: jan07-99.bkup uniarch: archive "$ORACLE_HOME/ocal" and redirect to "jan07-99.bkup"? (y/n) uniarch: archive completed
Archive only the Oracle Calendar server database, supplying the name of the destination archive file on the command line:
% uniarch -d -f jan07-99-db.bkup uniarch: working, please wait ... uniarch: archive "$ORACLE_HOME/ocal/db/nodes" and redirect to "jan07-99-db.bkup"? (y/n) uniarch: archive completed
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
unib2lendian - Convert an Oracle Calendar server node database from a format for big-endian UNIX processors to a format for little-endian Windows processors. For more details on this utility, contact Oracle support.
SYNTAX
unib2lendian [-n <node-ID>] unib2lendian -v unib2lendian -h
DESCRIPTION
unib2lendian is used when migrating a node database from an Oracle Calendar server running on a big-endian UNIX machine such as Solaris, HP-UX or AIX, to one running on a little-endian machine, such as Windows.
This utility converts the *.dat files of the node database from big-endian to little-endian format. The conversion is executed on a copy of the files, leaving the original database untouched. The *.dat files are the only ones necessary to convert; the remaining files are built on the destination machine.
unil2bendian is the complementary utility for converting files from little-endian to big-endian format.
unib2lendian can only be run when the Oracle Calendar server is down.
OPTIONS
-n
<node-ID>
Specify a node to convert. Required if more than one node exists on the local host.
-v
Print the current version number of unib2lendian
-h
Print a usage message explaining how to run unib2lendian.
EXAMPLES
MIGRATING A NODE FROM A BIG-ENDIAN TO A LITTLE-ENDIAN MACHINE
The following example converts node 45, and moves it from an Oracle Calendar server running on a big-endian source system to an Oracle Calendar server running on a little-endian destination system.
In this example, the Oracle Calendar server installed on the destination system is of the same version as the source system. Moreover, a new calendar node exists on the destination system, and contains no production data. The empty contents of the destination node will be overwriten with the data migrated from the source node.
Stop the Oracle Calendar server on both machines. Do not restart either server until instructed, later in this procedure.
Back up the Oracle Calendar server database on the source and destination systems using the unidbbackup utility.
Run unib2lendian on the source node.
unib2lendian -n 45
The converted copy of the node can be found in the $ORACLE_HOME/ocal/db/nodes/<N#>/perm_conv directory, where <N#> is the value of the name parameter in the unison.ini section corresponding to the source node.
Copy the source node's section from the $ORACLE_HOME/ocal/misc/unison.ini file to the unison.ini file on the destination host. For example:
[45] name = N1 version = A.02.62
Copy all *.dat files in the perm_conv directory of the source system to the $ORACLE_HOME/ocal/db/nodes/<N#>/perm directory on the destination system.
Copy the contents of the source system's $ORACLE_HOME/ocal/db/nodes/<N#>/streams directory to the destination system's $ORACLE_HOME/ocal/db/nodes/<N#>/streams directory.
On the destination system, copy $ORACLE_HOME/ocal/db/nodes/Nempty/perm/unison.dbd and $ORACLE_HOME/ocal/db/nodes/Nempty/perm/vista.ctb files into the new $ORACLE_HOME/ocal/db/nodes/<N#>/perm directory.
If the node is part of a node network, you MUST update the network information before restarting the Oracle Calendar server.
|
Caution: Failure to carry out this step may result in data loss and/or database corruption. |
In order to update the node's network information follow these steps:
First, stop all Oracle Calendar servers in the node network.
Use unidbfix to export the information in the remotenode.dat file to EACH and EVERY node's remotenode.ini file. For example, if the network were to consist of nodes 30, 35, 40, 45 and 50:
% unidbfix -export -n 30 % unidbfix -export -n 35 % unidbfix -export -n 40 % unidbfix -export -n 45 % unidbfix -export -n 50
|
Note: Remember thatunidbfix must be run on each node's local host. |
Edit the $ORACLE_HOME/ocal/db/nodes/<Nx>/perm/remotenode.ini file for each node in the network, and change the host name associated with node 45.
If moving to a little-endian Unix host, run uniclean on node 45 to ensure that file ownership and permissions for the copied files are set correctly.
Run unidbfix -k on node 45 to create key files.
Use unidbfix -import to update the remotenode.dat file with the new information in the remotenode.ini files.
% unidbfix -import -n 30 % unidbfix -import -n 35 % unidbfix -import -n 40 % unidbfix -import -n 45 % unidbfix -import -n 50
This also rebuilds the key files for each node.
Update the $ORACLE_HOME/ocal/misc/nodes.ini file to reflect the change in host names for node 45.
Restart all Oracle Calendar servers.
EXIT STATUS
Exit values are:
0 Success
1 Failed to convert the database
2 Usage error
SEE ALSO
unidbfix, unistart, unistop, uninode
unicheck - Verify the Oracle Calendar server file system.
SYNTAX
unicheck [-nowarn] [-nodb | -maxdb <n>] [-c] unicheck -v unicheck -h
DESCRIPTION
unicheck verifies the Oracle Calendar server file system. The utility first checks that the version of the Oracle Calendar server is intended to run on the local operating system. If this is not the case, unicheck prompts the user to determine whether or not they wish to continue. If the version runs on the local operating system, unicheck then verifies:
that all necessary files and directories are present
that the permissions, and owner and group information are correctly set on the files and directories.
Any discrepancies are reported. Unless an entire file or directory is missing, any problems found are fixed by running uniclean.
unicheck should be run periodically to ensure that the file system is in good order.
unicheck can be run whether the Oracle Calendar server is up or down.
OPTIONS
-maxdb
<n>
Specifies the maximum number of node databases unicheck should consider. For example, if <n>=30, unicheck checks the files of only the first 30 nodes databases.
-nowarn
Do not print warning messages (error messages are still printed).
-nodb
Do not check database files.
-c
Computes a system-independent checksum for each static file. If this option is used, output should be redirected to a file for future use.
-v
Print the current version number of unicheck.
-h
Print a usage message explaining how to run unicheck.
EXAMPLES
Run unicheck (for brevity, sections of the output have been replaced by [...]):
% unicheck unicheck: checking all directories unicheck: checking directory "$ORACLE_HOME/ocal" unicheck: checking directory "$ORACLE_HOME/ocal/tmp" [...] unicheck: checking files in directory "$ORACLE_HOME/ocal/bin" unicheck: checking files in directory "$ORACLE_HOME/ocal/misc" [...] unicheck: checking versions of files in directory "$ORACLE_HOME/ocal/bin" unicheck: check completed
Run unicheck, suppressing any warning messages and computing a checksum for each file (for brevity, sections of the output have been replaced by [...]):
% unicheck -nowarn -c unicheck: checking all directories unicheck: checking directory "$ORACLE_HOME/ocal" unicheck: checking directory "$ORACLE_HOME/ocal/tmp" [...] unicheck: checking files in directory "$ORACLE_HOME/ocal/bin" unicheck: checking files in directory "$ORACLE_HOME/ocal/misc" unicheck: checking files in directory "$ORACLE_HOME/ocal/man" [...] unicheck: checking versions of files in directory "$ORACLE_HOME/ocal/bin" unicheck: computing checksums unicksum: checksum of the file "$ORACLE_HOME/ocal/misc/timezone.ini" is 17289 unicksum: checksum of the file "$ORACLE_HOME/ocal/bin/addme" is 33775 [...] unicheck: check completed
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 Warning error
4 Severe error
5 Critical error
6 User interrupt
unicksum - Generate a checksum for a file.
SYNTAX
unicksum <filename> unicksum -v unicksum -h
DESCRIPTION
unicksum generates a checksum for a file that is used to determine whether or not differences exist between two instances of the same file.
unicksum can be run when the Oracle Calendar server is up or down.
OPTIONS
-v
Print the version number of unicksum.
-h
Print a usage message explaining how to run unicksum.
EXAMPLES
Generate a checksum for the unitzinfo executable:
% unicksum unitzinfo unicksum: checksum of the file "unitzinfo" is 18187
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
uniclean - Clean up the Oracle Calendar server file system.
SYNTAX
uniclean uniclean -v uniclean -h
DESCRIPTION
uniclean cleans up the Oracle Calendar server file system by removing some transient files and ensuring file/directory and owner/group permissions are properly set.
uniclean can be run when the Oracle Calendar server is up or down.
OPTIONS
-v
Print the current version number of uniclean.
-h
Print a usage message explaining how to run uniclean.
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
SEE ALSO
unicheck
unicpinu - Copy the contents of a file of user data created by unicpoutu to an Oracle Calendar server node.
SYNTAX
unicpinu [-add ] [-f <filename>] [-start <day> <month> <year>] [-end <day> <month> <year>] [-host <hostname:port>] -n <node-ID> unicpinu [-add ] [-start <day> <month> <year>] [-end <day> <month> <year>] [-host <hostname:port>] -n <node-ID> < <filename> unicpinu -ls [<filename(s)>] unicpinu -v unicpinu -h
DESCRIPTION
unicpinu copies a file containing user data (created by unicpoutu) into an Oracle Calendar server node. The utility can be used in conjunction with unicpoutu to add the agenda of one user to that of another user (see EXAMPLES). Although it can also be used, in conjunction with unicpoutu, to move a user from one node to another, unimvuser is the proper utility for moving users. unimvuser prevents the data loss that occurs when moving users with unicpoutu and unicpinu.
By default, the user specified in the file must already exist in the destination Oracle Calendar server node. If this is not the case, they can be added using the -add option.
unicpinu can only be run if the Oracle Calendar server is up.
It is important to understand how unicpinu handles the information in the input file during the copy into the destination node:
X.400 name and address
These are the values for the keys S, G, I, and X, and the keys OU1, OU2, OU3, OU4, O, C, A and P respectively (see NAME AND ADDRESS KEYS for details on these keys). Only non-null values are output to the file by unicpoutu so not all keys may have a value in the file.
unicpinu uses these values to uniquely identify an existing user in the destination node.
Personal information, password, and agenda-specific preferences
Personal information includes employee number, phone number, extension, fax number, job title and office mailing address.
Where the user already exists in the destination node, these values are already set and unicpinu does NOT overwrite them with those in the input file.
Agenda information
Where a user already exists in the destination node, unicpinu simply adds the agenda information in the input file to the existing agenda.
All events listed in the file are copied into the destination node with the user as the owner. Where appropriate, the description of each event contains extra data indicating the users invited to the event, their status, and the original creator and owner. Recurring or repeating instances of an event are disconnected from each other and copied in as individual events.
The -start and -end options can be used to import events and completed tasks that fall within a specified range. Incomplete tasks are always imported.
|
Caution: Holidays are output by unicpoutu as meetings, and therefore input by unicpinu as meetings. Only the existing holidays in the destination node appear as holidays in the user's agenda. |
|
Note: Theunicpinu utility does not consult the user.ini files when importing users. |
OPTIONS
-add
Add the user to the database and then copy in the user's agenda. It is an error to specify this option if the user already exists. Note that for directory servers, the user must already exist in the directory server (all of the X.400 key-value pairs specified in the input file must match), and must not already be a calendar user.
-end
<day> <month> <year>
Set the end date for the events and tasks to be processed. By default, all events and tasks in the file are created; this option and the -start option allow you to exclude certain events and tasks. Dates must be expressed in the form "day month year". Years must be expressed using four digits. Some legal dates are "12 mar 1995", "15 october 1994", "25 12 1995" (for December 25, 1995). Variations such as "mar 12 1995" or "12 dec" are illegal and produce an error message.
-f
<filename>
Specify the input file name. The file must be created with the unicpoutu utility. If this option is not specified, standard input is used.
-host
<hostname:port>
Specify the name and port number of the host. Required if the host is remote. The port is optional and if omitted, the default port is used.
-ls
<filename(s)>
Print the filename followed by the X.400 name and address of the user contained in the file, for each specified file name. Files not created by the unicpoutu command are not listed. If no file names are specified, the files in the current directory (.) are examined.
-n
<node-ID>
Specify the node.
-start
<day> <month> <year>
Set the start date for the events and tasks to be processed. By default, all events and tasks in the file are created; this option and the -end option allow you to exclude certain events and tasks. Dates must be expressed in the form "day month year". Years must be expressed using four digits. Some legal dates are "12 mar 1995", "15 october 1994", "25 12 1995" (for December 25, 1995). Variations such as "mar 12 1995" or "12 dec" are illegal and produce an error message.
-v
Print the current version number of unicpinu.
-h
Print a usage message explaining how to run unicpinu.
X.400 NAME, AND ADDRESS KEYS
Table 6-17 Accepted keys: UNICPINU
| Key | Description |
|---|---|
|
|
Surname |
|
|
Given name |
|
|
Initials |
|
|
Generation |
|
|
Organizational Unit 1 |
|
|
Organizational Unit 2 |
|
|
Organizational Unit 3 |
|
|
Organizational Unit 4 |
|
|
Organization |
|
|
Country |
|
|
Administration domain |
|
|
Private domain |
EXAMPLES
MOVE A USER FROM ONE NODE TO ANOTHER
unicpinu is used in conjunction with unicpoutu and uniuser to move a user from one node to another. In this example the user "Sarah Herman" will be moved from node 20 to 44, and one of her organizational units changed from "Sales" to "R&D".
|
Caution: Use this procedure ONLY if unimvuser cannot complete the move you need to make. See WARNINGS for information on the data that is lost during this procedure. |
Verify that the user to be moved exists in node 20:
% uniuser -ls "S=Herman/G=S*" -n 20 S=Herman/G=Sarah/OU1=Dallas/OU2=Sales/ID=1234
Copy the user's agenda and user information to a file:
% unicpoutu "G=Sara*/S=Herman -f sherman.dat -n 20
Delete the user from node 20. This is normal practice as the same user should not exist in two different nodes. In the case of a directory server, this step is required if the subsequent unicpinu -add command is to succeed.
% uniuser -del "G=Sara*/S=Herman" -n 20
Add the user to the destination node:
% unicpinu -add -f sherman.dat -n 44 S=Herman/G=Sarah/OU1=Dallas/OU2=Sales/ID=1234
ADD THE AGENDA OF ONE USER TO THAT OF ANOTHER USER
unicpinu can be used in conjunction with unicpoutu to add one user's agenda to that of another user. This example adds Sarah Herman's agenda to Yannick Olafsen's agenda.
Copy Sarah Herman's user data (from node 20) to a file:
% unicpoutu "G=Sara*/S=Herman" -f sherman.dat -n 20
Edit the sherman.dat file to modify the X.400 name and address to match that contained in the database for Yannick Olafsen.
% vi sherman.dat
Copy the file to node 24. Since Yannick Olafsen already exists as a user in node 24, his personal information, password, and agenda preferences are not overwritten.
% unicpinu -f sherman.dat -n 24
The agenda information for Sarah Herman is added to the existing agenda information for Yannick Olafsen.
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
WARNINGS
Agenda size and processing time
Depending on the size of the agenda in the file, unicpinu may take some time to complete.
Limitations of this utility
The unicp family of utilities have the following limitations that must be considered.
Events
From the perspective of a moved user (or resource), each of the moved events in the new agenda is a personal event with enough data in the description to determine who created the event and who the attendees are. All links are broken but there is sufficient information in the description to allow the links to be rebuilt.
Note also that where the agenda of one user (or resource) is being added to that of another, double-booking may occur.
When a user (or resource) is moved to a new node, that user (or resource) should be deleted from the old node (using uniuser -del).
When a resource is deleted, all traces of that resource are removed. Thus, that resource is no longer booked for events.
When a user is deleted, all traces of that user are removed. Thus, that user is no longer in the list of invited users of events created by other users. Furthermore, and most importantly, all events created by the user are deleted. As a consequence, any user in the old node who was invited to an event by the moved user, will no longer be able to view the event.
Moving several users (and/or resources) at a time
If several users (and/or resources) are to be moved, it is best to perform the move in three phases:
Copy the information on each user (and/or resource) from the source node to a file (using unicpoutu and/or unicpoutr).
Delete each user (and/or resource) from the source node.
Copy the information on each user (and/or resource) into the destination node using (unicpinu and/or unicpinr).
This ensures that information on any links among the users (and/or resources) being moved is not lost (see "Deleting a user (or resource)").
Directory Server Warning
It is important to understand the implications of the directory server configuration for Oracle Calendar server utilities. In a supplier-consumer configuration, the scheduling of updates between the consumer and supplier may result in temporary differences between the two. This may mean that an Oracle Calendar server utility is reading from a consumer directory server that has not yet been synchronized with its supplier.
SEE ALSO
unicpoutu, unicpu
unicpoutr - Copy resource data from an Oracle Calendar server node into a file.
SYNTAX
unicpoutr -u resname [-f <filename>] [-host <hostname:port>] [-start <day> <month> <year>] [-end <day> <month> <year>] -n <node-ID> unicpoutr -v unicpoutr -h
DESCRIPTION
unicpoutr copies a resource's data from an Oracle Calendar server node to a file. It can be used in conjunction with the unicpinr utility to move a resource from one node to another as well as to copy the resource agenda from one resource to another.
unicpoutr can only be run if the Oracle Calendar server is up.
unicpoutr copies the following information to the file (see unicpr for more information concerning the format and content of the output file):
Resource name
Resource password
Resource information (capacity, phone, and so on)
Agenda-specific preferences
Agenda information
Agenda information includes the past and future events either owned by the resource or to which the resource is invited. The -start and -end options may be used to export those events with an attendance record which falls within a specified time period.
The following information is NOT copied to the file:
Access control lists associated with the resource (this includes a description of designate rights granted to and by the resource)
OPTIONS
-end
<day> <month> <year>
Set the end date of the events to be processed. By default, all events are output; this option and the -start option allow you to exclude certain events. Dates must be expressed in the form "day month year". Years must be specified using four digits. Some legal dates are "12 mar 1995", "15 october 1994", "25 12 1995" (for December 25, 1995). Variations such as "mar 12 1995" or "12 dec" are illegal and produce an error message.
-f
<filename>
Specify the output file name. The file must not exist. By default, the standard output is used.
-host
<hostname:port>
Specify the name and port number of the host. Required if the host is remote. The port is optional and if omitted, the default port is used.
-n
<node-ID>
Specify the node.
-start
<day> <month> <year>
Set the start date of the events to be processed. By default, all events are output; this option and the -end option allow you to exclude certain events. Dates must be expressed in the form "day month year". Years must be specified using four digits. Some legal dates are "12 mar 1995", "15 october 1994", "25 12 1995" (for December 25, 1995). Variations such as "mar 12 1995" or "12 dec" are illegal and produce an error message.
-u
<res>
Used to specify a resource. The res argument must match a single resource or an error is reported. See FORMAT OF THE res ARGUMENT for details on how to specify this argument.
-v
Print the current version number of unicpoutr.
-h
Print a message explaining how to run unicpoutr.
FORMATS
FORMAT OF THE res ARGUMENT
The res argument is a string of the form "key=value/key=value/...", where "key" is one of those listed in the following table, and "value" is any string. Both "key" and "value" are case insensitive. The "value" string may be terminated by a wild card symbol (*). If a forward slash "/" is to be included in a string, it should be escaped with the character "\" to prevent it from being interpreted as a key-value pair delimiter - i.e. "R=betacam\/loaner/S=Khupfer".
If, in a UNIX environment, a shell will be processing the string (for example, the string is provided on the command line or is passed as an argument to the utility), the string should be enclosed in quotation marks. Furthermore, if characters meaningful to the shell are included in the string, they should be escaped (i.e. preceded by the escape character "\") to prevent the shell from interpreting them.
Note that if the ID key-value pair is specified in the res argument, all other key-value pairs specified along with it are ignored.
Table 6-18 Accepted keys: UNICPOUTR
| Key | Field |
|---|---|
|
|
Resource name |
|
|
Resource number |
|
|
Capacity |
|
|
Contact's surname |
|
|
Contact's given name |
|
|
Identifier |
|
|
Resource unique identifier |
|
|
Location |
|
|
Phone number |
|
|
Fax phone number |
EXAMPLES
To copy the resource data for the resource "Kitchen" from node 20 to the file kitchen.dat:
% unicpoutr "R=Kitchen" -f kitchen.dat -n 20
To perform the same task, ignoring events before January 10, 1998:
% unicpoutr "R=Kitchen" -f kitchen.dat -start 10 1 1998 -n 20
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
WARNINGS
Agenda size and processing time
Depending on the size of the agenda, unicpoutr may take some time to complete.
Limitations of this utility
The unicp family of utilities have the following limitations that must be considered.
Events
From the perspective of a moved user (or resource), each of the moved events in the new agenda is a personal event with enough data in the description to determine who created the event and who the attendees are. All links are broken but there is sufficient information in the description to allow the links to be rebuilt.
Note also that where the agenda of one user (or resource) is being added to that of another, double-booking may occur.
Deleting a user (or resource)
When a user (or resource) is moved to a new node, that user (or resource) should be deleted from the old node (using uniuser -del).
When a resource is deleted, all traces of that resource are removed. Thus, that resource is no longer booked for events.
When a user is deleted, all traces of that user are removed. Thus, that user is no longer invited to events created by other users. Furthermore, and most importantly, all events created by the user are deleted. As a consequence, any user in the old node who was invited to an event by the moved user will no longer be able to view the event.
Moving several users (and/or resources) at a time
If several users (and/or resources) are to be moved, it is best to perform the move in three phases:
Copy the information on each user (and/or resource) from the source node to a file (using unicpoutu and/or unicpoutr).
Delete each user (and/or resource) from the source node.
Copy the information on each user (and/or resource) into the destination node using (unicpinu and/or unicpinr).
This ensures that information on any links among the users (and/or resources) being moved is not lost (see "Deleting a user (or resource)").
Directory Server Warning
It is important to understand the implications of the directory server configuration for Oracle Calendar server utilities. In a supplier-consumer configuration, the scheduling of updates between the consumer and supplier may result in temporary differences between the two. This may mean that an Oracle Calendar server utility is reading from a consumer directory server that has not yet been synchronized with its supplier.
SEE ALSO
unicpinr, unicpr
UNICPOUTUunicpoutu - Copy user data from an Oracle Calendar server node to a file.
SYNTAX
unicpoutu -u username [-f <filename>] [-host <hostname:port>] [-start <day> <month> <year>] [-end <day> <month> <year>] [-holiday] -n <node-ID> unicpoutu -v unicpoutu -h
DESCRIPTION
unicpoutu copies a user's data from an Oracle Calendar server node to a file. It can be used in conjunction with the unicpinu utility to copy an agenda from one user to another. Although it can also be used, in conjunction with unicpinu, to move a user from one node to another, unimvuser is the proper utility for moving users. unimvuser prevents the data loss that occurs when moving users with unicpoutu and unicpinu.
unicpoutu can only be run if the Oracle Calendar server is up.
unicpoutu copies the following information to the file (see unicpu for more information concerning the format and content of the output file):
the user's X.400 name and address
the user's password
the user's personal information. This includes the employee number, phone number, extension, fax number, job title and office mailing address
the user's agenda-specific preferences
the user's agenda information:
This includes the past and future events either owned by the user or to which the user is invited. Holiday events are not included unless the -holiday option is used. The -start and -end options may be used to export events falling within a specified time period.
Also included are all incomplete tasks and, by default, all completed tasks. The -start and -end options may be used to export completed tasks falling within a specified time period.
The following information is NOT copied to the file:
the access control lists associated with the user -- this includes a description of those rights granted to and by the user, such as designate or viewing rights
the user's groups
OPTIONS
-end
<day> <month> <year>
Set the end date of the events and tasks to be processed. By default, all events and tasks are output; this option and the -start option allow you to exclude certain events and tasks. Dates must be expressed in "day month year" form. Years must be specified using four digits. Some legal dates are "12 mar 1995", "15 october 1994", "25 12 1995" (for December 25, 1995). Variations such as "mar 12 1995" or "12 dec" are illegal and produce an error message.
-f
<filename>
Specify the output file name. The file must not exist. By default, standard output is used.
-holiday
Include the holidays from the user's agenda in the output file. Holidays are output as meetings, with all users in the node included as attendees to the meeting. If the user's agenda is subsequently input into a new node using unicpinu, only the existing holidays in the new node appear as holidays in the user's agenda; the holidays from the old node appear as meetings.
-host
<hostname:port>
Specify the name and port number of the host. Required if the host is remote. The port is optional and if omitted, the default port is used.
-n
<node-ID>
Specify the node.
-start
<day> <month> <year>
Set the start date of the events and tasks to be processed. By default, all events and tasks are output; this option and the -end option allow you to exclude certain events and tasks. Dates must be expressed in "day month year" form. Years must be specified using four digits. Some legal dates are "12 mar 1995", "15 october 1994", "25 12 1995" (for December 25, 1995). Variations such as "mar 12 1995" or "12 dec" are illegal and produce an error message.
-u
<user>
Used to specify a user. The user argument must match a single user or an error is reported. See FORMAT OF THE user ARGUMENT for details on how to specify this argument.
-v
Print the current version number of unicpoutu.
-h
Print a usage message explaining how to run unicpoutu.
FORMATS
FORMAT OF THE user ARGUMENT
The user argument is a string of the form "key=value/key=value/...", where "key" is one of those listed in the following table, and "value" is any string. Both "key" and "value" are case insensitive. The "value" string may be terminated by a wild card symbol (*). If a forward slash "/" is to be included in a string, it should be escaped with the character "\" to prevent it from being interpreted as a key-value pair delimiter - i.e. "S=Hoopla/OU1=R\/D".
If, in a UNIX environment, a shell will be processing the string (for example, the string is provided on the command line or is passed as an argument to the utility), the string should be enclosed in quotation marks. Furthermore, if characters meaningful to the shell are included in the string, they should be escaped (i.e. preceded by the escape character "\") to prevent the shell from interpreting them.
|
Note: If the ID key-value pair is specified in the user argument, all other key-value pairs specified along with it are ignored. |
Table 6-19 Accepted keys: UNICPOUTU
| Key | X.400 Field |
|---|---|
|
|
Surname |
|
|
Given name |
|
|
Initials |
|
|
Identifier |
|
|
User unique identifier |
|
|
Generation |
|
|
Organizational Unit 1 |
|
|
Organizational Unit 2 |
|
|
Organizational Unit 3 |
|
|
Organizational Unit 4 |
|
|
Organization |
|
|
Country |
|
|
Administration domain |
|
|
Private domain |
EXAMPLES
To copy the user data for "Herman, Sarah" from node 20 to the file "sherman.dat":
% unicpoutu -u "S=Herman/G=Sa*" -f sherman.dat -n 20
To perform the same task, ignoring tasks and events before January 10, 1998:
unicpoutu -u "S=Herman/G=Sa*" -f sherman.dat -start 10 1 1998 -n 20
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
WARNINGS
Agenda size and processing time
Depending on the size of the agenda, unicpoutu may take some time to complete.
Limitations of this utility
The unicp family of utilities have the following limitations that must be considered.
Events
From the perspective of a moved user (or resource), each of the moved events in the new agenda is a personal event with enough data in the description to determine who created the event and who the attendees are. All links are broken but there is sufficient information in the description to allow the links to be rebuilt.
Note also that where the agenda of one user (or resource) is being added to that of another, double-booking may occur.
When a user (or resource) is moved to a new node, that user (or resource) should be deleted from the old node (using uniuser -del).
When a resource is deleted, all traces of that resource are removed. Thus, that resource is no longer booked for events.
When a user is deleted, all traces of that user are removed. Thus, that user is no longer listed in the attendee lists of events created by other users. Furthermore, and most importantly, all events created by the user are deleted. As a consequence, any user in the old node who was invited to an event by the moved user will no longer be able to view the event.
Moving several users (and/or resources) at a time
If several users (and/or resources) are to be moved, it is best to perform the move in three phases:
Copy the information on each user (and/or resource) from the source node to a file (using unicpoutu and/or unicpoutr).
Delete each user (and/or resource) from the source node.
Copy the information on each user (and/or resource) into the destination node using (unicpinu and/or unicpinr).
This ensures that information on any links among the users (and/or resources) being moved is not lost (see "Deleting a user (or resource)").
Directory Server Warning
It is important to understand the implications of the directory server configuration for Oracle Calendar server utilities. In a supplier-consumer configuration, the scheduling of updates between the consumer and supplier may result in temporary differences between the two. This may mean that an Oracle Calendar server utility is reading from a consumer directory server that has not yet been synchronized with its supplier.
SEE ALSO
unicpinu, unicpu
unicpr - Format of the file the unicpoutr utility creates, and the unicpinr utility reads.
DESCRIPTION
The unicpoutr utility creates, and the unicpinr utility reads, an ASCII file with the following format.
{
<resource identification>
}
K Events:
<event descriptions>
Except for the open brace bracket and close brace bracket which respectively open and close the <resource identification> section of the file, each line of the file begins with a single character code which defines the data stored on that line. A space follows the single character code. The unicpinr utility ignores blank lines and lines beginning with unknown codes.
Codes in the <resource identification> section are not legal in the <event descriptions> section, and vice versa.
The following describes the lines that the <resource identification> section may contain.
Table 6-20 Accepted lines: UNICPR <resource identification>
| Code and Arguments | Data Type | Description |
|---|---|---|
|
E encrypt_flag |
boolean |
File encryption flag; currently only False is available |
|
F file_type |
string |
File type; currently this is the string "Unison Export File" |
|
I password |
string |
Resource's un-encrypted password |
|
N number |
integer |
Number of events in the file |
|
P preferences |
integers |
Resource's display and notification preferences; the 12 integers, from first to last, are: ShowEventTitles StartDay (in minutes) EndDay (in minutes) StartWeek display Display in time increments Display days Display time format Periodic refresh Refresh frequency Mail notification Reminders Lead time before reminders |
|
R a name |
string |
Resource's name |
|
R b number |
string |
Resource's number |
|
R c capacity |
string |
Resource's capacity |
|
R d phone_number |
string |
Resource's phone number |
|
R e extension |
string |
Resource's extension number |
|
R f fax_number |
string |
Resource's fax number |
|
V version# |
string |
Version number; currently this is A.02.53 |
|
X contact_data |
string |
Contact's X.400 data |
The following describes the lines that the <event descriptions> section may contain.
Table 6-21 Accepted lines: UNICPR <event descriptions>
| Code and Arguments | Data Type | Description |
|---|---|---|
|
S date |
string |
Event start time in (UNIAPI_TIME) or as a date specification |
|
D duration |
integer |
Event duration in minutes |
|
T title |
string |
Event title |
|
G location |
string |
Event location |
|
I class |
integer |
Event class (normal, holiday,...) |
|
R type&priority |
string |
Event type (normal, public,...) followed by priority (1, 2,...) |
|
M creator |
string |
Event creator |
|
W owner |
string |
Event owner |
|
A attending reminder leadtime |
string |
Indicates whether resource is attending (TRUE/FALSE); Visual Reminder (0, 1); Lead time (in minutes) |
|
C description |
string |
Event description; this may span several lines and include a list of attendees. When it does span more than one line, each subsequent line must begin with "C" as well. |
|
O |
End of an event instance |
EXAMPLES
The following is an example of a file containing one event from the kitchen resource agenda.
{
F Unison Export File
V A.04.00
E FALSE
X S=Baker/G=James
R a Kitchen
R b 12
R c 10
R d (123)-456-7890
R e 217
R f (123)-456-7891
I Password
P 4 480 1140 1 15 127 2 0 15 0 0 0
#These define display and notification preferences as follows:
# 4 ShowEventTitles
# 480 StartDay at 8:00am
# 1140 EndDay at 7:00pm
# 1 StartWeek display on Sunday
# 15 Display in time increments of 15 min.
# 127 Display all days Sunday to Saturday
# 2 Display time in am/pm format
# 0 Periodic refresh disabled
# 15 Refresh frequency 15 minutes
# 0 Mail notification disabled
# 0 No reminders
# 0 No lead time before reminders
N 1
}
K Events:
S 2262975
D 75
T Lunch
G Kitchen
I 0
R N0
M Kitchen
W Kitchen
A TRUE 1 5
C Lunch time
C David Robinson
C Kathy Bates
O
SEE ALSO
unicpinr(8), unicpoutr(8).
unicpu - File format of the file the unicpoutu utility creates, and the unicpinu utility reads.
DESCRIPTION
The unicpoutu utility creates, and the unicpinu utility reads, an ASCII file with the following format.
{
<user identification>
}
K Events:
<event descriptions>
K Tasks:
<task descriptions>
Except for the open brace bracket and close brace bracket which respectively open and close the <user identification> section of the file, each line of the file begins with a single character code which defines the data stored on that line. A space follows the single character code. The unicpinu utility ignores blank lines and lines beginning with unknown codes.
Codes in the <user identification> are not legal in either of the other two sections, and vice versa.
The following describes the lines that the <user identification> section may contain.
Table 6-22 Accepted lines: UNICPU <user identification>
| Code and Arguments | Data Type | Description |
|---|---|---|
|
E encrypt_flag |
boolean |
File encryption flag; currently only False is available |
|
F file_type |
string |
File type; currently this is the string "Unison Export File" |
|
I password |
string |
User's un-encrypted password |
|
N events tasks |
integers |
Number of events, tasks in the file; events is the number of events, tasks is the number of tasks |
|
P preferences |
integers |
User's display and notification preferences; the 12 integers, from first to last, are: ShowEventTitles StartDay (in minutes) EndDay (in minutes) StartWeek display Display in time increments Display days Display time format Periodic refresh Refresh frequency Mail notification Reminders Lead time before reminders |
|
U a address |
string |
User's address. This can span multiple lines, and when it does, each additional line must also begin with "U a ". |
|
U b empl_number |
string |
User's employee number |
|
U c phone_number |
string |
User's phone number |
|
U d fax_number |
string |
User's fax number |
|
U e extension |
string |
User's extension number |
|
U f job_title |
string |
User's job title |
|
V version# |
string |
Version number; currently this is A.02.51 |
|
X user_data |
string |
User's X.400 data |
The following describes the lines that the <event descriptions> section may contain.
Table 6-23 Accepted lines: UNICPU <event description>
| Code and Arguments | Data Type | Description |
|---|---|---|
|
S date |
string |
Event start time in (UNIAPI_TIME) or as a date specification |
|
D duration |
integer |
Event duration in minutes |
|
T title |
string |
Event title |
|
G location |
string |
Event location |
|
I class |
integer |
Event class (normal, holiday,...) |
|
R type&priority |
string |
Event type (normal, public,...) followed by priority (1, 2,...) |
|
M creator |
string |
Event creator |
|
W owner |
string |
Event owner |
|
A attending reminder leadtime |
string |
Indicates whether user is attending (TRUE/FALSE); Visual Reminder (0, 1); Lead time (in minutes) |
|
C description |
string |
Event description; this may span several lines and include a list of attendees. When it does span more than one line, each subsequent line must begin with "C" as well. |
|
O |
End of an event instance |
The following describes the lines that the <task descriptions> section may contain.
Table 6-24 Accepted lines: UNICPU <task description>
| Code and Arguments | Data Type | Description |
|---|---|---|
|
S starttime |
string |
Task start time in (UNIAPI_TIME) or as a date specification |
|
D endtime |
string |
Task end time as a date specification |
|
T title |
string |
Task title |
|
R priority |
integer |
Task priority |
|
L compl_level |
integer |
Completion level |
|
M creator |
string |
Task creator |
|
W owner |
string |
Task owner |
|
C description |
string |
Task description; this may span several lines. When it does span more than one line, each subsequent line must begin with "C" as well. |
|
O |
End of a task instance |
EXAMPLES
The following is an example of a file containing two events and one task from the agenda of James Baker.
{
F Unison Export File
V A.02.51
E FALSE
X S=Baker/G=James/I=T/OU1=Labs/OU2=SysAdmin
U a Calendar Server Corporation,
U a 1234 Software Blvd.,
U a Suite 999,
U a Software Valley, CA 99999.
U b 12
U c (123)-456-7890
U d (123)-456-7891
U e 215
U f System Administrator
I Password
P 4 480 1140 1 15 127 2 0 15 0 0 0
#These define display and notification preferences as follows:
# 4 ShowEventTitles
# 480 StartDay at 8:00am
# 1140 EndDay at 7:00pm
# 1 StartWeek display on Sunday
# 15 Display in time increments of 15 min.
# 127 Display all days Sunday to Saturday
# 2 Display time in am/pm format
# 0 Periodic refresh disabled
# 15 Refresh frequency 15 minutes
# 0 Mail notification disabled
# 0 No reminders
# 0 No lead time before reminders
N 2 1
}
K Events:
S 2262975
D 75
T Friday R&D meeting
G Conference Room
I 0
R N0
M Baker James
W Baker James
A TRUE 1 5
C Discuss next week's activities.
C James Baker
C David Robinson
C Kathy Bates
O
S D=25/Y=2000/M=April/T=00:00/z=EST5EDT
D 1440
T Company Holiday
I 1
R A2
M Robinson David
W Robinson David
A TRUE 0 0
O
K Tasks:
S D=1/Y=2000/M=April/T=8:00/z=EST5EDT
D D=30/Y=2000/M=April/T=17:00/z=EST5EDT
T System Overhaul.
R 3
L 70
M Baker James
W Baker James
C Upgrade OS version from A.02.50 to A.04.51
O
SEE ALSO
unicpinu(8), unicpoutu(8)
unidb2ldif - Export an Oracle Calendar server node to an LDIF file. This utility is not available with an Oracle Internet Directory Server installation. It is intended to be used with the Oracle Calendar server standalone installation.
SYNTAX
unidb2ldif -n <node-ID> [-host <hostname:port>] [-u <user>] unidb2ldif -v unidb2ldif -h
DESCRIPTION
unidb2ldif exports the database of a specific Oracle Calendar server node into an LDIF files: node<node-ID>.ldif. This file contains a series of modifications in the form of change records. The ldapmodify utility can use this file to populate a new directory server, and to add new entries to or modify existing entries in a pre-populated directory server.
Where a directory server is already in place, unidb2ldif checks the information in the directory server with what it finds in the Oracle Calendar server node to determine what to output to the LDIF files (i.e. whether an entry would need to be added to the directory server, or, if it already existed in the directory server, whether modifications to it would be required.
This utility is not available with Oracle Collaboration Suite installations. It is intended to be used with the standalone Oracle Calendar server installation.
OPTIONS
-n
<node-ID>
Specify the node to be exported.
-host
<hostname:port>
Specify the name and port number of the host. Required if the host is remote. The port is optional and if omitted, the default port is used.
-u
<user>
Specify the user, resource or event calendar account to export. See FORMAT OF THE <user> ARGUMENT for details on how to specify <user>.
-v
Print the current version number of unidb2ldif.
-h
Print a usage message explaining how to run unidb2ldif.
FORMATS
FORMAT OF THE <user> ARGUMENT
The user argument is a string of the form "key=value/key=value/...", where "key" is one of those listed in the following table, and "value" is any string. Both "key" and "value" are case insensitive. The "value" string may be terminated by a wild card symbol (*). If a forward slash "/" is to be included in a string, it should be escaped with the character "\" to prevent it from being interpreted as a key-value pair delimiter - i.e. "S=Hoopla/OU1=R\/D".
If, in a UNIX environment, a shell will be processing the string (for example, the string is provided on the command line or is passed as an argument to the utility), the string should be enclosed in quotation marks. Furthermore, if characters meaningful to the shell are included in the string, they should be escaped (i.e. preceded by the escape character "\") to prevent the shell from interpreting them.
|
Note: If the ID key-value pair is specified for specifying a user in the <user> argument, all other key-value pairs specified along with it are ignored. |
Table 6-25 Accepted keys for specifying event calendars: UNIDB2LDIF
| Key | X.400 Field |
|---|---|
|
|
Event calendar name |
Table 6-26 Accepted keys for specifying resources: UNIDB2LDIF
| Key | X.400 Field |
|---|---|
|
|
Resource name |
|
|
Resource number |
|
|
Resource unique identifier |
Table 6-27 Accepted keys for specifying users: UNIDB2LDIF
| Key | X.400 Field |
|---|---|
|
|
Surname |
|
|
Given name |
|
|
Initials |
|
|
Identifier |
|
|
User unique ID |
|
|
E-mail address |
|
|
Generation |
|
|
Organizational Unit 1 |
|
|
Organizational Unit 2 |
|
|
Organizational Unit 3 |
|
|
Organizational Unit 4 |
|
|
Organization |
|
|
Country |
|
|
Administration domain |
|
|
Private domain |
|
|
Phone number |
|
|
Fax phone number |
|
|
Employee number |
EXAMPLE
Export the database of node 10 on host jupiter to an LDIF file:
% unidb2ldif -n 10 -host jupiter
FILES
unidb2ldif.ini
The [UNIDB2LDIF] and [LDAP] sections of this file contain a number of parameters used by unidb2ldif.
[UNIDB2LDIF]
ldifdir = <directory>
Specify the output directory for LDIF files. The default is <calendar_install_path>/tmp.
userfilterfmt = "(uid=%UID%)"
Specify the LDAP search filter format to be used to match existing entries. By default, the User ID is used. Supported format codes are:
Table 6-28 Accepted keys for userfilterfmt parameter
| X.400 Field | Format Parameter |
|---|---|
|
Surname |
|
|
Given name |
|
|
Initials |
|
|
User ID |
|
|
|
|
|
Identifier |
|
|
Generation |
|
|
Organizational Unit 1 |
|
|
Organizational Unit 2 |
|
|
Organizational Unit 3 |
|
|
Organizational Unit 4 |
|
|
Organization |
|
|
Country |
|
|
Administration domain |
|
|
Private domain |
|
|
Phone number |
|
|
Fax phone number |
|
|
Employee number |
|
|
Job title |
|
[LDAP]
host = <hostname:port>
Specify the name and port number of the host on which the directory server is running. Should be specified when migrating to an existing directory server installation. The port is optional and if omitted, the default port is used.
port = <portnumber>
Specify an alternate TCP port on which the directory server is running. The default port is 389.
basedn = <dn>
Specify the starting point for search operations on the Directory Information Tree. This is also the base distinguished name used to create new directory entries, unless the -dnsuffix option is used.
binddn = <dn>
Specify the distinguished name used to bind to the directory server.
bindpwd = <password>
Specify the password used to bind to the directory server.
admin = <dncomponent>
Use in conjunction with baseDN to specify the location of the Oracle Calendar server administrators in the Directory Information Tree.
admingroup = <dncomponent>
Use in conjunction with baseDN to specify the location of the Oracle Calendar server administrators' group in the Directory Information Tree.
defaultpwd = <password>
Default user password to use for new Oracle Calendar server users and resources that are created. The default password is "sesame".
$ORACLE_HOME/ocal/log/unidb2ldif.log
A log file of all related errors and warnings.
$ORACLE_HOME/ocal/tmp/node<node-ID>.ldif
LDIF file describing a series of modifications in the form of change records.
WARNINGS
Surname attribute
"Surname" is a required attribute for the inetOrgPerson object class. Items without an assigned value for "Surname" have "Surname" initialized to "CalUser:".
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
unidbbackup - Create an archive of an Oracle Calendar server node and related configuration information.
SYNTAX
unidbbackup -d <dst> [-n <nodes>] [-blocking] [-lockall] unidbbackup -v unidbbackup -h
DESCRIPTION
unidbbackup creates a backup of an Oracle Calendar server's nodes and its related configuration information. More specifically, it creates a backup of the $ORACLE_HOME/ocal/misc directory and the $ORACLE_HOME/ocal/db directory. As the information in these two directories is interrelated, it is important to ensure they are backed up at the same time.
unidbrestore is the complementary utility to unidbbackup. By default, these utilities perform a copy of the source to the destination. If behavior other than a straight copy is needed, an alternate backup/restore command can be specified using the [UTL] external_backup and external_restore parameters in the unison.ini file. See FILES for details on how to specify an alternate backup command.
|
Caution: The backup and restore commands are inverse operations so if alternate commands are used, it is of critical importance to ensure they do in fact perform the inverse operation of each other. The integrity of the database is at stake. |
unidbbackup can be run when the Oracle Calendar server is either up or down.
|
Caution: unidbbackup backs up the Oracle Calendar server internal database. If a directory server is being used, its database should also be backed up. |
OPTIONS
-blocking
Perform the backup in read locking mode. This lock will accept all consecutive read until it encounters the first write. Then it will queue all read and write afterward. Users will not be able to use their calendar while the backup is performed using this option. This option should be used for very fast backups only.
-d
<dst>
Specify the destination for the archive, where <dst> is a directory name.
-lockall
Lock all the specified nodes at the same time instead of one by one. This will improve the data consistency for connected nodes.
-n
<nodes>
Specify which nodes to backup. The format of <nodes> is a simple list of node numbers separated by commas: "-n 102,103,104" (no blanks between node numbers). If none are specified, all nodes will be backed up.
-v
Print the current version number of unidbbackup.
-h
Print a usage message explaining how to run unidbbackup.
EXAMPLES
Back up the Oracle Calendar server nodes 102 and 104 to the directory /backups/cserver/jan.7.99:
% unidbbackup -d /backups/cserver/jan.7.99 - n 102,104
EXIT STATUS
Exit values are:
0 Success
Any nonzero value signals an error
FILES
$ORACLE_HOME/ocal/misc/unison.ini
The following keys in the [UTL] section of this file are of relevance to this utility:
lock_timeout
This key sets the timeout, in seconds, for the lock operation on the database.
backupatonce
This key is used in combination with the external_backup parameter. When set to TRUE, the alternate backup defined by external_backup is called once. When set to FALSE, the alternate backup is called for each node database directory and for the misc directory.
backup_timeout
This key sets the timeout, in seconds, for the backup operation on the database.
external_backup
This key provides a way for an alternate backup utility to be invoked by unidbbackup. unidbbackup uses the value of this key, along with the arguments supplied to unidbbackup on the command line, to construct (and subsequently invoke) the following command line:
value_of_external_backup [-f] -s <src> -d <dst>
where:
<dst> specifies the destination for the backup (unidbbackup constructs this from the <dst> argument specified by the user on the unidbbackup command line)
<src> specifies the source to be backed up (unidbbackup constructs this argument based on the information it finds in the $ORACLE_HOME/ocal/misc/unison.ini file)
-f indicates that the source is a file (absence of this flag indicates the source is a directory)
unidbbackup iteratively invokes the generated command line until all of the required database files are backed up, locking and unlocking the database for each iteration.
The administrator must ensure that the generated command line is in fact a valid one for the alternate utility. It may be that an intermediate utility is required to take this command line, create one which is valid, and then invoke it. In this case, external_backup would be set to invoke the intermediate utility.
The accepted value for external_backup is any command line. There is no assigned default value for this key.
SEE ALSO
unidbrestore
unidbconv - Convert a version 2.62, or 6.00 node database to version 6.10.
SYNTAX
unidbconv -n <node-ID> | all [-kp <numpages>] [-x] [-d <directory>] unidbconv -v unidbconv -h
DESCRIPTION
unidbconv converts a version 2.62, or 6.00 node database to version 6.10. In general you do not invoke this utility directly (a conversion is done automatically during the upgrade to a newer version of the Oracle Calendar server). The last two digits of the "version" parameter in the [<YOURNODEID>] section of the unison.ini file indicate the version of the node.
|
Caution: You should back up the Oracle Calendar server before invoking unidbconv as this utility overwrites the existing database. |
The Oracle Calendar server must be down to run unidbconv.
In the database's Misc directory, you need to have a file named state.ini that contains a section named [SETUP] and at least one blank line. Data on the conversion process will be written to this file so that the conversion can be resumed in case of a failure.
OPTIONS
-d
<directory>
Specify the temporary directory to be used for the conversion. The directory must exist. By default, a directory named New will be used; this directory is found at the same level as Misc.
-n
<node-ID> | all
Perform the conversion on the specified node only (if <node-ID> is used) or on all nodes (if all is used).
-kp
<numpages>
Specify the number of cache pages to use for scanning and rebuilding key files. If this option is not used, the default value of 32000 is used instead.
-x
Turn off progress indicator.
-v
Print the version number of unidbconv.
-h
Print a usage message explaining how to run unidbconv.
EXAMPLES
Convert all Oracle Calendar server node databases to version 6.10 node databases:
% unidbconv -n all
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
unidbfix - Check, repair, defragment and maintain an Oracle Calendar server node database.
SYNTAX
unidbfix -c [-pix|-pi] -n <node-ID> | all [-r] [-kp <numpage>] [-level [basic|full]] unidbfix -f [-pix|-pi] -n <node-ID> | all [-r] [-y] [-kp <numpage>] [-level [basic|full]] unidbfix -d [-pix|-pi] -n <node-ID> | all [-r] [-y] [-kp <numpage>] [-level [basic|full]] unidbfix -export [-pix|-pi] -n <node-ID> | all [-r] [-kp <numpage>] unidbfix -import [-pix|-pi] -n <node-ID> | all [-r] [-y] [-kp <numpage>] unidbfix -ck -n <node-ID> | all [-r] [-y] [-kp <numpage>] unidbfix -k -n <node-ID> | all [-r] [-y] [-kp <numpage>] unidbfix -i [-pix|-pi] -n <node-ID> | all [-r] [-kp <numpage>] unidbfix -v unidbfix -h
DESCRIPTION
unidbfix checks for and repairs database corruptions and/or inconsistencies, and/or defragments and compresses a node database. You should run unidbfix as part of a regular database maintenance program.
|
Caution: Database corruption may occur if you do not use the version of unidbfix that ships with, or is compatible with, the version of the Oracle Calendar server you are running. Consult Oracle Support if you have any questions on compatibility. |
|
Caution: Before invoking this utility with one of the -f, -d, or -import options it is highly recommended that you make a backup of the database. You only need to back up the data (*.dat) files as unidbfix can reconstruct the key (*.key) files from the data files. |
unidbfix carries out checks and repairs on the following parts of the database of the specified node:
Remote Nodes
Host Node
Nextslot and File Size
Records
Calendar-dependent Data Fields
Pointers
Delete Chain
Key Files
unidbfix runs in one of eight different modes as listed. If, in any mode, unidbfix makes a fix, it reports that fix. The scan phases for each mode appear in the order in which they occur. See the NOTES section for additional information on the Remote Nodes, Bins, and File Fragmentation scan phases.
Table 6-29 unidbfix modes
| Mode | Option | Scan Phases | Changes Database |
|---|---|---|---|
|
check |
-c |
File Sizes Nodes Remote Nodes Records Sets Bins ( Dchain Key Check Database Info ( |
No |
|
fix |
-f |
File Sizes Nodes Remote Nodes Records Sets Bins ( Dchain File Fragmentation ( Key Build Database Info ( |
Yes |
|
defragment |
-d |
Files Sizes Nodes Remote Nodes Records Sets Bins Dchain File Fragmentation Key Build |
Yes |
|
import |
-import |
RemoteNodes Key Build |
Yes |
|
export |
-export |
Remote Nodes |
No |
|
check key |
-ck |
Key Build (in check mode) |
No |
|
fix key |
-k |
Key Build (in fix mode) |
Yes |
|
info |
-i |
Database Info |
No |
unidbfix can be run in check mode while the Oracle Calendar server is running. During a unidbfix -c, the server will only accept read requests (including users logging on and logging off).
For the check and fix modes there are two levels of operation: basic and full. The level is specified using the -level option. full is the default. The level controls which database checks are done. The basic level only checks for the most common errors, while the full level checks for more errors. As a result the basic mode is much faster than the full level.
You can run multiple instances of unidbfix -c, each instance must be run on a different node. You can run a full unidbfix on a stopped node while the rest of the nodes are active. See unistop to know how to stop a node.
Use uninode, not unidbfix -import, to administer the node network. Use unidbfix with the -import option only to fix corruptions in the remote node connection information in the database.
You can run unidbfix -export while the Oracle Calendar server is running.
OPTIONS
-c
Run in check mode. unidbfix reports all database corruptions and inconsistencies but takes no action to correct them (use fix mode to do this). If unidbfix detects an error, it stops the check after the scan phase in which it finds the errors. For instance, if it discovers an error during the File Sizes scan phase, it terminates on completion of this scan phase. It does not proceed to the Nodes scan phase.
-ck
Run in check key mode. Checks only the key files of the database.
-d
Run in defragment mode. In this mode unidbfix frees space occupied by deleted records. To ensure database consistency, unidbfix checks the database for errors and fixes any it finds before it proceeds with defragmentation.
|
Caution: While it is possible to interrupt unidbfix during the defragmentation phase using a kill -9, this causes irreversible damage to the database. |
-export
Run in export mode. In export mode unidbfix writes remote node information from the database to the remotenode.ini file. Note that it writes only the non-null fields for each remote node to the file. See the REMOTE NODES SCAN PHASE note for an example of how to use the -export mode.
-f
Run in fix mode. Fix and clean up the database. This fixes all errors detected in check mode. In some circumstances unidbfix may be forced to delete data (for example, where corruption to the data is such that unidbfix is unable to repair it, or where orphan data cannot be safely re-integrated).
-i
Run in info mode. In this mode unidbfix outputs various database statistics to the dbfix.log file.
-import
Run in import mode. In import mode unidbfix writes remote node information from the remotenode.ini file to the database. See the REMOTE NODES SCAN PHASE note for an example of how to use the -import mode as well as warnings on its use.
-k
Run in fix key mode. Rebuilds only the key files of the database.
-kp
<numpage>
Specifies the number of cache pages to use for scanning and rebuilding key files. If this option is not used, the default value of 32000 is used instead. Larger values may significantly increase key scanning and rebuilding performance.
-level
basic | full
Specify the level for check and fix modes. Full is the default level. The basic level is faster and checks for the most common errors. The full level is slower and checks for more errors.
-n
<node-ID> | all
Specify the node to check/fix/defragment or on which to build/scan key files. Use -n all to scan all the nodes on a computer.
-pi
Turn on the progress indicator. By default, the progress indicator is off.
-pix
Turn off the progress indicator. By default, the progress indicator is off.
-r
Overwrite the $ORACLE_HOME/ocal/log/dbfix.log log file, rather than append output to it.
-y
Turn fix and defragmentation confirmation message off.
-v
Print the current version number of unidbfix.
-h
Print a usage message, and a short description of each option.
EXAMPLES
Check the consistency of node 35:
% unidbfix -c -n 35
Fix node 12:
% unidbfix -f -n 12
Run unidbfix in check mode with the level set to full on node 567.
unidbfix -c -level full -n 567
Defragment and compress node 10 and overwrite the log file:
% unidbfix -d -n 10 -r
FILES
$ORACLE_HOME/ocal/log/dbfix-node-x.log
The "x" in the file name will be replaced by the node number. If "unidbfix -n all" is used, the file name will be $ORACLE_HOME/ocal/log/dbfix-node-all.log. unidbfix writes any errors it finds and/or any fixes it makes, to this file. It lists each error as a DATABASE ERROR, and each repair as a Fix. unidbfix can repair any database error it finds. Totals of all errors found, fixes made, and records deleted during fixing, appear at the end of the file. Note that the total number of database errors need not equal the total number of fixes. You do not normally need to consult this file.
$ORACLE_HOME/ocal/log/unison.ini
Consult this file for a listing of all local nodes, with their corresponding directory names and node-IDs.
remotenode.ini
unidbfix uses this file in import and export modes. It creates this file in a node's perm directory the first time it runs on the node. The file contains a listing of all the remote node records and their data fields. The information for each remote node is as follows:
[Node-ID] RN_NUMCONNECT: any number zero and above RN_ACCESSMETHOD: must be 2 RN_SERVICENAME: must be "unieng" RN_HOSTNAME: name of the remote host
Node-ID is the remote node identification number. It must be enclosed in square brackets and it must start a line. A field can have a null value. If any field has an invalid value, unidbfix returns an error message, and does not make the change for the remote node with the error.
The following sample remotenode.ini file contains two remote nodes: the first has the node-ID 730 and the name "NewYork"; the second has the node-ID 631 and the name "LosAngeles".
[730] RN_NUMCONNECT = 2 RN_ACCESSMETHOD = 2 RN_SERVICENAME = "unieng" RN_HOSTNAME = "NewYork" [631] RN_NUMCONNECT = 2 RN_ACCESSMETHOD = 2 RN_SERVICENAME = "unieng" RN_HOSTNAME = "LosAngeles" unidbfix.lck
This is a lock file which prevents multiple instances of unidbfix from running on the same node simultaneously. unidbfix creates this in the perm directory of the node on which it is running. In the event that a kill -9 or a system malfunction prevents unidbfix from running to completion, this file remains in place. It may be manually deleted.
EXIT STATUS
Exit values are:
0 Success
No errors found (check mode)
Errors found but fixed (fix mode)
Successfully defragmented (defragment mode)
Successful import (import mode)
Successful export (export mode)
1 Errors Found
Errors were found (check mode)
2 Usage error
3 User interrupt
4 Aborted
Another instance of unidbfix was running on the node.
5 Stopped
unidbfix either found errors in the remote node records while in fix or check mode, or it could not find the remotenode.ini file. It needed more information to be able to continue checking or fixing.
NOTES
KEY FILES
Note that unidbfix rebuilds the key files of the database in fix, defragment, import, and fix key modes. If unidbfix is interrupted during any of these modes, the key files may have been deleted and not yet rebuilt. For this reason, it is highly recommended that you run unidbfix again after an interruption.
BINS AND FILE FRAGMENTATION SCAN PHASES
In the Bins, Key build and File Fragmentation scan phases, unidbfix rebuilds files without checking for, or reporting, previously existing errors. In all other scan phases all errors reported in check mode are reported in fix mode before being fixed.
REMOTE NODES SCAN PHASE
For this scan phase to run, the node's remotenode.ini must exist, and its contents must agree with the list of remote nodes in the database. When one of these conditions is not met, you can use the -export and -import modes to rectify the situation. The explanations that follow use the node-ID "43".
CONDITION: A remotenode.ini file does not exist for node 43. In this case, generate one from the remote node list in the database:
% unidbfix -export -n 43
CONDITION: The remote node list in the database does not agree with the information in the remotenode.ini file for node 43. In this case, rectify the discrepancy as follows.
First write the remote node information from the database to the remotenode.ini file for node 43:
% unidbfix -export -n 43
Make any required edits to the resulting remotenode.ini file.
|
Caution: Edit with care! Errors in this file may lead to unwanted deletion of records when the file is imported. For this reason it is highly recommended that you back up the database before running unidbfix in -import mode. |
Update the database with the modified file:
% unidbfix -import -n 43
|
Caution: Use uninode, not unidbfix -import, to administer the node network. Use unidbfix with the -import option only to fix corruptions in the remote node connection information in the database. |
SEE ALSO
unistart, unistop, uninode, unirndel
unidbrestore - Restore an Oracle Calendar server node and configuration information from a backup created by unidbbackup.
SYNTAX
unidbrestore -s <src> [-d <dst>] [-n <node-ID>] [-nomisc] unidbrestore -v unidbrestore -h
DESCRIPTION
unidbrestore - restores the node and configuration information of an Oracle Calendar server from a backup created by unidbbackup.
|
Caution: By default, the destination directory for the restore is$ORACLE_HOME/ocal. This means that the restore overwrites the existing files of the Oracle Calendar server database. Thus, this utility should be used with extreme care to ensure the Oracle Calendar server database is not inadvertently corrupted. A more careful approach would be to use the -d option to specify a different directory for the restore and then copy the individual files from the restored directory into the $ORACLE_HOME/ocal directory. |
unidbbackup is the complementary utility to unidbrestore. By default, these utilities perform a copy of the source to the destination. If behavior other than a straight copy is needed, an alternate backup/restore command can be specified using the [UTL] external_backup and external_restore parameters in the unison.ini file. See FILES for details on how to specify an alternate restore command.
|
Caution: The backup and restore commands are inverse operations so if alternate commands are used, it is of critical importance to ensure they do in fact perform the inverse operation of each other. The integrity of the database is at stake. |
unidbrestore can only be run when the Oracle Calendar server is down.
|
Caution: unidbrestore restores the Oracle Calendar server's internal database. If a directory server is being used, its database is untouched by unidbrestore. Therefore, if you restore an Oracle Calendar server node after deleting users, you will have to add them back into the directory server. Similarly, if you restore a single node after changing node network information, you will encounter errors due to the conflict between the current network configuration and the restored node's old network information. Contact Oracle Support for more details if this occurs to you. |
OPTIONS
-d
<dst>
Specify the destination for the restore. By default this is the $ORACLE_HOME/ocal directory.
-n
<node-ID>
Specify a node to restore.
-nomisc
Do not restore the /misc directory.
-s
<src>
Specify the backup source, where <src> is a directory name.
-v
Print the current version number of unidbrestore.
-h
Print a usage message explaining how to run unidbrestore.
EXAMPLES
Restore node 45 of the Oracle Calendar server backup /backups/cserver/jan.7.99 to the directory $ORACLE_HOME/ocal:
% unidbrestore -s /backups/cserver/jan.7.99 -n 45
EXIT STATUS
Exit values are:
0 Success
Any nonzero value signals an error
FILES
$ORACLE_HOME/ocal/misc/unison.ini
The following parameters in the [UTL] section are of relevance to this utility:
lock_timeout
This parameter sets the timeout, in seconds, for the lock operation on the database.
restore_timeout
This parameter sets the timeout, in seconds, for the restore operation on the database.
external_restore
This parameter provides a way for an alternate restore utility to be invoked by unidbrestore. unidbrestore uses the value of this parameter, along with the arguments supplied to unidbrestore on the command line, to construct (and subsequently invoke) the following command line:
value_of_external_restore [-f] -s <src> -d <dst>
where
-d <dst> specifies the destination for the restore (unidbrestore constructs this from the dst argument supplied on the unidbrestore command or if no argument was supplied, uses the default)
-s <src> specifies the source to be restored (unidbrestore constructs this from the src argument supplied on the unidbrestore command line)
-f indicates that the source is a file (absence of this flag indicates the source is a directory)
unidbrestore iteratively invokes the generated command line until all of the required database files are restored, locking and unlocking the database for each iteration.
It is up to the user to ensure that the generated command line is in fact a valid one for the alternate utility. It may be that an intermediate utility is required to take this command line, create one which is valid, and then invoke it. In this case, "external_restore" would be set to invoke the intermediate utility.
The accepted value for "external_restore" is any command line. There is no assigned default value for this key.
SEE ALSO
unidbbackup
unidsacisetup - Set the access control information in the directory server for the Oracle Calendar server ADMIN group. This utility is not available with Oracle Collaboration Suite. It is intended to be used with Oracle Calendar server standalone installations.
SYNTAX
unidsacisetup unidsacisetup -info unidsacisetup -v unidsacisetup -h
DESCRIPTION
unidsacisetup sets the directory server access control information (ACI) for the Oracle Calendar server ADMIN group. Although you can use directory server utilities to set ACIs, it is advisable to use unidsacisetup to ensure the ACI for the ADMIN group is properly set. Most Oracle Calendar server utilities do not run unless the ACI for the ADMIN group is set.
This utility should be run every time a new Oracle Calendar server ADMIN group is created, i.e. every time the [LDAP] admingroup parameter in the unison.ini file is changed.
unidsacisetup runs whether the Oracle Calendar server is up or down. The directory server, however, must be running.
This utility does not work with the Oracle Internet Directory Server which is part of the Oracle Collaboration Suite. It is intended to be used with a third party directory server in an Oracle Calendar server standalone installation.
OPTIONS
-info
Display the list of directory servers for which this utility can create access control information.
-v
Print the version number of unidsacisetup.
-h
Print a usage message explaining how to run unidsacisetup.
EXAMPLES
Display the list of directory servers for which unidsacisetup can set ACI:
% unidsacisetup -info
Set the ACI for the Oracle Calendar server ADMIN group:
% unidsacisetup
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
unidsdiff - Find and delete differences between an Oracle Calendar server node and a directory server.
SYNTAX
unidsdiff [-n <node-ID>] [-host <hostname:port>] [-d] [-y] [-verbose] unidsdiff -v unidsdiff -h
DESCRIPTION
This utility finds all users, resources and event calendar accounts in an Oracle Calendar server node without a match in the directory server and vice versa. By default, it only reports discrepancies. Use the -d option to delete discrepancies.
The Oracle Calendar server assigns each account (user, resource or event calendar) a unique identifier called an xItemId. Unidsdiff first checks that each xItemId (for the specified node) in the directory server:
is unique
has a single user, resource or event calendar associated with it
is expressed in a valid format
If unidsdiff detects an xItemId which does not pass one of these checks, it aborts; directory server utilities must be used to correct the problem. Otherwise unidsdiff proceeds to verify that:
all accounts in the Oracle Calendar server node appear in the directory server (if the -d option was used, any users, resources or event calendars appearing only in the Oracle Calendar server node are removed)
all calendar accounts in the directory server appear in the Oracle Calendar server node (if the -d option was used, any calendar users, resources or event calendars appearing only in the directory server are removed from the directory server, i.e. they no longer appear as calendar users, resources or event calendars in the directory server).
The Oracle Calendar server must be up to run unidsdiff.
OPTIONS
-d
Delete the differences found. The user is prompted to confirm each deletion. Without the -d option, unidsdiff simply lists the differences.
-host
<hostname:port>
Specify the name and port number of the host to connect to. Required if the host is remote. The port is optional and if omitted, the default port is used.
-n
<node-ID>
Specify a node. Required if more than one exists.
-y
Auto-confirm the deletion of any calendar or directory entry when you use the -d option.
-verbose
Display all Distinguished Names in the directory associated with the node.
-v
Print the current version number of unidsdiff.
-h
Print a usage message explaining how to run unidsdiff.
EXAMPLES
Run unidsdiff on node 10:
% unidsdiff -n 10 -host inkpen Enter SYSOP password: unidsdiff: detected 0 duplicate "ctCalXItemId" attributes in directory unidsdiff: detected 0 multi-valued "ctCalXItemId" attributes in directory unidsdiff: detected 0 badly-formed "ctCalXItemId" attributes in directory unidsdiff: detected 0 calendar-stores without a matching directory entry unidsdiff: detected 0 calendar directory entries without a matching calendar-store
In this case, no discrepancies were found between the directory server and the Oracle Calendar server. A verbose version of the same command would result in the following output:
% unidsdiff -n 10 -host inkpen -verbose Enter SYSOP password: DN="cn=Lorde Audre,o=Acme,c=us"<ctCalXItemID010:00346> DN="cn=Kilpi Eeva,o=Acme,c=us"<ctCalXItemID010:00347> : : DN="cn=Cohen Leonard,o=Acme,c=us"<ctCalXItemID010:00484> DN="cn=Atwood Margaret,o=Acme,c=us"<ctCalXItemID010:00485> DN="cn=Brossard Nicole,o=Acme,c=us"<ctCalXItemID010:00486> unidsdiff: detected 0 duplicate "ctCalXItemId" attributes in directory unidsdiff: detected 0 multi-valued "ctCalXItemId" attributes in directory unidsdiff: detected 0 badly-formed "ctCalXItemId" attributes in directory unidsdiff: detected 0 calendar-stores without a matching directory entry unidsdiff: detected 0 calendar directory entries without a matching calendar-store
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
WARNINGS
Directory Server Warning
It is important to understand the implications of the directory server configuration for Oracle Calendar server utilities. In a supplier-consumer configuration, the scheduling of updates between the consumer and supplier may result in temporary differences between the two. This may mean that an Oracle Calendar server utility is reading from a consumer directory server that has not yet been synchronized with its supplier.
Directory Servers are often implemented with a size limit for search results. This limit can prevent entries from being retured from a search request. In such cases the output of a unidsseach may not contain all the non-calendar users. Use the -f option to supply an additional filter if the user you are looking for is not listed.
unidssearch - List all users in a directory server who are not calendar users.
SYNTAX
unidssearch [-f <LDAPfilter>] [-c <numDN>] unidssearch -v unidssearch -h
DESCRIPTION
unidssearch lists all users in the directory server who are not calendar users. The output of this command may be redirected to a file, modified as needed, and subsequently used as input to uniuser (using the -ex option). See OUTPUT FORMAT for information on the format of the file output by unidssearch.
The Oracle Calendar server must be up to run unidssearch.
OPTIONS
-f
<LDAPfilter>
Specify a raw LDAP filter to combine ("AND") with the default filter to retrieve users from an LDAP directory. Refer to your directory server documentation for exact attributes that can be specified in the LDAP filter. The values specified in the filter must be in the configured character set of the directory server (for example, UTF-8, T.61). The default filter is:
[&(objectClass=organizationalPerson)(|(!(ctCalXItemId=*)) (!(ctCalXItemId=*:*)))]
-c
<numDN>
Limit the number of results returned to this number.
-v
Print the current version number of unidssearch.
-h
Print a usage message explaining how to run unidssearch.
FORMATS
OUTPUT FORMAT
The content of the file output by unidssearch has the following format:
A did=cn=jdoe, o=Acme, c=US A did=cn=confroom4, o=Acme, c=US
Each entry has an initial "A" character, followed by a "did". The "A" flags the user as one to add to the directory server as a calendar user. The "did" is the Directory ID or Distinguished Name of the user, uniquely identifying that user in the Directory Server.
The format of this file is the same as that required for the input file to the uniuser -ex command. If this is the intended use of the file, additional user data may be appended to the "did", in X.400 format. For example:
A did=cn=jdoe, o=Acme, c=US/G=John/OU=Sales
EXAMPLES
Obtain a listing of all directory server users who are not calendar users and redirect the output to a file:
% unidssearch > dsonly.txt
Obtain a listing of 50 directory server users who are not calendar users:
% unidssearch -c 50
Obtain a listing of only those directory server users whose surnames begin with "Smith" (the specified filter conforms to the requirements of the directory server being used):
% unidssearch -f "(sn=Smith*)"
WARNINGS
Directory server warning
It is important to understand the implications of the directory server configuration for Oracle Calendar server utilities. In a supplier-consumer configuration, the scheduling of updates between the consumer and supplier may result in temporary differences between the two. This may mean that an Oracle Calendar server utility is reading from a consumer directory server that has not yet been synchronized with its supplier.
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
SEE ALSO
uniuser
unidssync - Synchronize the information in an Oracle Calendar server node with that in a directory server or refresh the Global Address List (GAL).
SYNTAX
unidssync -u <user> [-remote] [-n <node-ID>] [-host <hostname:port>] unidssync -galrefresh [-n <node-ID>] [-host <hostname:port>] unidssync -absync [SCHEDULED | <user>] [-n <node-ID>] unidssync -v unidssync -h
DESCRIPTION
unidssync is only used when connected to an external directory server. This utility synchronizes the information in an Oracle Calendar server node with that in the directory server. Use the -u option to synchronize a single user, resource or event calendar account.
unidssync should be run when other applications using the directory server have changed directory server entries without the knowledge of the Oracle Calendar server.
This condition might allow discrepancies to arise between the information in the internal store of the Oracle Calendar server node and that in the directory server. unidssync eliminates discrepancies, using the directory server as the authority. It should be run as part of a regular maintenance program.
|
Note: Theunidssync utility follows directory server syntax rules. The utility performs a comparison based on the attribute matching rule. If the matching rule is case insensitive, and only the case is changed, the Oracle Calendar server will not consider the change a difference. Therefore, the attribute value change will not be propagated to the Oracle Calendar server. |
The Oracle Calendar server must be up to run unidssync.
OPTIONS
-absync
Synchronize Common Address Book entries with the Directory Server. By default, Common Address Book synchronization is executed at a preset interval. Using the -absync option forces an immediate synchronization of the Common Address Book.
-galrefresh
Refresh the Global Address List (GAL).
-host
<hostname:port>
Specify the name and port number of the host. Required if connecting to a remote host. The port is optional and if omitted, the default port is used.
-n
<node-ID>
Specify the node. Required if more than one node exists.
-remote
Synchronize the remote records also. By default, only records of local users, resources and event calendars are synchronized. This feature can be used in rare cases where a CWS replication request is lost or can't be serviced, resulting in un-synchronized remote records. Performing a synchronization with -remote will force a synchronization of remote records.
-u
<user>
Used to specify a user, resource or event calendar to synchronize. See FORMAT OF THE <user> ARGUMENT for details on the <user> argument.
-v
Print the current version number of unidssync.
-h
Print a usage message explaining how to run unidssync.
FORMATS
FORMAT OF THE <user> ARGUMENT
The user argument is a string of the form "key=value/key=value/...", where "key" is one of those listed in the following table, and "value" is any string. Both "key" and "value" are case insensitive. The "value" string may be terminated by a wild card symbol (*). If a forward slash "/" is to be included in a string, it should be escaped with the character "\" to prevent it from being interpreted as a key-value pair delimiter - i.e. "S=Hoopla/OU1=R\/D".
If, in a UNIX environment, a shell will be processing the string (for example, the string is provided on the command line or is passed as an argument to the utility), the string should be enclosed in quotation marks. Furthermore, if characters meaningful to the shell are included in the string, they should be escaped (i.e. preceded by the escape character "\") to prevent the shell from interpreting them.
|
Note: If the ID key-value pair is specified for specifying a user in the <user> argument, all other key-value pairs specified along with it are ignored. |
Table 6-30 Accepted keys for specifying event calendars: UNIDSSYNC
| Key | X.400 Field |
|---|---|
|
|
Event calendar name |
Table 6-31 Accepted keys for specifying resources: UNIDSSYNC
| Key | X.400 Field |
|---|---|
|
|
Resource name |
|
|
Resource number |
|
|
Resource unique identifier |
Table 6-32 Accepted keys for specifying users: UNIDSSYNC
| Key | X.400 Field |
|---|---|
|
|
Surname |
|
|
Given name |
|
|
Initials |
|
|
Identifier |
|
|
User unique ID |
|
|
E-mail address |
|
|
Generation |
|
|
Organizational Unit 1 |
|
|
Organizational Unit 2 |
|
|
Organizational Unit 3 |
|
|
Organizational Unit 4 |
|
|
Organization |
|
|
Country |
|
|
Administration domain |
|
|
Private domain |
|
|
Phone number |
|
|
Fax phone number |
|
|
Employee number |
EXAMPLES
Synchronize the contents of node 10 on host "fergus" with the directory server information for that node:
% unidssync -n 10 -host fergus
Synchronize Common Address Books for all users on node 1:
% unidssync -absync -n 1
Synchronize the Common Address Book for uid "jsmith" on node 5:
% unidssync -absync UID=jsmith -n 5
WARNINGS
Directory Server Warning
It is important to understand the implications of the directory server configuration for Oracle Calendar server utilities. In a supplier-consumer configuration, the scheduling of updates between the consumer and supplier may result in temporary differences between the two. This may mean that an Oracle Calendar server utility is reading from a consumer directory server that has not yet been synchronized with its supplier.
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
unidsup - Report the status of the directory server.
SYNTAX
unidsup [-q] [-host <hostname:port>] unidsup -v unidsup -h
DESCRIPTION
unidsup reports whether or not the directory server is running.
The Oracle Calendar server must be up to run unidsup.
OPTIONS
-host
<hostname:port>
Specify the name and DAS port number of the host. Required if the host is remote. The port is optional and if omitted, the default port is used.
-q
Operate in quiet mode (produces no output when the directory server is up).
-v
Print the version number of unidsup.
-h
Print a usage message explaining how to run unidsup.
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
uniencrypt - Encrypt a password for inclusion in an Oracle Calendar server configuration file.
SYNTAX
uniencrypt -m <method> -s <string> uniencrypt -v uniencrypt -h
DESCRIPTION
uniencrypt uses the encryption method specified by the -m option to encrypt the string (usually a password) specified by the -s option. Any password supplied in an Oracle Calendar server configuration file (such as those specified by the [LDAP] bindpwd and writednpassword parameters) must first be encrypted using this utility.
uniencrypt returns the encrypted password preceded by the encryption method used to generate it. For example, {std}ruyr84jf. Generally, this entire value, including the encryption method and curly braces, should be enclosed in double quotes and included as the value of the password specified in the Oracle Calendar server configuration file. For example:
[LDAP]
bindpwd = "{std}ruyr84jf"
uniencrypt can be run when the Oracle Calendar server is up or down.
OPTIONS
-m
<encryption_method>
Specifies the encryption method to use. Accepted values currently include only std, a proprietary affine cipher encryption method, and base64. If this argument is not used, std will be used by default.
-s
<string>
Specifies the string to encrypt. If this is option is not used, uniencrypt will prompt for the string to encrypt.
-v
Print the current version number of uniencrypt.
-h
Print a usage message explaining how to run uniencrypt.
EXAMPLES
Encrypt the password "secure123" using the default encryption method:
% uniencrypt -s secure123
{std}q1qn1z0ij75
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
unigroup - Manage public and administrative groups.
SYNTAX
unigroup -info [-host <hostname:port>] [-n <node-ID>] [-uid <uid>] | [-krb]] unigroup -ls [<group>] [-members] [-host <hostname:port>] [-n <node-ID>] [-uid <uid>] | [-krb]] unigroup -add <group> [-host <hostname:port>] [-n <nodeid>] [[-uid <uid>] | [-krb]] unigroup -del <group> [-y] [-host <hostname:port>] [-n <nodeid>] [[-uid <uid>] | [-krb]] unigroup -mod <group> -m <modifier> [-host <hostname:port>] [-n <nodeid>] [[-uid <uid>] | [-krb]] unigroup -attach <group> -u <user> [-host <hostname:port>] [-n <nodeid>] [[-uid <uid>] | [-krb]] unigroup -detach <group> -u <user> [-host <hostname:port>] [-n <nodeid>] [[-uid <uid>] | [-krb]] unigroup -v unigroup -h
DESCRIPTION
Unigroup lets you manage public and administrative groups. You can create, modify and delete groups. You can list existing groups and their members.
Note that only administrative groups can be created.
Note that if a directory server is used, any groups created in the directory server are also included in the output of unigroup. If members are listed, only the members of the directory server group who are also calendar users are listed.
unigroup can only be run if the Oracle Calendar server is up.
OPTIONS
-add
<group>
Create an administrative group. See FORMAT OF THE <group> ARGUMENT for details on the <group> argument.
-attach
<group>
Add a user or resource to the specified group. See FORMAT OF THE <group> ARGUMENT for details on the <group> argument. Use -u to specify the user or resource to be added.
-del
<group>
Delete the specified group. See FORMAT OF THE <group> ARGUMENT for details on the <group> argument.
-detach
<group>
Remove a user or resource from the specified group. See FORMAT OF THE <group> ARGUMENT for details on the <group> argument. Use -u to specify the user or resource to be removed.
-host
<hostname:port>
Specify the name and port number of the host. Required if the host is remote. The port is optional and if omitted, the default port is used.
-info
Display information on the valid parameters for defining groups.
-krb
Use automatic Kerberos login with a valid Kerberos ticket. To use this option, the user running the utility must be an Oracle Calendar server user with administrative rights, and have a UID on the Kerberos server that matches the Oracle Calendar server UID. This option cannot be used with the -uid option.
-ls
<group>
List the groups matching the specified group filter <group>. See FORMAT OF THE <group> ARGUMENT for details on the <group> argument. If no <group> argument is passed, all groups will be listed. Unless "node-id=*" is used for the <group> argument, only the groups created on the local node (specified by the -n option) will be listed.
-m
<modifier>
Specify the modification to be applied to a group using the <modifier> argument. This option is used with the -mod option. Use the same format as the <group> argument used with the -mod option. See FORMAT OF THE <group> ARGUMENT for details on the <modifier> argument.
-members
Print the individual members of each group output. Use this option with the -ls option.
-mod
<group>
Modify a group's name or change it from public to administrative. You cannot change an admin group to public. Specify the group to be modified using the <group> parameter. See FORMAT OF THE <group> ARGUMENT for details on the <group> argument. Use -m to specify the changes to make.
-n
<node-ID>
Specify the node on which the group is located. Required if more than one node is configured.
-u
<user>
Used with the -attach and -detach options to specify a user or resource. See FORMAT OF THE <user> ARGUMENT for details on the <user> argument.
-uid
<user-ID>
The administrator's user ID. If none is specified the SysOp is used.
-y
Used with the -del option to auto-confirm the deletion(s).
-v
Print the current version number of unigroup.
-h
Print a usage message explaining how to run unigroup.
FORMATS
FORMAT OF THE <user> ARGUMENT
The user argument is a string of the form "key=value/key=value/...", where "key" is one of those listed in the following table, and "value" is any string. Both "key" and "value" are case insensitive. The "value" string may be terminated by a wild card symbol (*). If a forward slash "/" is to be included in a string, it should be escaped with the character "\" to prevent it from being interpreted as a key-value pair delimiter - i.e. "S=Hoopla/OU1=R\/D".
If, in a UNIX environment, a shell will be processing the string (for example, the string is provided on the command line or is passed as an argument to the utility), the string should be enclosed in quotation marks. Furthermore, if characters meaningful to the shell are included in the string, they should be escaped (i.e. preceded by the escape character "\") to prevent the shell from interpreting them.
|
Note: If the ID key-value pair is specified for specifying a user in the <user> argument, all other key-value pairs specified along with it are ignored. |
Table 6-33 Accepted keys for specifying resources: UNIGROUP
| Key | X.400 Field |
|---|---|
|
|
Resource name |
|
|
Resource number |
|
|
Resource unique identifier |
Table 6-34 Accepted keys for specifying users: UNIGROUP
| Key | X.400 Field |
|---|---|
|
|
Surname |
|
|
Given name |
|
|
Initials |
|
|
Identifier |
|
|
User unique ID |
|
|
E-mail address |
|
|
Generation |
|
|
Organizational Unit 1 |
|
|
Organizational Unit 2 |
|
|
Organizational Unit 3 |
|
|
Organizational Unit 4 |
|
|
Organization |
|
|
Country |
|
|
Administration domain |
|
|
Private domain |
|
|
Phone number |
|
|
Fax phone number |
|
|
Employee number |
|
|
Department |
|
|
Display name |
|
|
Home phone number |
|
|
Alternate home phone number |
|
|
Alternate business phone |
|
|
Building name |
|
|
Office street address |
|
|
City |
|
|
State |
|
|
Postal Code |
|
|
Pager |
|
|
User's Alias |
|
|
Notes |
|
|
Assistant's name |
|
|
Assistant's phone number |
FORMAT OF THE <group> ARGUMENT
The group argument is a string of the form "key=value/key=value/...", where "key" is one of those listed in the following table, and "value" is a string. Both "key" and "value" are case insensitive. The "value" string may be terminated by a wild card symbol (*). If a forward slash "/" is to be included in a string, it should be escaped with the character "\" to prevent it from being interpreted as a key-value pair delimiter - i.e. "NAME=Marketing/TYPE=Admin".
If, in a UNIX environment, a shell will be processing the string (for example, the string is provided on the command line or is passed as an argument to the utility), the string should be enclosed in quotation marks. Furthermore, if characters meaningful to the shell are included in the string, they should be escaped (i.e. preceded by the escape character "\") to prevent the shell from interpreting them.
Table 6-35 Accepted keys for specifying groups: UNIGROUP
| Key | X.400 Field |
|---|---|
|
|
Group name |
|
|
Group type: |
|
|
Group ID number |
|
|
Group's node ID |
EXAMPLES
Create an admin group called "Marketing" on node 8.
% unigroup -add "NAME=Marketing" -n 8 unigroup: NAME=Marketing/ID=4096/NODE-ID=8/TYPE=Admin
Add a user to the group "Marketing"
% unigroup -attach "NAME=Marketing/TYPE=Admin" -u "S=Moore" -n 8 unigroup: Item has been attached to the group
List users of the group "Marketing"
% unigroup -ls "NAME=Marketing" -members -n 8 unigroup: NAME=Marketing/ID=4096/NODE-ID=8/TYPE=Admin Total Member(s): 1 User: S=Moore/G=Roger/UID=Rogerm/ID=260/Node-ID=8
To display all groups in node 20 on the remote host "jupiter":
% unigroup -ls "Node-id=*" -host jupiter -n 20
To display all members of the group "Managers" in node 10 on the local host:
% unigroup -ls "NAME=Managers" -members -n 10
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
uniical - Import, export, process or delete calendar entries to or from a user's agenda using iCAL objects. The uniical utilility supports the iCalendar format as specified by Oracle Calendar SDK. For more information about this format see, "Calendar SDK Supported Data Components and Properties" in Chapter 3 of Oracle Calendar Application Developer's Guide.
SYNTAX
uniical -import -u <user> [-f <filename>] [-charset <charset>] [-stoponerror] [-organizer <email>][ [-neverresolvemail] | [-alwaysresolvemail] ] -host <hostname:port> -n <node-ID> [[-uid <uid>] | [-krb]] uniical -process -u <user> [-f <filename>] [-charset <charset>] [-stoponerror] [-organizer <email>][ [-neverresolvemail] | [-alwaysresolvemail] ] -host <hostname:port> -n <node-ID> [[-uid <uid>] | [-krb]] uniical -export -u <user> [-f <filename>] [ [-end <date>] [-start <date>] | [-eventuid <uid>] ] -host <hostname:port> -n <node-ID> [[-uid <uid>] | [-krb]] uniical -del -u <user> [-f <filename>] [-charset <charset>] [-stoponerror] -host <hostname:port> -n <node-ID> [[-uid <uid>]| [-krb]] uniical -v uniical -h
DESCRIPTION
The uniical utility is used with the -import option to update a calendar user's agenda with information from an input file containing one or more iCAL VEVENT objects. The -del option is used to delete entries from the user's agenda. The -process option is used to process iCAL methods contained in the input file. This option can be used to create, modify and delete calendar entries using the same input file. Oracle iCALmethods are used to specify the operation to be applied on the particular event.
Each of the iCAL VEVENT objects describes either a new meeting or an existing meeting to be modified. By default, the name of the input file is icalin.ics or icalin.txt. See FORMAT OF THE INPUT FILE for more information on the input file.
When uniical adds a new meeting to a user's agenda, it creates a UID for that meeting and maps the iCAL VEVENT attributes to Oracle Calendar server attributes as described in the FORMAT OF THE INPUT FILE. By default, uniical assumes that you intend to modify all existing meetings specified in the input file. If you specify the -del option, uniical deletes all of these existing meetings from the user's agenda. See FORMAT OF THE INPUT FILE for more information on the minimal VEVENT attributes required to add, modify or delete events.
By default, to update a user's agenda, uniical signs on to the specified Oracle Calendar server node as the SYSOP. To sign-on as a designate user use the -uid option to specify a designate user.
When you export a user's agenda with uniical, both meetings that the user organized and the meetings where the user is only an invited attendee are exported.
|
Note: Events that are owned by the user, where the user is not an attendee will not be exported. |
When an event is imported with uniical into a user's agenda, the event may be organized by the user (it's his meeting) or by someone else (he is only an attendee to that meeting). The event may also have other attendees beside the user.
Uniical by default passes the -alwaysresolveemail option to the server, so whether the user organizes the meeting or is simply an attendee, the other attendees are shown as internal.
An internal attendee is a user who also has a calendar account in the same calendar network. When a meeting is added with an internal attendee, a meeting will appear in that attendee's own agenda. The attendee's e-mail in the iCAL object is used to try to match the attendee to an existing calendar user. An external attendee is someone who is only listed as an attendee with no connection to the calendar network. Use the -alwaysresolvemail and-neverresolvemail options to change this behavior by either forcing to match to internal users or to set every attendee as external attendees.
Use the -organizer option to override the organizer e-mail in the iCAL object.
uniical outputs the UID attribute for each meeting it creates, modifies or deletes. It also logs any errors, along with the rest of its activity, in the $ORACLE_HOME/ocal/log/uniical.log file.
uniical runs on any machine running an Oracle Calendar server. The Oracle Calendar server must be up to run uniical.
|
Note: This utility works properly only if the[ENG] standards parameter in the configuration file $ORACLE_HOME/ocal/misc/unison.ini is set to {CAPI,ICAL2.0}. |
OPTIONS
-alwaysresolvemail
Always match the iCAL attendee email address to an existing calendar user when possible. With this option, the match will be attempted even when the organizer is someone else. When no existing Calendar users are found, the attendee is set as an external attendee.
-charset
<charset>
Define the NLS character set of the iCalendar data in the input file. When not specified, the AL32UTF8 character set will be used. The value specified will not affect environment settings. Valid values for <charset> include:
UTF8
English:
WE8ISO8859P1
US7ASCII
WE8MSWIN1252
AL32UTF8
WE8ISO8859P15
Brazilian Portuguese, French, German, Italian:
WE8ISO8859P1
WE8MSWIN1252:
AL32UTF8
WE8ISO8859P15
Japanese:
JA16EUC
JA16SJIS
AL32UTF8
Korean:
KO16KSC5601
AL32UTF8
Simplified Chinese:
ZHS16GBK
ZHS32GB18030
AL32UTF8
Traditional Chinese:
ZHT16MSWIN950
ZHT16HKSCS
AL32UTF8
-del
Delete from the user's agenda all existing events specified in the input file.
-end
<date>
Specify the end date of the range of calendar data to be processed. Use the following date format: mm/dd/yyyy
-eventuid
<eventuid>
Specifies the event UID of the event to export.
-export
Export all existing events in the range specified by the -end and -start options from the user's agenda to the output file. To export one specific entry from the agenda, use the -eventuid option to specify the single entry. Events that are owned by the user, where the user is not an attendee will not be exported.
-f
<filename>
Specify the name of the input file containing the iCAL VEVENT objects. By default icalin.ics. For input, if icalin.ics is not found, icalin.txt is used. For output, icalin.ics is the default file name used.
-host
<hostname:port>
Specify the name and port number of the specified user's node database. The port is optional and if omitted, the default port is used.
-import
Import all existing events specified in the input file into the user's agenda.
-krb
Use automatic Kerberos login with a valid Kerberos ticket. To use this option, the user running the utility must be an Oracle Calendar server user with administrative rights, and have a UID on the Kerberos server that matches the Oracle Calendar server UID. This option cannot be used with the -uid option.
-n
<node-ID>
Specify the user's node. Required if more than one node exists on the specified host.
-neverresolvemail
Never match the iCAL attendee email address to an existing calandar user. All iCAL attendees will be considered 'external attendees'.
-organizer
<e-mail>
Specify the e-mail address of the event organizer which will override the one in the iCAL object.
-process
Process all existing iCAL methods specified in the input file. Each iCAL object in the input file must contain a METHOD. Supported methods are the following:
X-ORACLE-IMPORT The iCAL event will be created if it does not exist in the agenda, otherwise it will be modified
X-ORACLE-CREATE The iCAL event must not exist in the agenda
X-ORACLE-MODIFY The iCAL event must exist in the agenda
X-ORACLE-DELETE
Example of iCAL entry:
METHOD: X-ORACLE-MODIFY
-start
<date>
Specify the start date of the range of calendar data to be processed. Use the following date format: mm/dd/yyyy
-stoponerror
Stop after encountering an error.
-u
<user>
Specify the user, resource or event calendar in whose agenda to create, modify and delete events. See FORMAT OF THE user ARGUMENT for details on the <user> argument. When managing holidays using uniical, use the -u option with the holiday argument.
-uid
<user-ID>
The user under whose authority the uniical is executed. It can be the same user as specified in the -u option, or a designate user. If none is specified the Calendar SysOp is used.
-v
Print the current version number of uniical.
-h
Print a usage message explaining how to run uniical.
FORMATS
FORMAT OF THE INPUT FILE
The input file contains one or more iCAL VEVENT objects, where each object has the following format:
BEGIN:VCALENDAR VERSION:2.0 PRODID:Oracle/Oracle Calendar Server 10.1.1.0.2 BEGIN:VEVENT <VEVENT attributes> END:VEVENT END:VCALENDAR
The <VEVENT attributes> are some or all of the attributes listed. Also listed is how uniical maps these attributes to Oracle Calendar server data fields.
DTSTART
Maps to start time. Specified in UTC (Universal Time Code). For example, "20020714T173000Z" represents July 15, 2002, at 5:30 PM. Note that the Oracle Calendar server measures time in minutes, and discards the seconds value of this attribute.
DTEND
Maps to end time. Specified in UTC. See DTSTART for detail.
DURATION
Maps to duration. Specified in the format P0DT<hours>H<minutes>M<seconds>S. For example, PT2H30M0S specifies a duration of two and a half hours. The value of this attribute cannot exceed 23 hours and 59 minutes. Note that the Oracle Calendar server measures time in minutes, and discards the seconds value of this attribute.
SUMMARY
Maps to event title. Limited to 64 characters.
PRIORITY
Maps to importance level. iCAL priorities 1, 3, 5, 7 and 9 map to importance levels highest, high, normal, low and lowest respectively. uniical assigns a priority level of 5 (normal) if none is specified.
CLASS
Maps to access level. Case-insensitive. iCAL classes "public", "private" and "confidential" map to access levels "public", "personal" and "confidential" respectively. uniical assigns the class "public" if none is specified.
LOCATION
Maps to location. Limited to 32 characters.
DESCRIPTION
Maps to details. Truncated if greater than 32 KB.
UID
Does not map directly to any Oracle Calendar server field. The Oracle Calendar server stores iCAL UIDs separately.
COMMENT
Discarded.
Commas in the values of the DESCRIPTION, LOCATION, SUMMARY and COMMENT attributes must be preceded with a backslash (\).
The minimal information required to create a new event is DTSTART along with either DTEND or DURATION.
The minimal information required to modify an existing meeting is the correct UID and start time of the meeting. uniical first looks for the specified start time in the iCAL RECURRENCE-ID attribute. If it does not find the value there, it uses the value of DTSTART. To modify the start time of a meeting, you must specify the original start time in the RECURRENCE-ID attribute, and the new start time in the DTSTART attribute.
The minimal information required to delete an existing meeting is the correct UID. This is also the only attribute uniical takes into account for deletions. Thus, if two events have the same UID, there is no way to use uniical to delete only one of them.
uniical creates repeating meetings if two or more new iCAL events have the same UID but different DTSTART values. However, if one of these events is later input for deletion, uniical deletes all instances of the recurring meeting.
If a new event appears twice in the input file, and the second instance does not have its own unique UID, the second event overwrites the first.
Sample input file The following input file contains two iCAL VEVENT objects. The first describes a new meeting to be created in the specified user's agenda at 4:00 PM on January 31, 2001; the second describes a modification to be made to an existing meeting. The modification to the existing meeting changes the start time from 4:30 PM to 4:45 PM. uniical uses the UID and the start time specified by the RECURRENCE-ID attribute to find the meeting in the specified user's agenda. It also updates the meeting information with the changes specified by other attributes.
BEGIN:VCALENDAR VERSION:2.0 PRODID:Oracle/Oracle Calendar Server 9.0.4 BEGIN:VEVENT DESCRIPTION: NYPMRN: 99999990DXMRN:9999999990DX Comment: <appointment comments> LOCATION: Type: <type> IDX# <IDX visit identifier> DTSTART:20010131T160000Z DURATION:P0DT0H20M0S COMMENT:IDX visit identifier SUMMARY:Carter Dickson PRIORITY:3 END:VEVENT END:VCALENDAR BEGIN:VCALENDAR VERSION:2.0 PRODID:Oracle/Oracle Calendar Server 9.0.4 BEGIN:VEVENT DESCRIPTION: NYPMRN: 99999990DXMRN:9999999990DX Comment: <appointment comments> LOCATION: Type: <type> IDX# <IDX visit identifier> DURATION:P0DT0H20M0S SUMMARY:John Dickson Carr COMMENT:IDX visit identifier DTSTART:20000215T164500Z RECURRENCE-ID:20000215T163000Z PRIORITY:6 END:VEVENT END:VCALENDAR
FORMAT OF THE <user> ARGUMENT
The <user> argument, which is used to represent a user, resource or event calendar, is a string of the form "key=value/key=value/...", where "key" is one of those listed in the following table, and "value" is any string. Both "key" and "value" are case insensitive. For all keys except the ID key, the "value" string may be terminated by a wild card symbol (*). If a forward slash "/" is to be included in a string, it should be escaped with the character "\" to prevent it from being interpreted as a key-value pair delimiter - i.e. "S=Hoopla/OU1=R\/D".
If, in a UNIX environment, a shell will be processing the string (for example, the string is provided on the command line or is passed as an argument to the utility), the string should be enclosed in quotation marks. Furthermore, if characters meaningful to the shell are included in the string, they should be escaped (i.e. preceded by the escape character "\") to prevent the shell from interpreting them.
|
Note: If the ID key-value pair is specified in the user argument, all other key-value pairs specified along with it are ignored. |
The format parameters listed in the third column are used with the -format option to configure the presentation of a listing (see EXAMPLES). For a more complete list of the keys and formats that can be used, use the -info option.
Table 6-36 Accepted event calendar keys for the -u option: UNIICAL
| Key | X.400 Field | Format Parameter |
|---|---|---|
|
|
Event calendar name |
%N% |
Table 6-37 Accepted resource keys for the -u option: UNIICAL
| Key | X.400 Field | Format Parameter |
|---|---|---|
|
|
Resource name |
%R% |
|
|
Resource number |
%N% |
|
|
Resource unique identifier |
|
Table 6-38 Accepted user keys for the -u option: UNIICAL
| Key | X.400 Field | Format Parameter |
|---|---|---|
|
|
Surname |
|
|
|
Given name |
|
|
|
Initials |
|
|
|
Identifier |
|
|
|
Generation |
|
|
|
User unique identifier |
|
|
|
Organizational Unit 1 |
|
|
|
Organizational Unit 2 |
|
|
|
Organizational Unit 3 |
|
|
|
Organizational Unit 4 |
|
|
|
Organization |
|
|
|
Country |
|
|
|
Administration domain |
|
|
|
Private domain |
|
|
|
Phone number |
|
|
|
Fax phone number |
|
|
|
Employee number |
|
|
|
Job title |
|
|
|
Value of |
|
|
|
Department |
|
|
|
Display name |
|
|
|
Home phone number |
|
|
|
Alternate home phone number |
|
|
|
Alternate business phone |
|
|
|
Building name |
|
|
|
Office street address |
|
|
|
City |
|
|
|
State |
|
|
|
Postal Code |
|
|
|
Pager |
|
|
|
User's Alias |
|
|
|
Notes |
|
|
|
Assistant's name |
|
|
|
Assistant's phone number |
|
EXAMPLES
Update the agenda of the user Mark Johnson in the organizational unit "Pediatrics" on node 12 of host horus with the contents of the input file /pediatric/IDXtoCST.txt. Use the designate user Alfred Kelvin to perform the update to Mark Johnson's agenda:
% uniical -import -u "S=Johnson/OU1=Pediatrics" -uid "UID=akelvin" -host horus -n 12 -f /pediatric/IDXtoCST.txt uniical: Event has been imported. UID = 20030614T160536Z-423-18b6-Oracle@server1 uniical: Event has been imported. UID = 20030614T150536Z-234-18b6-Oracle@server1 uniical: Event has been imported. UID = 20030614T160566Z-432-18b6-Oracle@server1 uniical: Event has been imported. UID = 20030614T160586Z-243-18b6-Oracle@server1
Execute the same procedure, but this time using the designate user "sysop" and writing the results to the file MJohnson.txt:
% uniical -import -u "S=Johnson/OU1=Pediatrics" -host horus -n 12 -f /pediatric/IDXtoCST.txt > MJohnson.txt
Delete all meetings in the input file ./axe.txt from the agenda of user Mark Johnson in the organizational unit "Pediatrics" on node 12 of host horus:
% uniical -del -u "S=Johnson/UID=Pediatrics" -uid "Pediatrics" -host horus -n 12 -f ./axe.txt uniical: Event has been deleted. UID = 20030616T160546Z-403-18b6-Oracle@server1 uniical: Event has been deleted. UID = 20030616T167776Z-403-18b9-Oracle@server1
Import a holiday from the input file ./holiday.txt to Oracle Calendar server node 10 using the SYSOP as the designated user:
% uniical -import -u holiday -n 10 -f holiday.txt uniical: Event has been imported. UID = 20060515T185134Z-401-8848-746085f3-Oracle
|
Note: For more information about importing multiple holidays using the uniical utility, see "Creating Holidays" in Chapter 11 of the Oracle Calendar Administrator's Guide. |
FILES
/users/unison/log/uniical.log
uniical logs its activity in this file.
./icalin.txt
The default input file for uniical.
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
NOTES
See IETF RFC 2445 for additional information on iCAL.
unil2bendian - Convert an Oracle Calendar server node database from a format for little-endian Windows processors to a format for big-endian processors. For more details on this utility, contact Oracle support.
SYNTAX
unil2bendian [-n <node-ID>] unil2bendian -v unil2bendian -h
DESCRIPTION
unil2bendian is used when migrating a node database from an Oracle Calendar server running on a little-endian Windows machine to one running on a big-endian UNIX machine (HP-UX, Solaris, or AIX).
This utility converts the *.dat files of the node database from little-endian to big-endian format. The conversion is executed on a copy of the files, leaving the original database untouched. The *.dat files are the only ones necessary to convert; the remaining files are built on the destination machine.
unib2lendian is the complementary utility for converting files from big-endian UNIX format to little-endian Windows format.
unil2bendian can only be run when the Oracle Calendar server is down.
OPTIONS
-n
<node-ID>
Specify a node to convert. Required if more than one node exists on the local host.
-v
Print the current version number of unil2bendian
-h
Print a usage message explaining how to run unil2bendian.
EXAMPLES
MIGRATING A NODE FROM A LITTLE-ENDIAN TO A BIG-ENDIAN MACHINE
The following example converts node 45, and moves it from an Oracle Calendar server running on a little-endian machine to an Oracle Calendar server running on a big-endian system.
Stop the Oracle Calendar server on both machines. Do not restart either server until instructed to later in this procedure.
Run unil2bendian on the target node.
unil2bendian -n 45
The converted copy of the node can be found in the $ORACLE_HOME/ocal/db/nodes/<N#>/perm_conv directory, where <N#> is the value of the name parameter in the unison.ini section corresponding to the target node.
Copy the section corresponding to the target node in the old host's $ORACLE_HOME/ocal/misc/unison.ini file to the unison.ini file on the new host. For example:
[45] name = N1 version = A.02.50
Delete this section from the unison.ini file on the old host.
Copy all *.dat files in the perm_conv directory to the $ORACLE_HOME/ocal/db/nodes/<N#>/perm directory on the big-endian system. If the node same <N#> exists on the new host, rename the directory before moving the target directory to the new host.
On the new host, copy the $ORACLE_HOME/ocal/db/nodes/Nempty/perm/unison.dbd and $ORACLE_HOME/ocal/db/nodes/Nempty/perm/vista.ctb files into the $ORACLE_HOME/ocal/db/nodes/<N#>/perm directory.
If the target node is part of a node network, you MUST update the network information before restarting the Oracle Calendar server.
|
Caution: Failure to carry out this step may result in data loss and/or database corruption. |
First, stop all Oracle Calendar servers in the node network.
Use unidbfix to export the information in the remotenode.dat file to EACH and EVERY node's remotenode.ini file. For example, if the network were to consist of nodes 30, 35, 40, 45 and 50:
% unidbfix -export -n 30 % unidbfix -export -n 35 % unidbfix -export -n 40 % unidbfix -export -n 45 % unidbfix -export -n 50
Remember that unidbfix must be run on each node's local host.
Edit the $ORACLE_HOME/ocal/db/nodes/<Nx>/perm/remotenode.ini file for each node in the network, and change the host name associated with node 45.
If moving to a big-endian UNIX host, run uniclean on node 45 to ensure that file ownership and permissions for the copied files are set correctly.
Run unidbfix -k on node 45 to create key files.
Use unidbfix -import to update the remotenode.dat file with the new information in the remotenode.ini files. % unidbfix -import -n 30 % unidbfix -import -n 35 % unidbfix -import -n 40 % unidbfix -import -n 45 % unidbfix -import -n 50
This also rebuilds the key files for each node.
Update the $ORACLE_HOME/ocal/misc/nodes.ini file to reflect the change in host names for node 45.
Restart all Oracle Calendar servers.
EXIT STATUS
Exit values are:
0 Success
1 Failed to convert the database
2 Usage error
SEE ALSO
unidbfix, unistart, unistop, uninode
unilogons - Display Oracle Calendar server SIGNON/SIGNOFF statistics.
SYNTAX
unilogons [-s <starttime>] [-e <endtime>] [-i <interval>] [-f <filename>] unilogons -t -s <starttime> -e <endtime> -i <interval> [-f <filename>] unilogons -t [<time>] [-f <filename>] unilogons -v unilogons -h
DESCRIPTION
unilogons displays the signon and signoff activity of users on an Oracle Calendar server at a specific time or during a specific time period. By default it uses the information in the $ORACLE_HOME/ocal/log/act.log file. The -f option may be used to specify another input file.
|
Note: This utility does not display signon and signoff activity that occurred using the Oracle Calendar Web Client |
Use the -t option to display activity at a given time and date. The -s and -e options can be used to display activity during a specified period of time. The -i option specifies a regular time interval (for example, every 15 minutes) within the specified period.
By default, all activity between the default start-time (the first minute of the current day) and the default end-time (the current system time) is displayed.
The Oracle Calendar server must be up to run unilogons.
OPTIONS
-e
<endtime>
Specify an end time for the statistics. Without this option, the default end time is the current time of the current day. See FORMAT OF THE time ARGUMENTS for details on how to specify <endtime>.
-f
<filename>
Specify the name of the input file. By default the input file is $ORACLE_HOME/ocal/log/act.log. The input file specified with the -f option must be in the same format as the act.log file.
-i
<interval>
Specify a time interval. The default interval is <endtime> minus <starttime>. See FORMAT OF THE interval ARGUMENTS for details on how to specify interval.
-s
<starttime>
Specify a start time for the statistics. Without this option, the default start time is the first minute of the current day. See FORMAT OF THE time ARGUMENTS for details on how to specify <starttime>.
-t
[<time>]
If used without the -s, e, and -i options, this displays statistics for the current time (-t) or for a given time (-t <time>). When used together with all of the -s, -e, and -i options, the -t (without a time argument) restricts output to activity at only the precise times determined by the interval (-i) argument. See the last two EXAMPLES for sample output of the -s, -e, -i options both with and without the -t option. See FORMAT OF THE time ARGUMENTS for details on how to specify time.
-v
Print the current version number of unilogons.
-h
Print a usage message explaining how to run unilogons.
FORMATS
FORMAT OF THE time ARGUMENTS
The <starttime>, <endtime>, and <time> arguments may each be expressed as either:
day month [year] [time] or
[month day] time [year]
where
day
is a number between 1 and 31
month
is either the full name of the month or the first three letters of the full name (for example, jan, feb, mar, and so on). Note that month is not case-sensitive.
year
must be 1991 or higher and must be specified using four digits
time
is in the form HH:MM or HH:MM:SS (HH is an integer between 0 and 23, MM is an integer between 0 and 59, and SS is an integer between 0 and 59)
The order of the individual elements in the argument is unimportant. What is important is that either day and month be specified, or time be specified. For example, the following are all valid:
Feb 22 2003 10:00:00 22 february 10:00:00 10:00:00 february 22 2003 2003 feb 22 feb 22 10:00:00
Default values for day, month, year and time are current day, current month, current year and current system time respectively.
Any missing field in time (HH, MM, or SS) is replaced with the current HH, MM, or SS value. Thus, if the current date and time is March 12 2003 10:12:34, and only HH:MM are specified in the argument, the SS becomes "34":
-e 12:41 -> March 12 2003 12:41:34 -s 12:41 -> March 12 2003 12:41:34
If none of the time fields are specified, starttime defaults to the first minute of the day, and endtime defaults to the last minute of the day:
-s feb 22 -> feb 22 2003 00:00:00 -e feb 22 -> feb 22 2003 23:59:59
FORMAT OF THE interval ARGUMENT
The interval argument must be an integer greater than zero and be input as minute, hour or day as follows:
minutes: 1m, 2m, etc. up to 999999999m (9 digits) hours: 1h, 2h, etc. up to 9999999h (7 digits) days: 1d, 2d, etc. up to 99999d (5 digits)
EXAMPLES
Display the current number of logged-on users:
unilogons -t
Display the number of users logged-on at 3:00 p.m. on October 6, 2003:
unilogons -t oct 6 2003 15:00
This would produce the following output:
Time 1: Oct 6 2003 15:00:00 ------------------------------------- Client Logged-On Name & Version unisncd 2 Windows/32/Oracle Calendar 1 ------------------------------------- Totals: 3
Display the number of users logged-on at 3:00 p.m. on October 6, 2003, and at each 15-minute interval, up to 5:00 p.m. on October 6, 2003.
unilogons -t -s oct 6 2003 15:00:00 -e oct 6 2003 17:00:00 -i 15m
A sample section of the output from this command shows the form of what is output for each of the times 15:00:00, 15:15:00, 15:30:00, and so on, up to 17:00:00. (Compare this with the output of the next example, where the -t is removed from the command line.)
Time 1: Oct 6 2003 15:00:00 ------------------------------------- Client Logged-On Name & Version unisncd 2 Windows/32/Oracle Calendar 1 ------------------------------------- Totals 3
Output the signon/signoff statistics for a defined period of time (from 3:00 p.m. to 5:00 p.m. on October 6, 2003), providing cumulative statistics for each of the 15-minute intervals in the period. Note how the output from this command line differs from that of the previous example where the -t was included.
unilogons -s oct 6 2003 15:00:00 -e oct 6 2003 17:00:00 -i 15m
For each of the 15-minute time intervals within the entire time period, output similar to the following is displayed:
Time Period 1: From Oct 6 2003 15:00:00 Till Oct 6 2003 15:15:00 -------------------------------------------------------------------------------- Client Logons Logoffs Average Time Median Time Name & Version Logged-On(hrs) Logged-On(hrs) Not Available 0 2 20.71 23.98 unisncd 2 0 9.83 9.83 Windows/32/OracleCalendar 4 4 0.02 0.02 -------------------------------------------------------------------------------- Totals 6 6
FILES
$ORACLE_HOME/ocal/log/act.log
By default unilogons obtains its information from this file. Note that this file is only created if the [ENG] activity parameter in unison.ini is set to "TRUE".
WARNINGS
Input file and processing time
unilogons may take some time to finish depending on the size of the input file.
Input file and disk space
The disk space requirement to run unilogons is one and a half times the input file. Thus, if the size of the input file is 8 Mb, approximately 12 Mb of free disk space is required to run unilogons. unilogons creates its temporary files in the $ORACLE_HOME/ocal/tmp directory so sufficient free space must exist in that directory.
EXIT STATUS
Exit values are:
0 Success
1 Failure
unimem - Display information on memory usage.
SYNTAX
unimem unimem -p unimem -pmap <pid> unimem -system unimem -v unimem -h
DESCRIPTION
The unimem utility provides information on memory usage. unimem can be used to obtain information on: system memory, detailed reports of the memory usage of all the daemons processes of Oracle Calendar server, and a summary of the memory usage of all the daemons with an average on a per calendar session basis. By default unimem displays the memory usage of all daemons in a table. Each daemon has its own column and the last column is the total of all daemons. It should be noted that some totals are not always the sum of the previous columns. For instance, the last column of the "Total shared" line in included examples, represents the biggest value of all shared memory used by the daemons, since all daemons are linking to the same shared libraries and using the same shared memory segments.
OPTIONS
-p
Display a summary of the memory usage of all the daemons of the Oracle Calendar server followed by a detailed address space map for each process of each daemon.
-pmap
<pid>
Display the address space map of the specified process.
-system
Display system memory information.
-v
Print the current version number of unimem.
-h
Print a usage message explaining how to run unimem.
PLATFORM SPECIFIC NOTES
The methodology used to gather memory usage information on the different platforms is explained in this section.
LINUX
The entry /proc/<pid>/maps of the process file system is used to obtain the address space allocation of each process. The actual memory utilization is computed from the address space allocation as follows:
The size of memory segments with permission "rw-p" is added to the private memory usage total.
The size of memory segments with permission "rwxp" (i.e., process and thread stacks) is added to the private memory usage total. A maximum of 64 Kb is added to the private memory usage total for each memory segment, as the Oracle Calendar server never uses more than 64 Kb of the allocated address space for that type of memory segment.
The size of memory segments with permission "s" (Shared) is added to the shared memory usage total.
The size of memory segments with permissions "r--p" or "r-xp" (used by shared libraries) is added to the shared memory usage total.
The "free" utility is used to gather system memory information.
SOLARIS
The utility /usr/proc/bin/pmap is used to gather the memory mapping of each process.
The size of memory segments that have the "write" permission but not the "shared" permission are added to the private memory usage total.
The size of memory segments that have the "shared" permission, but not the "write" permission, are added to the shared memory usage total.
The "top" utility is used to gather system memory information.
HPUX
The utility $ORACLE_HOME/ocal/bin/hppmap is used to gather both system information and per process memory segment information. The following functions are used to gather process memory segment information: pstat_getprocvm, sysfs, setmtent, and statvfs. The size of the memory segments with the PS_SHARED flag are added to the shared memory usage total, and the size of all the other memory segments is added to the private memory usage total.The following "pstat" functions are used to gather information about various system contexts: pstat_getstatic, pstat_getdynamic, and pstat_getvminfo.
The command used to get the size of the cache buffers, is as follows:
% sysdef | grep bufpages | awk '{print $2}'
The physical memory estimated to be in use is computed using the following formula:
physical_memory - psd_freememory - bufpages
EXAMPLES
Display the current system memory information:
% unimem -system
In Use Free Free(%) Total
----------- ----------- ----------- -----------
Physical 582M 442M 43% 1024M
Swap 509M 4338M 89% 4847M
Display memory usage of all daemons:
% unimem
================================================================================
CSM CWS DAS ENG LCK SNC TOTAL
Total shared 22616 25360 22664 48328 22240 23816 48328
Total private 1608 6864 98552 287008 4832 6488 405352
Total 24224 32224 121216 335336 27072 30304 453680
Number of sess. N/A N/A N/A 254 N/A N/A 254
Private/Session N/A N/A N/A 1129 N/A N/A 1595
Shared/Session N/A N/A N/A 190 N/A N/A 190
Total/Session N/A N/A N/A 1320 N/A N/A 1786
Display the address space map of a specific process:
% unimem -pmap 2452 2452: uniengd-5730 Address Kbytes Resident Shared Private Permissions Mapped File 00010000 9640 7152 7152 - read/exec engd 00988000 216 216 176 40 read/write/exec engd 009BE000 752 112 88 24 read/write/exec [ heap ] FB400000 9768 9768 9768 - read/write/exec/shared [ shmid=0x1e1 ] FC002000 8 - - - read/write/exec [ anon ] FC104000 8 - - - read/write/exec [ anon ] FC206000 8 - - - read/write/exec [ anon ] FC308000 8 - - - read/write/exec [ anon ] FC40A000 8 - - - read/write/exec [ anon ] FC50C000 8 - - - read/write/exec [ anon ] FC60E000 8 - - - read/write/exec [ anon ] FC70C000 8 8 - 8 read/write/exec [ anon ] FC710000 8 - - - read/write/exec [ anon ] FC80E000 8 8 - 8 read/write/exec [ anon ] FC900000 608 8 8 - read/write/exec/shared [ shmid=0x1dc ] FCA00000 1696 1032 1032 - read/write/exec/shared [ shmid=0x1da ] FD4E0000 8 8 8 - read/write/exec/shared [ shmid=0x1e3 ] FD4F0000 8 8 8 - read/write/exec/shared [ shmid=0x1e2 ] FD500000 688 688 688 - read/exec libc.so.1 FD5BC000 32 32 8 24 read/write/exec libc.so.1 FD5D0000 8 - - - read/write/exec [ anon ] FD5E4000 8 - - - read/write/exec [ anon ] FD5F0000 40 40 40 - read/write/exec/shared [ shmid=0x1df ] FD600000 1600 680 680 - read/exec libCstd.so.1 FD79E000 40 40 40 - read/write/exec libCstd.so.1 FD7B0000 200 8 8 - read/write/exec/shared [ shmid=0x1de ] FD7F0000 40 40 40 - read/write/exec/shared [ shmid=0x1dd ] FD800000 12200 2472 2472 - read/exec libclntsh.so.10.1 FE3F8000 400 400 400 - read/write/exec libclntsh.so.10.1 FE45C000 64 16 16 - read/write/exec libclntsh.so.10.1 FE480000 96 96 96 - read/write/exec/shared [ shmid=0x1db ] FE4A0000 8 8 8 - read/write/exec/shared [ shmid=0x1e0 ] FE4B4000 8 - - - read/write/exec [ anon ] FE4C0000 16 16 16 - read/exec libc_psr.so.1 FE4D0000 8 8 - 8 read/write/exec [ anon ] FE4E0000 24 24 24 - read/exec librt.so.1 FE4F6000 8 8 8 - read/write/exec librt.so.1 FE500000 32 32 32 - read/exec libaio.so.1 FE518000 8 8 8 - read/write/exec libaio.so.1 FE520000 8 8 8 - read/exec libsched.so.1 FE532000 8 8 8 - read/write/exec libsched.so.1 FE540000 8 8 8 - read/exec libkstat.so.1 FE552000 8 8 8 - read/write/exec libkstat.so.1 FE560000 16 16 16 - read/exec libmp.so.2 FE574000 8 8 8 - read/write/exec libmp.so.2 FE580000 2016 624 624 - read/exec libnnz10.so FE786000 136 128 128 - read/write/exec libnnz10.so FE7A8000 8 - - - read/write/exec libnnz10.so FE7B0000 8 8 - 8 read/write/exec [ anon ] FE7C0000 120 120 120 - read/exec libthread.so.1 FE7EE000 8 8 - 8 read/write/exec libthread.so.1 FE7F0000 48 24 - 24 read/write/exec libthread.so.1 FE800000 808 472 472 - read/exec libocci.so.10.1 FE8D8000 24 24 24 - read/write/exec libocci.so.10.1 FE8F0000 48 48 48 - read/exec libCrun.so.1 FE90A000 8 8 8 - read/write/exec libCrun.so.1 FE90C000 16 - - - read/write/exec libCrun.so.1 FE920000 8 8 - 8 read/write/exec [ anon ] FE930000 8 8 8 - read/write/exec/shared [ anon ] FE940000 24 24 24 - read/exec libgen.so.1 FE956000 8 8 8 - read/write/exec libgen.so.1 FE960000 40 40 40 - read/exec libsocket.so.1 FE97A000 8 8 8 - read/write/exec libsocket.so.1 FE980000 568 568 568 - read/exec libnsl.so.1 FEA1E000 40 40 40 - read/write/exec libnsl.so.1 FEA28000 24 - - - read/write/exec libnsl.so.1 FEA40000 8 8 8 - read/exec libdl.so.1 FEA50000 8 8 8 - read/exec libw.so.1 FEA60000 24 24 24 - read/exec libpthread.so.1 FEA76000 8 8 8 - read/write/exec libpthread.so.1 FEA80000 88 32 32 - read/exec libm.so.1 FEAA4000 8 8 8 - read/write/exec libm.so.1 FEAB0000 184 184 184 - read/exec libctsis.so FEAEC000 16 16 - 16 read/write/exec libctsis.so FEB00000 864 296 296 - read/exec libctcore.so FEBE6000 16 16 8 8 read/write/exec libctcore.so FEBEA000 8 - - - read/write/exec libctcore.so FEC00000 8 8 - 8 read/write/exec [ anon ] FEC10000 8 8 8 - read/exec libsrvctsiscb.so FEC20000 8 8 8 - read/write/exec libsrvctsiscb.so FEC30000 16 16 16 - read/exec libctsis_cpp.so FEC42000 8 8 8 - read/write/exec libctsis_cpp.so FEC50000 176 176 176 - read/exec libctschema.so FEC8A000 152 152 152 - read/write/exec libctschema.so FECC0000 176 176 176 - read/exec libctgt_cpp.so FECFA000 8 8 8 - read/write/exec libctgt_cpp.so FED00000 1392 784 784 - read/exec libctcutl_cpp.so FEE6A000 32 32 32 - read/write/exec libctcutl_cpp.so FEE80000 1400 1064 1064 - read/exec libcsa.so FEFEC000 56 56 56 - read/write/exec libcsa.so FF000000 3120 2448 2448 - read/exec libctcalutl.so FF31A000 200 200 192 8 read/write/exec libctcalutl.so FF360000 104 104 104 - read/exec libctgt_c.so FF388000 16 16 16 - read/write/exec libctgt_c.so FF390000 8 8 - 8 read/write/exec [ anon ] FF3A0000 8 8 8 - read/exec libintl.so.1 FF3B0000 160 160 160 - read/exec ld.so.1 FF3E6000 16 16 - 16 read/write/exec ld.so.1 FFBE0000 64 32 8 24 read/write/exec [ stack ] -------- ------ ------ ------ ------ total Kb 50704 31248 31000 248
|
Note: The output depends on the platform on which the command line utility was run |
EXIT STATUS
Exit values are:
0 Success
1 Failure
unimmimpsrv - A utility to import data from MeetingMaker servers into Oracle Calendar server nodes.
SYNTAX
unimmimpsrv unimmimpsrv -v unimmimpsrv -h
DESCRIPTION
The unimmimpsrv utility is used to migrate data from MeetingMaker servers to Oracle Calendar nodes. unimmimpsrv consults the unimmimpsrv.ini file to determine which MeetingMaker files to import, and which nodes receive the data. Note that unimmimpsrv does not work with Oracle Calendar servers using directory servers.
|
Important: Only trained Oracle personnel should use this utility. Data loss or corruption resulting from the use of this utility by unauthorized persons is not the responsibility of Oracle, and is not covered under the standard support contract. |
Be aware of the following before running unimmimpsrv:
This version of unimmimpsrv has been certified with the following versions of MeetingMaker:
5.x, 6.x, 7.0, 7.01, 7.02, 7.1, 7.2, 7.5.3
The unimmimpsrv utility can only be run against an Oracle Calendar server in standalone mode with an internal directory.
A single MeetingMaker server cannot be split among two or more nodes, but any number of MeetingMaker servers may be imported into a single node.
MeetingMaker servers connected to separate hubs should be imported in separate operations.
All MeetingMaker servers attached to a hub should be imported in a single operation.
If only a subset of the MeetingMaker servers attached to a hub are imported, the following apply:
Oracle Calendar accounts are created for all users in all MeetingMaker servers attached to the hub (both those in the targeted subset and those outside of it).
Agenda entries are created for users outside of the targeted subset only if these entries were proposed by a user in the targeted subset. The uniuser utility may be used to subsequently delete those users outside of the targeted subset from the Calendar database.
To migrate data from MeetingMaker to Oracle Calendar, execute the following steps:
Back up each MeetingMaker server.
Purge all unnecessary data from each MeetingMaker server to be exported.
Use the MeetingMaker Administrator utility to export each MeetingMaker server database to a *.dat file.
If they do not already exist, create the Oracle Calendar node(s) which are to receive the MeetingMaker data.
Ensure that the Oracle Calendar node network is properly configured and that all nodes are up.
Run the unimmimpsrv utility to read the $ORACLE_HOME/ocal/misc/unimmimpsrv.ini file and import the MeetingMaker *.dat files into the specified Oracle Calendar node(s).
Finally, you may want to run the uniuser utility to apply the settings in the user.ini file to the newly imported users or to otherwise modify the information associated with these users.
OPTIONS
-v
Print the current version number of unimmimpsrv.
-h
Print a usage message explaining how to run unimmimpsrv.
NOTES
TRANSFERABLE DATA
The following chart details the mapping between MeetingMaker and Oracle Calendar transferable data:
| Type of Data | MeetingMaker | Oracle Calendar mapping |
|---|---|---|
| Administrative data | Server Name | X.400 OU4 field, or, if set, the value of the mapservername parameter in the unimmimpsrv.ini file |
| Administrative data | MeetingMaker Holidays | Oracle Calendar holidays |
| Administrative data | MeetingMaker Public Groups & associated sub-groups | Oracle Calendar public groups |
| Administrative data | Time Zones | Oracle Calendar node time zone (must be manually set during node creation) |
| User data | Sign-in Name | X.400 UID field, or, if set, the value of the mapsignin parameter in the unimmimpsrv.ini file |
| User data | First Name | X.400 Given Name field |
| User data | Last Name | X.400 Surname field |
| User data | Password | X.400 Password field, unless the unimmimpsrv.ini "importpassword" parameter is set to "FALSE". In this case, Password is set to NULL. |
| User data | Company | X.400 A field, or, if set, the value of the mapcompany parameter in the unimmimpsrv.ini file |
| User data | Department | X.400 OU1 field, or, if set, the value of the mapcompany parameter in the unimmimpsrv.ini file |
| User data | Title | X.400 Job-title field |
| User data | Phone | X.400 Phone field |
| User data | Extension | X.400 Ext field |
| User data | Fax | X.400 Fax field |
| User data | Street Address (excluding City, State, Zip) | Address |
| User data | The value of the unison.ini [ENG] usermailmap parameter, or, if set, the value of the mapcompany parameter in the unimmimpsrv.ini file |
|
| User data | Server Name | X.400 OU4 field, or, if set, the value of the mapcompany parameter in the unimmimpsrv.ini file |
| User data | User-defined Groups | Private groups owned by the user. By default, all MeetingMaker users have a group named "Address Book", which is just another user group in Oracle Calendar |
| User data | User Activities | Oracle Calendar meetings with no attendees |
| User data | User Meetings | Oracle Calendar meetings with the same attendees |
| User data | User Banners | Oracle Calendar daily notes, one for each day covered by the banners |
| User data | User ToDos | Oracle Calendar tasks |
| User data | User Proxies | Oracle Calendar designates. All proxies regardless of read/write access are granted only viewing rights to the grantor's Oracle Calendar agenda |
| Resource Data | First Name, Last Name | Combined to form Oracle Calendar resource name; resource number assigned automatically by unimmimpsrv |
| Resource Data | Password | Oracle Calendar resource password, unless the unimmimpsrv.ini "importpassword" parameter is set to "FALSE". In this case, the resource password is set to NULL. |
| MeetingMaker Activity and Meeting data | Private | Personal access level |
| MeetingMaker Activity and Meeting data | Title | Title |
| MeetingMaker Activity and Meeting data | Location | Location |
| MeetingMaker Activity and Meeting data | Time | Time |
| MeetingMaker Activity and Meeting data | Date | Date |
| MeetingMaker Activity and Meeting data | Duration | Duration |
| MeetingMaker Activity and Meeting data | Repetitions | Recurrences |
| MeetingMaker Activity and Meeting data | Information | Attendees and their attendance status (local attendees only, remote attendees have attendance status set to "Will confirm later") |
| MeetingMaker Banners | Title | Daily note Title |
| MeetingMaker Banners | Location | Appended to daily note Title |
| MeetingMaker Banners | Date | Daily note Date |
| MeetingMaker Banners | Repetition | Daily note recurrences |
| MeetingMaker Banners | Information | Attendees and their attendance status (local attendees only, remote attendees have attendance status set to "Will confirm later") |
| MeetingMaker ToDos data | Title | Task Title |
| MeetingMaker ToDos data | Date | Task Date |
| MeetingMaker ToDos data | Invitees | Each invitee has a copy of this task created in their agenda |
| MeetingMaker ToDos data | Priority Level | Tasks are assigned a generic priority level from 1 to 7; only one priority level is imported for all invitees |
NON-TRANSFERABLE DATA
The following data is lost during the migration to Oracle Calendar. Note: "(read)" indicates the unimmimpsrv utility supports the data but Oracle Calendar does not.
Lost Administrative Data
MeetingMaker administrative rights. These rights must be set manually through Oracle Calendar server administration tools.
Lost User Data
Room, Info, City, State, ZipCode, Country (read)
User-defined labels for meetings/activities
User-defined todo priority levels
User's work days and hours
Default notification and reminder preferences are not exported by Meeting-Maker
User-defined contact list — also not imported as invitees of meetings, activities, and todos nor as group members
Lost Resource Data
All lost user data, in addition to phone, extension, fax number and title (read)
Resource defined groups ((-read))
Resource activities (read) — Oracle Calendar resources cannot create events.
Lost MeetingMaker Activities, Banners & Meetings Data
Publishable
Flexible
Reminders
Importance Level
Label
Invitee comments
Meetings and activities which repeat every 'x' days from the end of the month have no Oracle Calendar equivalent. In this case, the event is imported as a monthly repeating meeting which occurs on the same date.
Meetings with start dates before the year 1991
Only the first 60 instances of each event are imported
Lost MeetingMaker Todos Data
Priority level, Private/Publishable
Invitee comments
Done/not done
Owner Control: An independent Oracle Calendar task is created for each invitee. Only the task details state the creator's name and list of all invitees
FILES
$ORACLE_HOME/ocal/log/unimmimpsrv.log
This file records the start time, end time and duration as well as all importation steps and any errors.
$ORACLE_HOME/ocal/misc/unimmimpsrv.ini
This file contains the settings used for the importation process. See unimmimpsrv.ini for details.
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
SEE ALSO
unimmimpsrv.ini, uniuser
unimvuser - Move a user from one Oracle Calendar server node to another.
SYNTAX
unimvuser -u <user> -host1 <hostname1:port1> -host2 <hostname2:port2> -n1 <node-ID1> -n2 <node-ID2> [-up <userPsw>] [-UIDpreserve] [-verbose] unimvuser -v unimvuser -h
DESCRIPTION
unimvuser moves a user from one Oracle Calendar server node to another. Designate and remote designate rights are preserved.
|
Note: unimvuser only works if all hosts in the network use a server greater than 4.0. Use unicpoutu and unicpinu to move users in a node network that includes nodes created by earlier versions of the Oracle Calendar server. |
The move operation makes the following changes to the user information:
Any admin groups created by the user are not moved to the new node.
Any public groups created by the moved user are made into private groups.
In installations using an internal directory, the user's password is not retained. See the -up option.
unimvuser logs these changes, along with the rest of its activity, in the $ORACLE_HOME/ocal/log/unimvuser.log file.
It is important to understand that the move operation may still be in progress even after unimvuser has successfully completed. In particular, work is being done by the destination node (the node to which the user has moved) and by remote nodes (where other users reside who may have invited the user). Until the work is complete, the moved user sees an incomplete agenda.
The time required to complete the move operation depends on the number of requests waiting in the request queue of the Corporate-Wide Services daemon/service. For this reason, it is advisable to run unimvuser during off-peak hours for the Oracle Calendar server.
In addition, the user being moved should not attempt to sign in to the Oracle Calendar server before unimvuser has completed, nor should any other user attempt to work as a designate for the user being moved. Any changes made under these circumstances will be lost.
Never run more than one unimvuser operation at the same time. Even if the users involved are on different nodes and you run unimvuser on different Oracle Calendar server hosts, the users may share some meetings or events; this scenario can cause database corruptions.
unimvuser can move a user from a node using an external directory server to a node using the Oracle Calendar server's internal directory, but cannot move a user from a node using the Oracle Calendar server's internal directory to a node using an external directory server.
Always use the most recent version of unimvuser, even when moving a user between nodes on Oracle Calendar server hosts of earlier versions. For example, if your node network has two Oracle Calendar server hosts of version 9.0.4 and one of version 10.1.2, you should use the unimvuser utility in the bin directory of the 10.1.2 server.
Be aware also that differences in the configurations between the source host and the destination host may cause problems or block the move entirely. For example, if the maximum number of instances of a recurring meeting (unison.ini [ENG] maxinstances parameter) on the source server is set higher than on the destination server, and the user to be moved owns a recurring meeting with more instances than the destination host allows, the move will fail.
The Oracle Calendar server must be up to run unimvuser with all connected nodes enabled.
OPTIONS
-host1
<hostname1:port1>
Specify the host name and port number of the source node.
-host2
<hostname2:port2>
Specify the host name and port number of the destination node.
-n1
<node-ID1>
Specify the source node.
-n2
<node-ID2>
Specify the destination node.
-u
<user>
Specify the user to be moved. See FORMAT OF THE user ARGUMENT for details on the proper specification of the user argument. For directory servers, the user must already exist in the directory server used by the destination node.
-UIDpreserve
Preserve original Calendar SDK event UIDs. This option is required if the Calendar SDK is used on both the source and the destination node.
-up
<userPsw>
To be used for internal directory only. Specifies a new password for the user. If this option is not used, the user will be able to login to the Oracle Calendar server without a password. In the case of a directory server, this option has no effect since the password is stored in the directory server and thus remains unchanged.
-verbose
Use verbose mode.
-v
Print the current version number of unimvuser.
-h
Print a usage message explaining how to run unimvuser.
FORMATS
FORMAT OF THE user ARGUMENT
The user argument is a string of the form "key=value/key=value/...", where "key" is one of those listed in the following table, and "value" is any string. Both "key" and "value" are case insensitive. For all keys except the ID key, the "value" string may be terminated by a wild card symbol (*). If a forward slash "/" is to be included in a string, it should be escaped with the character "\" to prevent it from being interpreted as a key-value pair delimiter - i.e. "S=Hoopla/OU1=R\/D".
If, in a UNIX environment, a shell will be processing the string (for example, the string is provided on the command line or is passed as an argument to the utility), the string should be enclosed in quotation marks. Furthermore, if characters meaningful to the shell are included in the string, they should be escaped (i.e. preceded by the escape character "\") to prevent the shell from interpreting them.
|
Note: If the ID key-value pair is specified in the user argument, all other key-value pairs specified along with it are ignored. Further note that the ID key-value pair may be specified without using the ID key, i.e. "-u 256" is a valid specification and is equivalent to "-u ID=256". |
Table 6-39 Accepted keys: UNIMVUSER
| Key | X.400 Field |
|---|---|
|
|
Surname |
|
|
Given name |
|
|
Initials |
|
|
Identifier |
|
|
Unique User Identifier |
|
|
Generation |
|
|
Organizational Unit 1 |
|
|
Organizational Unit 2 |
|
|
Organizational Unit 3 |
|
|
Organizational Unit 4 |
|
|
Organization |
|
|
Country |
|
|
Administration domain |
|
|
Private domain |
|
|
Phone number |
|
|
Fax phone number |
|
|
Employee number |
|
|
Job title |
EXAMPLES
Move the user with ID 354 from node 12 on host "horus" to node 25 on host "nut":
% unimvuser -u "ID=354" -host1 horus -host2 nut -n1 12 -n2 25
Move the user with UID "smithjc" from node 12 on host "horus" to node 25 on host "nut":
% unimvuser -u "UID=smithjc" -host1 horus -host2 nut -n1 12 -n2 25
FILES
$ORACLE_HOME/ocal/log/unimvuser.log
unimvuser logs its activity in this file.
WARNINGS
Directory Server Warning
It is important to understand the implications of the directory server configuration for Oracle Calendar server utilities. In a supplier-consumer configuration, the scheduling of updates between the consumer and supplier may result in temporary differences between the two. This may mean that an Oracle Calendar server utility is reading from a consumer directory server that has not yet been synchronized with its supplier.
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
SEE ALSO
uniuser
uninode - Administer an Oracle Calendar server node network.
SYNTAX
uninode -add [-nologinfo] -host <hostname:port> uninode -apply [-y | -n] [-nologinfo] uninode -cws [-nologinfo] [-compact] [-n <node-ID> | -host <hostname:port> | -group <group>] uninode -edit [-e <editor>] uninode -import [-nologinfo] uninode -init [-nologinfo] uninode -reset [-nologinfo][-n <node-ID> | -host <hostname:port> | -group <group>] uninode -retry [-nologinfo][-n <node-ID> | -host <hostname:port> | -group <group>] uninode -snc [-nologinfo] [-compact] [-n <node-ID> | -host <hostname:port> | -group <group>] uninode -test -n <node-ID> | -host <hostname:port> | -group <group> uninode -v uninode -h
DESCRIPTION
uninode is a centralized tool for setting up and administering an Oracle Calendar server node network. See EXAMPLES for an example of setting up a node network. Use uninode to add and remove nodes from the node network, as well as to add and remove connections between nodes. Also use uninode to make queries about the node network configuration and about the status of remote connections.
uninode uses the node network configuration information in the nodes.ini file to configure the node network. Only one nodes.ini file should exist for a node network, regardless of how many Oracle Calendar servers are linked. Furthermore, you manage the Oracle Calendar server node network, that is you run uninode, from the machine on which this file exists. When your node network includes coexistence of multiple Oracle Calendar server versions, always make sure that the host of the nodes.ini file is of the most recent version.
Use the -n, -host or -group to restrict uninode's actions to certain nodes in the nodes.ini file. -n <node-ID> restricts uninode to the specified node, -host <hostname:port> to the nodes on the specified host, and -group <group> to the nodes in the specified grouping of nodes. <group> may be one of the following:
all
all included (+) and all excluded (-) nodes
included
all included (+) nodes
excluded
all excluded (-) nodes
For information on on the meaning of each of these values, see "Connecting Nodes" in Chapter 12 of Oracle Calendar Administrator's Guide. If none of these values are specified, uninode will assume the value all.
If you are using a directory server, you may want to run unidssync on each node before running uninode to ensure that the local information in each node is synchronized with what is in the directory server. Note that all nodes in an Oracle Calendar server node network must use the same directory server.
uninode only runs if the Oracle Calendar server is up.
OPTIONS
-add
Add all nodes found on the specified host to the nodes.ini file. This option first determines which nodes exist on the specified host. It then removes all lines for that host in the nodes.ini file, and finally adds a line for each node found on the host. Nodes are added as excluded nodes. You must edit the nodes.ini file to include them in the network.
-apply
Apply the configuration in the nodes.ini file.
uninode first verifies that:
the syntax of the nodes.ini file is correct
the specified host name or specified node-ID is valid
the uniengd and unisncd servers are up
the version of uniengd is greater than A.01.15
the SNC daemon is running
the nodes.ini file exists only on the host currently running uninode
all nodes in the node network are available
If any of these verifications fails, uninode terminates.
Otherwise, it proceeds to check the remote node information in each of the nodes involved, and if it finds there are entries missing, it prompts the user to confirm the addition of the missing entries. Use the -y or -n option to automatically provide a response. Note that uninode does not delete any surplus entries from any of the nodes.
-compact
Truncate the host name if longer than 28 characters in order to output 80 character lines.
-cws
Print the following information for each connection between two nodes. This includes information from the CWS daemon/service.
EX
The number of TCP/IP connections, between the two nodes, configured in the nodes.ini file.
CO
The actual number of TCP/IP connections between the two nodes.
Q-SIZE
The number of CWS requests currently in the CWS queue.
IN-PROCESS
The number of CWS requests processed.
IMPORT-DIR
The number of items (users and resources) in the local copy of the remote directory.
-edit
<editor>
Safely edit a COPY of the nodes.ini file using the specified text editor. uninode first performs the verifications described in the -apply option and terminates if any of the verifications fails. If all verifications succeed, it invokes the editor. On exit from the editor uninode parses the edited file, and, if it does not find any errors, updates the original nodes.ini file. If uninode finds errors in the edited file, it prompts the user to either re-edit the file or terminate the operation.
-group
<group>
Restrict the nodes to those of the group specified by <group>. <group> can be all, included or excluded.
-host
<hostname:port>
Specify the name and port number of the host on which the nodes reside. The port is optional and if omitted, the default port is used.
-import
Same as -apply with the -y option.
-init
Construct a nodes.ini file from the currently running node network configuration. The node with the lowest node-ID on the machine hosting the nodes.ini file is the one from which uninode begins construction of the file. If a nodes.ini file already exists, uninode prompts for confirmation to overwrite it.
-n
When used with the -apply option, prevent any correction of node information inconsistency.
-n
<node-ID>
Specify the node.
-nologinfo
Do not write to the log file. By default, uninode logs any errors, as well as any output it sends to the screen, to the uninode.log file.
-reset
Reset the statistics of a Synchronous Network Connection (SNC) daemon. It is recommended that you reset all nodes at the same time by running uninode -reset all. Resetting the statistics allows the administrator to compare the statistics for different nodes at a later time.
-retry
Restart the retry mechanism of an SNC daemon. When there are fewer connections available than are configured, the SNC daemon attempts to acquire new connections at specific time intervals. It retries at intervals of 1, 2, 4, 8, 16, 32, and finally every 64 minutes. This option resets the interval to 1 minute. One use of this option might be to run uninode -retry all after a network-related problem is solved.
-snc
Print the following information on the TCP/IP connections for the specified node, or for each node in the specified group or on the specified host.
EX
The number of TCP/IP connections to the node configured, as per the information in the nodes.ini file.
CO
The actual number of TCP/IP connections to the node.
AV
The number of connections to the node currently available.
US
The number of connections to the node currently in use.
LOST
The number of times the SNC daemon lost a connection to the node.
RETRY
The time (expressed in the format <mm>:<ss> format) before the next attempt to reconnect a lost connection.
QUEUE
The number of requests currently in the queue.
CANCEL
The number of cancelled requests.
CHECK
The number of checks for queued requests. Checks are performed when a connection is waiting in the queue.
GRANTED
The number of requests for connections the SNC daemon/service granted since it started.
-test
Verify that it is possible to connect to a node or group of nodes. See the -apply option for a list of the items uninode -test verifies.
-y
Auto-confirm the correction of any node information inconsistency when you use the -apply option.
-v
Print the current version number of uninode.
-h
Print a usage message explaining how to run uninode.
EXAMPLES
CREATE A NODE NETWORK
You have a company with offices in three different countries. Each office runs its own Oracle Calendar server. You want to set up a node network and manage it from the Oracle Calendar server running on "gravlax" in Sweden.
Log on to "gravlax" and create a nodes.ini file.
% uninode -init
Since no node network currently exists, uninode creates an empty nodes.ini file with sample lines included as comments.
Add the nodes from each of the three Oracle Calendar servers.
% uninode -add -host gravlax % uninode -add -host gnocchi % uninode -add -host biryani
Examine the contents of the nodes.ini file.
% cat nodes.ini - H=biryani/N=32 - H=biryani/N=31 - H=gnocchi/N=25 - H=gnocchi/N=24 - H=gnocchi/N=23 - H=gnocchi/N=22 - H=gnocchi/N=21 - H=gravlax/N=13 - H=gravlax/N=12 - H=gravlax/N=11
Edit the file to configure the node network.
% vi $ORACLE_HOME/ocal/misc/nodes.ini
The nodes.ini file now contains the following lines.
% cat $ORACLE_HOME/ocal/misc/nodes.ini + H=biryani/N=32/ALIAS=salesIndia + H=biryani/N=31/ALIAS=adminIndia - H=gnocchi/N=26/ALIAS=tempItaly + H=gnocchi/N=25/ALIAS=supportItaly + H=gnocchi/N=24/ALIAS=financeItaly + H=gnocchi/N=23/ALIAS=r&dItaly + H=gnocchi/N=22/ALIAS=salesItaly + H=gnocchi/N=21/ALIAS=adminItaly - H=gravlax/N=16/ALIAS=tempSweden + H=gravlax/N=13/ALIAS=r&dSweden + H=gravlax/N=12/ALIAS=salesSweden + H=gravlax/N=11/ALIAS=adminSweden included:2
The node network has the following characteristics:
It has ten nodes.
There are two excluded nodes (nodes 16 and 26).
There are two connections going from each node in the node network to every other node in the node network. For example, two connections go from node 32 to node 13, and two go from node 13 to node 32. A single connection is unidirectional.
For information on configuring connections between nodes, see "Connecting Nodes" in Chapter 12 of Oracle Calendar Administrator's Guide.
Next, apply the configuration. Since this is the first time that nodes "see" other nodes, you expect inconsistencies in their remote node directories. For this reason you use the -y option.
% uninode -apply -y
During execution of this command, uninode prints out information on the work it is performing. For example:
Processing node 11 connected to gravlax, node 11 connected to gravlax, node 12 added 11->12, TCP/IP connection placed a request in the CWS queue to get node 12 user directory
FILES
$ORACLE_HOME/ocal/misc/nodes.ini
Contains the list of nodes and the rules that describe the Oracle Calendar server's node network configuration.
$ORACLE_HOME/ocal/log/uninode.log
By default, uninode logs any errors, as well as any output it sends to the screen, to this file.
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
unioidconf - Configure the Oracle Internet Directory for calendar.
SYNTAX
unioidconf -upgrade [-f <filename>] unioidconf -grantproxyprivilege <dn> [-f <filename>] [-D <bindDN>] unioidconf -listproxyprivilege [-f <filename>] [-D <bindDN>] unioidconf -revokeproxyprivilege <dn> [-f <filename>] [-D <bindDN>] unioidconf -resetacl -D <bindDN> unioidconf -setsysoppassword -D <bindDN> unioidconf -resetentityentry -D <bindDN> unioidconf -resetdeployment [-master] -D <bindDN> unioidconf -setdatabase <dbglobalname> -D <bindDN> unioidconf -setschemapassword <dbglobalname> -D <bindDN> unioidconf -registercontainers [-f <filename>] -D <bindDN> unioidconf -registernodes -D <bindDN> unioidconf -setserviceurl <url> -subtype <subtype> -urllabel <urllablel> -D <bindDN> unioidconf -registerprovattributes -D <bindDN> unioidconf -registerprovplugins -D <bindDN> unioidconf -createprovprofile [-master] -D <bindDNJ> unioidconf -deleteprovprofile -D <bindDN> unioidconf -enableprovprofile -D <bindDN> unioidconf -disableprovprofile -D <bindDN> unioidconf -displaydiscovery unioidconf -deletenode -n <node-ID> -D <bindDN> unioidconf -clean -D <bindDN> unioidconf -v unioidconf -h
DESCRIPTION
unioidconf utility is used to modify various calendar specific entries in the Oracle Internet Directory. It is also used by the installation process of the Oracle Calendar server.
The -grantproxyprivilege and -revokeproxyprivilege keywords are used to grant or revoke proxy privilege to a user. The proxy privileges can be listed using -listproxyprivilege.
OPTIONS
-D
<bindDN>
Specify the bind DN.
-f
<filename>
Specify the calendar configuration file. By default, the file $ORACLE_HOME/ocal/misc/unison.ini is used.
-clean
Delete all calendar-related data associated with the Calendar instance from the Oracle Internet Directory. The Oracle Calendar server instance will not be usable after running the utility with this option. This option should only be used with with the assistance of Oracle Support.
-createprovprofile
Create the Calendar provisioning profile. The provisioning profile contains various component specific details, including host information, needed to interact with the Directory Integration Platform Provisioning Framework. This option is used by the installation process.
-deleteprovprofile
Delete the Calendar provisioning profile.
-deletenode
Delete all calendar-related data associated with the node from the Oracle Internet Directory. Running the utility will make the Oracle Calendar server node unusable.
-disableprovprofile
Disable the Calendar provisioning profile.
-displaydiscovery
Display information about other components from the Oracle Internet Directory Service Registry.
-enableprovprofile
Enable the Calendar provisioning profile.
-grantproxyprivilege
<dn>
Grant proxy privilege to user specified by <dn>.
-listproxyprivilege
List the proxy privilege.
-master
Use this option after the -createprovprofile option to indicate that the new profile will be the Calendar master provisioning profile. Also, use this option after the -resetdeployment option to recreate any directory entries that are usually associated with the Calendar master instance -- for example, the service registry.
-registercontainers
Register or recreate the containers required for Calendar on the Oracle Internet Directory.
-registernodes
Register calendar nodes in the Oracle Internet Directory.
-registerprovattributes
Register calendar provisioning attributes. These attributes will be displayed upon user creation in the Oracle Internet Directory DAS provisioning console.
-registerprovplugins
Register calendar provisioning plugins.
-resetacl
Reset the Oracle Calendar server's access control settings on the Oracle Internet Directory. Using this option will grant the Oracle Calendar server the same access control settings as those assigned at the time of installation.
-resetdeployment
Reset the calendar deployment in the Oracle Internet Directory. Using this option will reset various entries to their values after installation.
-resetentityentry
Reset the calendar application entity credentials. This option should be used if the application entity entry is erroneously modifed or removed from the Oracle Internet Directory, resulting in corruption.
-revokeproxyprivilege
<dn>
Revoke proxy privileges from user specified by <dn>.
-setdatabase
<dbglobalname>
Associate this calendar installation to a specific database entry.
-setschemapassword
<dbglobalname>
Reset the stored calendar schema password.
-setserviceurl
<url>
Register the Calendar service URL to the Oracle Internet Directory with a subtype and labels. This option should only be used with with the assistance of Oracle Support.
-setsysoppassword
Set the Oracle Calendar server SYSOP password.
-subtype
<subtype>
Service sub type. Use OCAL for Oracle Calendar server related information, OCAD for Calendar administrator and OCAS for Oracle Calendar Application System.
-upgrade
Upgrade or migrate CorporateTime 5.5 directory entries to the Oracle Calendar server format. This mode is invoked automatically by the upgrade procedure. It is not recommended to invoke this option manually.
-urllabel
<urllabel>
Service URL label.
-v
Print the current version number of unioidconf.
-h
Print a usage message explaining how to run unioidconf.
EXAMPLES
Grant proxy privilege to John Doe:
% unioidconf -grantproxyprivilege "cn=John Doe,cn=users, dc=oracle,dc=com" -D cn=orcladmin
or:
% unioidconf -grantproxyprivilege "cn=John Doe,cn=users, dc=oracle,dc=com"
Delete references to node 1000 from the Oracle Internet Directory:
% unioidconf -deletenode -n 1000 -D cn=crcladmin
Set the calendar sysop administraor password to a new value:
% unioidconf -setsysoppassword -D cn=orcladmin
Remove references to the Oracle Calendar server instance from the Oracle Internet Directory:
% unioidconf -clean -D cn=orcladmin
Register a database for this Calendar instance -- required for provisioning only:
% unioidconf -setdatabase storage.mydomain.com -D cn=orcladmin
The Oracle Calendar server has been installed on host host1.mydomain.com:5730. At the time of installation, the Oracle Calendar server was registered with the following Calendar service URL:
labeleduri;appuri = x-oracle-calendar://host1.mydomain.com:5730
The Oracle Calendar server is then moved to host2.mydomain.com:5730. In order to re-register the Calendar service URL to the Oracle Internet Directory to reflect a change in host name run the following command:
% unioidconf -setserviceurl "x-oracle-calendar://host2.mydomain.com:5730" -subtype OCAL -label appuri -D cn=orcladmin
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
unipasswd - Change a user's password or the Oracle Calendar server SYSOP password.
SYNTAX
unipasswd [-u <user> | -sysop] [-n <node-ID>] [-host <hostname:port>] unipasswd -v unipasswd -h
DESCRIPTION
unipasswd changes the password of the SYSOP of a given node. unipasswd can also be used to change a user's password.
In an Oracle Internet Directory installation, after changing the SYSOP password via a node, the SYSOP password on all the other nodes of the same server will also be changed.
Note that the -sysop and -u options are mutually exclusive. unipasswd cannot be used to change a resource or an event calendar's password. But this can be done using uniuser.
unipasswd only runs if the Oracle Calendar server is up.
OPTIONS
-u
<user>
Change a user's password. Use the <user> argument to specify which user. See FORMAT OF THE <user> ARGUMENT for details on how to specify a user.
-host
<hostname:port>
Specify the name and port number of the host on which the operation is to be performed. The default is the local host. The port is optional and if omitted, the default port is used.
-n
<node-ID>
Specify the node on which the password is to be changed. Required if more than one node exists.
-sysop
Change the password of the SYSOP.
-v
Print the current version number of unipasswd.
-h
Print a usage message explaining how to run unipasswd.
FORMATS
FORMAT OF THE <user> ARGUMENT
The <user> argument is a string of the form "key=value/key=value/...", where "key" is one of those listed in the following table, and "value" is any string. Both "key" and "value" are case insensitive. The "value" string may be terminated by a wild card symbol (*). If a forward slash "/" is to be included in a string, it should be escaped with the character "\" to prevent it from being interpreted as a key-value pair delimiter - i.e. "S=Hoopla/OU1=R\/D".
If, in a UNIX environment, a shell will be processing the string (for example, the string is provided on the command line or is passed as an argument to the utility), the string should be enclosed in quotation marks. Furthermore, if characters meaningful to the shell are included in the string, they should be escaped (i.e. preceded by the escape character "\") to prevent the shell from interpreting them.
|
Note: If the ID key-value pair is specified in the user argument, all other key-value pairs specified along with it are ignored. |
Table 6-40 Accepted keys: UNIPASSWD
| Key | X.400 Field |
|---|---|
|
|
Surname |
|
|
Given name |
|
|
Initials |
|
|
Identifier |
|
|
User unique identifier |
|
|
Generation |
|
|
Organizational Unit 1 |
|
|
Organizational Unit 2 |
|
|
Organizational Unit 3 |
|
|
Organizational Unit 4 |
|
|
Organization |
|
|
Country |
|
|
Administration domain |
|
|
Private Domain |
|
|
Phone number |
|
|
Fax phone number |
|
|
Employee number |
|
|
Job title |
EXAMPLES
Change the SYSOP password on node 20 on the remote host "jupiter":
% unipasswd -host jupiter -n 20
Change the password of the local user "Jean Leblanc" on node 10:
% unipasswd -u "S=Leblanc/G=Jean" -n 10
WARNINGS
Modification of Password
This utility uses the [ENG]allowpasswordchange_user parameter in unison.ini to determine whether or not it can modify a user password. If this value is set to "FALSE", then the user password cannot be modified by this utility. The parameter [ENG]allowpasswordchange_reserved [sysop] is used to determine whether or not it can modify the SysOp password.
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
uniping - Ping another Oracle Calendar server.
SYNTAX
uniping [-host <hostname:port>] [-n <node-ID>] [-u <user>] [-i <numsec>] [-allnodes] [-s <size>] [-stats] [-log] [-time] uniping -v uniping -h
DESCRIPTION
uniping sends echo messages to a node or a node network. Receiving nodes reply to the message, and uniping prints the elapsed time between sending the original message and receiving the replies. Use this utility to verify that a node is up, or to measure server response time under various load conditions.
Before sending any messages, uniping first authenticates the specified user on the specified node. uniping only sends messages if this authentication is successful.
uniping runs whether the Oracle Calendar server is up or down.
OPTIONS
-allnodes
Send the echo message to all nodes connected to the node network containing the specified node.
-host
<hostname:port>
Specify the name and port number of an Oracle Calendar server host. The port is optional and if omitted, the default port is used.
-i
<numsec>
Repeat the echo message with intervals in seconds specified by <numsec>. If this option is not used, uniping sends only one echo message to each specified node.
-log
Print errors to a log file ($ORACLE_HOME/ocal/log/uniping.log).
-n
<node-ID>
Specify a node to connect to. Required if more than one node exists on the Oracle Calendar server specified by the -host option.
-s
<size>
Specify the size of the echo message in bytes. The default is 64 bytes.
-stats
Display statistics on startup.
-time
Display the time at which each message is sent.
-u
<user>
Specify a user name to use for authentication. If this option is not used, SYSOP is used by default. See FORMAT OF THE <user> ARGUMENT for details on how to specify a user.
-v
Print the version number of uniping.
-h
Print a usage message explaining how to run uniping.
FORMATS
FORMAT OF THE user ARGUMENT
The user argument is a string of the form "key=value/key=value/...", where "key" is one of those listed in the following table, and "value" is any string. Both "key" and "value" are case insensitive. For all keys except the ID key, the "value" string may be terminated by a wild card symbol (*). If a forward slash "/" is to be included in a string, it should be escaped with the character "\" to prevent it from being interpreted as a key-value pair delimiter - i.e. "S=Hoopla/OU1=R\/D".
If, in a UNIX environment, a shell will be processing the string (for example, the string is provided on the command line or is passed as an argument to the utility), the string should be enclosed in quotation marks. Furthermore, if characters meaningful to the shell are included in the string, they should be escaped (i.e. preceded by the escape character "\") to prevent the shell from interpreting them.
|
Note: If the ID key-value pair is specified in the user argument, all other key-value pairs specified along with it are ignored. Further note that the ID key-value pair may be specified without using the ID key, i.e. "-u 256" is a valid specification and is equivalent to "-u ID=256". |
Table 6-41 Accepted keys: UNIPING
| Key | X.400 Field |
|---|---|
|
|
Surname |
|
|
Given name |
|
|
Initials |
|
|
Identifier |
|
|
User unique identifier |
|
|
Generation |
|
|
Organizational Unit 1 |
|
|
Organizational Unit 2 |
|
|
Organizational Unit 3 |
|
|
Organizational Unit 4 |
|
|
Organization |
|
|
Country |
|
|
Administration domain |
|
|
Private domain |
|
|
Phone number |
|
|
Fax phone number |
|
|
Employee number |
|
|
Job title |
EXAMPLES
Ping node 14 of an Oracle Calendar server on the host "Scribe", using the SYSOP user account:
% uniping -host scribe -n 14 Enter password: scribe,14: 40 ms.
Ping all nodes in the node network containing node 60, using the user "Dashiell Hammett", and displaying the time of each sent message:
% uniping -n 60 -u "S=Hammett/G=Dashiell" -allnodes -time Enter password: Fri Jul 07 10:23:41 2000: scribe,14: 40 ms. Fri Jul 07 10:23:41 2000: scribe,60: 0 ms. Fri Jul 07 10:23:41 2000: scribe,66: 114 ms.
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
unireqdump - View, and optionally delete, requests in the queue of the Corporate-Wide Services (CWS) daemon.
|
Note: New options have been added to theunireqdump utility in Oracle Calendar 10.1.2.1. For more information about the new options, see New UNIREQDUMP Options in Oracle Calendar 10.1.2.1. |
SYNTAX
unireqdump [-delete] [-excl <filter>] [-incl <filter>] [-u <itemnum>] [-rn <node-ID>] [-y] [-reqid <ID>] [-reqtype <code>] [-reqgroup ID] [-n <node-ID>] [nolist] [-nototal] unireqdump -v unireqdump -h
DESCRIPTION
unireqdump outputs the set of requests currently in the queue of the Corporate-Wide Services daemon/service, unicwsd. The utility is also used to delete requests from the queue (using the -delete option).
By default, all requests in the queue are output. The -excl, -incl, -u, -rn, -reqid, and -reqtype options allow you to select requests satisfying specific criteria. These options are applied successively so each of the requests in the output must meet the combined criteria for all of the options specified. Use -reqid if you want to select a specific request from the queue.
Numeric arguments can be either decimal or hexadecimal values (where hexadecimal values are prefixed by "0x"). The single exception is the ID argument to the -reqid option, where a hexadecimal value is always assumed, even if the "0x" prefix is not present.
unireqdump can only be run if the Oracle Calendar server is up.
OPTIONS
-delete
Delete from the queue the requests that match the filters. After each request is output, the user is prompted to confirm whether or not they wish to delete it. The -y option may be used along with this option to tell unireqdump to automatically delete ALL of the requests in the output, without prompting for confirmation.
-excl
<filter>
Set an exclusion filter. Requests matching this filter are excluded from the output. The possible filters are:
notserviced: Requests not yet serviced
cantservice: Requests that cannot be serviced
suspended: Requests that have been queued pending reactivation of an item's SMS notifications
-incl
<filter>
Set an inclusion filter. Requests matching this filter are included in the output. The possible filters are listed under the -excl option.
-n
<node-ID>
Specify a node to connect to. Also used to select the requests which originated from this node. Required if more than one node exists on the server running unireqdump.
-nolist
Do not list the requests that are in the queue.
-nototal
Do not display the summary (totals at the end of the output).
-u
<itemnum>
Select only requests matching the specified calendar account (user, resource or event calendar) number. itemnum is the numeric ID of the user, resource or event calendar.
-y
Used with the -delete option to tell unireqdump to automatically delete all of the requests in the output, without prompting for confirmation. Use this option with care!
-rn
<node-ID>
Select only requests destined for the specified remote node.
-reqgroup
<group>
Select the request of the group specified by <group>. Valid values for <group> are: "replication", "SMS" or "mail".
-reqid
<ID>
Select the request with the specified ID. ID is a hexadecimal value (it is not necessary to prefix the value with "0x", though doing so causes no harm).
-reqtype
<code>
Select the request of type <code>. The type can be expressed numerically by its transaction code (the numeric values are available in the documentation for the calendar programming interface), or as one of the following strings:
eventattend eventdeleted eventcreated itemadd itemdeleted itemmodified nodeitemsget attendadd instancemodified eventmodified securitydeleted securitymodified securityadd instanceadded fhcreate fhmodify fhdelete fhupdate remoteattendeeadd groupreplicate eventcalendarreplicate itemdatatransfer
These strings also appear in the output in the "TrCode" field for each request listed.
-v
Print the current version number of unireqdump.
-h
Print a usage message explaining how to run unireqdump.
EXAMPLES
Select all requests in the queue which originate in node 10:
unireqdump -n 10
Delete all requests in the queue which originate in node 10, and interactively prompt for confirmation before deleting each one:
unireqdump -delete -n 10
Output all requests in the queue except those already serviced (a single node exists on this server so the -n option is unnecessary):
unireqdump -excl serviced
Output all un-serviced requests with the "eventattend" transaction code, originating in node 10 and destined for the remote node 20, and interactively prompt for confirmation to delete each one:
unireqdump -delete -excl serviced -remotenode 20 -reqtype eventattend -n 10
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
|
Note: The options described in this section were added to Oracle Calendar Cumulative Patch 10.1.2.1. If you are using a previous version of Oracle Calendar, the options described are not available. |
To help manage Corporate-Wide Service daemon requests, the following new options have been added for use with the $ORACLE_HOME/ocal/bin/unireqdump utility:
-requeue
Push a request to the end of the queue.
-setcantservice
Set a request to the "can't service" state.
-setnotserviced
Set a request to the "not serviced" state.
EXAMPLES:
Push the request with ID 300, originating from node 10, to the end of the queue:
unireqdump -requeue -reqid 300 -n 10
Set the request with ID 400, originating from node 10, to the "can't service" state:
unireqdump -setcantservice -reqid 400 -n 10
Set the request with ID 500, originating from node 10, to the "not serviced" state:
unireqdump -setnotserviced -reqid 500 -n 10
unirestore - Restore a user's agenda from a backup.
SYNTAX
unirestore -u <uid> -path <bkpPath> [-futureReplies] [-noAddAttendee] [-logAll] -n <node-ID> [-host <hostname:port>] unirestore -ls <user> -path <bkpPath> -n <node-ID> [-host <hostname:port>] unirestore -v unirestore -h
DESCRIPTION
unirestore restores a user's calendar data from a backup file. A user calendar account can be restored even if it has been deleted completely, in which case a calendar account is created for the user. If there is a directory server, the user must be in the directory.
The -u option is used to specify the UID of the user you wish to restore. The -path option indicates the path to the backup files. This is the path to the directory which includes a db directory. For example: "-path /backups/cserver/jan0799".
The -ls option to list users contained in a backup. The <user> argument restricts unirestore to list only the users that match the <user> filter. See FORMAT OF THE <user> ARGUMENT for details on how to specify <user>.
By default, for agenda entries scheduled in the future and created by other users, any changes the user has made to his attendance status are not restored. For meetings that the user does own, the attendance status of all attendees are reset to "to be confirmed" as if the meetings were newly created.
Use the -futureReplies option if you want to force the restoration of the users' replies to invitations from the backup. With this option, any changes the user has made to his attendance status for agenda entries in the future (after the restoration date) which were created by others will be restored. Also, for meetings that the user created, the attendees' attendance status will be restored from the backup.
By default, if the user was invited to a meeting in the backup and he is no longer invited to that meeting in the current database (this can happen if for example, the user was accidently deleted from the database), he will be added back as an attendee. But in cases where for example the meeting organizer deleted the user from the attendee list after the backup was made, you may want to use the -noAddAttendee option to avoid re-adding the user to the attendee list of meetings that other users created and own and intentionally removed the user.
unirestore only runs if the Oracle Calendar server is up. There is no need to restart the server after running unirestore.
|
Note: unirestore restores deleted events. If an event exists in a user's agenda at the time of a restore, and that same event exists in the backup source for restore, the event that is already in the agenda will take precedence. The event is not synchronized for the most current changes. |
OPTIONS
-futureReplies
Restore the user's attendance status for future agenda entries.
-host
<hostname:port>
Specify the name and port number of the host. The port is optional and if omitted, the default port is used.
-logAll
Print out error messages for errors with agenda entries in the past. By default, only errors found with entries in the future are reported.
-ls
<user>
List users found in the backup file. Use the <user> option to restrict the list to certain users only. Specify users by providing the <user> argument. See FORMAT OF THE <user> ARGUMENT for details.
-n
<node-ID>
Specify the node. Always required.
-noAddAttendee
Do not update other users' agendas with changes to meetings that the user does not own but was invited to.
-path
<path>
Specify the path to the backup database files directory.
-u
<uid>
Specify the user's UID.
-v
Print the current version number of unirestore.
-h
Print a usage message explaining how to run unirestore.
SEE ALSO
unidbbackup
EXAMPLES
Check if John Smith's agenda is in the backup:
% unirestore -ls "UID=smithj" -path "/backups/cserver/jan0799" -n 10 -host hubert3
Restore John Smith's agenda:
% unirestore -u "smithj" -path "/backups/cserver/jan0799" -noAddAttendee -host hubert3 -n 10
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
unirmold - Remove old events and tasks from agendas in an Oracle Calendar server database.
SYNTAX
unirmold [-u <user>] [-d <numOfDays>] [-y] [-event] [-task] [-attachment] [-include <types>] [-sync] -n <node-ID> unirmold -resource [<resource>] [-d <numOfDays>] [-y] [-attachment] -n <node-ID> unirmold -v unirmold -h
DESCRIPTION
unirmold removes events and/or tasks older than a specified number of days from user or resource agendas in an Oracle Calendar server database.
To remove an event from a user's agenda, unirmold "un-invites" the user to the event. This has two consequences: the event no longer appears in that agenda AND the user no longer appears on the list of users invited to the event. The update to the list of invitees propagates as necessary to the other nodes in the node network.
By default, unirmold removes all events and tasks older than 90 days from all user agendas in the node and all events older than 90 days from all resource agendas in the specified node. The -resource option restricts unirmold to events in resource agendas. The <user> argument restricts unirmold to the agendas of the specified users. See FORMAT OF THE <user> ARGUMENT for details on how to specify <user>.
When using unirmold in -resource mode, you may specify a resource filter using the <resource> argument to restrict the deletion to certain resources only. See FORMAT OF THE <resource> ARGUMENT for details on how to specify <resource>.
|
Note: unirmold only removes tasks if the start date, the due date, and the completion date are all older than the specified number of days. |
unirmold only runs if the Oracle Calendar server is up.
OPTIONS
-attachment
Delete event attachments only. Use this option to remove the event attachments only and leave the rest of the events intact.
-event
Delete events only. By default unirmold deletes both events and tasks from the user agenda. Use the -attachment to only remove event attachments.
-include
<types>
Delete events which are special types of agenda entries. Currently this option applies only to events which are either Outlook journal entries or sticky notes. The <types> argument is one or more of the following: journal, sticky. For example, to delete both types which are journal entries and sticky notes, use -include journal sticky. To delete only events which are sticky notes, use -include sticky.
-d
<numOfDays>
Delete events and tasks that are more than <numOfDays> days old from the agenda. If you do not use this option, the default value is 90 days. The minimum value is 30 days.
-n
<node-ID>
Specify the node. Required if more than one node exists on the host.
-resource
<resource>
Remove all events in resource agendas only. You may specify a filter to select specific resources by providing the <resource> argument. See FORMAT OF THE <resource> ARGUMENT for details.
-sync
Removes all synchronization records from the user agenda.
-task
Delete only tasks from the user agenda. By default unirmold deletes both events and tasks from the user agenda.
-u
<user>
Remove entries from the specified user agendas only. Specify users by providing the <user> argument. See FORMAT OF THE <user> ARGUMENT for details.
-y
Used to auto-confirm the deletions.
-v
Print the current version number of unirmold.
-h
Print a usage message explaining how to run unirmold.
FORMATS
FORMAT OF THE <user> ARGUMENT
The user argument is a string of the form "key=value/key=value/...", where "key" is one of those listed in the following table, and "value" is any string. Both "key" and "value" are case insensitive. The "value" string may be terminated by a wild card symbol (*). If a forward slash "/" is to be included in a string, it should be escaped with the character "\" to prevent it from being interpreted as a key-value pair delimiter - i.e. "S=Hoopla/OU1=R\/D".
If, in a UNIX environment, a shell will be processing the string (for example, the string is provided on the command line or is passed as an argument to the utility), the string should be enclosed in quotation marks. Furthermore, if characters meaningful to the shell are included in the string, they should be escaped (i.e. preceded by the escape character "\") to prevent the shell from interpreting them.
|
Note: If the ID key-value pair is specified in the user argument, all other key-value pairs specified along with it are ignored. |
Table 6-42 Accepted keys: UNIRMOLD
| Key | X.400 Field |
|---|---|
|
|
Surname |
|
|
Given name |
|
|
Initials |
|
|
Identifier |
|
UID |
Unique Identifier |
|
|
Generation |
|
|
Organizational Unit 1 |
|
|
Organizational Unit 2 |
|
|
Organizational Unit 3 |
|
|
Organizational Unit 4 |
|
|
Organization |
|
|
Country |
|
|
Administration domain |
|
|
Private domain |
FORMAT OF THE <resource> ARGUMENT
The <resource> is a string of the form "key=value/key=value/...", where "key" is one of those listed in the following table, and "value" is any string. Both "key" and "value" are case insensitive. For all keys except the ID key, the "value" string may be terminated by a wild card symbol (*). If a forward slash "/" is to be included in a string, it should be escaped with the character "\" to prevent it from being interpreted as a key-value pair delimiter - i.e. "S=Hoopla/G=James\/Jim".
If, in a UNIX environment, a shell will be processing the string (for example, the string is provided on the command line or is passed as an argument to the utility), the string should be enclosed in quotation marks. Furthermore, if characters meaningful to the shell are included in the string, they should be escaped (i.e. preceded by the escape character "\") to prevent the shell from interpreting them.
Note that if the ID key-value pair is specified in the <resource> argument, all other key-value pairs specified along with it are ignored.
EXAMPLES
Remove all events and tasks from the node network that are owned by users in node 10, and all events that are owned by resources in node 10:
% unirmold -n 10
Remove all events in the node network that are more than 30 days old and are owned by users in node 10 with the surname "Wembley":
% unirmold -u "s=wembley" -event -d 30 -n 10
Remove all event and task attachments that are more than 360 days old from John Smith's calendar account:
% unirmold -u "s=Smith/g=John" -attachment -d 360 -n 10
Remove all events in the node network that are more than 30 days old and owned by any resource in node 10.
% unirmold -resource -d 30 -n 10
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
unirndel - Delete a remote node from a local Oracle Calendar server node database.
SYNTAX
unirndel -rn <node-ID> [-n <node-ID>] unirndel -v unirndel -h
DESCRIPTION
unirndel deletes all references to a remote node from the database of a local node. By default the local node is the one with the name "N1". unirndel should only be used to delete a remote node created for test purposes. You should consult Oracle Support before using unirndel.
It is recommended that you back up the local $ORACLE_HOME/ocal/db directory before running unirndel.
unirndel runs only if the Oracle Calendar server is up.
OPTIONS
-n
<node-ID>
Specifies the node-ID of the local node database from which the remote node should be deleted.
-rn
<node-ID>
Specifies the node-ID of the remote node.
-v
Print the current version number of unirndel.
-h
Print a usage message explaining how to run unirndel.
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
unirnsynch - Propagate deletions in the local information of one node to another node in the network.
SYNTAX
unirnsynch -rn <node-ID> [-rhost <hostname:port>] -n <node-ID> [-host <hostname:port>] unirnsynch -v unirnsynch -h
DESCRIPTION
unirnsynch is used to propagate deletions in the local information of one node to another node in the network. Each node in a node network contains both local information and remote node information, where:
local information is a list of the users, resources and event calendars belonging to that node
remote node information is a list of the users, resources and event calendars belonging to each of the other nodes in the node network.
The remote node information of a given node is constructed from the local information of each of the other nodes in the node network.
Changes to the local information of a node are normally automatically propagated to all remote nodes in the network. However, if for any reason discrepancies do occur, the remote node information can be updated using unirnsynch and/or uninode. uninode (using the -apply option) may be used to add missing entries while unirnsynch is used to delete entries which no longer exist in the local information.
uninode -cws -group all may be used to determine whether or not discrepancies exist (see the IMPORT-DIR field of the output).
The Oracle Calendar server must be up to run unirnsynch.
OPTIONS
-host
<hostname:port>
Specify the name and port number of the host where the node that has had deletions to local information resides. The port is optional and if omitted, the default port is used.
-n
<node-ID>
Specify the node-ID of the node that has had deletions to its local information.
-rhost
<hostname:port>
Specify the name and port number of the host where the node that is to have its remote node information updated resides. Default is the local host. The port is optional and if omitted, the default port is used.
-rn
<node-ID>
Specify the node-ID of the node that is to have its remote node information updated.
-v
Print the current version number of unirnsynch.
-h
Print a usage message explaining how to run unirnsynch.
EXAMPLES
Propagate deletions to entries in node 30 on host "pepper" to the remote node information of node 20 on host "salt":
% unirnsynch -rn 20 -rhost salt -n 30 -host pepper
EXIT STATUS
Exit values are:
0 Success
1 Usage error
2 System error
SEE ALSO
uninode
unisizeof - Compute the size of the Oracle Calendar server installation.
SYNTAX
unisizeof [-db | -n <node-ID>] unisizeof -v unisizeof -h
DESCRIPTION
unisizeof computes the size of an Oracle Calendar server installation. By default, it determines the size of the $ORACLE_HOME/ocal directory, including all database nodes and the Oracle Calendar server (executables and *.ini files). Use the -db option to determine the size of the entire database and the -n option to determine the size of a single database node.
unisizeof runs whether the Oracle Calendar server is up or down.
OPTIONS
-db
Compute the size of the entire database. The entire database is made up of all nodes on the server.
-n
<node-ID>
Compute the database size of the specified node.
-v
Print the version number of unisizeof.
-h
Print a usage message explaining how to run unisizeof.
EXAMPLES
Determine the size of the Oracle Calendar server installation:
% unisizeof unisizeof: total size of the Oracle Calendar server 44216K
Determine the size of the entire database:
% unisizeof -db unisizeof: total size of the Oracle Calendar server database is 10010K
Determine the size of the database for node 10:
% unisizeof -n 10 unisizeof: database size for nodeid [10] is 760K
FILES
$ORACLE_HOME/ocal/misc/unison.ini
Used to determine the default node (i.e. the node for which "name = N1" in this file) when unisizeof is used with the -db option.
EXIT STATUS
Exit values are:
0 Success
1 Failure
2 Usage error
3 User interrupt
unislice - Extract information from the Oracle Calendar server's log files.
SYNTAX
unislice <logFile(s)> [-s <starttime>] [-e <endtime>] unislice -v unislice -h
DESCRIPTION
unislice extracts information from the specified log file(s) and sends it to standard output. The unisnapshot utility uses unislice to gather information contained in log files. The <logFile(s)> argument is a list of one or more log files; each must be a fully-specified path name separated from the others by a space. unislice can run on most of the log files in the $ORACLE_HOME/ocal/log directory.
unislice runs whether the Oracle Calendar server is up or down.
OPTIONS
-e
<endtime>
Set an end time. Only log file information with time stamps prior to this time are included in the output. Th