Verifying Permissions

To be able to run any upgrade or patch workflows, you must have an administrator account to log in to the Service Enclave. You must be a member of one of these authorization groups: SuperAdmin, Admin, or DR Admin. More information can be found in the chapter Administrator Account Management of the Oracle Private Cloud Appliance Administrator Guide.

When you log in to the Service CLI, you can verify that the upgrade and patch commands are available to you by displaying all custom commands, or custom commands in these object categories: UpgradeRequest, PatchRequest, UpgradeJob, UpgradeJobList. The list of commands is filtered based on your access profile. If the upgrade and patch commands are listed, it means you have permission to run them.

PCA-ADMIN> showallcustomcmds
    Operation Name: <Related Object(s)>
    -----------------------------------
    getUpgradeHistory:  UpgradeRequest
    getUpgradeHistoryDetails:  UpgradeRequest
    getUpgradeJob:  UpgradeJob
    getUpgradeJobs:  UpgradeJobList
    getUpgradePlan:  UpgradeRequest
    getUpgradeRequests:  UpgradeRequest
    getUpstreamUlnChannel:  PatchRequest
    getUpstreamUlnChannels:  PatchRequest
[...]

PCA-ADMIN> showcustomcmds PatchRequest
    patchCN
    patchIlom
    patchOCIImages
    patchSwitch
[...]
    setUpstreamUlnMirror
    syncUpstreamUlnMirror
    getUpstreamUlnChannels
    getUpstreamUlnChannel
    addUpstreamUlnChannel
    removeUpstreamUlnChannel

PCA-ADMIN> showcustomcmds UpgradeJob
    getUpgradeJob
    killUpgradeJob

PCA-ADMIN> showcustomcmds UpgradeJobList
    getUpgradeJobs

PCA-ADMIN> showcustomcmds UpgradeRequest
    getUpgradeRequests
    upgradeFullMN
    upgradeCN
    upgradeIlom
    upgradeSwitch
[...]