Citrix Netscaler–VPX Network and Password

Citrix Netscaler–VPX Network and Password Change

To reset the nsroot password
Connect a computer to the console port of the NetScaler and log on.

NOTE:
For NetScaler VPX on VMware, the disk uses scsi emulation, so it will be

/dev/da0s1a rather than or

/dev/ad0s1a rather than

You cannot log on by using SSH to perform this procedure; you must connect directly to the appliance.

Reboot the NetScaler.

Press CTRL+C when the following message appears:

Press [Ctrl-C] for command prompt, or any other key to boot immediately.

Booting [kernel] in # seconds.

boot -s

Run the following command to start the NetScaler in a single user mode:

boot -s

NOTE:

If boot -s does not work, then try reboot — -s and appliance will reboot in single user mode.

After the appliance boots, it displays the following message:

Enter full path name of shell or RETURN for /bin/sh:

Press ENTER key to display the # prompt, and type the following commands to mount the file systems:

Run the following command to check the disk consistency:

fsck_ufs /dev/ad0s1a

fsck_ufs /dev/da0s1a
NOTE:

Your flash drive will have a specific device name depending on your Citrix ADC; hence, you have to replace ad0s1a in the preceding command with the appropriate device name.

You must access the dev directory and enter ‘ls’ to check the drive details.

Run the following command to display the mounted partitions:

df

If the flash partition is not listed, you need to mount it manually.

Run the following command to mount the flash drive:

mount/dev/ad0s1a /flash

Run the following command to change to the nsconfig directory:

cd/flash/nsconfig

Run the following commands to rewrite the ns.conf file and remove the set of system commands defaulting to the nsroot user:

Run the following command to create a new configuration file that does not have commands defaulting to the nsroot user:

grep –v “set system user nsroot” ns.conf > new.conf

Run the following command to make a backup of the existing configuration file:

mv ns.conf old.ns.conf

Run the following command to rename the new.conf file to ns.conf:

mv new.conf ns.conf

Run the following command to reboot the NetScaler:

reboot

Log on using the default nsroot user credentials.

Run the following command to reset the nsroot user password:

set system user nsroot <New_Password>

Command Line Procedures
To change the NetScaler IP address by using the NetScaler command line:

set ns config -IPAddress <ip_addr> -netmask <netmask>
show ns config
add route 0 0 <gateway IP address>
show route
save config
nsroot yourexamplepasswd?

Bir cevap yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

This site uses Akismet to reduce spam. Learn how your comment data is processed.