05.02.2013 Views

opsi manual opsi version 4.0.2 - opsi Download - uib

opsi manual opsi version 4.0.2 - opsi Download - uib

opsi manual opsi version 4.0.2 - opsi Download - uib

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>opsi</strong> <strong>manual</strong> <strong>opsi</strong> <strong>version</strong> <strong>4.0.2</strong><br />

# create the new license contract<br />

# the used method has the following syntax:<br />

# createLicenseContract(*licenseContractId, *partner, *conclusionDate, *notificationDate, *expirationDate, *notes)<br />

echo "createLicenseContract c_$PRODUCT_ID"<br />

<strong>opsi</strong>-admin -d method createLicenseContract "c_$PRODUCT_ID" "<strong>uib</strong> gmbh" "" "" "" "test contract"<br />

# create the new license and add the key(s)<br />

# the used methods have the following syntax:<br />

# createSoftwareLicense(*softwareLicenseId, *licenseContractId, *licenseType, *maxInstallations, *boundToHost, *\<br />

expirationDate)<br />

# addSoftwareLicenseToLicensePool(softwareLicenseId, licensePoolId, *licenseKey)<br />

115 / 193<br />

# create the retail licenses:<br />

for AKTKEY in $MYRETAILKEYS<br />

do<br />

echo "createSoftwareLicense with retail key: ${PRODUCT_ID}-retail-${AKTKEY}"<br />

MYLIC=‘<strong>opsi</strong>-admin -dS method createSoftwareLicense "" "c_$PRODUCT_ID" "RETAIL" "1" "" ""‘<br />

<strong>opsi</strong>-admin -d method addSoftwareLicenseToLicensePool "$MYLIC" "p_$PRODUCT_ID" "${PRODUCT_ID}-retail-${AKTKEY}"<br />

done<br />

# create the oem licenses<br />

createlic $MYOEMKEYS<br />

# create the volume licenses<br />

echo "createSoftwareLicense with volume key: ${PRODUCT_ID}-vol-key"<br />

MYLIC=‘<strong>opsi</strong>-admin -dS method createSoftwareLicense "" "c_$PRODUCT_ID" "VOLUME" "10" "" ""‘<br />

<strong>opsi</strong>-admin -d method addSoftwareLicenseToLicensePool "$MYLIC" "p_$PRODUCT_ID" "${PRODUCT_ID}-vol-key"#<br />

14.10 Example products and templates<br />

In the <strong>uib</strong> download section at<br />

http://download.<strong>uib</strong>.de/<strong>opsi</strong>4.0/products/license-management/<br />

there are four example products available. One for each type of license model, as there are Retail, OEM and Volume<br />

license type, as well as a product combining all of them.<br />

These example products use as an example some licenses and release them again. So using them leaves some marks<br />

in the software inventory, that might be of influence to reconciliation and statistics.<br />

All of these products contain a shell script to automatically generate license pools, license contracts and license options.<br />

The standard template for <strong>opsi</strong>-winst scripts <strong>opsi</strong>-template also contains some examples for using the <strong>opsi</strong> license<br />

management.<br />

15 <strong>opsi</strong> WAN/VPN extension<br />

The WAN/VPN extension module allows to integrate clients, that are connected via low speed connections. This<br />

chapter is about configuring and maintaining the <strong>opsi</strong> WAN/VPN extension.<br />

15.1 Preconditions for using the WAN/VPN extension<br />

This <strong>opsi</strong> extension is currently in the co-funding process and not free. For more details see Section 6.<br />

There are some preconditions to use the WAN/VPN extension module. The feature product groups is required, which<br />

is available with <strong>opsi</strong> 4.0 and above. Also the packets <strong>opsi</strong>-client-agent and <strong>opsi</strong>-configed are required, which come<br />

with <strong>version</strong> 4.0.1.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!