Go to main content

Oracle® MiniCluster S7-2 Administration Guide

Exit Print View

Updated: October 2021
 
 

Log in to a DB VM

Use this procedure to log into a VM.

You must have the Tenant Admin (tadmin) role to log into a VM. For more information about roles, see User Roles.

If you log directly into a DB VM, you are not accessing the system through the MCMU and you cannot run mcmu commands.


Caution

Caution  -  Never manually manage VMs using Oracle Solaris zone commands. Always manage the VMs through MCMU BUI or MCMU CLI.


When you log into MiniCluster, the default prompt is: username@hostname/directory(% or $ or #), however, for brevity in examples, the prompt is shortened to % for users and # for superuser.

This procedure describes how to access VMs using the ssh command. Depending on the software and services installed in the VM, the VM might also be accessible through those services.

  1. From a terminal window with network access to the system, use the ssh command to log into a DB VM.

    Syntax:

    % ssh user_name@VM-hostname_or_IPaddress
    

    where:

    • user_name is a valid user name with the Tenant Admin (tadmin) role.

      The default user that is initially configured in DB VMs is oracle. For more information about the oracle user, see User Accounts

    • VM-hostname_or_IPaddress is either the hostname or IP address of the VM. You can obtain VM names from Database → Virtual Machines (see View the DB VM Group and VMs (BUI).

    For example:

    % ssh oracle@dbvmg1-zone-1-mc4-n1
  2. Enter a valid password for the user account.
  3. If needed, assume the root role.

    The password is the same password used for the oracle user.

    For example:

    % su root
    Password: **************
    #

    At this point, you can perform administrative tasks in the DB VM.