Go to main content

Oracle® MiniCluster S7-2 Administration Guide

Exit Print View

Updated: October 2021
 
 

Configure the mctuner Notification Email Address (CLI)

By default, the virtual tuning assistant is enabled on the system to ensure that the system is running with optimal tuning parameters. If the tuning assistant detects any issues, it sends email notifications to the email address that is configured for the tuning assistant.


Note -  For the most thorough notifications, configure the tuning assistant email address in the global and kernel zones on both nodes.
  1. Log into the MCMU CLI as a primary admin, such as mcinstall.

    See Log in to the MCMU CLI.

  2. Check the current email address that is configured in the tuning assistant.

    In this example, the address is configured as root@localhost, which is the factory default, and should be changed to an email address of an administrator.

    % svcprop mctuner | grep -i email
    mctuner_vars/EMAIL_ADDRESS astring root@localhost
    mctuner_vars/EMAIL_MESSAGES boolean true
  3. Configure the email address for the global zone.

    In this example, the email address is configured for the global zone on node 1.

    % mcmu mctuner -P -n node1 -z global -k EMAIL_Address -v admin01@example.com
    [INFO    ] Log file path : mc3-n1:/var/opt/oracle.minicluster/setup/logs/mcmu_082916_191031.log
    INFO SSH login to mc3-n1 successfully.
    INFO:MCMU.controllers.common.pexpect_util:SSH login to mc3-n1 successfully.
    INFO su to user root successfully.
    INFO:MCMU.controllers.common.pexpect_util:su to user root successfully.
    [INFO    ] mctuner property EMAIL_ADDRESS in zone global on node1 has been set to admin01@example.com
    
  4. Configure the email address for the kernel zone.

    In this example, the email address is configured for the kernel zone on node 1.

    % mcmu mctuner -P -n node1 -z acfskz -k EMAIL_Address -v admin01@example.com
    [INFO    ] Log file path : mc3-n1:/var/opt/oracle.minicluster/setup/logs/mcmu_082916_191031.log
    INFO SSH login to mc3-n1 successfully.
    INFO:MCMU.controllers.common.pexpect_util:SSH login to mc3-n1 successfully.
    INFO su to user root successfully.
    INFO:MCMU.controllers.common.pexpect_util:su to user root successfully.
    [INFO    ] mctuner property EMAIL_ADDRESS in zone acfskz on node1 has been set to admin01@example.com
    
  5. Repeat Step 3 and Step 4 for node 2.
    % mcmu mctuner -P -n node2 -z global -k EMAIL_Address -v admin01@example.com
    % mcmu mctuner -P -n node2 -z acfskz -k EMAIL_Address -v admin01@example.com