Password for a local recovery or supervisor user is forgotten
Isupervisor account or if another supervisor account does not exist, you can reset the password for a local user with lxc-recovery or lxc-supervisor authority by mounting an ISO image that contains a configuration file with the new password.
Before you begin
To reset the password using this method, you must have access on the XClarity Administrator host system.
The user name that is being reset must have lxc-recovery or lxc-supervisor authority.
The password must adhere to the same validation rules that XClarity Administrator enforces
After the password is reset, the user is not required to change the password on the first access
Procedure
To create and mount the ISO image, complete the following steps.
- Power off the virtual machine.
- Create a file named passwordreset.properties that contains the following parameters.
user=
password=You can use the echo command to create the file, for example:ECHO user=admin > ./ passwordreset.properties
ECHO password=New_Passw0rd >> ./ passwordreset.properties Create an ISO image that contains the passwordreset.properties file.
To create an ISO image on Windows, use your favorite ISO software. On Linux, use the mkisofs command, for example
mkisofs -V passreset -J -o ./passreset.iso ./passwordreset.properties
where -V is the volume label, -J is for Joliet format, -o is the output file name, and / passwordreset.properties is the file to be included in the ISO image
Upload the ISO image to a suitable location using the Datastore Browser.
Mount the ISO image to the virtual machine.
For Citrix:
Mount the configuration .ISO image as a physical CD drive to the virtual machine.
From Citrix , select the XClarity Administrator virtual machine.
Click the Console tab.
Select the physical CD from the drive list.
For Nutanix AHV hosts:
Click the Settings menu (), and then click Image configuration to display the Image Configuration dialog.
Upload the eth0_config.iso image.
From the Image Configuration dialog, click Upload Image to display the Create Image dialog again.
Specify a name for the ISO image.
Select ISO for the image type.
Select Upload a file, click Choose File, and select the eth0_config.iso image.
Click Save to upload the file.
Click Close to close the Image Configuration dialog.
Wait until the upload processes are completed before continuing with the setup steps. The status circle in the menu indicates when the processes are complete.
Add a disk for the eth0_config.iso image.
From the VM, click Update from the bottom menu bar.
Click the Edit icon for the CDROM disk to display the Edit Disk dialog.
Select Clone from Image Service for the operations.
Select the ISO image that you created earlier from the image list.
Click Update.
Click Save.
For RedHat KVM hosts:
From Virtual Machine Manager, select the virtual machine, and then click Add Hardware to display the Add new Virtual Hardware dialog.
Click the Storage tab.
Select Select managed or other existing storage, click Browse, and select the eth0_config.iso image.
Select VirtIO for the device type.
NoteForXClarity Administrator 1.4.0 and earlier, select IDE for the disk bus. Select None for the cache mode.
Click Finish.
For VMware ESXi hosts:
The ISO file must reside in the datastore of the ESXi host so that it can be mounted as a CD/DVD drive on the XClarity Administrator virtual machine.
- Right click the virtual machine, and click Edit Settings.
- Click Add to display the Add Hardware wizard.
- Click CD/DVD Drive, and click Next.
- Select Use ISO image, and click Next.
- Select the ISO image, and click Next.
- Select the virtual device node, and click Next.
- Click Finish.
For Windows Hyper-V hosts:
ImportantThe virtual machine must be powered off before mounting the ISO image.In the Hyper-V Manager window, right-click the virtual appliance, and click Connect to display the Virtual Machine Connection window.
Click
.Select the ISO image, and click Open.
Power on the virtual machine, and then log in to the XClarity Administrator web interface using the user name and password that is specified in the passwordreset.properties file (see Logging in to XClarity Administrator ).
Unmount the drive, and delete the ISO image.
For Citrix
From the Citrix hypervisor, select the XClarity Administrator virtual machine.
Click the Console tab.
Clear the physical CD associated with the configuration ISO from the driver list.
For Nutanix AHV hosts:
From the VM, click Update from the bottom menu bar.
Click the Edit icon for the CDROM disk to display the Edit Disk dialog.
Click the Eject icon.
Click Save.
For VMware ESXi hosts:
Right click the virtual machine, and click Edit Settings.
Select the mounted drive from the list of hardware, and click Remove.
Click OK. The drive is now disconnected.
Right click the virtual machine, and click Edit Settings again.
Select the drive from the list of hardware, and clear the Connect at power on checkbox.
Click OK.
Delete the ISO image from the datastore.
For Windows Hyper-V hosts:
In the Hyper-V Manager window, right-click the virtual appliance, and click Connect to display the Virtual Machine Connection window.
Click
.Delete the ISO image from the datastore.