iRMC S2/S3
421
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.
I
For 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
Summary of Contents for Remote Management
Page 36: ...36 iRMC S2 S3 Notational conventions ...
Page 40: ......
Page 110: ......
Page 134: ...134 iRMC S2 S3 Providing remote storage via a Remote Storage server ...
Page 320: ...320 iRMC S2 S3 Operating iRMC S2 S3 via Telnet SSH Remote Manager ...
Page 346: ...346 iRMC S2 S3 Command Line Protocol CLP Table 18 Hierarchy of the CLP commands ...