Upgrade > Upgrade prerequisites > SA Core upgrade by root and non-root users

SA Core upgrade by root and non-root users

Multiple types of users can perform installations and upgrades on SA Cores. Previously, only root ssh users with root ssh login enabled could perform installations on SA Cores. That is no longer required.

Types of install users

The following users are supported when using the SA installer to install, or upgrade SA on a local machine:

  • root user
  • user who has permissions to invoke commands with su
  • user who has permissions to invoke commands as root with sudo capabilities

When a core has multiple core servers, the installer will need to run commands on hosts other than the one where the installer runs. Therefore, the upgrade process will require user and password credentials for such hosts. The following users are supported when using the SA installer to upgrade SA on remote machines:

  • root user (including root ssh access)
  • user with sudo capabilities (including user ssh access)

Password-less sudo is not supported for users with sudo capabilities.

When performing the installation or upgrade of a core as a user other than root, make sure you invoke all the commands using sudo.

For example: sudo /<media_path>/opsware_installer/hpsa_upgrade.sh

Settings required for regular users with sudo capabilities

Make the following changes to the /etc/sudoers file on every machine where the user installs SA:

Defaults lecture=never
Bob ALL=(ALL) ALL
Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin

Note For remote users, the home directory must exist on the remote host, otherwise the installer will not be able to validate the credentials.

General settings for user names

This section describes general rules for user names in SA. User names should have the following characteristics:

  • Be portable across systems conforming to the POSIX.1-2008 standard for portable OS interfaces. The value is composed of characters from the portable filename character set.
  • Not contain a hyphen (-) character as the first character of a portable user name.
  • Use the following set of characters if it is a portable filename:

    A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9