Hitachi Command Control Interface (CCI) User and Reference Guide
133
3.3.4
Changing the CCI User (UNIX Systems)
The CCI software is initially configured to allow only the
root
user (system administrator) to
execute CCI commands. If desired (e.g., CCI administrator does not have
root
access), the
system administrator can change the CCI user from
root
to another user name.
To change the CCI user:
1.
Change the owner of the following CCI files from the
root
user to the desired user name:
/HORCM/etc/horcmgr
All CCI commands in the /HORCM/usr/bin directory
All CCI log directories in the /HORCM/log* directories
2.
Change the owner of the raw device file of the HORCM_CMD command device in the
configuration definition file from the
root
user to the desired user name.
3.
Optional
: Establishing the HORCM (/etc/horcmgr) start environment: If users have
designation of the full environment variables (HORCM_LOG HORCM_LOGS), then they
start horcmstart.sh command without an argument. In this case, the HORCM_LOG and
HORCM_LOGS directories must be owned by the CCI administrator. The environment
variable (HORCMINST, HORCM_CONF) establishes as the need arises.
4.
Optional
: Establishing the command execution environment: If users have designation of
the environment variables (HORCC_LOG), then the HORCC_LOG directory must be owned
by the CCI administrator. The environment variable (HORCMINST) establishes as the need
arises.
Note
: A user account for the Linux system must have the “CAP_SYS_ADMIN” and
“CAP_SYS_RAWIO” privileges to use the SCSI Class driver (Command device). The system
administrator can apply these privileges by using the PAM_capability module. However, if
the system administrator cannot set those user privileges, then use the following method.
This method starts the HORCM daemon only with the root user; as an alternative, the user
can execute CCI commands.
System administrator
: Place the script that starts up horcmstart.sh in the following
directory so that the system can start HORCM from /etc/rc.d/rc:
/etc/init.d
Users
: When the log directory is only accessible by the system administrator, you cannot
use the
inqraid
or
raidscan -find
commands. Therefore, set the command log directory
by setting the environment variables (HORCC_LOG), and executing the RM command.
Содержание TAGMASTORE MK-90RD011-25
Страница 2: ......
Страница 8: ...viii Preface ...
Страница 18: ...xviii Contents ...
Страница 180: ...162 Chapter 3 Preparing for CCI Operations ...
Страница 250: ...232 Chapter 4 Performing CCI Operations Vol Type logical unit LU type e g OPEN V OPEN 9 ...
Страница 370: ...352 Chapter 5 Troubleshooting ...
Страница 388: ...370 Acronyms and Abbreviations ...