Professional Documents
Culture Documents
Batch Provisioning
Batch Provisioning
Prepare the batch files and put it on DSU unit (/tmp): (file should include all the list of the new users
and the COS where should be provisioned)
Syntax:
c <sub_id> SubscriberCosName=<COS Name>
In order to run the batch file prepared please perform the following:
1a. Batch transfer
Login to dsu1a ( which currently hold the SpmAgent resource group )
hastatus -sum | grep -i spmagent | grep ONLI
B SpmAgent dsu1b Y N ONLINE
1c. Using WinSCP log on to 10.235.8.85 user: root and pwd : Adm1Cmv4$
then SFTP dat file to the DSU with SpmAgent ONLINE…..in folder var/tmp
Then type:
cp JamPstnBatch1.dat /data/spm/Default\ domain/input
cd /data/spm/Default\ domain/input
chmod 777 *.dat
Note that for more than one file add * to file name e.g. testdoc*.dat
2. Batch run
Login to OMU and type for each batch you want to run:
[root@omu-au1 ~]# su - compas
(omu-au1@compas)~$ io
HST> :
copy/paste the xml below – pay attention to the file name field, which should match the
batch file name you would like to run: only file can be activated per script
<Provisioning xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Request>
<Header>
<Command>Start</Command>
<EntityIdentifiers>
<Identifier Type="SystemName" Value="JAMCOMVMS"/>
</EntityIdentifiers>
<EntityName>Batch</EntityName>
</Header>
<Data>
<Batch>
<DomainName>Default domain</DomainName>
<FileName>Jampstn.dat</FileName>
</Batch>
</Data>
</Request>
</Provisioning>
3. Monitor
a. spm agent - /var/cti/logs/spmagent/SPMAgent_Debug.log
b. batch output files - /data/spm/Default
domain/output/<batch_file_name>.out
c. batch processed files - /data/spm/Default
domain/processed/<batch_file_name>.old
d. check disk space on the DSUs every few hours< df –h>