Asset ID: |
1-79-2258119.1 |
Update Date: | 2017-07-31 |
Keywords: | |
Solution Type
Predictive Self-Healing Sure
Solution
2258119.1
:
Oracle MiniCluster MC-S7 MCMU v1.1.25.4 Command Line Reference
Related Items |
- MiniCluster S7-2 Hardware
- Oracle MiniCluster Specific Software
|
Related Categories |
- PLA-Support>Eng Systems>Exadata/ODA/SSC>MiniCluster>DB: MiniCluster_EST
|
In this Document
Applies to:
Oracle MiniCluster Specific Software
MiniCluster S7-2 Hardware
Information in this document applies to any platform.
Purpose
This document provides a quick reference in MOS for MCMU command line options
Scope
MCMU Command line reference to be updated with each new release.
Currrent Release: Oracle Minicluster Build v1.1.25.4.4.10.11
Details
Usage: mcmu [Sub-Command][Sub-command options]
Oracle MiniCluster Configuration Utility
MCMU v{VERSION_PLACEHOLDER}
Sub-Commands:
/var/opt/oracle.minicluster/bin/mcmu [setupmc|patch|tenant|status|start|stop|compliance|sshkey|user|readiness|mctuner|asr|task|network|security|diskutil|fix]
MCMU Options:
-h, --help Show supported options
-V, --version Print version string
SETUPMC OPTIONS
Usage:
mcmu setupmc <SETUPMC_OPTIONS>
Options:
-h, --help show this help message and exit
-d, --debug perform debug output
-q, -Q, --quiet perform quiet output
-s STEP, --step=STEP Execute all, a particular step or a range of steps in
the setup
-a, --all List all the steps in the setup along with status
-f, --force Force re-run of a successfully completed step if re-
runnable
-l, --list List all the steps in the setup
-v, --verify Verify the initial setup, after the system setup is
completed
-u UNDO, --undo=UNDO Undo the last step that was executed (state can be
either "ok" or "failed")
PATCH OPTIONS
Usage: mcmu patch <PATCH_OPTIONS>
PATCH_OPTIONS:
-h, --help Show this help message and exit
-d, --debug Print debug output
-q, --quiet Minimize output
-l, --list List components status
-s, --source=SOURCE Distribution file location
-F, --factory=FACTORY Update factory installed system
-f, --force Force executing action
-z, --zonegroup=ZONEGROUP Zone group to apply patch to
--oh=DBHOME orache database home to apply patch to
-p, --patch=ACTIONS Actions to run:
-p check_acfs : Check Grid Infrastructure in Kernel Zones
-p check_be : List Solaris boot environments
-p check_gi : Check Oracle GI in tenants
-p check_ilom : Check system firmware version
-p check_jbod : Check JBOD firmware versions
-p check_omctoolkit : Check omctoolkit
-p check_repo : Check Solaris repository
-p check_solaris_gz : Check Solaris in global zones
-p check_solaris_kz : Check Solaris in Kernel Zones
-p check_tenants : Check Grid Infrastructure and Database Home in tenants
-p update_acfs : Update Grid Infrastructure in Kernel Zones
-p update_gi : Update Grid Infrastructure in Database VM group
-p update_gz : Update Solaris in global zones
-p update_ilom : Update system firmware
-p update_jbod : Update JBOD firmware versions
-p update_kz : Update Solaris in kernel zones
-p update_oh : Update Oracle Home in tenants
-p update_omctoolkit : Update omctoolkit
-p update_repo : Update Solaris repository
-p upload : Upload patch and scan components
TENANT OPTIONS
Usage: mcmu tenant < -h | -P <PROFILE_OPTIONS> | -G <GROUP_OPTIONS> | -H <HOME_OPTIONS> | -I <INSTANCE_OPTIONS> | -A <APP_PROFILE_OPTIONS> | -V <APP_GROUP_OPTIONS> | -M <MISC_OPTIONS> >
-h, --help Show this help message and exit
-P, --dbvmgrpprofile Perform DB VM Group Profile Operations
-G, --dbvmgroup Perform DB VM Group Operations
-H, --dbhome Perform DB Home Operations
-I, --dbinstance Perform DB Instance Operations
-A, --appvmgrpprofile Perform Application VM Group Profile Operations
-V, --appvmgroup Perform Application VM Group Operations
-M, --misc Perform Miscellaneous Tenant Operations
DB VM Group Profile - Usage: mcmu tenant --dbvmgrpprofile <PROFILE_OPTIONS>
PROFILE_OPTIONS:
-h, --help Show this help message and exit
-c, --create Create DB VM Group Profile
-d DEL_PID, --delete=DEL_PID Delete DB VM Group Profile, specified by Profile ID 'DEL_PID'
-u, --update Update DB VM Group Profile
-l, --list List summary of all the DB VM Group Profiles
-L LIST_PID, --listbyID=LIST_PID
List details of the DB VM Group Profile, specified by Profile ID 'LIST_PID'
DB VM Group - Usage: mcmu tenant --dbvmgroup <GROUP_OPTIONS>
GROUP_OPTIONS:
-h, --help Show this help message and exit
-D DEP_GID, --deploy=DEP_GID Deploy DB VM Group, specified by DB VM Group ID 'DEP_GID'
-d DEL_GID, --delete=DEL_GID Delete DB VM Group, specified by DB VM Group ID 'DEL_GID'
-l, --list List summary of all the DB VM Groups
-L LIST_GID, --listbyID=LIST_GID
List details of the DB VM Group, specified by DB VM Group ID 'LIST_GID'
-g ZID, --gi ZID <GRID_OPTIONS>
Perform Grid Infrastructure operations corresponding to zonegroup 'ZID'. The operations defined are <GRID_OPTIONS>
-t TOG_GID, --togglebyID=TOG_GID
Toggle NFS for DB VM Group, specified by DB VM Group ID 'TOG_GID'
Grid Infrastructure Installation steps - Usage: mcmu tenant --dbvmgroup --gi <GRID_OPTIONS>
GRID_OPTIONS:
-a, --all List all the steps in DB VM Deployment
-s RUN_SID, --step=RUN_SID Run a step or substep in DB VM Group Deployment, specified by step ID 'RUN_SID' or 'all' to run all the steps
-r REC_SID, --step=REC_SID Run all the substeps belonging to a step in DB VM Group Deployment, specified by step or substep ID 'REC_SID'
-u UNDO_SID, --undo=UNDO_SID Undo a step or substep in DB VM Group Deployment, specified by step ID 'UNDO_SID'
DB Home - Usage: mcmu tenant --dbhome <HOME_OPTIONS>
HOME_OPTIONS:
-h, --help Show this help message and exit
-c, --create Create DB Home
-d DEL_HID, --delete=DEL_HID Delete DB Home, specified by DB HOME ID 'DEL_HID'
-l LIST_GID, --listbyvmgrpID=LIST_GID
List details of all DB Homes in a DB VM Group, specified by DB VM Group ID 'LIST_GID'
-L LIST_HID, --listbyID=LIST_HID
List details of the DB Home, specified by DB Home ID 'LIST_HID'
DB Instance - Usage: mcmu tenant --dbinstance <INSTANCE_OPTIONS>
INSTANCE_OPTIONS:
-h, --help Show this help message and exit
-c, --create Create DB Instance
-d DEL_IID, --delete=DEL_IID Delete DB Instance, specified by DB Instance ID 'DEL_IID'
-i, --import Import DB Instance
-l LIST_GID, --listbyvmgrpID=LIST_GID
List all the DB Instances in a DB VM Group,specified by DB VM Group ID 'LIST_GID'
-L LIST_IID, --listbyID=LIST_IID
List details of the DB Instances, specified by DB Instance ID 'LIST_IID'
-s, --start Start DB Instance
-S, --stop Stop DB Instance
-r, --relocate Relocate RACONENODE DB Instance
-t, --tde Enable Transparent Data Encryption DB Instance
-p, --tdepassword Change password for Transparent Data Encryption
Application VM Group Profile - Usage: mcmu tenant --appvmgrpprofile <APP_PROFILE_OPTIONS>
APP_PROFILE_OPTIONS:
-h, --help Show this help message and exit
-c, --create Create Application VM Group profile
-u, --update Update Application VM Group profile
-d DEL_AID, --delete=DEL_AID Delete Application VM Group profile, specified by Application VM profile ID 'DEL_AID'
-l, --list List summary of all the Application VM Group profiles
-L LIST_AID, --listbyID=LIST_AID
List details of the Application VM profile, specified by Application VM profile ID 'LIST_AID'
Application VM Group - Usage: mcmu tenant --appvmgroup <APP_GROUP_OPTIONS>
APP_GROUP_OPTIONS:
-h, --help Show this help message and exit
-D DEP_VID, --deploy=DEP_VID Deploy Application VM Group, specified by Application VM Profile ID 'DEP_VID'
-d DEL_VID, --delete=DEL_VID Delete Application VM, specified by Application VM Group ID 'DEL_VID'
-l, --list List summary of all the Application VMs
-L LIST_VID, --listbyID=LIST_VID
List details of the Application VM, specified by Application VM Group ID 'LIST_VID'
-t TOG_VID, --togglebyID=TOG_VID
Toggle NFS for APP VM Group, specified by APP VM Group ID 'TOG_VID'
Application VM Group - Usage: mcmu tenant --misc <MISC_OPTIONS>
MISC_OPTIONS:
-h, --help Show this help message and exit
-i, --ip Add more IPs to MiniCluster system
-n, --network List all the IP-Hostname entries that should be mapped in the DNS
STATUS OPTIONS
Usage: mcmu status < -h | -G | -Z >
-h, --help Show this help message and exit
-G, --gi Show Grid Infrastructure status
-Z, --zone Show zone status
Grid Infrastructure status - Usage: mcmu status --gi < -h | -k | -n >
-h, --help Show this help message and exit
-k, --kernelzone Show Grid Infrastructure status in kernel zone
-n, --dbvmname=DBVMNAME Show Grid Infrastructure status in DB VM group, specified by group name. Please run "mcmu tenant -G -l" to get the list of DB VM groups
Zone status - Usage: mcmu status --zone < -h | -k | -n >
-h, --help Show this help message and exit
-k NODENUM, --kernelzone=NODENUM Show kernel zone status, specified by node number (node1 or node2)
-n, --zonename=ZONENAME Show tenant zone status, specified by zone name
-a, --all Show status of all zones on both nodes
START OPTIONS
Usage: mcmu start < -h | -G | -Z | -V >
-h, --help Show this help message and exit
-G, --gi Start Grid Infrastructure
-Z, --zone Start zone
-V, --vmgroup Start all zones in VM group
Start Grid Infrastructure - Usage: mcmu start --gi < -h | -k | -n >
-h, --help Show this help message and exit
-k NODENUM, --kernelzone=NODENUM Start Grid Infrastructure in kernel zone, specified by node number (node1 or node2 or both)
-n, --dbvmname=DBVMNAME Start Grid Infrastructure in DB VM group, specified by group name. Please run "mcmu tenant -G -l" to get the list of DB VM groups
Start zone - Usage: mcmu start --zone < -h | -k | -n >
-h, --help Show this help message and exit
-k NODENUM, --kernelzone=NODENUM Start kernel zone, specified by node number (node1 or node2)
-n, --zonename=ZONENAME Start tenant zone, specified by zone name
Start VM group - Usage: mcmu start --vmgroup < -h | -n >
-h, --help Show this help message and exit
-n, --groupname=GROUPNAME Start all zones in a VM group, specified by group name. Please run "mcmu tenant -G -l" to get the list of DB VM groups
STOP OPTIONS
Usage: mcmu stop < -h | -G | -Z | -V | -N | -S >
-h, --help Show this help message and exit
-G, --gi Stop Grid Infrastructure
-Z, --zone Stop zone
-V, --vmgroup Stop all zones in VM group
-N, --node Shut down one node
-S, --system Shut down the whole system
Stop Grid Infrastructure - Usage: mcmu stop --gi < -h | -k | -n >
-h, --help Show this help message and exit
-k NODENUM, --kernelzone=NODENUM Stop Grid Infrastructure in kernel zone, specified by node number (node1 or node2 or both)
-n DBVMNAME, --dbvmname=DBVMNAME Stop Grid Infrastructure in DB VM group, specified by group name. Please run "mcmu tenant -G -l" to get the list of DB VM groups
Stop zone - Usage: mcmu stop --zone < -h | -k | -n >
-h, --help Show this help message and exit
-k NODENUM, --kernelzone=NODENUM Stop kernel zone, specified by node number (node1 or node2)
-n, --zonename=ZONENAME Stop tenant zone, specified by zone name
Stop VM group - Usage: mcmu stop --vmgroup < -h | -n >
-h, --help Show this help message and exit
-n, --groupname=GROUPNAME Stop all zones in a VM group, specified by group name. Please run "mcmu tenant -G -l" to get the list of DB VM groups
Shut down one node - Usage: mcmu stop --node
Shut down system - Usage: mcmu stop --system
COMPLIANCE OPTIONS
Usage: mcmu compliance < -h | -l | -r <RUN_OPTIONS> | -S <SCHEDULE_OPTIONS> >
-h, --help Show this help message and exit
-l, --list Show compliance run information for all zones
-r, --run=TYPE run type=DISA_STIG security settings
-S, --schedule Schedule a compliance run
Run DISA-STIG settings - Usage: mcmu compliance --run DISA_STIG < -h | -t -z >
RUN_OPTIONS:
-h, --help Show this help message and exit
-t, --type=TYPE Specify zone type (tenant, global)
-z, --zonename=ZONENAME Specify zonename. Please run "mcmu status -Z -a" to get list of tenant zones. Kernel zone is not supported.Please provide the hostname if it's a global zone
Schedule a compliance run - Usage: mcmu compliance --schedule < -h | -n [-z -t -f ] >
SCHEDULE_OPTIONS:
-h, --help Show this help message and exit
-n, --node=NODE Specify node number (node1, node2 or both)
-z, --zonename=ZONENAME Specify zonename. Please run "mcmu status -Z -a" to get list of zones. Kernel zone is not supported. If the name is not provided, compliance will be scheduled for all VMs on node=NODE
-t, --time=TIME Specify time to run (in 24hr format, e.g. 13:01, default is current time)
-f, --frequency=FREQUENCY Specify frequency (once or monthly, default is once)
SSHKEY OPTIONS
Usage: mcmu sshkey < -h | -R | -S >
-h, --help Show this help message and exit
-R, --rekey Regenerate SSH keys
-S, --ssh Set up passwordless SSH from user machine to MiniCluster VM
Regenerate SSH keys - Usage: mcmu sshkey --rekey < -h | -n -z >
-h, --help Show this help message and exit
-n NODE, --node=NODE Specify node number (node1 or node2)
-z ZONENAME, --zonename=ZONENAME Specify zonename. Please run "mcmu status -Z -a" to get list of zones
Setup SSH - Usage: mcmu sshkey --ssh < -h | -n -v -N -u -k >
-h, --help Show this help message and exit
-n NODE, --node=NODE Specify the node of target VM (node1 or node2)
-v, --vmname=VMNAME Specify the name of target VM
-N, --hostname=HOSTNAME Specify the hostname of your machine
-u, --username=USERNAME Specify the username on your machine
-k, --pubkey=PUBKEY Specify the rsa public key of your machine
USER OPTIONS
Usage: mcmu user < -h | -c | -A | -R | -d | -r | -P | -E | -l >
Create a new user:
Usage: mcmu user --create < -h | -u -e -n -p [-r <primary|secondary|tenant_admin|auditor>] >
-h, --help Show this help message and exit
-u, --username=USERNAME Specify username. Should not be root or mcadmin,
must start with an alphabet, contain at least one
lowercase letter, and can have either digits,
alphabets, '.', '-' or '_'
-e, --email=EMAIL Specify email, in the format of @
-n, --fullname=FULLNAME Specify full name. Should contain English alphabet
[a-z,A-Z] or digits or '-', '+', '_', ' ' ONLY.
Please use quotes if there is space in between words
-p, --phone=PHONE Specify phone number. Digits only
-r, --role=ROLE Specify role type ("primary", "secondary", "tenant_admin"
or "auditor", default value is "primary")
Approve/reject user creation request:
Usage: mcmu user --approve|--reject < -h | -r <admin|supervisor> -u -k >
-h, --help Show this help message and exit
-r, --role=ROLE Specify role (admin or supervisor)
-u, --username=USERNAME Specify username
-k, --key=KEY Specify key
Delete a user:
Usage: mcmu user -d < -h | -u >
-h, --help Show this help message and exit
-u, --username=USERNAME Specify username
Change user password:
Usage: mcmu user -P < -h | -u >
-h, --help Show this help message and exit
-u, --username=USERNAME Specify username
Edit user profile:
Usage: mcmu user -E < -h | -u >
-h, --help Show this help message and exit
-u, --username=USERNAME Specify username
List users who are pending approval:
Usage: mcmu user -l
READINESS CHECK OPTIONS
Usage: mcmu readiness < -h | -s | -t | -c | -a >
-h, --help Show this help message and exit
-s, --system Performs System Readiness checks
-t, --topology Performs Topology Verification checks
-c, --calibration Performs Disk Calibration checks
-a, --all Performs all the checks
MCTUNER OPTIONS
Usage: mcmu mctuner < -h | -S | -P >
-h, --help Show this help message and exit
-S, --status Show mctuner status in all zones
-P, --property Set mctuner property in one zone
Set property - Usage: mcmu mctuner --property < -h | -n -z -k -v >
Options:
-h, --help Show this help message and exit
-n, --node=NODE Specify node number (node1 or node2)
-z, --zonename=ZONENAME Specify zonename (global or acfskz)
-k, --key Specify property name, supported properties:
EMAIL_ADDRESS - email address for issue notification
-v, --value Specify property value
AUTOMATIC SERVICE REQUEST (ASR) OPTIONS
Usage: mcmu asr < -h | -O | -A >
-h, --help Show this help message and exit
-O, --ots Register to Oracle Transport Server
-A, --asrm Register to Customer ASR Manager
Register to Oracle Transport Server - Usage: mcmu asr --ots
Options:
-s, --solaris Register ASR for Solaris
-i, --ilom Register ASR for ILOM
Register to Customer ASR Manager - Usage: mcmu asr --asrm
Options:
-s, --solaris Register ASR for Solaris
-i, --ilom Register ASR for ILOM
TASK OPTIONS
Usage: mcmu task < -h | -L | -C >
-h, --help Show this help message and exit
-L, --list List all current tasks
-C, --clear Clear all current tasks
SECURITY OPTIONS
Usage: mcmu security < -h | -l < node1 | node2 > | -b | -e | -a | -p | -r >
-h, --help Show this help message and exit
-l NODE, --list=NODE Displays Encryption keys for all virtual machines and attached volumes on the specified compute node 'NODE' where NODE is either [node1|node2]
-b, --backup Backup Encryption Keystore
-e, --eeprom Set boot password
-a, --audit Allow system shutdown on audit failure, can only be run on the MC rig which is configured with DISA-STIG profile
-p, --policy View and change password policy as per the selected security profile
-r, --run Run security settings on global zone of both the nodes
DISK UTILITY OPTIONS
Usage: mcmu diskutil < -h | -d | -p | -a | -e | -l | -s | -i | -f >
-h, --help Show this help message and exit
-d DISK_D, --detach=DISK_D Perform the operations before the bad disk 'DISK_D' is detached from the system
-p, --progress Check the progress of detach operation
-a DISK_A, --attach=DISK_A Perform the operations after the new disk 'DISK_A' is attached to the system
-e, --expand Expand the storage by adding new JBOD(s) to the system
-l, --list Quick view of the disk status in the cluster
-s, --status Check the detailed status of all the disks in the cluster
-i, DISK_I, --info=DISK_I Get the information of the disk
-f, --filesystem Check the status of all the filesystem in the cluster
NETWORK OPTIONS
Usage: mcmu network < -h | -a <A_TYPE> | -s | -d <D_TYPE> >
-h, --help Show this help message and exit
-a, --add=A_TYPE add network to zone type A_TYPE (supported type: tenant)
-s, --show Show interface/network information
-d, --delete=D_TYPE delete network from zone type D_TYPE (supported type: tenant)
FIX UTILITY OPTIONS
Usage: mcmu fix
Attachments
This solution has no attachment