Sunday, 21 December 2014

To upgrade NetScaler software of the 9.3 to 10.1


To upgrade software of the secondary appliance, complete the following procedure:
** Before below steps download upgrade from Citrix site and put it in /var/nsinstall using STP software.

Upgrading Software of the Secondary Appliance

1.            Log on to the secondary NetScaler appliance using an SSH utility, such as PuTTY. Use the nsroot credentials to logon to the appliance.
2.            Switch to the shell prompt.
3.            Run the following command to change to the default installation directory.
# cd /var/nsinstall
4.            Change to the 10.1-129 directory. build-10.1-129.11_nc
5.            The installation package is already uploaded to both the Netscalers “build-10.1-129.11_nc.tgz”, to the directory that is created. The installer extracts these files and places them on the appliance.
6.            Run the following command to install the software you have downloaded.
# ./installns
7.            After the installation process is complete, the process prompts to restart the appliance. Press y to restart the appliance.
8.            Log on to the appliance using the nsroot credentials.
9.            Run the following command to display the state of the NetScaler appliance.
> show ha node
The output of the preceding command should indicate that the appliance is a secondary node and synchronization is disabled.
10.          Ensure that the configuration is complete and as expected.
11.          Run the following command to perform a force failover and takeover as primary appliance.
> force failover


Upgrading Software of the Primary Appliance

Note: After completing the Upgrading Software of the Secondary Appliance procedure, the original primary appliance is now a secondary appliance.


1.            Log on to the secondary NetScaler appliance using an SSH utility, such as PuTTY. Use the nsroot credentials to logon to the appliance.
2.            Switch to the shell prompt.
3.            Run the following command to change to the default installation directory.
# cd /var/nsinstall
4.            Run the following command to create a temporary subdirectory of the nsinstall directory.
# mkdir x.xnsinstall
5.            Change to the x.xnsinstall directory.
6.            The installation package is already uploaded to both the Netscalers “build-10.1-129.11_nc.tgz”, to the directory that is created.
7.            Run the following command to install the software you have downloaded:
# ./installns
Note: If the appliance does not have sufficient disk space to install the new kernel files, the installation process performs an automatic cleanup of the flash drive.
8.            After the installation process is complete, the process prompts to restart the appliance. Press y to restart the appliance.
9.            Log on to the appliance using the nsroot credentials.
10.          Run the following command to display the state of the NetScaler appliance.
> show ha node
The output of the preceding command should indicate that the appliance is a primary node and the status of the node state is marked as UP.
11.          If the appliance is not a primary appliance, run the following command to perform a force failover to ensure that the appliance is a primary appliance.
> force failover
12.          Verify that the appliance is a primary appliance.

Enabling Synchronization on the Secondary Appliance
 
To enable synchronization on the secondary appliance, complete the following procedure:

1.            Run the following command to verify that the appliance is a secondary appliance.
> show node
2.            Run the following command to enable synchronization on the appliance.
> set node -hasync enable
3.            Run the following command to verify that the configuration of the secondary appliance is synchronized with that of the primary appliance.
> show ns runningconfig

SMA/WMI - Unable to start Error 1068 - Citrix xenapp 4.5

Error : With IMA

When a domain or local user is configured, the IMA Service fails to start and the following error message appears:
“Windows could not start the Independent Management Architecture on Local Computer... Refer to service-specific error code –2147483647.”

Error : With SMA/WMI


For 4.5:
CTX_CpsvcUser Re-creation Tool for 32-bit and 64-bit Versions of Presentation Server 4.5
 
For 4.0:
CTX_SmaUser Re-creation Tool
 
Change registry value 1 to 0