Thursday, 26 July 2018

Command used in Xenapp 6.5




1 Start and Restart IMA Service
First run Net Stop Imaservice  and then Net Start Imaservice




If you want to create LHC and Reade below are the command








Dsmaint recreatelhc

Dsmaint Recreaterade

2) Unregistering the XML Service

Complete the following steps to unregister the XML Service:
First stop the XML Service
Net stop ctxhttp.
Then unregister and reregister XML service
1. Open a command prompt window.
2. Run ctxxmlss /u (This command unregisters the Citrix XML Service and marks it for deletion).

Registering the XML Service on a Port Other Than Sharing with IIS
1. Unregister the service using the preceding instructions.
2. Open a command prompt window.
















3. Run ctxxmlss /r [Port Number]. Note that there is no space between the switch “/r” and the port number.
4. Then Start XML service
Net start Ctxhttp

Note (Open the service control manager and manually start the Citrix XML Service.)

3) A XenApp Server shows a load of 10000 or full load, regardless of Load Evaluator settings and Load Evaluator

Check the functionality of WMI on the XenApp server.


1. Go to start run.
2. Type wmimgmt.msc
3. On the wmimgmt console, in the left pane right click on WMI Control.
4. Click on Properties.
5. If the connection is successful that means there is no issue with the WMI.

Check the consistency of the WMI


1. Open Elevated command prompt.
2. Go to cd c:\Windows\System32\Wbem
3. Run the below command 
          winmgmt /verifyrepository

If you see any errors, follow the below steps.
Complete the following procedure to resolve this issue:

1. Stop the Windows Management Instrumentation (WMI) Service.
2. Run the following command:

winmgmt /salvagerepository

3.Run the following command:


winmgmt /resetrepository

4.Verify that the load is accurate.

                                                To stop and start WMI service



To Stop and Start Citrix WMI service.



Net stop CitrixWMIService
Net Start CitrixWMIService

To evaluate the load on Citrix XenApp Server we can run the command “qfarm /load”, it will display different values. This post will enhance your understanding of the hidden meaning of all those values.
0 to 9998: This is the normal range for Load Manager i.e. load on the server is normal and it can handle more load.
99999: No load evaluator is configured.
10000: Load is at 100 percent (full load) and it is not in a position to handle additional load.
20000: The XenApp Server contains an incorrect server edition or a license mismatch. To fix the issue match the version of XenApp installed with the licenses deployed.
XenApp 6/6.5 server is unable to contact the license server after a reboot. The output of the Qfarm /load command indicates a server load of 20000
99990: Results when a custom administrator with restricted rights runs the following QFARM commands:QFARM SERVER /APP
QFARM /APP
QFARM /APP <appname>
QFARM /ZONEAPP
Note: The QFARM command may not return any results when a custom administrator runs the following queries:
QFARM /DISC
QFARM /LOAD
QFARM /ZONELOAD
4) To set the TCP/IP port number to 5000
icaport /port:5000
To reset the port number to 1494
icaport /reset

Security Restrictions

Only Citrix administrators with Windows administrator privileges can run icapor

5) query
query view information about server farms, processes, servers, ICA sessions and users
query farm shows the servername, protocol and ip address
query farm /app shows the published applications
query farm /disc shows the disconnected session data for the server farm
query farm /load displays server load information

farm

Displays information about servers within an IMA-based server farm. You can use qfarm as a shortened form of query farm.

server /addr

Displays address data for the specified server.

/app

Displays application names and server load information for all servers within the farm or for a specific server.

/app appname

Displays information for the specified application and server load information for all servers within the farm or for a specific server.

/continue

Do not pause after each page of output.

/disc

Displays disconnected session data for the farm.

/load

Displays server load information for all servers within the farm or for a specific server.

/ltload

Displays server load throttling information for all servers within the farm or for a specific server.

/lboff

Displays the names of the servers removed from load balancing by Health Monitoring & Recovery.

/process

Displays active processes for the farm.

/tcp

Displays TCP/IP data for the farm.

/online

Displays servers online within the farm and all zones. The data collectors are represented by the notation “D.”

/online zonename

Displays servers online within a specified zone. The data collectors are represented by the notation “D.”

/offline

Displays servers offline within the farm and all zones. The data collectors are represented by the notation “D.”

/offline zonename

Displays servers offline within a specified zone. The data collectors are represented by the notation “D.”

/zone

Displays all data collectors in all zones.

/zone zonename

Displays the data collector within a specified zone.

/?

Displays the syntax for the utility and information about the utility’s options





Citrix Interview Questions- 2


1.      How many Xenapp farms and servers in your company?
In my Company total 75 Xenapp servers in two farms. First farm contain 45 Xenapp6.5 servers and second farm contain 30 Xenapp5.0 servers.

