SCOM resource pool, Steps to create or modify resource pool in SCOM

 What is resource pool in SCOM and steps to create a new resource pool or modify existing resource pool. 

 

A resource pool is a collection of management servers that you can use to distribute work. ... System Center Operations Manager (SCOM) uses resource pools for load balancing and high availability among management servers.

 

Steps to create or modify resource pool in SCOM

 

 

Open SCOM console

 

Go to Administration -> Click Resource Pools

 

 

 

 

If you want to modify any existing resource pool, select the resource pool from the list

 

And click Manual Membership if you want to update from Auto to manual.

 

 

 

 

 

 

 

If you want to create resource pool, Click on create resource pool

 

 

 

 

Give the Resource pool name

 

Click next

 

 

 

Click Add -> click search

 

 

 

Once you click search, you will see a list of the management server. Select the management server from the list that you want to add in the resource pool.

 

 

 

 

Click Add and OK

 

 

Click next and create.

 


PowerShell command to list out all the VDAs registered or registered/unregistered to site and schedule it using task scheduler send the report over mail

 PowerShell command to list out all the VDAs registered or registered/unregistered to site and schedule it using task scheduler send the report over mail

The PowerShell command will be used to collect only unregistered VDAs from the site.


Get-BrokerDesktop -MaxRecordCount 5000 | Select-Object ClientName, AssociatedUserFullNames, MachineName, RegistrationState, StartTime, LastDeregistrationReason, CatalogName, LastConnectionTime, FunctionalLevel |Where-object {$_.RegistrationState -eq 'Unregistered'} | Export-Csv -Path C:\TEMP\Get-brokerDesktop.csv |Format-Table –AutoSize

 

Send-MailMessage –From administrator@ads.com –To VDA@ads.com –Subject “Guess what!” -Attachment "Get-brokerDesktop.csv" –Body “I am testing to get VDA status through PowerShell” -SmtpServer smtp.mail.com -Port 25 



Below PowerShell command will be used to collect all VDAs registered/unregistered from the site.


Get-BrokerDesktop -MaxRecordCount 5000 | Select-Object ClientName, AssociatedUserFullNames, MachineName, RegistrationState, StartTime, LastDeregistrationReason, CatalogName, LastConnectionTime, FunctionalLevel, AssociatedUserSID, HostedMachineName | Export-Csv -Path C:\TEMP\Get-broker6.csv |Format-Table -InformationAction Stop -AutoSize

 

Send-MailMessage –From administrator@ads.com –To VDA@ads.com –Subject “Guess what!” -Attachment "Get-brokerDesktop.csv" –Body “I am testing to get VDA status through PowerShell” -SmtpServer smtp.mail.com -Port 25 


If you want  more details, refer below link and update the parameters accordingly.


https://developer-docs.citrix.com/projects/citrix-virtual-apps-desktops-sdk/en/latest/Broker/Get-BrokerMachine/ 


Output will be like below.



You can schedule it using the task scheduler.

You need to save the script file in the same location where the report file is getting exported.

For me it is c:\temp

Login to server from where you want to schedule task

Open Task scheduler

Create new task -> Give task name

In security options select how you want to run the script 

In my case I have selected Run whether user is logged on or not

Check mark on Run with highest privileges.



Click on Triggers and set the scheduled time



Click on Action and in Action select start a program

In program/script browse and select powershell.exe

In arguments: give the script path with script name .ps1

Start in: Give the path where you have kept your script.



Apply OK and wait for the scheduled time, task will execute at scheduled time like below



Manage Delivery Groups allow and restrict Users and groups to use desktop in Citrix delivery group

 

I have created 3 delivery groups in my test LAB.

To give access to these delivery groups I shall create 3 different groups in Active Directory.

I shall create 3 users and make them members of the group.

Next I shall give access to the delivery group from Citrix studio.


Below is the delivery group list.



Below is the list of users and groups



Added all 3 users in security group member list



Now login to Citrix Studio server and open console.

Click Delivery Groups




Select Delivery group from list where you want to do access modification 

Click Edit delivery group


Select Restrict use of this delivery group to the following users.


Click Add 



Enter group name that you want to allow access



Click check name and Okay

Click apply and Ok



Now click on delivery group from the list

And click Details, you will see delivery group details.



Now access Storefronts from Web console

Enter user id and password 

ADS\SRV2K16A

****************


Click on Desktops 

Now you will see a mapped desktop in web console.



Launch Desktop from console



What is VMWare vSAN and how to configure vSAN step by step

 

What is VMWare vSAN and how to configure vSAN step by step


VMware vSAN uses a software-defined approach that creates shared storage for virtual machines. It virtualizes the local physical storage resources of ESXi hosts and turns them into pools of storage that can be divided and assigned to virtual machines and applications according to their quality-of-service requirements. vSAN is implemented directly in the ESXi hypervisor.

You can configure vSAN to work as either a hybrid or all-flash cluster. In hybrid clusters, flash devices are used for the cache layer and magnetic disks are used for the storage capacity layer. In all-flash clusters, flash devices are used for both cache and capacity.

You can activate vSAN on your existing host clusters and when you create new clusters. vSAN aggregates all local capacity devices into a single datastore shared by all hosts in the vSAN cluster. You can expand the datastore by adding capacity devices or hosts with capacity devices to the cluster. vSAN works best when all ESXi hosts in the cluster share similar or identical configurations across all cluster members, including similar or identical storage configurations. This consistent configuration balances virtual machine storage components across all devices and hosts in the cluster. Hosts without any local devices also can participate and run their virtual machines on the vSAN datastore.

If a host contributes its local storage devices to the vSAN datastore, it must provide at least one device for flash cache and at least one device for capacity. Capacity devices are also called data disks.

The devices on the contributing host form one or more disk groups. Each disk group contains one flash cache device, and one or multiple capacity devices for persistent storage. Each host can be configured to use multiple disk groups.



Steps to configure vSAN cluster


Login to vCenter

Select cluster -> Configuration 

Go to vSAN left below -> Select service and click configure




Select vSAN cluster type


While enabling vSAN cluster service you need to disable HA temporarily.




Select the service type that you want to enable




Claim disk for cache and capacity tier



From each host there will be once cache tier and one capacity tier


Always keep cache tier SSD disk for high performance

Cache tier will keep hot data and capacity tier will keep cold data




Click next you will see list of the host that will be part of cluster


If you want to add additional you can add from here as well





Click Finish


Now login to vCenter -> Select go to storage and you will vSAN Datastore created here.









How to view all rules and monitors running on an agent-managed computer?

 

How to view all rules and monitors running on an agent-managed computer?


To view all rules and monitors running on the agent we need to login in SCOM console

Click monitoring



Select monitoring and click Operation manager 

Expand the option and select Agent details 

Expand and click agent health state



Select Agent from the list that you want to check


Select Agent state




Click show running rules and monitors for this health service


Click Run





Allow it in IE now you will see created and applied rules on the host.



Featured Post

HPE MSA 2040 configuration step by step

HPE MSA 2040 configuration Default IP range for HP SAN storage MSA 2040 is 10.0.0.1/2 You need to connect your laptop and storage with...