Website under construction


PartialConfiguration IISInstall



Download 13,37 Mb.
Pdf ko'rish
bet129/131
Sana27.03.2022
Hajmi13,37 Mb.
#512480
1   ...   123   124   125   126   127   128   129   130   131
Bog'liq
9780735697744 Introducing Windows Server 2016 pdf


PartialConfiguration IISInstall 

Description = 'Configuration for IIS Web Server' 
ConfigurationSource = '[ConfigurationRepositoryWeb]PullServer1' 

PartialConfiguration IndexFile 

Description = 'Configuration for Index File' 
ConfigurationSource = '[ConfigurationRepositoryWeb]PullServer1' 
DependsOn = '[PartialConfiguration]IISInstall' 
}


ChangeLCMProperties -OutputPath "C:\DSC" 
Set-DscLocalConfigurationManager -Path "C:\DSC"
Assuming that the pull servers are already available on the mentioned servers, you must change 
the LCM Meta Configuration settings on all servers that will participate and pull configurations 
from them. The preceding configuration sample has a node section named 
DemoServerWin
. It 
signifies that the configuration modifies the LCM configuration of DemoServerWin. The attribute 
DSCLocalConfigurationManager
mandates that only resources applicable for LCM Meta Configuration 
can be used in this configuration and that this is a Meta Configuration that will output a .meta.mof 
file. General resources cannot be used in such configurations. Using this attribute is the way to 
indicate to DSC that this configuration relates to LCM configuration. 
The Settings resource is configured with the 
RefreshMode
property set to 
Pull
, the 
ConfigurationMode
property set to 
ApplyandAutoCorrect
, the 
ConfigurationID
property set to 
fcd03a8d-5a64-4982-92b3-
5c89680add39
, and the 
RebootNodeIfNeeded
property set to 
True
. LCM downloads configuration files 
from the pull server whose name has the same GUID as that assigned to the 
ConfigurationID
. LCM 
would download configuration files with fcd03a8d-5a64-4982-92b3-5c89680add39 in their names 
from the pull server in the case of the preceding example. 


149 
CHAPTER 5 | Systems management 
You also need to provide the pull server details to LCM. In LCM v2, you can do so by 
using the 
WebConfigurationRepository
resource. There can be multiple pull servers 
(
WebConfigurationRepository
resources) defined in a configuration. In the previous sample, 
two pull servers are defined: 
PullServer1
with server URL http://demoserverwin:8080/ 
PSDSCPullServer.svc/ and 
AllowUnsecureConnection
set to 
True
, and 
PullServer2
with server 
URL http://Demoserverwin10:8090/PSDSCPullServer.svc/ and 
AllowUnsecureConnection
set to 
True

Although this example shows a property called 
AllowUnsecureConnection
, and setting it to 
True
allows 
LCM to request configuration on HTTP protocol instead of HTTPS protocol, we strongly recommend 
that you use HTTPS in normal operating environments. 
The 
Download 13,37 Mb.

Do'stlaringiz bilan baham:
1   ...   123   124   125   126   127   128   129   130   131




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish