a2d662d600
The XML root element of Docbook XML files should match the following format: <ELEMENT xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:id="THE_XML_ID_OF_THE_ELEMENT"> Change-Id: I1e0804e2c5021bd78b77483f3156c5b069453555
44 lines
2.0 KiB
XML
44 lines
2.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<section xmlns="http://docbook.org/ns/docbook"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
version="5.0"
|
|
xml:id="verify-object-storage-installation">
|
|
<title>Verify the installation</title>
|
|
<para>You can run these commands from the proxy server or any
|
|
server that has access to the Identity Service.</para>
|
|
<procedure>
|
|
<step>
|
|
<para>Make sure that your credentials are set up correctly in the
|
|
<filename>admin-openrc.sh</filename> file and source it:</para>
|
|
<screen><prompt>$</prompt> <userinput>source admin-openrc.sh</userinput></screen>
|
|
</step>
|
|
<step><para>Run the following <command>swift</command> command:</para>
|
|
<screen><prompt>$</prompt> <userinput>swift stat</userinput>
|
|
<computeroutput>Account: AUTH_11b9758b7049476d9b48f7a91ea11493
|
|
Containers: 0
|
|
Objects: 0
|
|
Bytes: 0
|
|
Content-Type: text/plain; charset=utf-8
|
|
X-Timestamp: 1381434243.83760
|
|
X-Trans-Id: txdcdd594565214fb4a2d33-0052570383
|
|
X-Put-Timestamp: 1381434243.83760</computeroutput></screen>
|
|
</step>
|
|
<step>
|
|
<para>Run the following <command>swift</command> commands to upload
|
|
files to a container. Create the <filename>test.txt</filename> and
|
|
<filename>test2.txt</filename> test files locally if needed.</para>
|
|
<screen><prompt>$</prompt> <userinput>swift upload myfiles test.txt</userinput>
|
|
<prompt>$</prompt> <userinput>swift upload myfiles test2.txt</userinput></screen>
|
|
</step>
|
|
<step>
|
|
<para>Run the following <command>swift</command> command to
|
|
download all files from the <literal>myfiles</literal>
|
|
container:</para>
|
|
<screen><prompt>$</prompt> <userinput>swift download myfiles</userinput>
|
|
<computeroutput>test2.txt [headers 0.267s, total 0.267s, 0.000s MB/s]
|
|
test.txt [headers 0.271s, total 0.271s, 0.000s MB/s]</computeroutput></screen>
|
|
</step>
|
|
</procedure>
|
|
</section>
|