Configuring the iRMC S2/S3 via SCCI and scripted configuration

12.2.2.2 Scripting with cURL

The open source command-line tool cURL allows you to transfer data specified with URL syntax. You can download the latest version of the source code as well as precompiled versions for different operating systems from http://curl.haxx.se/.

The following are some examples of how to use curl to send a configuration file to the iRMC S2/S3.

IFor details on the curl command line options please refer to the curl documentation.

HTTP Access with Basic Authentication (default) and the default iRMC S2/S3 admin account:

curl --basic -u admin:admin --data @Config.pre http://<iRMC S2/S3 IP address>/config

HTTP Access with Digest Authentication and the default iRMC admin account

curl --digest -u admin:admin --data @Config.pre http://<iRMC S2/S3 IP address>/config

HTTPS Access with no certificate check (-k) and Digest authentication and the default iRMC admin account:

curl --digest -k -u admin:admin --data @Config.pre https://<iRMC S2/S3 IP address>/config

HTTPS Access with an LDAP user account.

Please note, that for LDAP users you have to specify Basic authentication

curl --basic -k -u LDAPuser:LDAPpassword --data @Config.pre https://<iRMC S2/S3 IP address>/config

iRMC S2/S3

421

Page 421
Image 421
Fujitsu IRMC S2/S3 manual 421