Backup them as reference.

some files are created by xcatd installation.
 some files will be created/replaced  after you run mknb and
nodeset/rinstall command depends netboot method for each node.


...................................................................
Casandra Hong Qiu
Phone: (845) 433-9291, t/l 293-9291
Office: Building 8, 3-B-04
cxh...@us.ibm.com





From:   Imam Toufique <techie...@gmail.com>
To:     xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Date:   09/18/2020 01:04 PM
Subject:        [EXTERNAL] Re: [xcat-user] Question on backup/restore of
            management nodes and networking



Since you mentioned that files in /tftpboot directory do not need to be
restored , do they get regenerated after the restoring setup from backup?
Sorry, I was not clear on why do we need to backup if we are not restoring
them(?).

thanks

On Thu, Sep 17, 2020 at 6:49 AM Casandra H Qiu <cxh...@us.ibm.com> wrote:
  the files under /tftpboot are the boot files. they are created from mknb,
  and nodeset/rinstall, you can back up them as reference and don't need to
  restore.


  Thanks,
  Casandra Qiu
  ...................................................................
  Casandra Hong Qiu
  Phone: (845) 433-9291, t/l 293-9291
  Office: Building 8, 3-B-04
  cxh...@us.ibm.com



  Inactive hide details for Imam Toufique ---09/17/2020 12:12:13
  AM---Actually, a follow-up question. the backup document statesImam
  Toufique ---09/17/2020 12:12:13 AM---Actually, a follow-up question. the
  backup document states that we should backup /tftpboot directory

  From: Imam Toufique <techie...@gmail.com>
  To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
  Date: 09/17/2020 12:12 AM
  Subject: [EXTERNAL] Re: [xcat-user] Question on backup/restore of
  management nodes and networking



  Actually, a follow-up question.

  the backup document states that we should backup /tftpboot directory.
  But the restore document does not have any mention on restoring /tftpboot
  directory.  Actually, that was one of my original questions.  Can you
  help answer this?

  thanks

  On Wed, Sep 16, 2020 at 9:05 PM Imam Toufique <techie...@gmail.com>
  wrote:
        Thanks everyone, this is very helpful.  I do most of it already, I
        have to add the missing parts. :-)



        On Wed, Sep 16, 2020 at 11:59 AM Casandra H Qiu <cxh...@us.ibm.com>
        wrote:
        Right, follow the Migration link,
        https://xcat-docs.readthedocs.io/en/stable/advanced/migration/index.html
         to backup/restore the MN.

        xCAT also introduce xcat-inventory to do the source control, you
        can check here: https://github.com/xcat2/xcat-inventory
        
https://xcat-docs.readthedocs.io/en/latest/advanced/xcat-inventory/index.html


        This will work. `makedhcp -n` will add this network to the
        dhcpd.conf.
                                I assume I can set up another network in
                                the networks table, create a virtual
                                interface in the MN with that vlan



        Thanks,
        Casandra Qiu

        ...................................................................
        Casandra Hong Qiu
        Phone: (845) 433-9291, t/l 293-9291
        Office: Building 8, 3-B-04
        cxh...@us.ibm.com



        Inactive hide details for Michael Green ---09/16/2020 02:05:23
        PM---Re #1, have you seen https://urldefense.proofpoint.com/v2/u
        Michael Green ---09/16/2020 02:05:23 PM---Re #1, have you seen
        INVALID URI REMOVED

        From: Michael Green <mishagr...@gmail.com>
        To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
        Date: 09/16/2020 02:05 PM
        Subject: [EXTERNAL] Re: [xcat-user] Question on backup/restore of
        management nodes and networking



        Re #1, have you seen
        https://xcat-docs.readthedocs.io/en/stable/advanced/migration/index.html

        ?

        Michael
                                On Sep 16, 2020, at 1:51 PM, Imam Toufique
                                <techie...@gmail.com> wrote:

                                Hello everyone,

                                It has been a while I have asked questions
                                in the forum, hope you all are well.

                                Got a couple of questions, would greatly
                                appreciate if you can help out with all
                                your collective wisdom.

                                question #1
                                We have xcat version 2.15 MN running on
                                centOS 7.7, and I am looking into
                                backup/restore of the setup. Currently I am
                                only using /opt/xcat/sbin/dumpxCATdb to
                                backup the database. I also backup
                                the /install directory of the system. If
                                there anything else I should be backing up
                                in the system? How about /tftpboot , all
                                the DNS information? In case of a total
                                system failure ( of the MN ) , I am
                                thinking about how to bring the system back
                                to its original working state.

                                Also, what is the recommended method of
                                restoring a system like this? I would guess
                                - a. build the OS b. install base xcat rpms
                                c. restore DB backup d. may be
                                restore /tftpboot e. restore /install
                                directory ?

                                question #2
                                So, we currently have a single network
                                defined to build systems in the MN. I need
                                to be able to build systems from another
                                network. How does one get to do this? I
                                assume I can set up another network in the
                                networks table, create a virtual interface
                                in the MN with that vlan, assign a DHCP
                                scope and do makedhcp? Would that work? Or
                                do I need to do anything else?


                                Any help/reference/guidance is very helpful
                                and appreciated.

                                thanks
                                --imam toufique
                                _______________________________________________

                                xCAT-user mailing list
                                xCAT-user@lists.sourceforge.net
                                
https://lists.sourceforge.net/lists/listinfo/xcat-user
        _______________________________________________
        xCAT-user mailing list
        xCAT-user@lists.sourceforge.net
        https://lists.sourceforge.net/lists/listinfo/xcat-user



        _______________________________________________
        xCAT-user mailing list
        xCAT-user@lists.sourceforge.net
        https://lists.sourceforge.net/lists/listinfo/xcat-user


        --
        Regards,
        Imam Toufique
        213-700-5485


  --
  Regards,
  Imam Toufique
  213-700-5485_______________________________________________
  xCAT-user mailing list
  xCAT-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/xcat-user



  _______________________________________________
  xCAT-user mailing list
  xCAT-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/xcat-user


--
Regards,
Imam Toufique
213-700-5485_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user



_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to