Defining the editor for existing synchronization projects
To apply patches to existing , use the ShellPatchEditor. The definition part of this editor contains the following information:
Table 87: ShellPatchEditor editor definitions
PatchesToApply |
Comma-separated list of patch numbers for all patches that are to be applied.
Only patches that do not require any user input can be applied.
Keywords can be specified in order to apply all available patches.
Example: <Data Name="PatchesToApply" Display="Patches to apply" Type="System.String, mscorlib">AllFixes,AllFeatures</Data>
All dependent milestones will also be applied. |
Synchronization Editor Command Line Interface
Once you have created a configuration file and have it accordingly, you can generate new or update existing synchronization projects with the . You can also opt to use the to do this. For more information, see Synchronization Editor Module for Windows PowerShell.
To create synchronization projects with the Synchronization Editor Command Line Interface
-
Start a command line editor.
-
Switch to the One Identity Manager installation directory.
-
Run the Synchronization Editor Command Line Interface with the -V option and set the parameter values.
SynchronizationEditor.CLI.exe --CreateShell {<Options>} <configuration file> {<Parameter>}
NOTE: If the value of a parameter contains a space or special character, it must be enclosed in quotes.
Example: SynchronizationEditor.CLI.exe --CreateShell -V /Workspace=D:\ActiveDirectoryProject.sews /SetParam SyncProject="Synchronization project for Active Directory domain XYZ"
-
Enter values for the parameters requiring user input.
-
To enter an empty value, press ENTER.
-
To transfer the default value defined in the configuration file, click Esc.
-
(Optional) Run the Synchronization Editor Command Line Interface with the option -R.
This establishes a remote connection.
Example: SynchronizationEditor.CLI.exe --CreateShell -R /Workspace=D:\ActiveDirectoryProject.sews
-
If no error occur, run steps 3 and 4 with the -S option.
If the synchronization project was created with a , the schemas are shrunk when saved.
To update synchronization projects with the Synchronization Editor Command Line Interface
-
Start a command line editor.
-
Switch to the One Identity Manager installation directory.
-
Run the Synchronization Editor Command Line Interface with the -V option and set the parameter values.
SynchronizationEditor.CLI.exe --PatchShell {<options>} <configuration file> {<parameter>}
NOTE: If the value of a parameter contains a space or special character, it must be enclosed in quotes.
Example: SynchronizationEditor.CLI.exe --PatchShell -V /Workspace=D:\ActiveDirectoryProject.sews /SetParam SyncProject="CCC-99D111DD1CF11111BCF11111E1111BE9" /SetParam Patches=AllFixes,Milestone_OneIM_8.0.2017.1104,VPR#12345,VPR#23456,VPR#34567
-
Enter values for the parameters requiring user input.
-
To enter an empty value, press ENTER.
-
To transfer the default value defined in the configuration file, click Esc.
-
(Optional) Run the Synchronization Editor Command Line Interface with the option -R.
This establishes a remote connection.
Example: SynchronizationEditor.CLI.exe --PatchShell -R /Workspace=D:\ActiveDirectoryProject.sews
-
If no error occur, run steps 3 and 4 with the -S option.
If the synchronization project was created with a project template, the schemas are shrunk when saved.
TIP: Run the SynchronizationEditor.CLI.exe without additional input to view help for the Synchronization Editor Command Line Interface.
Table 88: Synchronization Editor Command Line Interface commands
--CreateShell |
Creates a new synchronization project using the data from the defined workspace.
Short form: --CS |
--PatchShell |
Applies patches to an existing synchronization project.
Short form: --PS |
Table 89: Synchronization Editor Command Line Interface options
-?|H |
Displays help. |
-Q |
No alert before running irreversible actions. |
-V |
The Synchronization Editor Command Line Interface is run in verbose mode. Use this option for debugging. |
-S |
Saves the new synchronization project in the database. If this option is not given, creating the synchronization project is simulated. |
-N |
Defines whether the Synchronization Editor Command Line Interface opens in non-interactive mode. This may cause requests for parameter input to fail.
Missing encrypted values are also queried in non-interactive mode. |
-R |
Establishes the connection to the target system over a remote service connection.
Use a remote connection if it is not possible to directly access the target system from the workstation where the Synchronization Editor is installed. |
Table 90: Parameter declaration
/Workspace |
Full or relative path of the configuration file. |
/SetParam |
Sets the value of the parameter defined in the configuration file. Overwrites default values.
Format: Parameter name=value
Pay attention to the upper and lower case characters in the parameter name.
If a value contains a space or special character, it must be enclosed in quotes. Multiple parameters are declared individually: /SetParam ParamName1=Value1 /SetParam ParamName2=Value2 |
Synchronization Editor Module for Windows PowerShell
Once you have created a configuration file and have it accordingly, you can generate new or update existing synchronization projects with the . You can also opt to use the to do this. For more information, see Synchronization Editor Command Line Interface.
To create synchronization projects with the Synchronization Editor for Windows PowerShell
-
Start Windows PowerShell.
-
Switch to the One Identity Manager installation directory.
-
Load the Synchronization Editor Module for Windows PowerShell.
Import-Module .\VI.Projector.Editor.PowerShell.dll
-
Run the New-ProjectorShell CmdLet and set the value for the parameter.
New-ProjectorShell -Workspace <configuration file> {option} {parameter}
Example: New-ProjectorShell -Workspace D:\ActiveDirectoryProject.sews -WorkspaceParameter @{SyncProject="Synchronization Project for Active Directory Domain XYZ"}
NOTE: Mandatory parameter are queried one at a time if you run the CmdLet without additional input.
-
Enter values for the parameters requiring user input.
- To enter an empty value, press ENTER.
-
(Optional) Run the New-ProjectorShell CmdLet with the -Remote option.
This establishes a remote connection.
Example: New-ProjectorShell -Workspace D:\ActiveDirectoryProject.sews -Remote
-
If no error occur, run steps 3 and 4 with the -SaveToDatabase option.
If the synchronization project was created with a , the schemas are shrunk when saved.
To update synchronization projects with the Synchronization Editor Module for Windows PowerShell
-
Start Windows PowerShell.
-
Switch to the One Identity Manager installation directory.
-
Load the Synchronization Editor Module for Windows PowerShell.
Import-Module .\VI.Projector.Editor.PowerShell.dll
-
Run the Update-ProjectorShell CmdLet and set the value for the parameter.
Update-ProjectorShell -Workspace <configuration_file> {option} {parameters}
Example: Update-ProjectorShell -Workspace D:\ActiveDirectoryProject.sews -WorkspaceParameter @{SyncProject="CCC-99D111DD1CF11111BCF11111E1111BE9";Patches="AllFixes,Milestone_OneIM_8.0.2017.1104,VPR#12345,VPR#23456,VPR#34567"}
NOTE: Mandatory parameter are queried one at a time if you run the CmdLet without additional input.
-
Enter values for the parameters requiring user input.
- To enter an empty value, press ENTER.
-
(Optional) Run the Update-ProjectorShell CmdLet with the -Remote option.
This establishes a remote connection.
Example: Update-ProjectorShell -Workspace D:\ActiveDirectoryProject.sews -Remote
-
If no error occur, run steps 3 and 4 with the -SaveToDatabase option.
If the synchronization project was created with a project template, the schemas are shrunk when saved.
Table 91: Synchronization Editor Module for Windows PowerShell CmdLets
New-ProjectorShell |
Creates a new synchronization project using the data from the defined workspace. |
Update-ProjectorShell |
Applies patches to an existing synchronization project. |
Table 92: Options
-? |
Displays help. |
-Workspace |
Full or relative path of the configuration file. |
-SaveToDatabase |
Saves the new synchronization project in the database. If this option is not given, creating the synchronization project is simulated. |
-WorkspaceParameter |
Sets the value of the parameter defined in the configuration file. Overwrites default values.
Format: @{Parameter name="value"}
Multiple parameters are separated with semicolons: -WorkspaceParameter @{ParamName1="Value1";ParamName2="Value2"} |
-Remote |
Establishes the connection to the target system over a remote service connection.
Use a remote connection if it is not possible to directly access the target system from the workstation where the Synchronization Editor is installed. |
Maintaining the data store
You set the mode in the start up configuration. Depending on the mode, maintenance of the data store is done after each whereby One Identity Manager attempts to clean up unresolved references. The contents of the data store can also be displayed in the and you can start maintenance manually. In this case, you decide if you want to run maintenance directly on the workstation that the Synchronization Editor was started on, or if it should be run by the .
If the One Identity Manager connection is in expert mode, you also see the Data store view.
To display the contents of the data store
-
Select the Configuration > One Identity Manager connection category.
-
Open the Data store view.
In the overview pane you can see the data store contents.
To start maintenance manually
-
In the Data store view, click Perform maintenance.
-
To allow maintenance to be run by the One Identity Manager Service, click Yes.
- OR -
To run maintenance on the current workstation, click No.
Related topics