startRepair

Starts a repair command on the VLDB.

Request

<startRepair>
   <vldbRepairLevel/>
   <user/>
   <password/>   
   <unp/>
</startRepair>

Reply

<startRepair>
   <result value=" ">
      <description/>
   <result>
</startRepair>

Elements

vldbRepairLevel

Specifies the type of repair to perform:

  • lowLevel
  • refresh
  • rebuild
user

Specifies the user. The leading dot is optional. Do not include the tree name.

unp

Specifies the protected credentials, encoded as a hex string. Either unp or both user and password can be supplied. If neither is specified, the repair runs logged in as the file server (for ConsoleOne compatibility).

result

Specifies an error value or 0 (for no error).

description

Specifies a text description of the result.

Example

The following example does a "rebuild" type of repair on the VLDB:

<nssRequest>
   <vldb>
      <startRepair>
         <repairLevel>rebuild</repairLevel>
         <user>.admin.novell</user>
         <password>junk</password>
         <unp>0123456789ABCDEF</unp>
      </startRepair>
   </vldb>
</nssRequest>

A nssReply packet to the start VLDB repair command follows:

<nssReply>
   <vldb>
      <startRepair>
         <result value="0">
            <description/>success</description>
         </result>
      </startRepair>
   </vldb>

   <result value="0">
      <description/>zOK</description>
   </result>
</nssReply>