![]() |
Zentitle SDK and Library
|
nalpControl is a command line tool used to perform administrative functions on the Nalpeiron LAN daemon.
Daemon Parameters | Type | Description |
---|---|---|
DaemonLogLevel | 0-4 | Amount of info in daemon log (0 min - 4 max) |
DaemonMaxLog | int (bytes) | Max length of daemon log before rollover |
DaemonLogQLen | uint | Length of daemon log queue (if too small log |
messages will be lost) | ||
DaemonBackLog | uint | Number of connections allowed to wait in queue |
DaemonPort | uint | Port number daemon listens on for clients |
IOThMax/IOThMin | uint | Min and max number of threads in daemon IO pool |
WorkThMax/WorkThMin | uint | Min and max number of threads in daemon work pool |
DaemonProxyIP | string | IP address of intervening proxy |
DaemonProxyPort | uint | Port number of intervening proxy |
DaemonProxyPass | string | Password for intervening proxy |
DaemonProxyUser | string | Username for intervening proxy |
Control Parameters | Type | Description |
---|---|---|
ControlLogLevel | 0 - 4 | Amount of info in nalpControl log (0 min - 4 max) |
ControlMaxLog | int (bytes) | Max length of nalpControl log before rollover |
ControlLogQLen | uint | Length of nalpControl log queue |
ControlUsername | string | username used by nalpControl to access daemon |
ControlPassword | string | password used by nalpControl to access daemon |
ControlDaemonIP | string | IP used by nalpControl to access daemon |
Action Parameters | Type | Description |
---|---|---|
AddUserName | string | Username to be added to daemon |
AddUserPass | string | Password to be added to daemon |
LTCOExpTime | epoch sec | Expiration date of created LTCO |
LTCOCompID | string | ComputerID used in LTCO creation |
CustomerID | number | CustomerID of license |
ProductID | number | ProductID of license |
LicenseCode | number | Product license code |
HeartBeatID | string | heartbeat ID |
Certificate | string | Certificate or path to file with cert |
DBType | string | daemondata or nsa |
DataFile | string | path to file for analytics upload to Nalpeiron |
DBStart | int | Start date of db command in epoch sec |
DBEnd | int | End date of db command in epoch sec |
Commands | Type | Description |
---|---|---|
ReadConfig | Read the daemon's config file | |
WriteConfig | Write the daemon's config file | |
AddUser | Add User to daemon | |
GetDaemonLicenseCode | Get license code used with daemon's master license | |
GetDaemonLicenseSource | Get information about the daemon's licensing source | |
GetDaemonVersion | Get version of daemon | |
DeleteUser | Delete user from daemon | |
GetHeartBeats | Get list of active heartbeats | |
AddLicenseToDaemon | Add a product license to daemon | |
GetDaemonCompID | Get daemon's computerID | |
GetLicenseInfo | Return information a specific license on daemon | |
ListLicenses | Get list of licenses known to daemon | |
ListFeatures | Returns all features/elements present in a license | |
Login | Attempt to Login to daemon | |
GetFFInfo | Get information about checkouts of floating features | |
CreateLTCO | Create a Long Term CheckOut license. This license | |
exists for a fixed time period and is not required | ||
to heartbeat to the daemon | ||
DestroyLTCO | Remove a Long Term CheckOut license. | |
RemoveClientLicense | Revoke client license | |
RemoveLicenseFromDaemon | Deletes a product license from the daemon. | |
GetDaemonTimeStamp | Get current time (in epoch sec) from the daemon. | |
ListUsers | Get list of known users from daemon. | |
GetActCertReq | Get an offline activation request from the daemon. | |
GetDeactCertReq | Get an offline deactivation request from the daemon. | |
ImportCertificate | Import a certificate to the daemon for offline act. | |
GetEPoolInfo | Get information about checkouts of an element pool. | |
ExportDB | Export analytics data from db | |
ClearDB | Clear data from db (must first be exported) | |
UploadData | Upload analytics data to Nalpeiron | |
help | Usage information from nalpControl. |
The following are examples of nalpControl usage.
/etc/nalpeiron/bin/nalpControl --
ControlUsername admin --
ControlPassword nalpeiron --
Login
admin
/etc/nalpeiron/bin/nalpControl --
ControlUsername admin --
ControlPassword nalpeiron --
CustomerID 3653 --
ProductID 102 --
GetLicenseInfo
/etc/nalpeiron/bin/nalpControl --
ControlUsername admin --
ControlPassword nalpeiron --
CustomerID 3183 --
ProductID 113 --
ListLicenses
--
ControlUsername admin --
ControlPassword nalpeiron --
CustomerID 3183 --
ProductID 113 --
ListFeatures/etc/nalpeiron/bin/nalpControl --
ControlUsername admin --
ControlPassword nalpeiron --
CustomerID 3653 --
ProductID 102 --
GetDaemonLicenseCode
365300069047952510
/etc/nalpeiron/bin/nalpControl --
ControlUsername admin --
ControlPassword nalpeiron --
CustomerID 3653 --
ProductID 102 --
LicenseCode 365300069047952510 --
GetDaemonLicenseSource
10.200.2.227
/etc/nalpeiron/bin/nalpControl --
ControlUsername admin --
ControlPassword nalpeiron --
CustomerID 3653 --
ProductID 102 --
LicenseCode 365300069047952510 --
GetDaemonCompID
ChHjqThbSwQ27tPE30+W:RXbew8g59J//1nTZkCDi
/etc/nalpeiron/bin/nalpControl --
ControlUsername admin --
ControlPassword nalpeiron --
CustomerID 3653 --
ProductID 102 --
LicenseCode 365300069047952510 --
GetDaemonLicenseStatus
1
/etc/nalpeiron/bin/nalpControl --
ControlUsername admin --
ControlPassword nalpeiron --
CustomerID 3653 --
ProductID 102 --
LicenseCode 365300069047952510 --
GetDaemonVersion
1.4.139.0
/etc/nalpeiron/bin/nalpControl --
ControlUsername admin --
ControlPassword nalpeiron --
CustomerID 3653 --
ProductID 102 --
LicenseCode 365300069047952510 --
AddLicenseToDaemon
--
ControlUsername admin --
ControlPassword nalpeiron --
CustomerID 3653 --
ProductID 102 --
LicenseCode 365300069047952510 --
GetHeartBeats--
ControlUsername admin --
ControlPassword nalpeiron --
CustomerID 3653 --
ProductID 102 --
LicenseCode 365300069047952510 --
GetFFInfo--
ControlUsername admin --
ControlPassword nalpeiron --
CustomerID 3653 --
ProductID 102 --
LicenseCode 365300069047952510 --
GetEPoolInfo--
ControlUsername admin --
ControlPassword nalpeiron --
DBType daemondata --
DBStart 1577858400 --
DBEnd 1641016800 --
ClearDB--
ControlUsername admin --
ControlPassword nalpeiron --
DBType daemondata --
DBStart 1577858400 --
DBEnd 1641016800 --
ExportDB--
ControlUsername admin --
ControlPassword nalpeiron --
DataFile /etc/nalpeiron/exports/daemondata_1577858400_1641016800.csv --
UploadData--
ControlUsername admin --
ControlPassword nalpeiron --
CustomerID 3183 --
ProductID 113 --
LicenseCode 318300000042124268 --
LTCOCompID jqCvr0cNxJw8jAAZPJt8 --
LTCOExpTime 1578117600 --
CreateLTCO--
ControlUsername admin --
ControlPassword nalpeiron --
CustomerID 3183 --
ProductID 113 --
LicenseCode 9f207a646d824a5597e90ebf7b10a1de7d01dfff --
LTCOCompID xbNrSWCFeETUklwhvP8O --
DestroyLTCO--
ControlUsername admin --
ControlPassword nalpeiron --
AddUserName newuser --
AddUserPass password --
AddUserAdded newuser
--
ControlUsername admin --
ControlPassword nalpeiron --
AddUserName newuser --
DeleteUserDeleted newuser
--
ControlUsername admin --
ControlPassword nalpeiron --
ReadConfig--
ControlUsername admin --
ControlPassword nalpeiron --
WriteConfig