Community
 
 
 

CloudPlatform 3.x

343 seguidores
 
Avatar
Pankaj Paliwal

Xen hosts password change

Avatar

Xen hosts password change

Hi

I was trying to change the password for the Xen hosts and I was reading the "Changing Host Password" chapter from CloudPlatform 3.0.6 Administrator's Guide.

The command:

mysql> update cloud.host set password='password' where id...

fails as there is no "password" column in that table. I thought that's a typo and I tried to figure out which table would actually have this column and be related to the hosts but I'm lost.

Does anyone knows what I'm missing?

Thanks,

Daniel


Terry Whiffing MEMBERS
3 comentários
0

iniciar sessão para comentar.

 
 

Previous 3 comentários

Avatar
Pankaj Paliwal
Avatar

Xen hosts password change

It looks like this info is now stored in the host_detail table.

You will need to
update host_detail set value = <new password hash> where host_id = <your host's id> and name = 'password';

I'm not sure what hash technique is used, unfortunately. If you have another host with the right password, you might be able to copy its value.

--Mike


Mike Little MEMBERS
Ações de comentário Permalink
Avatar
Pankaj Paliwal
Avatar

You can use the updateHostPassword API command for this. It only works for XenServer hosts/pools.

Best regards,

{color:#555555}Kirk Kosinski{color}
{color:#999999}MCITP: EA / VA / EDA7, VCP 4 / 5, CCA{color}


Kirk Kosinski CITRIX EMPLOYEES
Ações de comentário Permalink
Avatar
Pankaj Paliwal
Avatar

Thanks Kirk, that was what I needed.

Daniel


Terry Whiffing MEMBERS
Ações de comentário Permalink

Top Contributors