User guide

d. The host must be added to the Admin > Physical Assets > Hosts page by a
System Administrator.
The credentials you supply for the host are of the form:
domain\username
3. Check that the host is displayed as valid in the table.
After you finish
After ViPR is deployed, you can check that the host is displayed as valid in Admin >
Physical Assets > Hosts. If you receive the following message WinRM may not be enabled
or configured properly, or there may be a network problem.
Failed to connect to host. Please ensure the connection details
are correct. [Error connecting: Connection refused]
Linux host sudo command requirements
When ViPR attaches storage to a Linux host it needs to run commands on the host. To
access the host, ViPR uses the credentials entered for the host at the Admin > Physical
Assets > Hosts page. These are usually the credentials for the root account. If you do not
wish to give ViPR root access to a Linux host, you must ensure that the sudo command
has sufficient privileges to allow the user configured for the host to run the commands it
requires.
Sudo privileges
The sudoers file configuration for the host user account must have the privileges listed in
the table below.
Table 3 Sudo privileges required by ViPR user
Type Name
- -
Command e2fsck, fdisk, multipath,
ifconfig, vgdisplay, sh,
mkdir, mke2fs, mkfs.ext3,
mkfs.ext4, mount,
umount, resize2fs,
iscsiadm, lsb_release,
lvcreate, lvchange,
lvremove, lvresize,
pvcreate, pvremove, rpm,
vgchange, vgremove,
vgextend, vgreduce,
vgcreate, powermnt
find, sed, ls, sleep, rm
For example, to allow "vipradmin" to run these commands as all users, you could add the
following lines to the sudoers file:
Cmnd_Alias VIPRMGMT = /sbin/e2fsck, /sbin/fdisk, /sbin/multipath, /
sbin/ifconfig,
/sbin/vgdisplay,/usr/bin/sh, /bin/mkdir, /sbin/mke2fs, /sbin/
mkfs.ext3, /sbin/mkfs.ext4,
/bin/mount, /bin/umount, /sbin/resize2fs, /sbin/iscsiadm, /usr/bin/
lsb_release, /sbin/lvcreate,
/sbin/lvchange, /sbin/lvremove, /sbin/lvresize, /sbin/pvcreate, /sbin/
pvremove, /bin/rpm,
/sbin/vgchange, /sbin/vgremove, /sbin/vgextend,/sbin/vgreduce, /sbin/
vgcreate, /sbin/powermnt,
/bin/find, /bin/sed, /bin/ls, /bin/sleep, /bin/rm
Prerequisites
Preconfiguration requirements for hosts 17