Get Operating System Information

I use the below to obtain information from the win32_operatingsystem wmi class.

In this example, we retrieve the date the operating system was installed.

Get-WmiObject -class Win32_OperatingSystem | Select-Object __SERVER,@{label='InstallDate';expression={$_.ConvertToDateTime($_.InstallDate)}}

To obtain different information, just change the InstallDate to the appropriate column.

Tip: Add the -computer <computername> parameter after Win32_OperatingSystem to get information from a remote system.

Install TSM/Tivoli Service on a Microsoft Cluster

Use this to install a TSM service  on a Microsoft cluster.

dsmcutil install SCHEDuler /name:"tsm" /clientdir:"c:\Program Files\tivoli\tsm\baclient" /optfile:x:\dsm.opt /node:TSMNODE /password:TSMNODEPASS /validate:yes /autostart:yes /startnow:yes /clusternode:yes /clustername:MSCLUSTERNAME

The above will install a service named tsm on the current active node of the MS Cluster instance. The opt file is on the x drive, the Tivoli node name is TSMNODE and uses the TSMNODEPASS

The system is expected to be part of a cluster and the cluster name is MSCLUSTERNAME.

Change System and Secure Transport Settings

Below is the process used to change the ip, interface and Tumbleweed (Secure Transport v5.1) settings to move server to new location.

It even includes the timeline.

It is expected that the new interface is setup prior to this process.

6:00am

Modified /etc/sysconfig/network-scripts/ifcfg-em2, change “DEFROUTE=no” to “DEFROUTE=yes”.
Modified /etc/sysconfig/network-scripts/ifcfg-em1, change “DEFROUTE=yes” to “DEFROUTE=no”.
executed
ifdown em2 && ifup em2 && ifdown em1
6:01am

Modified /etc/hosts and commented out old ip, added new ip

6:08am

Changed Setup->Allowed Server to new ip

6:19am

I am unable to ping between edge and server. Dropped local firewalls and still unable to ping.

6:35am
Noticed that firewall is natting xx.xxx.xxx.xxx to default hide.

Adding identity nat to ensure ip stays as internal when connecting to yyy.yyy.yyy.yyy.

6:45

Identity nat worked to correct the issue.

Old st2 ip. == ppp.ppp.ppp.ppp

Running Logman

Logman create counter LOGNAME -u DOMAIN\USERNAME * -f bincirc -v mmddhhmm -max 300 -c "\\SERVERNAME\LogicalDisk(*)\*" "\\SERVERNAME\Memory\*" "\\SERVERNAME\Network Interface(*)\*" "\\SERVERNAME\Paging File(*)\*" "\\SERVERNAME\PhysicalDisk(*)\*" "\\SERVERNAME\Process(*)\*" "\\SERVERNAME\Redirector\*" "\\SERVERNAME\Server\*" "\\SERVERNAME\System\*" "\\SERVERNAME\Terminal Services\*" "\\SERVERNAME\Processor(*)\*" "\\SERVERNAME\Cache\*" -si 00:01:00

 

Where:

  • LOGNAME, the name assigned to the counter, use this to start and stop the collection
  • DOMAIN\USERNAME, well Duh??
  • SERVERNAME, the server from which data is collected.

The above will collect data on the specified SERVERNAME. I was given this by the Microsoft Support Performance Team for an issue that was occurring, so I would think it would be a good starting point.

The Group Policy Client service failed the logon.

Access is denied.

I recently had a single citrix user who began receiving this error when attempting to run an streamed application from one of my citrix farms.

I began researching the error and, as per the norm, the citrix user forums were less than helpful. They included the norms of "Install hotfix X from citrix, service pack Y from Microsoft" and the like.

I tell ya, I wish I had a dollar for every hotfix citrix said to install that in the end did not solve the issue... but I digress. 🙁

At any rate, I began looking at another application and noticed it was running without issue. Diffing further, I noticed that the successful application was setup to run on only one server. I configured the failing application to run on that server as well and, wow, it worked.

All of my servers are configured the same, so this was perplexing until I  ran across a thread that mentioned corrupt profiles.

I deleted the users profile on the servers where the application was failing and everything began working properly.

This was odd as the issue was occurring for a while and I reboot the servers nightly and purge all user profiles so I would have thought that it would have cleared on its own.

If you run into this situation, I would highly recommend that you delete the users profile, it may save you lots of time in the citrix forums