-
-
-
-
-
如何重置 NetScaler Console 的密码
This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
如何重置 NetScaler Console 的密码
重置 NetScaler Console 密码的步骤可能因其托管的虚拟机管理程序而异。如果您已更改默认密码并希望将其重置为默认密码,可以通过重新启动 NetScaler Console 节点来重置密码。
使用 XenCenter 的 Citrix Hypervisor™:
-
登录到 Citrix Hypervisor,使用 XenCenter。
-
选择 NetScaler Console 节点,右键单击,然后选择重新启动。
-
在控制台选项卡上,按 CTL + C 中断启动序列。

-
在 OK 提示符下运行 boot -s 命令。

NetScaler Console 将重新启动并显示以下消息:

-
按 Enter 键以获取 /u@ 提示符。

-
使用以下命令挂载闪存分区:
mount /dev/ada0s1a /flash
-
使用以下命令创建文件:
touch /flash/mpsconfig/.recover密码现已重置为默认密码。
-
运行重新启动命令以重新启动 NetScaler Console。

-
访问 NetScaler Console GUI 并等待重新启动完成。

现在,您可以使用 nsroot/nsroot 凭据从 GUI 登录,并使用 nsrecover/nsroot 从虚拟机管理程序登录。
注意
重新启动后,如果密码未重置为默认密码,请重复相同的步骤(步骤 1 到步骤 7)。然后,运行以下命令并重新启动 NetScaler Console:
-
rm /flash/mpsconfig/master.passwd -
rm –rf /etc/passwd
-
使用 vSphere 的 Esx:
-
登录到 ESX,使用 vSphere。
-
选择 NetScaler Console 节点,右键单击,然后选择重新启动。
-
在控制台选项卡上,按 CTL + C 中断启动序列。

-
在 OK 提示符下运行 boot -s 命令。
NetScaler Console 将重新启动。
-
按 Enter 键以获取 /u@ 提示符。
-
使用以下命令挂载闪存分区:
mount dev/da0s1a /flash -
使用以下命令创建文件:
touch /flash/mpsconfig/.recover密码现已重置为默认密码。
-
运行重新启动命令以重新启动 NetScaler Console。
-
访问 NetScaler Console GUI 并等待重新启动完成。

现在,您可以使用 nsroot/nsroot 凭据从 GUI 登录,并使用 nsrecover/nsroot 从 ESX 服务器登录。
注意
重新启动后,如果密码未重置为默认密码,请重复相同的步骤(步骤 1 到步骤 7)。然后,运行以下命令并重新启动 NetScaler Console:
-
rm /flash/mpsconfig/master.passwd -
rm –rf /etc/passwd
-
使用 Hyper-V 管理器的 Hyper-V:
-
登录到 Hyper-V,使用 Hyper-V 管理器。
-
选择 NetScaler Console 节点,右键单击,然后选择重新启动。
-
在控制台选项卡上,按 CTL + C 中断启动序列。

-
在 OK 提示符下运行 boot -s 命令。
NetScaler Console 将重新启动。
-
按 Enter 键以获取 /u@ 提示符。
-
使用以下命令挂载闪存分区:
mount dev/ad0s1a /flash -
使用以下命令创建文件:
touch /flash/mpsconfig/.recover密码现已重置为默认密码。
-
运行重新启动命令以重新启动 NetScaler Console。
-
访问 NetScaler Console GUI 并等待重新启动完成。

现在,您可以使用 nsroot/nsroot 凭据从 GUI 登录,并使用 nsrecover/nsroot 从 Hyper-V 管理器登录。
注意
重新启动后,如果密码未重置为默认密码,请重复相同的步骤(步骤 1 到步骤 7)。然后,运行以下命令并重新启动 NetScaler Console:
-
rm /flash/mpsconfig/master.passwd -
rm –rf /etc/passwd
-
Linux KVM 服务器(使用任何 SSH 客户端通过 SSH 连接到 KVM 服务器):
-
使用 SSH 客户端连接到 KVM 服务器,然后登录到 NetScaler Console。
-
重新启动 NetScaler Console。
-
在显示 Loading /boot/defaults/loader.conf 消息后,立即按 CTL + C 中断启动序列。
-
在 OK 提示符下,运行以下命令:
set console='comconsole,vidconsole' -
运行 boot -s 命令以重新启动 NetScaler Console。
-
在显示 Enter full path of shell or RETURN for /bin/sh: 消息后,按 Enter 键以获取 /u@ 提示符。
-
使用以下命令挂载闪存分区:
mount dev/vtbd0s1a /flash -
使用以下命令创建文件:
touch /flash/mpsconfig/.recover密码现已重置为默认密码。
-
运行重新启动命令以重新启动 NetScaler Console。
-
访问 NetScaler Console GUI 并等待重新启动完成。

现在,您可以使用 nsroot/nsroot 凭据从 GUI 登录,并使用 nsrecover/nsroot 从 SSH 控制台登录。
注意
重新启动后,如果密码未重置为默认密码,请重复相同的步骤(步骤 1 到步骤 7)。然后,运行以下命令并重新启动 NetScaler Console:
-
rm /flash/mpsconfig/master.passwd -
rm –rf /etc/passwd
-
共享
共享
This Preview product documentation is Cloud Software Group Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Cloud Software Group Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Cloud Software Group product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.