How do I get a command line with RHEV-H beta3?
I can't find a way to login to a command line to the RHEV-H server (RHEV-H beta3) version. How is this done?
Responses
Is there a specific reason you need shell access? RHEV-H does not have a supported shell interface/access. Access to root shell is limited to situations directed by Red Hat support/services.
If you need to set a root password, it's documented in the manual here
Once a root password is set, you can ssh to RHEV-H as root, but be aware this is not something that is supported and in the future the root account will likely be permanently disabled for login. If there are things you need to access from the shell, please file an enhancement request thruogh Red Hat support, as we should expose the desired functionality through the Admin User Interface (the text interface you see when logging in as the 'admin' user) rather than encouraging root shell access.
Hi Mark,
If you want information about RHEV storage internals, http://rcritical.blogspot.com/2011/01/rhev-storage-explained.html covers the basics, though it's slightly out of date, it still explains the main idea.
If you have specific questions, please open a new discussion, and we'll try to help as much as possible
The doc posted earlier is good to read to get a general overview of storage in RHEVM, but just to note, there is usage of GFS2 (or any other clustered filesystem) in RHEV.
RHEV relies on either NFS as a network filesystem or direct access to LVM on top of iSCSI or Fibre Channel LUNs. Also to note, RHEV does not use clvm for lvm metadata synchronization/locking. Instead the SPM handles these tasks.
If you do "f2" after logging in as "admin", you can get a root shell.
But the above should not be done on production hypervisors without help from redhat support.
As noted earlier, if you see that there is something required that you are forced to do from the shell because it was not possible to do from admin menu, please file a feature request so that we can include it in the menu.
You can set the password during kickstart
Hers is a sample using cobbler. After installation you can ssh as root. The password may ned to be changed before you can join RHEV-M.
# openssl passwd -1 MyPassword
$1$KjIkfZgi$pMNSPAkDPa227Pm0KV2T9/
# cobbler profile add --name=rhevh62-root-enabled --distro=rhevh62-20120119 --kopts="rootpw= \$1\$KjIkfZgi\$pMNSPAkDPa227Pm0KV2T9/ ssh_pwauth=1"
Or you can do it after installation:
- Login as admin (console or ssh if enabled)
- Press F2
# openssl passwd -1 MyPassword
$1$KjIkfZgi$pMNSPAkDPa227Pm0KV2T9/
# vi /etc/shaodow
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
