I encountered a problem when following the article you've provided, Lissa.

Running CentOS 6.5 and the latest xCAT version.

*I ran the following commands:*
tabprune -a auditlog
tabprune -a eventlog
xcatsnap -d /root/xcat_06.03
lsxcatd -a    # Verified that the cluster runs on the old IP.
dumpxCATdb -p /root/search && cd /root/search && grep -r 10.10.10.254 .
# Dumped the entire database and searched for tab that the IP is mentioned.
tabedit <tabs from previous steps>    # Changed all mentioned 10.10.10.254
to 10.10.11.254
service xcatd stop
service mysqld stop
vi /etc/xcat/cfgloc      # Changed the IP from the old to new one.
service mysqld start
service xcatd start

*This is the error I'm getting:*
Starting xCATd DBI
connect('dbname=xcatdb;host=10.10.11.254','xcatadmin',...) failed: Access
denied for user 'xcatadmin'@'%' to database 'xcatdb' at
/opt/xcat/lib/perl/xCAT/Table.pm line 792
Could not connect to the database. Database handle not defined.
Can not open basic site table for configuration, waiting the database to be
initialized.

I made sure with* lsof -i -P* that mysqld is up and running, and tried to
accessing it using *mysql -u root -p* and it was successful.

Thank you,
Dennis.


On Tue, Mar 4, 2014 at 9:01 PM, Lissa Valletta <[email protected]> wrote:

> Take a look at this document
>
> http://sourceforge.net/apps/mediawiki/xcat/index.php?title=Changing_the_Service_and_compute_nodes_Hostname_and/or_IP
>
> Lissa K. Valletta
> 8-3/B10
> Poughkeepsie, NY 12601
> (tie 293) 433-3102
>
>
>
> [image: Inactive hide details for Dennis Zheleznyak ---03/04/2014 10:35:36
> AM---Hi All, I have a xCAT cluster that consists of 100 node]Dennis
> Zheleznyak ---03/04/2014 10:35:36 AM---Hi All, I have a xCAT cluster that
> consists of 100 nodes that are already running
>
> From: Dennis Zheleznyak <[email protected]>
> To: [email protected],
> Date: 03/04/2014 10:35 AM
> Subject: [xcat-user] Changing IP address of existed nodes
> ------------------------------
>
>
>
> Hi All,
>
> I have a xCAT cluster that consists of 100 nodes that are already running
> and I need to change their IP address from 192.168.1.X to 192.168.2.X - how
> can it be done through xCAT without changing one by one ? and what is the
> procedure(which tables do I need to modify and etc..)
>
> Thank you,
> Dennis.
> ------------------------------------------------------------------------------
>
> Subversion Kills Productivity. Get off Subversion & Make the Move to
> Perforce.
> With Perforce, you get hassle-free workflows. Merge that actually works.
> Faster operations. Version large binaries.  Built-in WAN optimization and
> the
> freedom to use Git, Perforce or both. Make the move to Perforce.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
> _______________________________________________
> xCAT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>
>
>
> ------------------------------------------------------------------------------
> Subversion Kills Productivity. Get off Subversion & Make the Move to
> Perforce.
> With Perforce, you get hassle-free workflows. Merge that actually works.
> Faster operations. Version large binaries.  Built-in WAN optimization and
> the
> freedom to use Git, Perforce or both. Make the move to Perforce.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
> _______________________________________________
> xCAT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>
>

<<inline: graycol.gif>>

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to