Password Management for SDX's and VPX's utilizing NMAS

Password Management for SDX's and VPX's utilizing NMAS

book

Article ID: CTX230667

calendar_today

Updated On:

Description

To manage passwords and accounts from one centralized location.


Instructions

Changing user password on SDX

Step 1: Make sure the SDX instance is added to NMAS and that it’s in State Up

User-added image


Step 2: Create a new configuration job by navigating to Networks > Configuration Jobs
User-added image


Step 3: SSH to your SDX appliance and type “show systemuser” and hit enter. You’re wanting to obtain the Id for whichever user you want to change the password for. This Id is specific to each SDX and it doesn’t change once configured. In my case I have two users. I’m interested in nsroot so my Id is “5674b3c1d2b1d9f077983cf3”
User-added image

Step 4: Back in NMAS you’ll name your Job and select the correct instance (Netscaler SDX). Leave the Configuration Source as Configuration Template and SSH alone, on the right side you’ll need to type (copy and paste will not work) set systemuser id=5674b3c1d2b1d9f077983cf3 password=nsroot
User-added image


Step 5: Next, Add your instances you want to configure
User-added image

Step 6: Next, No changes here
User-added image

Step 7: Next, Review your configuration. Make sure you have selected the correct instance and that the password is correct.
User-added image

Step 8: Next, no changes then hit Finish
User-added image
 
Once finished you’ll be returned back to the Configuration Jobs menu and you should see your job, It’ll run in just a moment. Make sure that under Execution Summary it states “Completed” if it errors select the job and edit appropriately. Under Actions to the right you can download a report if needed for further clarification on error.
User-added image


If you change the nsroot password you MUST change the profile password that’s associated with the SDX instance in NMAS continue to Step 9 ONLY if you changed the nsroot password.

Step 9: Click on Networks>Instances>Netscaler SDX and select your instance to edit
User-added image

Step 10: Select the + symbol beside the drop down where it says Profile Name
User-added image
Step 11: Name your new profile whatever you like

Step 12: User Name should be nsroot and password is whatever you changed your password to just a moment ago. Leave the profile portion alone and for Community you’ll want to put “public” unless you’ve customized this.
User-added image

Step 13: Select Create and make sure your new profile is selected in the drop down
User-added image

Step 14: Hit Ok and after 30 seconds hit the refresh icon on the page and ensure that the State is Up
 

Creating a new admin profile and assigning to VPX

Run the following commands on the SDX appliance. The username MUST be nsroot however the name can be customized.
add nsadminprofile name=<Name> password=<password> username=nsroot
User-added image
show ns
User-added image
set ns admin_profile_name=<Name> id=<id>
User-added image

Issue/Introduction

Manage passwords on SDX's and VPX's utilizing NMAS