2.      How many no. of users are using Xenapp server?
              40 to 45 people are using one Xenapp server.
3.      What are the published applications you publish in company?

MS Office
Open Office
Oracle based TC4
Time Tracker
Getters
Data Tree
Smart Suite
Adobe Acrobat6.0
Win Rare
JDE
Verix
CRM Based Apps
HRM based People soft.

4.      Explain port numbers: ICA, IMA, XML, HTTP, HTTPS, DNS, RDP, LDAP, SQL, LICENSING, SNMP.


ICA
1494
RDS
3389
ICA with session Reliability
2598
SQL
1433
DNS
53
IMA server-server communication
2512
IMA server-management console
2513
XML service
80
XML service with IIS
8080
SSL communication
443
License Management Console
8082
License Port
27000
Vendor Doeomn Port in License
7279
TCP Browsing
1604

5.      Your Xenapp is Physical or Virtual?

In my company Xenapp is virtual.

6.      What provisional are you using?
Citrix Provisioning services 5.1 SP2 and 5.6


7.       What is farm?

Farm is a group of Xenapp servers.

8.      What is zone?

Zone is a group of XenApp server’s in particular zoographical location, which shares same data collector.
It helps in separating IMA traffic between two locations.
9.      What is Data Collector?

Data Collector contains the dynamic information of XenApp farm such as no. of users connected, disconnected, no. of Applications launched, present load.
Any one of the XenApp server in farm acts as a Data Collector.
One Data Collector will available for zone it is called Zone Data Collector (ZDC).
10.  What is Data Store?

It contain static information such as no. of XenApp servers in the farm, no. of applications published, no. of user’s access to the farm and Load Evaluator Policies.
11.  What is LHC?

LHC is nothing but local host cache. It contain the partial information of data store.
If data base server goes down user can able to access XenApp server by using LHC.
In XenApp4.5 and 5 LHC store the data upto 48 hours, In XenApp6 60 hours.
12.  What is Worker Group?

            Grouping of Similar kind of XenApp servers (similar applications) is called Worker Group
13.  What is Load Evaluator?

           It is used to find which the least loaded server in the farm is.
14.  What is Session Reliability?

It is use full to reconnect the disconnected session of the user due to network issues.
Session Reliability default time limit is 180 seconds

15.  What is the use of Speed Screen latency reduction?

It echo’s character of a text locally, so that the user will not see the delay in typing in Citrix ICA. It ignores multiple clicks of an application.
16.  If a Data-Store server goes down, what will be the problem?

If Data Store server goes down, the user can login with LHC, users can’t direct impact with the Data Store server.
17.  If the Data Collector goes down what will be the impact?

If Data Collector goes down elections will goes and one of the XenApp server will elect as a Data Collector.
18.  If LHC corrupt what will be the impact, how to find & how to resolve?

If LHC corrupt user can’t able to login.
By using “dsmaint verifylhc” command, we can able to find LHC is corrupt or not.
By using “dsmaint  recreatelhc” command, we can able to recreate LHC.
19.  What is Load Evaluator and types of Load Evaluator?

             It is used to find which the least loaded server in the farm is.
              There are 3 types of Load Evaluators,
1.      Default Load Evaluator: It is based on user session count and Load Throttling.
2.      Advance Load Evaluator: It is based on memory usage, cpu utilization, page swaps and Load Throttling.
3.      Custom Load Evaluator: It can be managed by our self.

20.  What is Load Throttling?

Load Throttling determines the load based on how user logon operations affect server performance.
If logon is an expensive operation, set this to High (default)
                                          To maximize load set Extreme
Extreme
Allows 1 user
High (Default)
Allows 2 users
Medium
Allows 3 users
Medium low
Allows 4 users
     




21.  How to find load of each Xenapp server?

                  By using “qfarm/load” command we can able to find load of each XenApp server.
22.  Explain some commands used for Datastore (DS maint/DS Check etc…)

“dscheck” command is used for finding database is corrupt or not.
“dscheck/clean” command is used for cleaning the database.
“dsmaint /BACKUP” command is used for backup database.
23.  Explain some of the critical services in Xenapp Server?

Citrix Independent Management Architecture
Citrix Licensing
Citrix MFCOM Service
Citrix Print Manager Service
Citrix XTE Service
Citrix Health Monitoring and Recovery
24.  What is Edge Sight & use of it?

Edge Sight is a reporting tool.
It is used to monitor, report and troubleshoot the XenApp server.
In my company Edge Sight5.4 version is using.
25.  What is the use of secured gateway?

Citrix Secure Gateway is a Citrix Access Suite infrastructure component you can use to secure access to Citrix Presentation Server farms.
The Secure Gateway component transparently encrypts and authenticates all users connection to protect against data tampering and theft,ease firewall traversal, and provide a secure internet gateway between citrix access suit components and client devices.
26.  What is the use of Branch repeater?

