Big news! The community will be moving to a new platform April 21. Read more.
Big news! The community will be moving to a new platform April 21. Read more.

(DP) Support Tip: using `omniusers` command to allow a Windows GUI to manage a Linux CM.

(DP) Support Tip: using `omniusers` command to allow a Windows GUI to manage a Linux CM.

Using the `omniusers` command on a Linux Cell Manager (CM) to allow a Windows CM GUI to manage a Linux DP cell.

Problem

I have a Data Protector (DP) Linux Cell Manager and a Windows Cell Manager of the same version.
I want the GUI on the Windows Cell Manager to be able to manage the Linux Cell Manager.

Pre - requisites

On the Linux CM run
`omnicc -secure_comm -configure_peer <Win_CM_hostname>`

On the Windows CM run
`omnicc -secure_comm -configure_peer <Linux_CM_hostnme>`

Answer (example)

On the Linux CM the following command would allow a DP user "administrator" of the standalone windows host alpha to manage the cell.

`omniusers -add -type W -usergroup admin -name administrator -group ALPHA -client alpha.xxxx.com -pass DP_4dmin`

Explaining the example omniusers command above
-type W                                Means the system added is Windows.
-usergroup admin            Means the system is added to DP's admin group.
-name administrator       Means the account "administrator" will be able to connect
-group ALPHA                   Specifies the windows system group 
-client alpha.xxxx.com   Specifies the windows system hostname
-pass DP_admin               omniusers cli needs a password, but this password is not used later.

The user added using to the command above could be seen with the `omniusers -list` commandName: ADMINISTRATOR
Group: ALPHA
Client: alpha.xxxx.com
Web Username: administrator|alpha|alpha.xxxx.com
Descr:

Using wild cards with omniusers
For security reasons we would not recommend using wild cards with `omniusers`.
If you did want to use wildcards, perhaps for the group, a syntax example would be

`omniusers -add -type W -usergroup admin -name administrator -group \* -client alpha.xxxx.com -pass DP_4dmin`

Removing a user

The syntax to remove a user is `omniusers -remove -name <WebUserName>`

so to remove the previous user
`omniusers -remove -name "administrator|alpha|alpha.xxxx.com"`
User 'administrator|alpha|alpha.xxxx.com' successfully removed.

 

Many thanks to @Scorpio_CZ for his help with these commands.

Labels (1)

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
2 of 2
Last update:
‎2021-02-25 14:28
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.