Author Archives: Jani Kohonen

Jani Kohonen Visit Website
Jani Kohonen is an author of janikohonen.com and working as a Citrix Consultant and Architect with 22 years of experience in the IT industry. Jani's been working in the IT industry since 1997 and with Citrix technologies since 2001. He holds several years experience with Microsoft, Citrix, Apple, HP and VMware vendors as well as Server, Application and Desktop virtualization and Mobile technologies. He has done dozens of virtualization design and implementation projects from Small Business to the large global enterprise customers and complex environments. Jani has been awarded as Citrix Technology Advocate (CTA).
Citrix, Citrix ADC, NetScaler
0

High CPU Usage on Citrix ADC VPX reported on Hypervisor.


Oldie but goldie! Reminder that this feature still applies to latest Citrix ADC  (formerly NetScaler ADC) versions.

 

Hypervisor, at least VMware and Citrix Hypervisors, might be reporting high CPU for the Citrix ADC or Gateway VPX instances.

If you check actual CPU on the Citrix ADC Dashboard, the CPU shows normal. But newly deployed VPX instance without real load on hypervisor shows high CPU and spikes to 90% and above on the hypervisor.

This is an expected behavior with latest Citrix ADC builds. With version NetScaler 11.1 and earlier VPX was sharing CPU with other VMs. From Citrix ADC 12.0 and later version, VPX will not share CPU by default.

In case you want to over-ride it, you can use CLI command to enable yield:

Display the current vpxparam settings:

show ns vpxparam

Allow each VM to use CPU resources that have been allocated to another VM but are not being used:

set ns vpxparam -cpuyield yes


YES: Allow allocated but unused CPU resources to be used by another VM.
NO: Reserve all CPU resources for the VM to which they have been allocated. This option shows higher percentage in hypervisor for VPX CPU usage.
DEFAULT: NO

 

 

Views: 162

Read More
Citrix, NetScaler
0

NetScaler SSH or SFTP Management Access Not Working – SSH Daemon Not Running

Sometimes, especially when NetScaler appliance has been upgraded from previous much older version, could happen that ssh daemon won’t start anymore. This leads to the issue, that you can’t connect to NetScaler management console via SSH or SFTP anymore. Troublehooting this, log in to the NetScaler virtual appliance console from hypervisor or if physical appliance using console port and go to NetScaler Shell. Let’s see if sshd is running or not;

Run: root@NSVPX01# ps ax | grep sshd

If daemon is running, you’ll see ( my example):

5889 ?? Is 0:00.01 /usr/sbin/sshd -f /etc/sshd_config
5910 ?? Ss 0:00.10 sshd: nsroot@pts/0 (sshd)
5931 ?? Ss 0:20.92 sshd: nsroot@notty (sshd)

But, if you can’t see it running, let’s start to troubleshoot it…

Let’s try to start sshd:

Run: root@NSVPX01# /usr/sbin/sshd –f /etc/sshd_config

In my case I got an error (yours might be different, but sshd config file still could be faulty):

/etc/ssh/sshd_config line 10: Deprecated option UsePrivilegeSeparation

So, I need to edit ssh daemon configuration file in etc/sshd_config, because of NetScaler and not normal Linux OS, we have to use lovely VI editor 🙂

Run: root@NSVPX01# cd /etc/
Run: root@NSVPX01# vi sshd_config

In my case I commented out line: “UsePrivilegeSeparation no” to “#UsePrivilegeSeparation” because The UsePrivilegeSeparation is no longer supported (recent SSHD always runs
with previlege separation), so I removed this option from the default config and saved configuration file.

Then let’s try to start ssh daemon again:

Run: root@NSVPX01# /usr/sbin/sshd –f /etc/sshd_config

And sshd started succesfully!

This was just quick tour to quide troubleshooting SSH Daemon errors 🙂

Btw, if you are looking for those ultimate nasty VI Editor commands, take a look this link: https://www.guru99.com/the-vi-editor.html

Views: 99

Read More
banking, mobile
0

Radically Better Bank Account – The Mobile Bank account!

Traditional banks will charge you when you spend or transfer money, heck they charge you even if you don’t use your account!

Mobile banking is not about that, and that’s why over four million people have switched to Internet banking.

Where it works, in which countries? Everywhere!

Recently, I changed from all my “normal” bank accounts to mobile bank current accounts, in my case I used N26 and Revolut internet banks. Why didn’t I do it before? Probably because all online banks were just in children’s shoes a couple of years ago, but now, wow!

How easy it is to use virtual cards (debit or credit), physical cards are still available as a backup, of course, if the phone or watch is out of power suddenly. All your daily transactions, you’ll use your virtual or physical cards or mobile or web apps.

How easily you open your bank account? In my case a regular UK account and a SWIFT account opening took literally one hour and my ID and account were verified. Why on earth I ever have paid such fees for stoneage banking and get such a bad support and all bureaucracy.

Opening traditional bank account e.g. in UK takes days and you are required to provide all kind of proof-of-something documents before you’ll get your account open. Literally you need to walk in to local branch, your hat on your hand and pray gods you’ll get your account open…. Not anymore!

Transferring money to and from your mobile banking account takes a few seconds instead of days, comparing old stoneage banks. Works with Apple Pay or any other mobile pay applications and acts as a virtual card on your mobile device and now I use only my iPhone or iWatch to pay on stores.

Please, do not hesitate to be in touch if you would like to know more about this and follow my links to open your internet banking account in a minutes.

Use links below to open your own N26 and/or Revolut account immediatelly!

N26: https://n26.com/r/janik5200

Revolut: https://revolut.com/referral/janilae1d!5m

Views: 90

Read More
1 2 3 13