Branch Repeater accelerates desktop and application delivery, decreases WAN bandwidth consumption, and enables server consolidation.

27. How to configure Web-Interface server?

               The Web Interface server is the server used by the client to access applications. We can find two types of XenApp Sites on the web interface servers:
XenApp Web Sites: These sites are used when users access applications, desktop, and content published on the XenApp farm (and also virtual desktop (VDI) running XenDesktop) using a web browser. Once authenticated, users can access online and offline applications using a Citrix client.
XenApp Services Sites: These sites are used to integrate resources with users' desktops. Citrix Online Plug-In provides access to applications, virtual desktops, and online content by clicking icons on the Start menu or shortcuts in their desktop. XenApp Services Sites was formerly known as Program Neighborhood Agent site.

28.  What are the authentication modes in Web Interface?

Explicit
Pass-through
Pass-through with smart card
Smart card
Anonymous

29.      Citrix Policies types?

Two types of citrix policies
1.      User Policies
2.      Computer Policies

30.      Where we can apply these policies?

We can apply these policies by using
1.      App Center
2.      Active Directory Group Policy Management console

31.      How many Zones / Web Interface servers / licensing Servers you have in your company?
    
             In my company we have three Zones in India
                  Zone1:  Bangalore – Chennai – Hyderabad
                  Zone2: Mumbai – Pune
                  Zone3: New Delhi
             We have two dedicated web interface servers and one licensing server.
32.      What are the types of printers are using in your company? Explain some models?
We are using Laser and Ink Jet Printers
Ex:
HP Laser Jet 1010/1012
HP Color Laser Jet 1015/1017 MFP
HP CM 8050/8060 MFP

33.      What is Citrix Universal Print Drivers?

The Citrix Universal Printer drivers provide basic printer driver functionality to almost all printers, regardless of make or model. Deploying one of these drivers relieves the burden of administering multiple printer drivers and avoids problems with driver maintenance, replication, and other client printing issues.
In XenApp, Citrix provides several different types of Universal printer drivers:
Citrix Universal XPS Printer driver
Citrix Universal Printer driver
Stock or Standard Windows printer drivers
34.      What are XenApp licensing editions available? And which licensing edition you are using in your company?

·         Platinum Edition
·         Enterprise Edition
·         Advanced Edition
                        In my company Enterprise Edition is using.
35.      What are the licensing modes available, explain each mode?

·         Per user       -It is based on number of users
·         Per Device   -It is based on number of Devices 
·         Concurrent -It is based on number of usages and no of active sessions.

36.      How to get Citrix licenses and how to upload it in the licensing server?

Open Browser > go to My Citrix (www.citrix.com/mycitrix) > login by using user account credentials >  go to Downloads >  XenApp > Acquire permanent or eval licences > enter serial number >  enter host name of Citrix license server > download .LIC file
Open License Administrative console > upload .LIC file.

37.      What is the Ticketing tool is used in your company?
Remidi



38.  What are Thin Clients/Dummy Clients Explain?

A Thin client is a stateless, fanless desktop appliance that ha no hard drive. All features typically found on Desktop PC, including applications, sensitive data, memory etc, are stored back in the Data center when using thin client.
Client always connect to the citrix by using Thin client.
Ex: HP T610

Computers that are connected to the network and do not have Cafezee client program installed on them are termed as a Dummy Clients.
It will work with out power also.
Ex: Samsung S 18750.

39.  How many Tickets do you get per day?

Every day I resolve 15 to 20 tickets.

40.   How many people are in your Team?

In my team we have total 10 people.
41.  What is Citrix and what are the products available in Citrix?

Citrix is an American corporation and provide cloud computing solutions.
Products of Citrix
XenApp
XenDesktop
XenServer
Netscaler
EdgeSight
Access Gateway
XenApp Plug-ins
Web interface
Provisioning Server
Citrix Licensing


42. What is XenApp? And what is the use of it?

      Citrix XenApp is an application virtualization product that allows users to connect to their corporate applications from any device. XenApp can host applications on central servers and allow users to interact with them remotely or stream and deliver them to user devices for local execution.


43.      What is XenServer? And what is the use of it?

XenServer is a server virtualization platform that offers near bare-metal virtualization performance for virtualized server and client operating systems. XenServer uses the Xen hypervisor to virtualize each server on which it is installed, enabling each to host multiple Virtual Machines simultaneously with guaranteed performance.


How to remove a dead server from the Citrix Management Console?

- Execute the DSVERIFY SERVERS /CLEAN /FORCE for optimizing the Data Store. - DSVerify can run on any of the server in the farm. - MetaFrame...