You are here

4. Create Oracle VM Manager Admin Users

4. Create Oracle VM Manager Admin Users

Applicable to all Oracle VM 3.x Releases. 
A best practice is to create an individual user account for each administrator that access Oracle VM Manager. Oracle VM Manager has two default administrative user accounts; the admin user account and the weblogic user account (lowercase). The passwords for the admin and the weboigic accounts are set during the Oracle VM Manager installation. By default Oracle VM Manager user accounts are local user accounts that are stored and managed using WebLogic and the ovm_admin script. User accounts can be created, deleted, listed, modified, locked, and unlocked using WebLogic and the Oracle VM Manager ovm_admin script.
 
Oracle VM Manager does not support role based access control. All administrative users with access to the Oracle VM Manager GUI have root administrative access to all of the objects managed by Oracle VM Manager. If role based access control is a requirement, role based access control can be configured for Oracle VM Manager using Enterprise Manager Cloud Control. With Cloud Control, each object managed by Oracle VM Manager can be configured using role based access control. The Oracle VM product family; Oracle VM Server, Oracle VM Manager, Oracle VM Templates and Assemblies can be managed with Oracle VM Manager and Oracle Enterprise Manager 12c Cloud Control. Unlike Oracle VM 2.x, which could only be managed by Oracle VM Manager or Oracle Enterprise Manager, not both, Oracle VM 3 and above can be managed simultaneously by Oracle VM Manager along with Oracle Enterprise Manager 12c Cloud Control.
 
Tip: Oracle VM Manager as well as Enterprise Manager support LDAP integration for user management and authentication.
 
User accounts can be created, deleted, listed, modified, locked, and unlocked using the Oracle VM Manager ovm_admin script.
 
Table 8 shows the ovm_admin script options. Type /u01/app/oracle/ovm-manager-3/bin/ovm_admin --help to list the options. 
Options
--help Shows this message
--createuser <admin> <password> Create new Oracle VM Manager admin user
--deleteuser <admin> Delete Oracle VM Manager admin user
--listusers List Oracle VM Manager users
--modifyuser <admin> <password> <new_password> Modify Oracle VM Manager user password
--lockusers <tries> Max login tries before locking account. This setting is global.
--unlockuser <admin> Unlock user account
--modifyds <SID> <host> <port> <schema> <password> Modify Data Store 'OVMDS'
--listconfig List configuration
--rotatelogsdaily <time> Rotate Logs Daily (HH:MM)
--rotatelogsbysize <size> Rotate Logs By Size (KB)
 
The following examples how how to create, list, modify and delete an Oracle VM Manager administrative users. The example user name is user1. Change the example user name user1 to the desired user name.  
 
As root, access an Oracle VM Manager host, and type "/u01/app/oracle/ovm-manager-3/bin/ovm_admin --createuser" as shown in the next example. 
# /u01/app/oracle/ovm-manager-3/bin/ovm_admin --createuser
 
Oracle VM Manager Release 3.2.3 Admin tool
 
Please enter the username : user1
 
Please enter the password for user1 (minimum 8 chars. with one numeric/special char.) : 
Please re-enter the password : 
 
Please enter the password for weblogic : 
 
Initializing WebLogic Scripting Tool (WLST) ...
 
Welcome to WebLogic Server Administration Scripting Shell
 
Type help() for help on available commands
 
Connecting to WebLogic server ...
 
Connected ...
Creating user 'user1' ...
Created user 'user1' successfully ...
Exiting...
 
The next examples how how to list the Oracle VM Manager administrative users. As root, access an Oracle VM Manager host, and type "/u01/app/oracle/ovm-manager-3/bin/ovm_admin --listusers" as shown in the next example. 
 
# /u01/app/oracle/ovm-manager-3/bin/ovm_admin --listusers
Oracle VM Manager Release 3.2.3 Admin tool
 
Please enter the password for weblogic : 
 
Initializing WebLogic Scripting Tool (WLST) ...
 
Welcome to WebLogic Server Administration Scripting Shell
 
Type help() for help on available commands
 
Connecting to WebLogic server ...
 
Connected ...
Listing Oracle VM users ...
User : admin
User : user1
Listed users successfully ...
Exiting...
 
The next examples how how to change an Oracle VM Manager administrative users password. As root, access an Oracle VM Manager host, and type "/u01/app/oracle/ovm-manager-3/bin/ovm_admin --modifyuser" as shown in the next example. 
 
# /u01/app/oracle/ovm-manager-3/bin/ovm_admin --modifyuser
 
Oracle VM Manager Release 3.2.3 Admin tool
 
Please enter the username : user1
 
Please enter the current password : 
 
Please enter a new password for user1 (minimum 8 chars. with one numeric/special char.) : 
Please re-enter the password : 
 
Please enter the password for weblogic : 
 
Initializing WebLogic Scripting Tool (WLST) ...
 
Welcome to WebLogic Server Administration Scripting Shell
 
Type help() for help on available commands
 
Connecting to WebLogic server ...
 
Connected ...
Modifying user 'roddyr' ...
Failed to modify user 'roddyr' ...
Exiting...
 
The next examples how how to delete an Oracle VM Manager administrative users password. As root, access an Oracle VM Manager host, and type "/u01/app/oracle/ovm-manager-3/bin/ovm_admin --deleteuser username" as shown in the next example. 
 
# /u01/app/oracle/ovm-manager-3/bin/ovm_admin --deleteuser user1
 
Oracle VM Manager Release 3.2.3 Admin tool
 
Please enter the password for weblogic : 
 
Initializing WebLogic Scripting Tool (WLST) ...
 
Welcome to WebLogic Server Administration Scripting Shell
 
Type help() for help on available commands
 
Connecting to WebLogic server ...
 
Connected ...
Deleting user 'user1' ...
Deleted user 'user1' successfully ...
Exiting...
Download PDF Now!